In [ ]:
. ./nbs_header.ps1
. ./core.ps1
In [ ]:
{ . "$ScriptDir/../apps/builder/build.ps1" } | Invoke-Block
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # DibParser (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li
b/net6.0/System.CommandLine.dll"
#r
@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP
arsec.dll"
#r
@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP
arsecCS.dll"
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
#!import ../nbs/CommonFSharp.fs
#!import ../nbs/Async.fs
#!import ../nbs/AsyncSeq.fs
#!import ../nbs/Runtime.fs
#!import ../nbs/FileSystem.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
a
|> Async.Catch
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module AsyncSeq =
open Common
/// ## subscribeEvent
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks
FSharp.Control.AsyncSeq.unfoldAsync
(fun (...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
open Common
/// ## isWindows
let isWindows =
fun () ->
System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform
System.Runtime.InteropServices.OSPlatform.Windows
|> memoize
/// ## getExecutableSuffix
let inline getExecutableSuffix () =
if isWindows ()
then ".exe"
else ""
/// ## splitCommand
type private CommandParseStep =
| Start
| Path of quoted: bool
| Arguments
let splitCommand (command: string) =
let rec loop (path, args) chars step =
match chars, step with
| ('"' | '\'') :: tail, _ when path = "" -> loop (pat...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module FileSystem =
open Common
/// ## Operators
module Operators =
let inline (</>) a b =
System.IO.Path.Combine (a, b)
open Operators
/// ## createTempDirectoryName
let inline createTempDirectoryName () =
let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name
System.IO.Path.GetTempPath ()
</> $"!{root}"
</> string (newGuidFromDateTime System.DateTime.Now)
/// ## createTempDirectory
let inline createTempDirectory () =
let tempFolder = createTempDirectoryName ()
let result = System.IO.Directory.CreateDirectory tempFolder
if not result.Exists then
let ge...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
open FParsec
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## escapeCell (test) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline escapeCell input =
input
|> String.split [[| '\n' |]]
|> Array.map (function
| line when line |> String.startsWith "\\#!" || line |>
String.startsWith "\\#r" ->
System.Text.RegularExpressions.Regex.Replace (line, "^\\\\#", "#")
| line -> line
)
|> String.concat "\n"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
$"a{nl}\\#!magic{nl}b{nl}"
|> escapeCell
|> _equal (
$"a{nl}#!magic{nl}b{nl}"
)
╭─[ 55.09ms - stdout ]─────────────────────────────────────────────────────────╮
│ a │
│ #!magic │
│ b │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## magicMarker │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let magicMarker : Parser<string, unit> = pstring "#!"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic"
|> run magicMarker
|> _equal (
Success ("#!", (), Position ("", 2, 1, 3))
)
╭─[ 48.68ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item1: #! │
│ Item2: <null> │
│ Item3: Position │
│ Index: 2 │
│ Line: 1 │
│ Column: 3 │
│ StreamName: │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"##!magic"
|> run magicMarker
|> _equal (
Failure (
$"Error in Ln: 1 Col: 1{nl}##!magic{nl}^{nl}Expecting: '#!'{nl}",
ParserError (
Position ("", 0, 1, 1),
(),
ErrorMessageList (ExpectedString "#!")
),
()
)
)
╭─[ 54.85ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure │
│ Item1: Error in Ln: 1 Col: 1 │
│ ##!magic │
│ ^ │
│ Expecting: '#!' │
│ │
│ Item2: ParserError │
│ Position: Position │
│ Index: 0 │
│ Line: 1 │
│ Column: 1 │
│ StreamName: │
│ UserState: <null> │
│ Messages: ErrorMessageList │
│ Head: ExpectedString │
│ String: #! │
│ Type: ExpectedString │
│ Tail: <null> │
│ Item3: <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## magicCommand │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let magicCommand =
magicMarker
>>. manyTill anyChar newline
|>> (System.String.Concat >> String.trim)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic
a"
|> run magicCommand
|> _equal (
Success ("magic", (), Position ("", 8, 2, 1))
)
╭─[ 33.75ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item1: magic │
│ Item2: <null> │
│ Item3: Position │
│ Index: 8 │
│ Line: 2 │
│ Column: 1 │
│ StreamName: │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
" #!magic
a"
|> run magicCommand
|> _equal (
Failure (
$"Error in Ln: 1 Col: 1{nl} #!magic{nl}^{nl}Expecting: '#!'{nl}",
ParserError (
Position ("", 0, 1, 1),
(),
ErrorMessageList (ExpectedString "#!")
),
()
)
)
╭─[ 36.50ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure │
│ Item1: Error in Ln: 1 Col: 1 │
│ #!magic │
│ ^ │
│ Expecting: '#!' │
│ │
│ Item2: ParserError │
│ Position: Position │
│ Index: 0 │
│ Line: 1 │
│ Column: 1 │
│ StreamName: │
│ UserState: <null> │
│ Messages: ErrorMessageList │
│ Head: ExpectedString │
│ String: #! │
│ Type: ExpectedString │
│ Tail: <null> │
│ Item3: <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## content │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let content =
(newline >>. magicMarker) <|> (eof >>. preturn "")
|> attempt
|> lookAhead
|> manyTill anyChar
|>> (System.String.Concat >> String.trim)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic
a
"
|> run content
|> _equal (
Success ("#!magic
a", (), Position ("", 14, 7, 1))
)
╭─[ 34.50ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item1: #!magic │
│ │
│ │
│ a │
│ Item2: <null> │
│ Item3: Position │
│ Index: 14 │
│ Line: 7 │
│ Column: 1 │
│ StreamName: │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Block │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type Block =
{
magic : string
content : string
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## block │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let block =
pipe2
magicCommand
content
(fun magic content ->
{
magic = magic
content = content
})
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic
a
"
|> run block
|> _equal (
Success (
{ magic = "magic"; content = "a" },
(),
Position ("", 14, 7, 1)
)
)
╭─[ 42.34ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item1: Block │
│ magic: magic │
│ content: a │
│ Item2: <null> │
│ Item3: Position │
│ Index: 14 │
│ Line: 7 │
│ Column: 1 │
│ StreamName: │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## blocks │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let blocks =
skipMany newline
>>. sepEndBy block (skipMany1 newline)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic1
a
\#!magic2
b
"
|> escapeCell
|> run blocks
|> _equal (
Success (
[[
{ magic = "magic1"; content = "a" }
{ magic = "magic2"; content = "b" }
]],
(),
Position ("", 26, 9, 1)
)
)
╭─[ 47.87ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item1: FSharpList<Block> │
│ - magic: magic1 │
│ content: a │
│ - magic: magic2 │
│ content: b │
│ Item2: <null> │
│ Item3: Position │
│ Index: 26 │
│ Line: 9 │
│ Column: 1 │
│ StreamName: │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Output │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type Output =
| Fs
| Md
| Spi
| Spir
let inline kernelOutputs magic =
match magic with
| "fsharp" -> [[ Fs ]]
| "markdown" -> [[ Md ]]
| "spiral" -> [[ Spi; Spir ]]
| _ -> [[]]
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## formatBlock │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline formatBlock output (block : Block) =
match output, block with
| output, { magic = "markdown"; content = content } ->
let markdownComment =
match output with
| Spi | Spir -> "// // "
| Fs -> "/// "
| _ -> ""
content
|> String.split [[| '\n' |]]
|> Array.map (String.trimEnd [[||]])
|> Array.filter (String.endsWith " (test)" >> not)
|> Array.map (function
| "" -> markdownComment |> String.trim
| line -> System.Text.RegularExpressions.Regex.Replace (line,
"^\\s*", $"$&{markdownComment}")
)
|> String.concat "\n"
| Fs, { magic = "fsharp"; content = content } ->
let trimmedContent = content |> String.trim
if trimmedContent |> String.startsWith "//// test" || trimmedContent |>
String.startsWith "//// ignore"
then ""
else
content
|> String.split [[| '\n' |]]
|> Array.filter (String.trimStart [[||]] >> String.startsWith "#r"
>> not)
|> String.concat "\n"
| (Spi | Spir), { magic = "spiral"; content = content } ->
let trimmedContent = content |> String.trim
if trimmedContent |> String.startsWith "// // test" || trimmedContent |>
String.startsWith "// // ignore"
then ""
else content
| _ -> ""
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!markdown
a
b
c
\#!markdown
c
\#!fsharp
let a = 1"
|> escapeCell
|> run block
|> function
| Success (block, _, _) -> formatBlock Fs block
| Failure (msg, _, _) -> failwith msg
|> _equal "/// a
///
/// b
///
/// c"
╭─[ 67.67ms - stdout ]─────────────────────────────────────────────────────────╮
│ /// a │
│ /// │
│ /// b │
│ /// │
│ /// c │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## formatBlocks │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline formatBlocks output blocks =
blocks
|> List.map (formatBlock output)
|> List.filter ((<>) "")
|> String.concat "\n\n"
|> fun s -> s + "\n"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!markdown
a
b
\#!markdown
c
\#!fsharp
let a = 1
\#!markdown
d (test)
\#!fsharp
//// test
let a = 2
\#!markdown
e
\#!fsharp
let a = 3"
|> escapeCell
|> run blocks
|> function
| Success (blocks, _, _) -> formatBlocks Fs blocks
| Failure (msg, _, _) -> failwith msg
|> _equal "/// a
///
/// b
/// c
let a = 1
/// e
let a = 3
"
╭─[ 67.19ms - stdout ]─────────────────────────────────────────────────────────╮
│ /// a │
│ /// │
│ /// b │
│ │
│ /// c │
│ │
│ let a = 1 │
│ │
│ /// e │
│ │
│ let a = 3 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## parse │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline parse output input =
match run blocks input with
| Success (blocks, _, _) ->
let blocks =
blocks
|> List.filter (fun block ->
block.magic |> kernelOutputs |> List.contains output ||
block.magic = "markdown"
)
match blocks with
| { magic = "markdown"; content = content } :: _
when output = Fs
&& content |> String.startsWith "# "
&& content |> String.endsWith ")"
->
let inline indentBlock (block : Block) =
{ block with
content =
block.content
|> String.split [[| '\n' |]]
|> Array.fold
(fun (lines, isMultiline) line ->
let trimmedLine = line |> String.trim
if trimmedLine = ""
then "" :: lines, isMultiline
else
let inline singleQuoteLine () =
trimmedLine |> Seq.sumBy ((=) '"' >>
System.Convert.ToInt32) = 1
&& trimmedLine |> String.contains
@"'""'" |> not
&& trimmedLine |> String.endsWith "{" |>
not
&& trimmedLine |> String.endsWith "{|"
|> not
&& trimmedLine |> String.startsWith "}"
|> not
&& trimmedLine |> String.startsWith "|}"
|> not
match isMultiline, trimmedLine |>
String.splitString [[| $"{q}{q}{q}" |]] with
| false, [[| _; _ |]] ->
$" {line}" :: lines, true
| true, [[| _; _ |]] ->
line :: lines, false
| false, _ when singleQuoteLine () ->
$" {line}" :: lines, true
| false, _ when line |> String.startsWith
"#" && block.magic = "fsharp" ->
line :: lines, false
| false, _ ->
$" {line}" :: lines, false
| true, _ when singleQuoteLine () && line |>
String.startsWith " " ->
$" {line}" :: lines, false
| true, _ when singleQuoteLine () ->
line :: lines, false
| true, _ ->
line :: lines, true
)
([[]], false)
|> fst
|> List.rev
|> String.concat "\n"
}
let moduleName, namespaceName =
System.Text.RegularExpressions.Regex.Match (content, @"# (.*)
\((.*)\)$")
|> fun m -> m.Groups.[[1]].Value, m.Groups.[[2]].Value
let moduleBlock =
{
magic = "fsharp"
content =
$"#if !INTERACTIVE
namespace {namespaceName}
#endif
module {moduleName} ="
}
blocks
|> List.indexed
|> List.fold
(fun blocks (index, block) ->
match index with
| 0 -> blocks
| 1 -> indentBlock block :: moduleBlock :: blocks
| _ -> indentBlock block :: blocks
)
[[]]
|> List.rev
| _ -> blocks
|> Result.Ok
| Failure (errorMsg, _, _) -> Result.Error errorMsg
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let example1 =
$"""#!meta
{{"kernelInfo":{{"defaultKernelName":"fsharp","items":[[{{"aliases":[[]],"name":
"fsharp"}},{{"aliases":[[]],"name":"fsharp"}}]]}}}}
\#!markdown
# TestModule (TestNamespace)
\#!fsharp
\#!import file.dib
\#!fsharp
\#r "nuget:Expecto"
\#!markdown
## ParserLibrary
\#!fsharp
open System
\#!markdown
## x (test)
\#!fsharp
//// ignore
let x = 1
\#!spiral
// // test
inl x = 0i32
\#!spiral
inl x = 0i32
\#!markdown
### TextInput
\#!fsharp
let str1 = "abc
def"
let str2 =
"abc\
def"
let str3 =
$"1{{
1
}}1"
let str4 =
$"1{{({{|
a = 1
|}}).a}}1"
let str5 =
"abc \
def"
let x =
match '"' with
| '"' -> true
| _ -> false
let long1 = {q}{q}{q}a{q}{q}{q}
let long2 =
{q}{q}{q}
a
{q}{q}{q}
\#!fsharp
type Position =
{{
#if INTERACTIVE
line : string
#else
line : int
#endif
column : int
}}"""
|> escapeCell
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
example1
|> parse Fs
|> Result.toOption
|> Option.get
|> (formatBlocks Fs)
|> _equal $"""#if !INTERACTIVE
namespace TestNamespace
#endif
module TestModule =
/// ## ParserLibrary
open System
/// ### TextInput
let str1 = "abc
def"
let str2 =
"abc\
def"
let str3 =
$"1{{
1
}}1"
let str4 =
$"1{{({{|
a = 1
|}}).a}}1"
let str5 =
"abc \
def"
let x =
match '"' with
| '"' -> true
| _ -> false
let long1 = {q}{q}{q}a{q}{q}{q}
let long2 =
{q}{q}{q}
a
{q}{q}{q}
type Position =
{{
#if INTERACTIVE
line : string
#else
line : int
#endif
column : int
}}
"""
╭─[ 182.86ms - stdout ]────────────────────────────────────────────────────────╮
│ #if !INTERACTIVE │
│ namespace TestNamespace │
│ #endif │
│ │
│ module TestModule = │
│ │
│ /// ## ParserLibrary │
│ │
│ open System │
│ │
│ /// ### TextInput │
│ │
│ let str1 = "abc │
│ def" │
│ │
│ let str2 = │
│ "abc\ │
│ def" │
│ │
│ let str3 = │
│ $"1{ │
│ 1 │
│ }1" │
│ │
│ let str4 = │
│ $"1{({| │
│ a = 1 │
│ |}).a}1" │
│ │
│ let str5 = │
│ "abc \ │
│ def" │
│ │
│ let x = │
│ match '"' with │
│ | '"' -> true │
│ | _ -> false │
│ │
│ let long1 = """a""" │
│ │
│ let long2 = │
│ """ │
│ a │
│ """ │
│ │
│ type Position = │
│ { │
│ #if INTERACTIVE │
│ line : string │
│ #else │
│ line : int │
│ #endif │
│ column : int │
│ } │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
example1
|> parse Md
|> Result.toOption
|> Option.get
|> (formatBlocks Md)
|> _equal "# TestModule (TestNamespace)
## ParserLibrary
### TextInput
"
╭─[ 146.56ms - stdout ]────────────────────────────────────────────────────────╮
│ # TestModule (TestNamespace) │
│ │
│ ## ParserLibrary │
│ │
│ ### TextInput │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
example1
|> parse Spi
|> Result.toOption
|> Option.get
|> (formatBlocks Spi)
|> _equal "// // # TestModule (TestNamespace)
// // ## ParserLibrary
inl x = 0i32
// // ### TextInput
"
╭─[ 151.82ms - stdout ]────────────────────────────────────────────────────────╮
│ // // # TestModule (TestNamespace) │
│ │
│ // // ## ParserLibrary │
│ │
│ inl x = 0i32 │
│ │
│ // // ### TextInput │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## parseDibCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline parseDibCode output file = async {
let getLocals () = $"output: {output} / file: {file} / {getLocals ()}"
trace Debug (fun () -> "parseDibCode") getLocals
let! input = file |> FileSystem.readAllTextAsync
match parse output input with
| Result.Ok blocks -> return blocks |> formatBlocks output
| Result.Error msg -> return failwith msg
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## writeDibCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline writeDibCode output path = async {
let getLocals () = $"output: {output} / path: {path} / {getLocals ()}"
trace Debug (fun () -> "writeDibCode") getLocals
let! result = parseDibCode output path
let outputPath = path |> String.replace ".dib" $".{output |> string |>
String.toLower}"
do! result |> FileSystem.writeAllTextAsync outputPath
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Arguments │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
[[<RequireQualifiedAccess>]]
type Arguments =
| [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.Mandatory>]]
File of file : string * Output
interface Argu.IArgParserTemplate with
member s.Usage =
match s with
| File _ -> nameof File
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## main │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let main args =
let argsMap = args |> Runtime.parseArgsMap<Arguments>
let files =
argsMap.[[nameof Arguments.File]]
|> List.map (function
| Arguments.File (path, output) -> path, output
)
files
|> List.map (fun (path, output) -> path |> writeDibCode output)
|> Async.Parallel
|> Async.Ignore
|> Async.runWithTimeout 30000
|> function
| Some () -> 0
| None -> 1
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let args =
System.Environment.GetEnvironmentVariable "ARGS"
|> Runtime.splitArgs
|> Seq.toArray
match args with
| [[||]] -> 0
| args -> if main args = 0 then 0 else failwith "main failed"
╭─[ 217.08ms - return value ]──────────────────────────────────────────────────╮
│ <div class="dni-plaintext"><pre>0</pre></div><style> │
│ .dni-code-hint { │
│ font-style: italic; │
│ overflow: hidden; │
│ white-space: nowrap; │
│ } │
│ .dni-treeview { │
│ white-space: nowrap; │
│ } │
│ .dni-treeview td { │
│ vertical-align: top; │
│ text-align: start; │
│ } │
│ details.dni-treeview { │
│ padding-left: 1em; │
│ } │
│ table td { │
│ text-align: start; │
│ } │
│ table tr { │
│ vertical-align: top; │
│ margin: 0em 0px; │
│ } │
│ table tr td pre │
│ { │
│ vertical-align: top !important; │
│ margin: 0em 0px !important; │
│ } │
│ table th { │
│ text-align: start; │
│ } │
│ </style> │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 230.02ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Builder.dib │
│ 00:00:00 #2 [Debug] parseDibCode / output: Fs / file: Builder.dib │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Builder (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li
b/net6.0/System.CommandLine.dll"
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
#!import ../nbs/CommonFSharp.fs
#!import ../nbs/Async.fs
#!import ../nbs/AsyncSeq.fs
#!import ../nbs/Networking.fs
#!import ../nbs/Runtime.fs
#!import ../nbs/FileSystem.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
a
|> Async.Catch
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module AsyncSeq =
open Common
/// ## subscribeEvent
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks
FSharp.Control.AsyncSeq.unfoldAsync
(fun (...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Networking =
open Common
/// ## testPortOpen
let inline testPortOpen port = async {
let! ct = Async.CancellationToken
use client = new System.Net.Sockets.TcpClient ()
try
do! client.ConnectAsync ("127.0.0.1", port, ct) |>
Async.awaitValueTaskUnit
return true
with ex ->
trace Verbose (fun () -> $"testPortOpen / ex: {ex |>
printException}") getLocals
return false
}
let inline testPortOpenTimeout timeout port = async {
let! result =
testPortOpen port
|> Async.runWithTimeoutAsync timeout
return
match result with
| None -> false
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
open Common
/// ## isWindows
let isWindows =
fun () ->
System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform
System.Runtime.InteropServices.OSPlatform.Windows
|> memoize
/// ## getExecutableSuffix
let inline getExecutableSuffix () =
if isWindows ()
then ".exe"
else ""
/// ## splitCommand
type private CommandParseStep =
| Start
| Path of quoted: bool
| Arguments
let splitCommand (command: string) =
let rec loop (path, args) chars step =
match chars, step with
| ('"' | '\'') :: tail, _ when path = "" -> loop (pat...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module FileSystem =
open Common
/// ## Operators
module Operators =
let inline (</>) a b =
System.IO.Path.Combine (a, b)
open Operators
/// ## createTempDirectoryName
let inline createTempDirectoryName () =
let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name
System.IO.Path.GetTempPath ()
</> $"!{root}"
</> string (newGuidFromDateTime System.DateTime.Now)
/// ## createTempDirectory
let inline createTempDirectory () =
let tempFolder = createTempDirectoryName ()
let result = System.IO.Directory.CreateDirectory tempFolder
if not result.Exists then
let ge...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
open FileSystem.Operators
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## buildProject │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline buildProject runtime path = async {
let fullPath = path |> System.IO.Path.GetFullPath
let fileDir = fullPath |> System.IO.Path.GetDirectoryName
let extension = fullPath |> System.IO.Path.GetExtension
let getLocals () = $"fullPath: {fullPath} / {getLocals ()}"
trace Debug (fun () -> "buildProject") getLocals
match extension with
| ".fsproj" -> ()
| _ -> failwith "Invalid project file"
let runtimes =
runtime
|> Option.map List.singleton
|> Option.defaultValue [[ "linux-x64"; "win-x64" ]]
return!
runtimes
|> List.map (fun runtime -> async {
let! exitCode, _result =
Runtime.executeWithOptionsAsync
{
Command = $"dotnet publish -c release -o ../dist -r
{runtime}"
CancellationToken = None
OnLine = None
WorkingDirectory = Some fileDir
}
return exitCode
})
|> Async.Sequential
|> Async.map Array.sum
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## persistCodeProject │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline persistCodeProject packages modules path name code = async {
let getLocals () = $"packages: {packages} / modules: {modules} / path:
{path} / name: {name} / code.Length: {code |> String.length} / {getLocals ()}"
trace Debug (fun () -> "persistCodeProject") getLocals
let targetPath = path </> "target"
System.IO.Directory.CreateDirectory targetPath |> ignore
let filePath = targetPath </> $"{name}.fs" |> System.IO.Path.GetFullPath
do! code |> FileSystem.writeAllTextExists filePath
let repositoryRoot = FileSystem.getSourceDirectory () |>
FileSystem.findParent ".paket" false
let modulesCode =
modules
|> List.map (fun path -> $"""<Compile Include="{repositoryRoot </>
path}" />""")
|> String.concat "\n "
let fsprojPath = targetPath </> $"{name}.fsproj"
let fsprojCode = $"""<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>preview</LangVersion>
<RollForward>Major</RollForward>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<PublishAot>false</PublishAot>
<PublishTrimmed>false</PublishTrimmed>
<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<Version>0.0.1-alpha.1</Version>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
{modulesCode}
<Compile Include="{filePath}" />
</ItemGroup>
<Import Project="{repositoryRoot}/.paket/Paket.Restore.targets" />
</Project>
"""
do! fsprojCode |> FileSystem.writeAllTextExists fsprojPath
let paketReferencesPath = targetPath </> "paket.references"
let paketReferencesCode =
"FSharp.Core" :: packages
|> String.concat "\n"
do! paketReferencesCode |> FileSystem.writeAllTextExists paketReferencesPath
return fsprojPath
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## buildCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline buildCode runtime packages modules path name code = async {
let! fsprojPath = persistCodeProject packages modules path name code
return! fsprojPath |> buildProject runtime
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let tempFolder = FileSystem.getSourceDirectory () </> "target/test"
"1 + 1"
|> buildCode None [[]] [[]] tempFolder "test"
|> Async.runWithTimeout 60000
|> _equal (Some 0)
╭─[ 14.67s - stdout ]──────────────────────────────────────────────────────────╮
│ 00:00:00 #1 [Debug] persistCodeProject / packages: [] / modules: [] / path: │
│ C:\home\git\polyglot\apps\builder\target/test / name: test / code.Length: 5 │
│ 00:00:00 #2 [Debug] buildProject / fullPath: │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj │
│ 00:00:00 #3 [Debug] executeAsync / options: { Command = "dotnet publish -c │
│ release -o ../dist -r linux-x64" │
│ WorkingDirectory = Some │
│ "C:\home\git\polyglot\apps\builder\target\test\target" │
│ CancellationToken = None │
│ OnLine = None } │
│ 00:00:00 #4 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb │
│ for .NET │
│ 00:00:01 #5 [Verbose] > Determining projects to restore... │
│ 00:00:01 #6 [Verbose] > Restored │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj (in 459 │
│ ms). │
│ 00:00:01 #7 [Verbose] > C:\Program │
│ Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microso │
│ ft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You │
│ are using a preview version of .NET. See: │
│ https://aka.ms/dotnet-support-policy [ │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj] │
│ 00:00:04 #8 [Verbose] > │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fs(1,1): warning │
│ FS0020: The result of this expression has type 'int' and is implicitly │
│ ignored. Consider using 'ignore' to discard this value explicitly, e.g. │
│ 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = │
│ expr'. [C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj] │
│ 00:00:04 #9 [Verbose] > │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fs(1,6): warning │
│ FS0988: Main module of program is empty: nothing will happen when it is run │
│ [C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj] │
│ 00:00:04 #10 [Verbose] > test -> │
│ C:\home\git\polyglot\apps\builder\target\test\target\bin\release\net8.0\linu │
│ x-x64\test.dll │
│ 00:00:06 #11 [Verbose] > test -> │
│ C:\home\git\polyglot\apps\builder\target\test\dist\ │
│ 00:00:06 #12 [Debug] executeAsync / exitCode: 0 / output.Length: 1240 │
│ 00:00:06 #13 [Debug] executeAsync / options: { Command = "dotnet publish -c │
│ release -o ../dist -r win-x64" │
│ WorkingDirectory = Some │
│ "C:\home\git\polyglot\apps\builder\target\test\target" │
│ CancellationToken = None │
│ OnLine = None } │
│ 00:00:06 #14 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb │
│ for .NET │
│ 00:00:07 #15 [Verbose] > Determining projects to restore... │
│ 00:00:07 #16 [Verbose] > Restored │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj (in 320 │
│ ms). │
│ 00:00:07 #17 [Verbose] > C:\Program │
│ Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microso │
│ ft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You │
│ are using a preview version of .NET. See: │
│ https://aka.ms/dotnet-support-policy [ │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj] │
│ 00:00:09 #18 [Verbose] > │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fs(1,1): warning │
│ FS0020: The result of this expression has type 'int' and is implicitly │
│ ignored. Consider using 'ignore' to discard this value explicitly, e.g. │
│ 'expr |> ignore', or 'let' to bind the result to a name, e.g. 'let result = │
│ expr'. [C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj] │
│ 00:00:09 #19 [Verbose] > │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fs(1,6): warning │
│ FS0988: Main module of program is empty: nothing will happen when it is run │
│ [C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj] │
│ 00:00:10 #20 [Verbose] > test -> │
│ C:\home\git\polyglot\apps\builder\target\test\target\bin\release\net8.0\win- │
│ x64\test.dll │
│ 00:00:13 #21 [Verbose] > test -> │
│ C:\home\git\polyglot\apps\builder\target\test\dist\ │
│ 00:00:13 #22 [Debug] executeAsync / exitCode: 0 / output.Length: 1238 │
│ FSharpOption<Int32> │
│ Value: 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let tempFolder = FileSystem.getSourceDirectory () </> "target/test"
"1 + a"
|> buildCode None [[]] [[]] tempFolder "test"
|> Async.runWithTimeout 60000
|> _equal (Some 2)
╭─[ 7.32s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:14 #23 [Debug] persistCodeProject / packages: [] / modules: [] / path: │
│ C:\home\git\polyglot\apps\builder\target/test / name: test / code.Length: 5 │
│ 00:00:14 #24 [Debug] buildProject / fullPath: │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj │
│ 00:00:14 #25 [Debug] executeAsync / options: { Command = "dotnet publish -c │
│ release -o ../dist -r linux-x64" │
│ WorkingDirectory = Some │
│ "C:\home\git\polyglot\apps\builder\target\test\target" │
│ CancellationToken = None │
│ OnLine = None } │
│ 00:00:14 #26 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb │
│ for .NET │
│ 00:00:15 #27 [Verbose] > Determining projects to restore... │
│ 00:00:16 #28 [Verbose] > Restored │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj (in 312 │
│ ms). │
│ 00:00:16 #29 [Verbose] > C:\Program │
│ Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microso │
│ ft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You │
│ are using a preview version of .NET. See: │
│ https://aka.ms/dotnet-support-policy [ │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj] │
│ 00:00:17 #30 [Verbose] > │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fs(1,5): error │
│ FS0039: The value or constructor 'a' is not defined. [ │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj] │
│ 00:00:17 #31 [Debug] executeAsync / exitCode: 1 / output.Length: 684 │
│ 00:00:17 #32 [Debug] executeAsync / options: { Command = "dotnet publish -c │
│ release -o ../dist -r win-x64" │
│ WorkingDirectory = Some │
│ "C:\home\git\polyglot\apps\builder\target\test\target" │
│ CancellationToken = None │
│ OnLine = None } │
│ 00:00:18 #33 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb │
│ for .NET │
│ 00:00:18 #34 [Verbose] > Determining projects to restore... │
│ 00:00:19 #35 [Verbose] > Restored │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj (in 316 │
│ ms). │
│ 00:00:19 #36 [Verbose] > C:\Program │
│ Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microso │
│ ft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You │
│ are using a preview version of .NET. See: │
│ https://aka.ms/dotnet-support-policy [ │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj] │
│ 00:00:21 #37 [Verbose] > │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fs(1,5): error │
│ FS0039: The value or constructor 'a' is not defined. [ │
│ C:\home\git\polyglot\apps\builder\target\test\target\test.fsproj] │
│ 00:00:21 #38 [Debug] executeAsync / exitCode: 1 / output.Length: 684 │
│ FSharpOption<Int32> │
│ Value: 2 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## buildFile │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline buildFile runtime packages modules path = async {
let fullPath = path |> System.IO.Path.GetFullPath
let dir = fullPath |> System.IO.Path.GetDirectoryName
let fileName = fullPath |> System.IO.Path.GetFileNameWithoutExtension
let! code = fullPath |> FileSystem.readAllTextAsync
let code = System.Text.RegularExpressions.Regex.Replace (
code,
@"( *)(let\s+main\s+.*?\s*=)",
fun m -> m.Groups.[[1]].Value + "[[<EntryPoint>]]\n" +
m.Groups.[[1]].Value + m.Groups.[[2]].Value
)
return! code |> buildCode runtime packages modules dir fileName
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Arguments │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
[[<RequireQualifiedAccess>]]
type Arguments =
| [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.ExactlyOnce>]]
Path of path : string
| [[<Argu.ArguAttributes.Unique>]] Packages of packages : string list
| [[<Argu.ArguAttributes.Unique>]] Modules of modules : string list
| [[<Argu.ArguAttributes.Unique>]] Runtime of runtime : string
interface Argu.IArgParserTemplate with
member s.Usage =
match s with
| Path _ -> nameof Path
| Packages _ -> nameof Packages
| Modules _ -> nameof Modules
| Runtime _ -> nameof Runtime
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## main │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let main args =
let argsMap = args |> Runtime.parseArgsMap<Arguments>
let path =
match argsMap.[[nameof Arguments.Path]] with
| [[ Arguments.Path path ]] -> Some path
| _ -> None
|> Option.get
let packages =
match argsMap |> Map.tryFind (nameof Arguments.Packages) with
| Some [[ Arguments.Packages packages ]] -> packages
| _ -> [[]]
let modules =
match argsMap |> Map.tryFind (nameof Arguments.Modules) with
| Some [[ Arguments.Modules modules ]] -> modules
| _ -> [[]]
let runtime =
match argsMap |> Map.tryFind (nameof Arguments.Runtime) with
| Some [[ Arguments.Runtime runtime ]] -> Some runtime
| _ -> None
path
|> buildFile runtime packages modules
|> Async.runWithTimeout 60000
|> function
| Some exitCode -> exitCode
| None -> 1
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let args =
System.Environment.GetEnvironmentVariable "ARGS"
|> Runtime.splitArgs
|> Seq.toArray
match args with
| [[||]] -> 0
| args -> if main args = 0 then 0 else failwith "main failed"
╭─[ 23.74s - return value ]────────────────────────────────────────────────────╮
│ <div class="dni-plaintext"><pre>0</pre></div><style> │
│ .dni-code-hint { │
│ font-style: italic; │
│ overflow: hidden; │
│ white-space: nowrap; │
│ } │
│ .dni-treeview { │
│ white-space: nowrap; │
│ } │
│ .dni-treeview td { │
│ vertical-align: top; │
│ text-align: start; │
│ } │
│ details.dni-treeview { │
│ padding-left: 1em; │
│ } │
│ table td { │
│ text-align: start; │
│ } │
│ table tr { │
│ vertical-align: top; │
│ margin: 0em 0px; │
│ } │
│ table tr td pre │
│ { │
│ vertical-align: top !important; │
│ margin: 0em 0px !important; │
│ } │
│ table th { │
│ text-align: start; │
│ } │
│ </style> │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 23.76s - stdout ]──────────────────────────────────────────────────────────╮
│ 00:00:22 #39 [Debug] persistCodeProject / packages: [Argu; │
│ FSharp.Control.AsyncSeq; System.CommandLine; ... ] / modules: [ │
│ nbs/Common.fs; nbs/CommonFSharp.fs; nbs/Async.fs; ... ] / path: │
│ C:\home\git\polyglot\apps\builder / name: Builder / code.Length: 5979 │
│ 00:00:22 #40 [Debug] buildProject / fullPath: │
│ C:\home\git\polyglot\apps\builder\target\Builder.fsproj │
│ 00:00:22 #41 [Debug] executeAsync / options: { Command = "dotnet publish -c │
│ release -o ../dist -r linux-x64" │
│ WorkingDirectory = Some "C:\home\git\polyglot\apps\builder\target" │
│ CancellationToken = None │
│ OnLine = None } │
│ 00:00:23 #42 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb │
│ for .NET │
│ 00:00:24 #43 [Verbose] > Determining projects to restore... │
│ 00:00:24 #44 [Verbose] > Restored │
│ C:\home\git\polyglot\apps\builder\target\Builder.fsproj (in 441 ms). │
│ 00:00:24 #45 [Verbose] > C:\Program │
│ Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microso │
│ ft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You │
│ are using a preview version of .NET. See: │
│ https://aka.ms/dotnet-support-policy [ │
│ C:\home\git\polyglot\apps\builder\target\Builder.fsproj] │
│ 00:00:32 #46 [Verbose] > Builder -> │
│ C:\home\git\polyglot\apps\builder\target\bin\release\net8.0\linux-x64\Builde │
│ r.dll │
│ 00:00:33 #47 [Verbose] > Builder -> │
│ C:\home\git\polyglot\apps\builder\dist\ │
│ 00:00:33 #48 [Debug] executeAsync / exitCode: 0 / output.Length: 621 │
│ 00:00:33 #49 [Debug] executeAsync / options: { Command = "dotnet publish -c │
│ release -o ../dist -r win-x64" │
│ WorkingDirectory = Some "C:\home\git\polyglot\apps\builder\target" │
│ CancellationToken = None │
│ OnLine = None } │
│ 00:00:33 #50 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb │
│ for .NET │
│ 00:00:34 #51 [Verbose] > Determining projects to restore... │
│ 00:00:35 #52 [Verbose] > Restored │
│ C:\home\git\polyglot\apps\builder\target\Builder.fsproj (in 565 ms). │
│ 00:00:35 #53 [Verbose] > C:\Program │
│ Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microso │
│ ft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You │
│ are using a preview version of .NET. See: │
│ https://aka.ms/dotnet-support-policy [ │
│ C:\home\git\polyglot\apps\builder\target\Builder.fsproj] │
│ 00:00:42 #54 [Verbose] > Builder -> │
│ C:\home\git\polyglot\apps\builder\target\bin\release\net8.0\win-x64\Builder. │
│ dll │
│ 00:00:46 #55 [Verbose] > Builder -> │
│ C:\home\git\polyglot\apps\builder\dist\ │
│ 00:00:46 #56 [Debug] executeAsync / exitCode: 0 / output.Length: 619 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook Builder.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 317851 bytes to Builder.dib.html
In [ ]:
{ . "$ScriptDir/../apps/parser/build.ps1" } | Invoke-Block
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # DibParser (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li
b/net6.0/System.CommandLine.dll"
#r
@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP
arsec.dll"
#r
@"../../../../../../../.nuget/packages/fparsec/2.0.0-beta2/lib/netstandard2.1/FP
arsecCS.dll"
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
#!import ../nbs/CommonFSharp.fs
#!import ../nbs/Async.fs
#!import ../nbs/AsyncSeq.fs
#!import ../nbs/Runtime.fs
#!import ../nbs/FileSystem.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
a
|> Async.Catch
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module AsyncSeq =
open Common
/// ## subscribeEvent
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks
FSharp.Control.AsyncSeq.unfoldAsync
(fun (...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
open Common
/// ## isWindows
let isWindows =
fun () ->
System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform
System.Runtime.InteropServices.OSPlatform.Windows
|> memoize
/// ## getExecutableSuffix
let inline getExecutableSuffix () =
if isWindows ()
then ".exe"
else ""
/// ## splitCommand
type private CommandParseStep =
| Start
| Path of quoted: bool
| Arguments
let splitCommand (command: string) =
let rec loop (path, args) chars step =
match chars, step with
| ('"' | '\'') :: tail, _ when path = "" -> loop (pat...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module FileSystem =
open Common
/// ## Operators
module Operators =
let inline (</>) a b =
System.IO.Path.Combine (a, b)
open Operators
/// ## createTempDirectoryName
let inline createTempDirectoryName () =
let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name
System.IO.Path.GetTempPath ()
</> $"!{root}"
</> string (newGuidFromDateTime System.DateTime.Now)
/// ## createTempDirectory
let inline createTempDirectory () =
let tempFolder = createTempDirectoryName ()
let result = System.IO.Directory.CreateDirectory tempFolder
if not result.Exists then
let ge...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
open FParsec
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## escapeCell (test) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline escapeCell input =
input
|> String.split [[| '\n' |]]
|> Array.map (function
| line when line |> String.startsWith "\\#!" || line |>
String.startsWith "\\#r" ->
System.Text.RegularExpressions.Regex.Replace (line, "^\\\\#", "#")
| line -> line
)
|> String.concat "\n"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
$"a{nl}\\#!magic{nl}b{nl}"
|> escapeCell
|> _equal (
$"a{nl}#!magic{nl}b{nl}"
)
╭─[ 65.56ms - stdout ]─────────────────────────────────────────────────────────╮
│ a │
│ #!magic │
│ b │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## magicMarker │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let magicMarker : Parser<string, unit> = pstring "#!"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic"
|> run magicMarker
|> _equal (
Success ("#!", (), Position ("", 2, 1, 3))
)
╭─[ 57.89ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item1: #! │
│ Item2: <null> │
│ Item3: Position │
│ Index: 2 │
│ Line: 1 │
│ Column: 3 │
│ StreamName: │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"##!magic"
|> run magicMarker
|> _equal (
Failure (
$"Error in Ln: 1 Col: 1{nl}##!magic{nl}^{nl}Expecting: '#!'{nl}",
ParserError (
Position ("", 0, 1, 1),
(),
ErrorMessageList (ExpectedString "#!")
),
()
)
)
╭─[ 61.78ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure │
│ Item1: Error in Ln: 1 Col: 1 │
│ ##!magic │
│ ^ │
│ Expecting: '#!' │
│ │
│ Item2: ParserError │
│ Position: Position │
│ Index: 0 │
│ Line: 1 │
│ Column: 1 │
│ StreamName: │
│ UserState: <null> │
│ Messages: ErrorMessageList │
│ Head: ExpectedString │
│ String: #! │
│ Type: ExpectedString │
│ Tail: <null> │
│ Item3: <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## magicCommand │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let magicCommand =
magicMarker
>>. manyTill anyChar newline
|>> (System.String.Concat >> String.trim)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic
a"
|> run magicCommand
|> _equal (
Success ("magic", (), Position ("", 8, 2, 1))
)
╭─[ 35.78ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item1: magic │
│ Item2: <null> │
│ Item3: Position │
│ Index: 8 │
│ Line: 2 │
│ Column: 1 │
│ StreamName: │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
" #!magic
a"
|> run magicCommand
|> _equal (
Failure (
$"Error in Ln: 1 Col: 1{nl} #!magic{nl}^{nl}Expecting: '#!'{nl}",
ParserError (
Position ("", 0, 1, 1),
(),
ErrorMessageList (ExpectedString "#!")
),
()
)
)
╭─[ 38.13ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure │
│ Item1: Error in Ln: 1 Col: 1 │
│ #!magic │
│ ^ │
│ Expecting: '#!' │
│ │
│ Item2: ParserError │
│ Position: Position │
│ Index: 0 │
│ Line: 1 │
│ Column: 1 │
│ StreamName: │
│ UserState: <null> │
│ Messages: ErrorMessageList │
│ Head: ExpectedString │
│ String: #! │
│ Type: ExpectedString │
│ Tail: <null> │
│ Item3: <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## content │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let content =
(newline >>. magicMarker) <|> (eof >>. preturn "")
|> attempt
|> lookAhead
|> manyTill anyChar
|>> (System.String.Concat >> String.trim)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic
a
"
|> run content
|> _equal (
Success ("#!magic
a", (), Position ("", 14, 7, 1))
)
╭─[ 32.97ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item1: #!magic │
│ │
│ │
│ a │
│ Item2: <null> │
│ Item3: Position │
│ Index: 14 │
│ Line: 7 │
│ Column: 1 │
│ StreamName: │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Block │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type Block =
{
magic : string
content : string
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## block │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let block =
pipe2
magicCommand
content
(fun magic content ->
{
magic = magic
content = content
})
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic
a
"
|> run block
|> _equal (
Success (
{ magic = "magic"; content = "a" },
(),
Position ("", 14, 7, 1)
)
)
╭─[ 41.70ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item1: Block │
│ magic: magic │
│ content: a │
│ Item2: <null> │
│ Item3: Position │
│ Index: 14 │
│ Line: 7 │
│ Column: 1 │
│ StreamName: │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## blocks │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let blocks =
skipMany newline
>>. sepEndBy block (skipMany1 newline)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!magic1
a
\#!magic2
b
"
|> escapeCell
|> run blocks
|> _equal (
Success (
[[
{ magic = "magic1"; content = "a" }
{ magic = "magic2"; content = "b" }
]],
(),
Position ("", 26, 9, 1)
)
)
╭─[ 46.92ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item1: FSharpList<Block> │
│ - magic: magic1 │
│ content: a │
│ - magic: magic2 │
│ content: b │
│ Item2: <null> │
│ Item3: Position │
│ Index: 26 │
│ Line: 9 │
│ Column: 1 │
│ StreamName: │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Output │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type Output =
| Fs
| Md
| Spi
| Spir
let inline kernelOutputs magic =
match magic with
| "fsharp" -> [[ Fs ]]
| "markdown" -> [[ Md ]]
| "spiral" -> [[ Spi; Spir ]]
| _ -> [[]]
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## formatBlock │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline formatBlock output (block : Block) =
match output, block with
| output, { magic = "markdown"; content = content } ->
let markdownComment =
match output with
| Spi | Spir -> "// // "
| Fs -> "/// "
| _ -> ""
content
|> String.split [[| '\n' |]]
|> Array.map (String.trimEnd [[||]])
|> Array.filter (String.endsWith " (test)" >> not)
|> Array.map (function
| "" -> markdownComment |> String.trim
| line -> System.Text.RegularExpressions.Regex.Replace (line,
"^\\s*", $"$&{markdownComment}")
)
|> String.concat "\n"
| Fs, { magic = "fsharp"; content = content } ->
let trimmedContent = content |> String.trim
if trimmedContent |> String.startsWith "//// test" || trimmedContent |>
String.startsWith "//// ignore"
then ""
else
content
|> String.split [[| '\n' |]]
|> Array.filter (String.trimStart [[||]] >> String.startsWith "#r"
>> not)
|> String.concat "\n"
| (Spi | Spir), { magic = "spiral"; content = content } ->
let trimmedContent = content |> String.trim
if trimmedContent |> String.startsWith "// // test" || trimmedContent |>
String.startsWith "// // ignore"
then ""
else content
| _ -> ""
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!markdown
a
b
c
\#!markdown
c
\#!fsharp
let a = 1"
|> escapeCell
|> run block
|> function
| Success (block, _, _) -> formatBlock Fs block
| Failure (msg, _, _) -> failwith msg
|> _equal "/// a
///
/// b
///
/// c"
╭─[ 61.36ms - stdout ]─────────────────────────────────────────────────────────╮
│ /// a │
│ /// │
│ /// b │
│ /// │
│ /// c │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## formatBlocks │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline formatBlocks output blocks =
blocks
|> List.map (formatBlock output)
|> List.filter ((<>) "")
|> String.concat "\n\n"
|> fun s -> s + "\n"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"#!markdown
a
b
\#!markdown
c
\#!fsharp
let a = 1
\#!markdown
d (test)
\#!fsharp
//// test
let a = 2
\#!markdown
e
\#!fsharp
let a = 3"
|> escapeCell
|> run blocks
|> function
| Success (blocks, _, _) -> formatBlocks Fs blocks
| Failure (msg, _, _) -> failwith msg
|> _equal "/// a
///
/// b
/// c
let a = 1
/// e
let a = 3
"
╭─[ 80.85ms - stdout ]─────────────────────────────────────────────────────────╮
│ /// a │
│ /// │
│ /// b │
│ │
│ /// c │
│ │
│ let a = 1 │
│ │
│ /// e │
│ │
│ let a = 3 │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## parse │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline parse output input =
match run blocks input with
| Success (blocks, _, _) ->
let blocks =
blocks
|> List.filter (fun block ->
block.magic |> kernelOutputs |> List.contains output ||
block.magic = "markdown"
)
match blocks with
| { magic = "markdown"; content = content } :: _
when output = Fs
&& content |> String.startsWith "# "
&& content |> String.endsWith ")"
->
let inline indentBlock (block : Block) =
{ block with
content =
block.content
|> String.split [[| '\n' |]]
|> Array.fold
(fun (lines, isMultiline) line ->
let trimmedLine = line |> String.trim
if trimmedLine = ""
then "" :: lines, isMultiline
else
let inline singleQuoteLine () =
trimmedLine |> Seq.sumBy ((=) '"' >>
System.Convert.ToInt32) = 1
&& trimmedLine |> String.contains
@"'""'" |> not
&& trimmedLine |> String.endsWith "{" |>
not
&& trimmedLine |> String.endsWith "{|"
|> not
&& trimmedLine |> String.startsWith "}"
|> not
&& trimmedLine |> String.startsWith "|}"
|> not
match isMultiline, trimmedLine |>
String.splitString [[| $"{q}{q}{q}" |]] with
| false, [[| _; _ |]] ->
$" {line}" :: lines, true
| true, [[| _; _ |]] ->
line :: lines, false
| false, _ when singleQuoteLine () ->
$" {line}" :: lines, true
| false, _ when line |> String.startsWith
"#" && block.magic = "fsharp" ->
line :: lines, false
| false, _ ->
$" {line}" :: lines, false
| true, _ when singleQuoteLine () && line |>
String.startsWith " " ->
$" {line}" :: lines, false
| true, _ when singleQuoteLine () ->
line :: lines, false
| true, _ ->
line :: lines, true
)
([[]], false)
|> fst
|> List.rev
|> String.concat "\n"
}
let moduleName, namespaceName =
System.Text.RegularExpressions.Regex.Match (content, @"# (.*)
\((.*)\)$")
|> fun m -> m.Groups.[[1]].Value, m.Groups.[[2]].Value
let moduleBlock =
{
magic = "fsharp"
content =
$"#if !INTERACTIVE
namespace {namespaceName}
#endif
module {moduleName} ="
}
blocks
|> List.indexed
|> List.fold
(fun blocks (index, block) ->
match index with
| 0 -> blocks
| 1 -> indentBlock block :: moduleBlock :: blocks
| _ -> indentBlock block :: blocks
)
[[]]
|> List.rev
| _ -> blocks
|> Result.Ok
| Failure (errorMsg, _, _) -> Result.Error errorMsg
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let example1 =
$"""#!meta
{{"kernelInfo":{{"defaultKernelName":"fsharp","items":[[{{"aliases":[[]],"name":
"fsharp"}},{{"aliases":[[]],"name":"fsharp"}}]]}}}}
\#!markdown
# TestModule (TestNamespace)
\#!fsharp
\#!import file.dib
\#!fsharp
\#r "nuget:Expecto"
\#!markdown
## ParserLibrary
\#!fsharp
open System
\#!markdown
## x (test)
\#!fsharp
//// ignore
let x = 1
\#!spiral
// // test
inl x = 0i32
\#!spiral
inl x = 0i32
\#!markdown
### TextInput
\#!fsharp
let str1 = "abc
def"
let str2 =
"abc\
def"
let str3 =
$"1{{
1
}}1"
let str4 =
$"1{{({{|
a = 1
|}}).a}}1"
let str5 =
"abc \
def"
let x =
match '"' with
| '"' -> true
| _ -> false
let long1 = {q}{q}{q}a{q}{q}{q}
let long2 =
{q}{q}{q}
a
{q}{q}{q}
\#!fsharp
type Position =
{{
#if INTERACTIVE
line : string
#else
line : int
#endif
column : int
}}"""
|> escapeCell
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
example1
|> parse Fs
|> Result.toOption
|> Option.get
|> (formatBlocks Fs)
|> _equal $"""#if !INTERACTIVE
namespace TestNamespace
#endif
module TestModule =
/// ## ParserLibrary
open System
/// ### TextInput
let str1 = "abc
def"
let str2 =
"abc\
def"
let str3 =
$"1{{
1
}}1"
let str4 =
$"1{{({{|
a = 1
|}}).a}}1"
let str5 =
"abc \
def"
let x =
match '"' with
| '"' -> true
| _ -> false
let long1 = {q}{q}{q}a{q}{q}{q}
let long2 =
{q}{q}{q}
a
{q}{q}{q}
type Position =
{{
#if INTERACTIVE
line : string
#else
line : int
#endif
column : int
}}
"""
╭─[ 203.62ms - stdout ]────────────────────────────────────────────────────────╮
│ #if !INTERACTIVE │
│ namespace TestNamespace │
│ #endif │
│ │
│ module TestModule = │
│ │
│ /// ## ParserLibrary │
│ │
│ open System │
│ │
│ /// ### TextInput │
│ │
│ let str1 = "abc │
│ def" │
│ │
│ let str2 = │
│ "abc\ │
│ def" │
│ │
│ let str3 = │
│ $"1{ │
│ 1 │
│ }1" │
│ │
│ let str4 = │
│ $"1{({| │
│ a = 1 │
│ |}).a}1" │
│ │
│ let str5 = │
│ "abc \ │
│ def" │
│ │
│ let x = │
│ match '"' with │
│ | '"' -> true │
│ | _ -> false │
│ │
│ let long1 = """a""" │
│ │
│ let long2 = │
│ """ │
│ a │
│ """ │
│ │
│ type Position = │
│ { │
│ #if INTERACTIVE │
│ line : string │
│ #else │
│ line : int │
│ #endif │
│ column : int │
│ } │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
example1
|> parse Md
|> Result.toOption
|> Option.get
|> (formatBlocks Md)
|> _equal "# TestModule (TestNamespace)
## ParserLibrary
### TextInput
"
╭─[ 228.91ms - stdout ]────────────────────────────────────────────────────────╮
│ # TestModule (TestNamespace) │
│ │
│ ## ParserLibrary │
│ │
│ ### TextInput │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
example1
|> parse Spi
|> Result.toOption
|> Option.get
|> (formatBlocks Spi)
|> _equal "// // # TestModule (TestNamespace)
// // ## ParserLibrary
inl x = 0i32
// // ### TextInput
"
╭─[ 248.59ms - stdout ]────────────────────────────────────────────────────────╮
│ // // # TestModule (TestNamespace) │
│ │
│ // // ## ParserLibrary │
│ │
│ inl x = 0i32 │
│ │
│ // // ### TextInput │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## parseDibCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline parseDibCode output file = async {
let getLocals () = $"output: {output} / file: {file} / {getLocals ()}"
trace Debug (fun () -> "parseDibCode") getLocals
let! input = file |> FileSystem.readAllTextAsync
match parse output input with
| Result.Ok blocks -> return blocks |> formatBlocks output
| Result.Error msg -> return failwith msg
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## writeDibCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline writeDibCode output path = async {
let getLocals () = $"output: {output} / path: {path} / {getLocals ()}"
trace Debug (fun () -> "writeDibCode") getLocals
let! result = parseDibCode output path
let outputPath = path |> String.replace ".dib" $".{output |> string |>
String.toLower}"
do! result |> FileSystem.writeAllTextAsync outputPath
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Arguments │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
[[<RequireQualifiedAccess>]]
type Arguments =
| [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.Mandatory>]]
File of file : string * Output
interface Argu.IArgParserTemplate with
member s.Usage =
match s with
| File _ -> nameof File
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## main │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let main args =
let argsMap = args |> Runtime.parseArgsMap<Arguments>
let files =
argsMap.[[nameof Arguments.File]]
|> List.map (function
| Arguments.File (path, output) -> path, output
)
files
|> List.map (fun (path, output) -> path |> writeDibCode output)
|> Async.Parallel
|> Async.Ignore
|> Async.runWithTimeout 30000
|> function
| Some () -> 0
| None -> 1
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let args =
System.Environment.GetEnvironmentVariable "ARGS"
|> Runtime.splitArgs
|> Seq.toArray
match args with
| [[||]] -> 0
| args -> if main args = 0 then 0 else failwith "main failed"
╭─[ 238.13ms - return value ]──────────────────────────────────────────────────╮
│ <div class="dni-plaintext"><pre>0</pre></div><style> │
│ .dni-code-hint { │
│ font-style: italic; │
│ overflow: hidden; │
│ white-space: nowrap; │
│ } │
│ .dni-treeview { │
│ white-space: nowrap; │
│ } │
│ .dni-treeview td { │
│ vertical-align: top; │
│ text-align: start; │
│ } │
│ details.dni-treeview { │
│ padding-left: 1em; │
│ } │
│ table td { │
│ text-align: start; │
│ } │
│ table tr { │
│ vertical-align: top; │
│ margin: 0em 0px; │
│ } │
│ table tr td pre │
│ { │
│ vertical-align: top !important; │
│ margin: 0em 0px !important; │
│ } │
│ table th { │
│ text-align: start; │
│ } │
│ </style> │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 253.55ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:00 #1 [Debug] writeDibCode / output: Fs / path: DibParser.dib │
│ 00:00:00 #2 [Debug] parseDibCode / output: Fs / file: DibParser.dib │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook DibParser.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 363952 bytes to DibParser.dib.html
00:00:00 #1 [Debug] persistCodeProject / packages: [Argu; FParsec; FSharp.Control.AsyncSeq; ... ] / modules: [nbs/Common.fs; nbs/CommonFSharp.fs; nbs/Async.fs; ... ] / path: C:\home\git\polyglot\apps\parser / name: DibParser / code.Length: 9066
00:00:00 #2 [Debug] buildProject / fullPath: C:\home\git\polyglot\apps\parser\target\DibParser.fsproj
00:00:00 #3 [Debug] executeAsync / options: { Command = "dotnet publish -c release -o ../dist -r linux-x64"
WorkingDirectory = Some "C:\home\git\polyglot\apps\parser\target"
CancellationToken = None
OnLine = None }
00:00:00 #4 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb for .NET
00:00:00 #5 [Verbose] > Determining projects to restore...
00:00:01 #6 [Verbose] > Restored C:\home\git\polyglot\apps\parser\target\DibParser.fsproj (in 415 ms).
00:00:01 #7 [Verbose] > C:\Program Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\apps\parser\target\DibParser.fsproj]
00:00:07 #8 [Verbose] > DibParser -> C:\home\git\polyglot\apps\parser\target\bin\release\net8.0\linux-x64\DibParser.dll
00:00:09 #9 [Verbose] > DibParser -> C:\home\git\polyglot\apps\parser\dist\
00:00:09 #10 [Debug] executeAsync / exitCode: 0 / output.Length: 627
00:00:09 #11 [Debug] executeAsync / options: { Command = "dotnet publish -c release -o ../dist -r win-x64"
WorkingDirectory = Some "C:\home\git\polyglot\apps\parser\target"
CancellationToken = None
OnLine = None }
00:00:09 #12 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb for .NET
00:00:09 #13 [Verbose] > Determining projects to restore...
00:00:10 #14 [Verbose] > Restored C:\home\git\polyglot\apps\parser\target\DibParser.fsproj (in 420 ms).
00:00:10 #15 [Verbose] > C:\Program Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\apps\parser\target\DibParser.fsproj]
00:00:16 #16 [Verbose] > DibParser -> C:\home\git\polyglot\apps\parser\target\bin\release\net8.0\win-x64\DibParser.dll
00:00:20 #17 [Verbose] > DibParser -> C:\home\git\polyglot\apps\parser\dist\
00:00:20 #18 [Debug] executeAsync / exitCode: 0 / output.Length: 625
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # JsonParser (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
#!import Parser.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Parser =
open Common
/// ### TextInput
type Position =
{
line : int
column : int
}
let initialPos = { line = 0; column = 0 }
let inline incrCol (pos : Position) =
{ pos with column = pos.column + 1 }
let inline incrLine pos =
{ line = pos.line + 1; column = 0 }
type InputState =
{
lines : string[[]]
position : Position
}
let inline fromStr str =
{
lines =
if str |> String.IsNullOrEmpty
then [[||]]
else str |> String.splitString [[| "\r\n"; "\n" |]]
position = initialPos
}
...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
open Parser
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## JsonParser │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
(*
// --------------------------------
JSON spec from http://www.json.org/
// --------------------------------
The JSON spec is available at [[json.org]](http://www.json.org/). I'll paraphase
it here:
* A `value` can be a `string` or a `number` or a `bool` or `null` or an `object`
or an `array`.
* These structures can be nested.
* A `string` is a sequence of zero or more Unicode characters, wrapped in double
quotes, using backslash escapes.
* A `number` is very much like a C or Java number, except that the octal and
hexadecimal formats are not used.
* A `boolean` is the literal `true` or `false`
* A `null` is the literal `null`
* An `object` is an unordered set of name/value pairs.
* An object begins with { (left brace) and ends with } (right brace).
* Each name is followed by : (colon) and the name/value pairs are separated by
, (comma).
* An `array` is an ordered collection of values.
* An array begins with [[ (left bracket) and ends with ]] (right bracket).
* Values are separated by , (comma).
* Whitespace can be inserted between any pair of tokens.
*)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline parserEqual (expected : ParseResult<'a>) (actual : ParseResult<'a *
Input>) =
match actual, expected with
| Success (_actual, _), Success _expected ->
printResult actual
_actual |> _equal _expected
| Failure (l1, e1, p1), Failure (l2, e2, p2) when l1 = l2 && e1 = e2 && p1 =
p2 ->
printResult actual
| _ ->
printfn $"Actual: {actual}"
printfn $"Expected: {expected}"
failwith "Parse failed"
actual
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### JValue │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type JValue =
| JString of string
| JNumber of float
| JBool of bool
| JNull
| JObject of Map<string, JValue>
| JArray of JValue list
── fsharp ──────────────────────────────────────────────────────────────────────
let jValue, jValueRef = createParserForwardedToRef<JValue> ()
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jNull │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jNull =
pstring "null"
>>% JNull
<?> "null"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
jValueRef <|
choice
[[
jNull
]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jValue "null"
|> parserEqual (Success JNull)
╭─[ 232.07ms - return value ]──────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNull, { lines = [ │
│ |"null"|]<br/> position = { line = 0<br/> │
│ column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNull, { lines = [|"null"|]<br/> │
│ position = { line = 0<br/> column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNull</code></span></summary><div><table><thead> │
│ <tr></tr></thead><tbody></tbody></table></div></deta... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 241.34ms - stdout ]────────────────────────────────────────────────────────╮
│ JNull │
│ JNull │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNull "nulp"
|> parserEqual (
Failure (
"null",
"Unexpected 'p'",
{ currentLine = "nulp"; line = 0; column = 3 }
)
)
╭─[ 48.64ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure ("null", "Unexpected │
│ 'p'", { currentLine = "nulp"<br/> │
│ line = 0<br/> column = 3 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div │
│ class="dni-plaintext"><pre>null</pre></div></td></tr><tr><td>Item2</td><td>< │
│ div class="dni-plaintext"><pre>Unexpected │
│ 'p'</pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "nulp"<br/> line = 0<br/> column = 3 │
│ }</code></span></summary><div><table><thead><tr></tr></thead... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 55.57ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:3 Error parsing null │
│ nulp │
│ ^Unexpected 'p' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jBool │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jBool =
let jtrue =
pstring "true"
>>% JBool true
let jfalse =
pstring "false"
>>% JBool false
jtrue <|> jfalse
<?> "bool"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
jValueRef <|
choice
[[
jNull
jBool
]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jBool "true"
|> parserEqual (Success (JBool true))
╭─[ 46.69ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JBool true, { lines = [ │
│ |"true"|]<br/> position = { line = 0<br/> │
│ column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JBool true, { lines = [|"true"|]<br/> │
│ position = { line = 0<br/> column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JBool │
│ true</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr.. │
│ . │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 53.79ms - stdout ]─────────────────────────────────────────────────────────╮
│ JBool true │
│ JBool │
│ Item: True │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jBool "false"
|> parserEqual (Success (JBool false))
╭─[ 47.52ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JBool false, { lines = [ │
│ |"false"|]<br/> position = { line = 0<br/> │
│ column = 5 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JBool false, { lines = [ │
│ |"false"|]<br/> position = { line = 0<br/> column = │
│ 5 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JBool │
│ false</code></span></summary><div><table><thead><tr></tr></thead><tb... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 54.74ms - stdout ]─────────────────────────────────────────────────────────╮
│ JBool false │
│ JBool │
│ Item: False │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jBool "truX"
|> parserEqual (
Failure (
"bool",
"Unexpected 't'",
{ currentLine = "truX"; line = 0; column = 0 }
)
)
╭─[ 27.73ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure ("bool", "Unexpected │
│ 't'", { currentLine = "truX"<br/> │
│ line = 0<br/> column = 0 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div │
│ class="dni-plaintext"><pre>bool</pre></div></td></tr><tr><td>Item2</td><td>< │
│ div class="dni-plaintext"><pre>Unexpected │
│ 't'</pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "truX"<br/> line = 0<br/> column = 0 │
│ }</code></span></summary><div><table><thead><tr></tr></thead... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 34.66ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:0 Error parsing bool │
│ truX │
│ ^Unexpected 't' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jUnescapedChar │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jUnescapedChar =
satisfy (fun ch -> ch <> '\\' && ch <> '\"') "char"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jUnescapedChar "a"
|> parserEqual (Success 'a')
╭─[ 54.22ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success ('a', { lines = [ │
│ |"a"|]<br/> position = { line = 0<br/> │
│ column = 1 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(a, { lines = [|"a"|]<br/> position = │
│ { line = 0<br/> column = 1 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div │
│ class="dni-plaintext"><pre>a</pre></div></td></tr><tr><td>Item2</td><td><det │
│ ails class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines │
│ = [|"a"|]<br/... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 61.56ms - stdout ]─────────────────────────────────────────────────────────╮
│ 'a' │
│ a │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jUnescapedChar "\\"
|> parserEqual (
Failure (
"char",
"Unexpected '\\'",
{ currentLine = "\\"; line = 0; column = 0 }
)
)
╭─[ 35.34ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure ("char", "Unexpected │
│ '\'", { currentLine = "\"<br/> │
│ line = 0<br/> column = 0 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div │
│ class="dni-plaintext"><pre>char</pre></div></td></tr><tr><td>Item2</td><td>< │
│ div class="dni-plaintext"><pre>Unexpected │
│ '\'</pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "\"<br/> line = 0<br/> column = 0 │
│ }</code></span></summary><div><table><thead><tr></tr></thead><tbod... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 41.88ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:0 Error parsing char │
│ \ │
│ ^Unexpected '\' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jEscapedChar │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jEscapedChar =
[[
("\\\"",'\"')
("\\\\",'\\')
("\\/",'/')
("\\b",'\b')
("\\f",'\f')
("\\n",'\n')
("\\r",'\r')
("\\t",'\t')
]]
|> List.map (fun (toMatch, result) ->
pstring toMatch >>% result
)
|> choice
<?> "escaped char"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jEscapedChar "\\\\"
|> parserEqual (Success '\\')
╭─[ 32.77ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success ('\\', { lines = [ │
│ |"\\"|]<br/> position = { line = 0<br/> │
│ column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(\, { lines = [|"\\"|]<br/> position │
│ = { line = 0<br/> column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div │
│ class="dni-plaintext"><pre>\</pre></div></td></tr><tr><td>Item2</td><td><det │
│ ails class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines │
│ = [|"\\"... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 39.53ms - stdout ]─────────────────────────────────────────────────────────╮
│ '\\' │
│ \ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jEscapedChar "\\t"
|> parserEqual (Success '\t')
╭─[ 29.46ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success ('\009', { lines = [ │
│ |"\t"|]<br/> position = { line = 0<br/> │
│ column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>( , { lines = [|"\t"|]<br/> position = │
│ { line = 0<br/> column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre> │
│ </pre></div></td></tr><tr><td>Item2</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines = [ │
│ |"\t... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 36.43ms - stdout ]─────────────────────────────────────────────────────────╮
│ '\009' │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jEscapedChar @"\\"
|> parserEqual (Success '\\')
╭─[ 34.26ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success ('\\', { lines = [ │
│ |"\\"|]<br/> position = { line = 0<br/> │
│ column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(\, { lines = [|"\\"|]<br/> position │
│ = { line = 0<br/> column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div │
│ class="dni-plaintext"><pre>\</pre></div></td></tr><tr><td>Item2</td><td><det │
│ ails class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines │
│ = [|"\\"... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 41.49ms - stdout ]─────────────────────────────────────────────────────────╮
│ '\\' │
│ \ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jEscapedChar @"\n"
|> parserEqual (Success '\n')
╭─[ 33.11ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success ('\010', { lines = [ │
│ |"<br/>"|]<br/> position = { line = 0<br/> │
│ column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(<br/>, { lines = [|"<br/>"|]<br/> │
│ position = { line = 0<br/> column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre> │
│ </pre></div></td></tr><tr><td>Item2</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines = │
│ ... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 40.07ms - stdout ]─────────────────────────────────────────────────────────╮
│ '\010' │
│ │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jEscapedChar "a"
|> parserEqual (
Failure (
"escaped char",
"Unexpected 'a'",
{ currentLine = "a"; line = 0; column = 0 }
)
)
╭─[ 25.27ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure ("escaped char", │
│ "Unexpected 'a'", { currentLine = "a"<br/> │
│ line = 0<br/> column = 0 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>escaped │
│ char</pre></div></td></tr><tr><td>Item2</td><td><div │
│ class="dni-plaintext"><pre>Unexpected │
│ 'a'</pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "a"<br/> line = 0<br/> column = 0 │
│ }</code></span></summary><div><tab... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 31.92ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:0 Error parsing escaped char │
│ a │
│ ^Unexpected 'a' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jUnicodeChar │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jUnicodeChar =
let backslash = pchar '\\'
let uChar = pchar 'u'
let hexdigit = anyOf ([[ '0' .. '9' ]] @ [[ 'A' .. 'F' ]] @ [[ 'a' .. 'f'
]])
let fourHexDigits = hexdigit .>>. hexdigit .>>. hexdigit .>>. hexdigit
let inline convertToChar (((h1, h2), h3), h4) =
let str = $"%c{h1}%c{h2}%c{h3}%c{h4}"
Int32.Parse (str, Globalization.NumberStyles.HexNumber) |> char
backslash >>. uChar >>. fourHexDigits
|>> convertToChar
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jUnicodeChar "\\u263A"
|> parserEqual (Success '☺')
╭─[ 46.87ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success ('☺', { lines = [ │
│ |"\u263A"|]<br/> position = { line = 0<br/> │
│ column = 6 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(☺, { lines = [|"\u263A"|]<br/> │
│ position = { line = 0<br/> column = 6 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div │
│ class="dni-plaintext"><pre>☺</pre></div></td></tr><tr><td>Item2</td><td><det │
│ ails class="dni-treeview"><summary><span class="dni-code-hint"><code>{ lines │
│ = [|"\u2... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 53.46ms - stdout ]─────────────────────────────────────────────────────────╮
│ '☺' │
│ ☺ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jString │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let quotedString =
let quote = pchar '\"' <?> "quote"
let jchar = jUnescapedChar <|> jEscapedChar <|> jUnicodeChar
quote >>. manyChars jchar .>> quote
── fsharp ──────────────────────────────────────────────────────────────────────
let jString =
quotedString
|>> JString
<?> "quoted string"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
jValueRef <|
choice
[[
jNull
jBool
jString
]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jString "\"\""
|> parserEqual (Success (JString ""))
╭─[ 45.97ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JString "", { lines = [ │
│ |""""|]<br/> position = { line = │
│ 0<br/> column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JString "", { lines = [ │
│ |""""|]<br/> position = { line = 0<br/> │
│ column = 2 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JString ""</code></span></summary>... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 52.44ms - stdout ]─────────────────────────────────────────────────────────╮
│ JString "" │
│ JString │
│ Item: │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jString "\"a\""
|> parserEqual (Success (JString "a"))
╭─[ 31.23ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JString "a", { lines = [ │
│ |""a""|]<br/> position = { line = │
│ 0<br/> column = 3 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JString "a", { lines = [ │
│ |""a""|]<br/> position = { line = 0<br/> │
│ column = 3 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JString "a"</code></span></s... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 37.85ms - stdout ]─────────────────────────────────────────────────────────╮
│ JString "a" │
│ JString │
│ Item: a │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jString "\"ab\""
|> parserEqual (Success (JString "ab"))
╭─[ 34.85ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JString "ab", { lines = [ │
│ |""ab""|]<br/> position = { line │
│ = 0<br/> column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JString "ab", { lines = [ │
│ |""ab""|]<br/> position = { line = 0<br/> │
│ column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JString "ab"</code></s... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 42.02ms - stdout ]─────────────────────────────────────────────────────────╮
│ JString "ab" │
│ JString │
│ Item: ab │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jString "\"ab\\tde\""
|> parserEqual (Success (JString "ab\tde"))
╭─[ 35.73ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JString "ab de", { lines = [ │
│ |""ab\tde""|]<br/> position = │
│ { line = 0<br/> column = 8 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JString "ab de", { lines = [ │
│ |""ab\tde""|]<br/> position = { line = 0<br/> │
│ column = 8 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JString &quo... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 42.56ms - stdout ]─────────────────────────────────────────────────────────╮
│ JString "ab de" │
│ JString │
│ Item: ab de │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jString "\"ab\\u263Ade\""
|> parserEqual (Success (JString "ab☺de"))
╭─[ 33.12ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JString "ab☺de", { lines = [ │
│ |""ab\u263Ade""|]<br/> │
│ position = { line = 0<br/> column = │
│ 12 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JString "ab☺de", { lines = [ │
│ |""ab\u263Ade""|]<br/> position = { line = 0<br/> │
│ column = 12 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JS... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 40.07ms - stdout ]─────────────────────────────────────────────────────────╮
│ JString "ab☺de" │
│ JString │
│ Item: ab☺de │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jNumber │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jNumber =
let optSign = opt (pchar '-')
let zero = pstring "0"
let digitOneNine =
satisfy (fun ch -> Char.IsDigit ch && ch <> '0') "1-9"
let digit =
satisfy Char.IsDigit "digit"
let point = pchar '.'
let e = pchar 'e' <|> pchar 'E'
let optPlusMinus = opt (pchar '-' <|> pchar '+')
let nonZeroInt =
digitOneNine .>>. manyChars digit
|>> fun (first, rest) -> string first + rest
let intPart = zero <|> nonZeroInt
let fractionPart = point >>. manyChars1 digit
let exponentPart = e >>. optPlusMinus .>>. manyChars1 digit
let inline (|>?) opt f =
match opt with
| None -> ""
| Some x -> f x
let inline convertToJNumber (((optSign, intPart), fractionPart), expPart) =
let signStr =
optSign
|>? string
let fractionPartStr =
fractionPart
|>? (fun digits -> "." + digits)
let expPartStr =
expPart
|>? fun (optSign, digits) ->
let sign = optSign |>? string
"e" + sign + digits
(signStr + intPart + fractionPartStr + expPartStr)
|> float
|> JNumber
optSign .>>. intPart .>>. opt fractionPart .>>. opt exponentPart
|>> convertToJNumber
<?> "number"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
jValueRef <|
choice
[[
jNull
jBool
jString
jNumber
]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber "123"
|> parserEqual (Success (JNumber 123.0))
╭─[ 68.40ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 123.0, { lines = [ │
│ |"123"|]<br/> position = { line = 0<br/> │
│ column = 3 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 123.0, { lines = [ │
│ |"123"|]<br/> position = { line = 0<br/> column = 3 │
│ } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 123.0</code></span></summary><div><table><thead><tr></tr></the... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 75.24ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 123.0 │
│ JNumber │
│ Item: 123 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber "-123"
|> parserEqual (Success (JNumber -123.0))
╭─[ 39.67ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber -123.0, { lines = [ │
│ |"-123"|]<br/> position = { line = │
│ 0<br/> column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber -123.0, { lines = [ │
│ |"-123"|]<br/> position = { line = 0<br/> column = │
│ 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ -123.0</code></span></summary><div><table><thead><tr></t... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 46.80ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber -123.0 │
│ JNumber │
│ Item: -123 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber "123.4"
|> parserEqual (Success (JNumber 123.4))
╭─[ 36.68ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 123.4, { lines = [ │
│ |"123.4"|]<br/> position = { line = │
│ 0<br/> column = 5 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 123.4, { lines = [ │
│ |"123.4"|]<br/> position = { line = 0<br/> column = │
│ 5 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 123.4</code></span></summary><div><table><thead><tr></tr><... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 43.24ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 123.4 │
│ JNumber │
│ Item: 123.4 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber "-123."
|> parserEqual (Success (JNumber -123.0))
╭─[ 45.31ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber -123.0, { lines = [ │
│ |"-123."|]<br/> position = { line = │
│ 0<br/> column = 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber -123.0, { lines = [ │
│ |"-123."|]<br/> position = { line = 0<br/> column = │
│ 4 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ -123.0</code></span></summary><div><table><thead><tr><... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 52.24ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber -123.0 │
│ JNumber │
│ Item: -123 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber "00.1"
|> parserEqual (Success (JNumber 0.0))
╭─[ 36.11ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 0.0, { lines = [ │
│ |"00.1"|]<br/> position = { line = 0<br/> │
│ column = 1 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 0.0, { lines = [ │
│ |"00.1"|]<br/> position = { line = 0<br/> column = │
│ 1 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 0.0</code></span></summary><div><table><thead><tr></tr></thead><tbod... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 42.65ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 0.0 │
│ JNumber │
│ Item: 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let jNumber_ = jNumber .>> spaces1
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "123"
|> parserEqual (Success (JNumber 123.0))
╭─[ 39.81ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 123.0, { lines = [ │
│ |"123"|]<br/> position = { line = 1<br/> │
│ column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 123.0, { lines = [ │
│ |"123"|]<br/> position = { line = 1<br/> column = 0 │
│ } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 123.0</code></span></summary><div><table><thead><tr></tr></the... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 47.26ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 123.0 │
│ JNumber │
│ Item: 123 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "-123"
|> parserEqual (Success (JNumber -123.0))
╭─[ 33.71ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber -123.0, { lines = [ │
│ |"-123"|]<br/> position = { line = │
│ 1<br/> column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber -123.0, { lines = [ │
│ |"-123"|]<br/> position = { line = 1<br/> column = │
│ 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ -123.0</code></span></summary><div><table><thead><tr></t... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 40.41ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber -123.0 │
│ JNumber │
│ Item: -123 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "-123."
|> parserEqual (
Failure (
"number andThen many1 whitespace",
"Unexpected '.'",
{ currentLine = "-123."; line = 0; column = 4 }
)
)
╭─[ 29.22ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure<br/> ("number andThen many1 │
│ whitespace", "Unexpected '.'", { currentLine = │
│ "-123."<br/> │
│ line = 0<br/> │
│ column = 4 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>number andThen many1 │
│ whitespace</pre></div></td></tr><tr><td>Item2</td><td><div │
│ class="dni-plaintext"><pre>Unexpected │
│ '.'</pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 36.23ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:4 Error parsing number andThen many1 whitespace │
│ -123. │
│ ^Unexpected '.' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "123.4"
|> parserEqual (Success (JNumber 123.4))
╭─[ 36.13ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 123.4, { lines = [ │
│ |"123.4"|]<br/> position = { line = │
│ 1<br/> column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 123.4, { lines = [ │
│ |"123.4"|]<br/> position = { line = 1<br/> column = │
│ 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 123.4</code></span></summary><div><table><thead><tr></tr><... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 42.70ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 123.4 │
│ JNumber │
│ Item: 123.4 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "00.4"
|> parserEqual (
Failure (
"number andThen many1 whitespace",
"Unexpected '0'",
{ currentLine = "00.4"; line = 0; column = 1 }
)
)
╭─[ 24.57ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure<br/> ("number andThen many1 │
│ whitespace", "Unexpected '0'", { currentLine = │
│ "00.4"<br/> │
│ line = 0<br/> │
│ column = 1 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div class="dni-plaintext"><pre>number andThen many1 │
│ whitespace</pre></div></td></tr><tr><td>Item2</td><td><div │
│ class="dni-plaintext"><pre>Unexpected │
│ '0'</pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "0... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 30.68ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:1 Error parsing number andThen many1 whitespace │
│ 00.4 │
│ ^Unexpected '0' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "123e4"
|> parserEqual (Success (JNumber 1230000.0))
╭─[ 37.09ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 1230000.0, { lines = [ │
│ |"123e4"|]<br/> position = { line = │
│ 1<br/> column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 1230000.0, { lines = [ │
│ |"123e4"|]<br/> position = { line = 1<br/> column = │
│ 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 1230000.0</code></span></summary><div><tab... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 44.50ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 1230000.0 │
│ JNumber │
│ Item: 1230000 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "123.4e5"
|> parserEqual (Success (JNumber 12340000.0))
╭─[ 36.81ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 12340000.0, { lines = [ │
│ |"123.4e5"|]<br/> position = { line │
│ = 1<br/> column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 12340000.0, { lines = [ │
│ |"123.4e5"|]<br/> position = { line = 1<br/> column │
│ = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber 12340000.0</code></span></summary>... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 43.01ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 12340000.0 │
│ JNumber │
│ Item: 12340000 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jNumber_ "123.4e-5"
|> parserEqual (Success (JNumber 0.001234))
╭─[ 30.62ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JNumber 0.001234, { lines = [ │
│ |"123.4e-5"|]<br/> position = { line = │
│ 1<br/> column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JNumber 0.001234, { lines = [ │
│ |"123.4e-5"|]<br/> position = { line = 1<br/> │
│ column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>JNumber │
│ 0.001234</code></span></summary><div><ta... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 37.51ms - stdout ]─────────────────────────────────────────────────────────╮
│ JNumber 0.001234 │
│ JNumber │
│ Item: 0.001234 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jArray │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jArray =
let left = pchar '[[' .>> spaces
let right = pchar ']]' .>> spaces
let comma = pchar ',' .>> spaces
let value = jValue .>> spaces
let values = sepBy value comma
between left values right
|>> JArray
<?> "array"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
jValueRef <|
choice
[[
jNull
jBool
jString
jNumber
jArray
]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jArray "[[ 1, 2 ]]"
|> parserEqual (Success (JArray [[ JNumber 1.0; JNumber 2.0 ]]))
╭─[ 87.26ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success (JArray [JNumber 1.0; JNumber 2.0], { │
│ lines = [|"[ 1, 2 ]"|]<br/> │
│ position = { line = 1<br/> │
│ column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JArray [JNumber 1.0; JNumber 2.0], { lines = [ │
│ |"[ 1, 2 ]"|]<br/> position = { line = 1<br/> │
│ column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><details class="dni-treeview"><summary><span class="d... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 93.11ms - stdout ]─────────────────────────────────────────────────────────╮
│ JArray [JNumber 1.0; JNumber 2.0] │
│ JArray │
│ Item: FSharpList<JValue> │
│ - Item: 1 │
│ - Item: 2 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jArray "[[ 1, 2, ]]"
|> parserEqual (
Failure (
"array",
"Unexpected ','",
{ currentLine = "[[ 1, 2, ]]"; line = 0; column = 6 }
)
)
╭─[ 42.16ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure ("array", "Unexpected │
│ ','", { currentLine = "[ 1, 2, ]"<br/> │
│ line = 0<br/> column = 6 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div │
│ class="dni-plaintext"><pre>array</pre></div></td></tr><tr><td>Item2</td><td> │
│ <div class="dni-plaintext"><pre>Unexpected │
│ ','</pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "[ 1, 2, ]"<br/> line = 0<br/> column = 6 │
│ }</code></span></summary><div><table><thead><t... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 48.66ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:6 Error parsing array │
│ [ 1, 2, ] │
│ ^Unexpected ',' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jObject │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let jObject =
let left = spaces >>. pchar '{' .>> spaces
let right = pchar '}' .>> spaces
let colon = pchar ':' .>> spaces
let comma = pchar ',' .>> spaces
let key = quotedString .>> spaces
let value = jValue .>> spaces
let keyValue = (key .>> colon) .>>. value
let keyValues = sepBy keyValue comma
between left keyValues right
|>> Map.ofList
|>> JObject
<?> "object"
── fsharp ──────────────────────────────────────────────────────────────────────
jValueRef <|
choice
[[
jNull
jBool
jString
jNumber
jArray
jObject
]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jObject """{ "a":1, "b" : 2 }"""
|> parserEqual (
Success (
JObject (
Map.ofList [[
"a", JNumber 1.0
"b", JNumber 2.0
]]
)
)
)
╭─[ 100.48ms - return value ]──────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success<br/> (JObject (map [("a", │
│ JNumber 1.0); ("b", JNumber 2.0)]),<br/> { lines = [|"{ │
│ "a":1, "b" : 2 }"|]<br/> position = { line = │
│ 1<br/> column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JObject (map [("a", JNumber 1.0); │
│ ("b", JNumber 2.0)]), { lines = [|"{ "a":1, │
│ "b" : 2 }"|]<br/> position = { line = 1<br/> │
│ column = 0 } │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbod... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 106.80ms - stdout ]────────────────────────────────────────────────────────╮
│ JObject (map [("a", JNumber 1.0); ("b", JNumber 2.0)]) │
│ JObject │
│ Item: FSharpMap<String,JValue> │
│ - Key: a │
│ Value: JNumber │
│ Item: 1 │
│ - Key: b │
│ Value: JNumber │
│ Item: 2 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run jObject """{ "a":1, "b" : 2, }"""
|> parserEqual (
Failure (
"object",
"Unexpected ','",
{ currentLine = """{ "a":1, "b" : 2, }"""; line = 0; column = 18 }
)
)
╭─[ 38.13ms - return value ]───────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Failure ("object", "Unexpected │
│ ','", { currentLine = "{ "a":1, "b" : │
│ 2, }"<br/> line = 0<br/> │
│ column = 18 │
│ })</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div │
│ class="dni-plaintext"><pre>object</pre></div></td></tr><tr><td>Item2</td><td │
│ ><div class="dni-plaintext"><pre>Unexpected │
│ ','</pre></div></td></tr><tr><td>Item3</td><td><details │
│ class="dni-treeview"><summary><span class="dni-code-hint"><code>{ │
│ currentLine = "{ "a":1, "b" : 2, }"<br/> │
│ lin... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 45.12ms - stdout ]─────────────────────────────────────────────────────────╮
│ Line:0 Col:18 Error parsing object │
│ { "a":1, "b" : 2, } │
│ ^Unexpected ',' │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### jValue │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let example1 = """{
"name" : "Scott",
"isMale" : true,
"bday" : {"year":2001, "month":12, "day":25 },
"favouriteColors" : [["blue", "green"]],
"emptyArray" : [[]],
"emptyObject" : {}
}"""
run jValue example1
|> parserEqual (
Success (
JObject (
Map.ofList [[
"name", JString "Scott"
"isMale", JBool true
"bday", JObject (
Map.ofList [[
"year", JNumber 2001.0
"month", JNumber 12.0
"day", JNumber 25.0
]]
)
"favouriteColors", JArray [[ JString "blue"; JString "green" ]]
"emptyArray", JArray [[]]
"emptyObject", JObject Map.empty
]]
)
)
)
╭─[ 187.14ms - return value ]──────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success<br/> (JObject<br/> (map<br/> │
│ [("bday",<br/> JObject<br/> (map<br/> │
│ [("day", JNumber 25.0); ("month", JNumber 12.0);<br/> │
│ ("year", JNumber 2001.0)])); ("emptyArray", JArray [ │
│ ]);<br/> ("emptyObject", JObject (map []));<br/> │
│ ("favouriteColors", │
│ ...</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><t │
│ d>Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JObject<br/> (map<br/> [ │
│ ("bday",<br/> JObject<br/> (map<br/> [ │
│ (... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 193.67ms - stdout ]────────────────────────────────────────────────────────╮
│ JObject │
│ (map │
│ [("bday", │
│ JObject │
│ (map │
│ [("day", JNumber 25.0); ("month", JNumber 12.0); │
│ ("year", JNumber 2001.0)])); ("emptyArray", JArray []); │
│ ("emptyObject", JObject (map [])); │
│ ("favouriteColors", JArray [JString "blue"; JString "green"]); │
│ ("isMale", JBool true); ("name", JString "Scott")]) │
│ JObject │
│ Item: FSharpMap<String,JValue> │
│ - Key: bday │
│ Value: JObject │
│ Item: FSharpMap<String,JValue> │
│ - Key: day │
│ Value: JNumber 25.0 │
│ - Key: month │
│ Value: JNumber 12.0 │
│ - Key: year │
│ Value: JNumber 2001.0 │
│ - Key: emptyArray │
│ Value: JArray │
│ Item: FSharpList<JValue> │
│ │
│ - Key: emptyObject │
│ Value: JObject │
│ Item: FSharpMap<String,JValue> │
│ │
│ - Key: favouriteColors │
│ Value: JArray │
│ Item: FSharpList<JValue> │
│ - Item: blue │
│ - Item: green │
│ - Key: isMale │
│ Value: JBool │
│ Item: True │
│ - Key: name │
│ Value: JString │
│ Item: Scott │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let example2 = """{"widget": {
"debug": "on",
"window": {
"title": "Sample Konfabulator Widget",
"name": "main_window",
"width": 500,
"height": 500
},
"image": {
"src": "Images/Sun.png",
"name": "sun1",
"hOffset": 250,
"vOffset": 250,
"alignment": "center"
},
"text": {
"data": "Click Here",
"size": 36,
"style": "bold",
"name": "text1",
"hOffset": 250,
"vOffset": 100,
"alignment": "center",
"onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;"
}
}}"""
run jValue example2
|> parserEqual (
Success (
JObject (
Map.ofList [[
"widget", JObject (
Map.ofList [[
"debug", JString "on"
"window", JObject (
Map.ofList [[
"title", JString "Sample Konfabulator Widget"
"name", JString "main_window"
"width", JNumber 500.0
"height", JNumber 500.0
]]
)
"image", JObject (
Map.ofList [[
"src", JString "Images/Sun.png"
"name", JString "sun1"
"hOffset", JNumber 250.0
"vOffset", JNumber 250.0
"alignment", JString "center"
]]
)
"text", JObject (
Map.ofList [[
"data", JString "Click Here"
"size", JNumber 36.0
"style", JString "bold"
"name", JString "text1"
"hOffset", JNumber 250.0
"vOffset", JNumber 100.0
"alignment", JString "center"
"onMouseUp", JString "sun1.opacity =
(sun1.opacity / 100) * 90;"
]]
)
]]
)
]]
)
)
)
╭─[ 307.39ms - return value ]──────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success<br/> (JObject<br/> (map<br/> │
│ [("widget",<br/> JObject<br/> (map<br/> │
│ [("debug", JString "on");<br/> │
│ ("image",<br/> JObject<br/> │
│ (map<br/> [("alignment", JString │
│ "center");<br/> │
│ ("hOffset"...</code></span></summary><div><table><thead><tr></tr>< │
│ /thead><tbody><tr><td>Item</td><td><details │
│ class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JObject<br/> (map<br/> [ │
│ ("widget",<br/> JObject<br/> (map<br/> ... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 314.14ms - stdout ]────────────────────────────────────────────────────────╮
│ JObject │
│ (map │
│ [("widget", │
│ JObject │
│ (map │
│ [("debug", JString "on"); │
│ ("image", │
│ JObject │
│ (map │
│ [("alignment", JString "center"); ("hOffset", JNumber │
│ 250.0); │
│ ("name", JString "sun1"); ("src", JString │
│ "Images/Sun.png"); │
│ ("vOffset", JNumber 250.0)])); │
│ ("text", │
│ JObject │
│ (map │
│ [("alignment", JString "center"); │
│ ("data", JString "Click Here"); ("hOffset", JNumber │
│ 250.0); │
│ ("name", JString "text1"); │
│ ("onMouseUp", │
│ JString "sun1.opacity = (sun1.opacity / 100) * 90;"); │
│ ("size", JNumber 36.0); ("style", JString "bold"); │
│ ("vOffset", JNumber 100.0)])); │
│ ("window", │
│ JObject │
│ (map │
│ [("height", JNumber 500.0); ("name", JString │
│ "main_window"); │
│ ("title", JString "Sample Konfabulator Widget"); │
│ ("width", JNumber 500.0)]))]))]) │
│ JObject │
│ Item: FSharpMap<String,JValue> │
│ - Key: widget │
│ Value: JObject │
│ Item: FSharpMap<String,JValue> │
│ - Key: debug │
│ Value: JString "on" │
│ - Key: image │
│ Value: JObject │
│ (map │
│ [("alignment", JString "center"); ("hOffset", JNumber 250.0); │
│ ("name", JString "sun1"); ("src", JString "Images/Sun.png"); │
│ ("vOffset", JNumber 250.0)]) │
│ - Key: text │
│ Value: JObject │
│ (map │
│ [("alignment", JString "center"); ("data", JString "Click Here"); │
│ ("hOffset", JNumber 250.0); ("name", JString "text1"); │
│ ("onMouseUp", JString "sun1.opacity = (sun1.opacity / 100) * 90;"); │
│ ("size", JNumber 36.0); ("style", JString "bold"); │
│ ("vOffset", JNumber 100.0)]) │
│ - Key: window │
│ Value: JObject │
│ (map │
│ [("height", JNumber 500.0); ("name", JString "main_window"); │
│ ("title", JString "Sample Konfabulator Widget"); ("width", JNumber │
│ 500.0)]) │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let example3 = """{
"string": "Hello, \"World\"!",
"escapedString": "This string contains \\/\\\\\\b\\f\\n\\r\\t\\\"\\'",
"number": 42,
"scientificNumber": 3.14e-10,
"boolean": true,
"nullValue": null,
"array": [[1, 2, 3, 4, 5]],
"unicodeString1": "프리마",
"unicodeString2": "\u0048\u0065\u006C\u006C\u006F,
\u0022\u0057\u006F\u0072\u006C\u0064\u0022!",
"specialCharacters": "!@#$%^&*()",
"emptyArray": [[]],
"emptyObject": {},
"nestedArrays": [[[[1, 2, 3]], [[4, 5, 6]]]],
"object": {
"nestedString": "Nested Value",
"nestedNumber": 3.14,
"nestedBoolean": false,
"nestedNull": null,
"nestedArray": [["a", "b", "c"]],
"nestedObject": {
"nestedProperty": "Nested Object Value"
}
},
"nestedObjects": [[
{"name": "Alice", "age": 25},
{"name": "Bob", "age": 30}
]]
}"""
run jValue example3
|> parserEqual (
Success (
JObject (
Map.ofList [[
"string", JString @"Hello, ""World""!"
"escapedString", JString @"This string contains
\/\\\b\f\n\r\t\""\'"
"number", JNumber 42.0
"scientificNumber", JNumber 3.14e-10
"boolean", JBool true
"nullValue", JNull
"array", JArray [[
JNumber 1.0; JNumber 2.0; JNumber 3.0; JNumber 4.0; JNumber
5.0
]]
"unicodeString1", JString "프리마"
"unicodeString2", JString @"Hello, ""World""!"
"specialCharacters", JString "!@#$%^&*()"
"emptyArray", JArray [[]]
"emptyObject", JObject Map.empty
"nestedArrays", JArray [[
JArray [[ JNumber 1.0; JNumber 2.0; JNumber 3.0 ]]
JArray [[ JNumber 4.0; JNumber 5.0; JNumber 6.0 ]]
]]
"object", JObject (
Map.ofList [[
"nestedString", JString "Nested Value"
"nestedNumber", JNumber 3.14
"nestedBoolean", JBool false
"nestedNull", JNull
"nestedArray", JArray [[JString "a"; JString "b";
JString "c"]]
"nestedObject", JObject (
Map.ofList [[
"nestedProperty", JString "Nested Object Value"
]]
)
]]
)
"nestedObjects", JArray [[
JObject (Map.ofList [[ "name", JString "Alice"; "age", JNumber
25.0 ]])
JObject (Map.ofList [[ "name", JString "Bob"; "age", JNumber
30.0 ]])
]]
]]
)
)
)
╭─[ 437.54ms - return value ]──────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Success<br/> (JObject<br/> (map<br/> │
│ [("array",<br/> JArray<br/> [JNumber 1.0; │
│ JNumber 2.0; JNumber 3.0; JNumber 4.0; JNumber 5.0]);<br/> │
│ ("boolean", JBool true); ("emptyArray", JArray []);<br/> │
│ ("emptyObject", JObject (map []));<br/> │
│ ("escapedString", JString "This │
│ s...</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr>< │
│ td>Item</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(JObject<br/> (map<br/> [ │
│ ("array",<br/> JArray [JNumber 1.0; JNumber 2.0; JNumber │
│ 3.0; JNumber 4.0; J... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 445.49ms - stdout ]────────────────────────────────────────────────────────╮
│ JObject │
│ (map │
│ [("array", │
│ JArray [JNumber 1.0; JNumber 2.0; JNumber 3.0; JNumber 4.0; JNumber │
│ 5.0]); │
│ ("boolean", JBool true); ("emptyArray", JArray []); │
│ ("emptyObject", JObject (map [])); │
│ ("escapedString", JString "This string contains \/\\\b\f\n\r\t\"\'"); │
│ ("nestedArrays", │
│ JArray │
│ [JArray [JNumber 1.0; JNumber 2.0; JNumber 3.0]; │
│ JArray [JNumber 4.0; JNumber 5.0; JNumber 6.0]]); │
│ ("nestedObjects", │
│ JArray │
│ [JObject (map [("age", JNumber 25.0); ("name", JString "Alice")]); │
│ JObject (map [("age", JNumber 30.0); ("name", JString "Bob")])]); │
│ ("nullValue", JNull); ("number", JNumber 42.0); ...]) │
│ JObject │
│ Item: FSharpMap<String,JValue> │
│ - Key: array │
│ Value: JArray │
│ Item: FSharpList<JValue> │
│ - Item: 1 │
│ - Item: 2 │
│ - Item: 3 │
│ - Item: 4 │
│ - Item: 5 │
│ - Key: boolean │
│ Value: JBool │
│ Item: True │
│ - Key: emptyArray │
│ Value: JArray │
│ Item: FSharpList<JValue> │
│ │
│ - Key: emptyObject │
│ Value: JObject │
│ Item: FSharpMap<String,JValue> │
│ │
│ - Key: escapedString │
│ Value: JString │
│ Item: This string contains \/\\\b\f\n\r\t\"\' │
│ - Key: nestedArrays │
│ Value: JArray │
│ Item: FSharpList<JValue> │
│ - Item: [ JNumber 1.0, JNumber 2.0, JNumber 3.0 ] │
│ - Item: [ JNumber 4.0, JNumber 5.0, JNumber 6.0 ] │
│ - Key: nestedObjects │
│ Value: JArray │
│ Item: FSharpList<JValue> │
│ - Item: [ [age, JNumber 25.0], [name, JString "Alice"] ] │
│ - Item: [ [age, JNumber 30.0], [name, JString "Bob"] ] │
│ - Key: nullValue │
│ Value: JNull │
│ - Key: number │
│ Value: JNumber │
│ Item: 42 │
│ - Key: object │
│ Value: JObject │
│ Item: FSharpMap<String,JValue> │
│ - Key: nestedArray │
│ Value: JArray [JString "a"; JString "b"; JString "c"] │
│ - Key: nestedBoolean │
│ Value: JBool false │
│ - Key: nestedNull │
│ Value: JNull │
│ - Key: nestedNumber │
│ Value: JNumber 3.14 │
│ - Key: nestedObject │
│ Value: JObject (map [("nestedProperty", JString "Nested │
│ Object Value")]) │
│ - Key: nestedString │
│ Value: JString "Nested Value" │
│ - Key: scientificNumber │
│ Value: JNumber │
│ Item: 3.14E-10 │
│ - Key: specialCharacters │
│ Value: JString │
│ Item: !@#$%^&*() │
│ - Key: string │
│ Value: JString │
│ Item: Hello, "World"! │
│ - Key: unicodeString1 │
│ Value: JString │
│ Item: 프리마 │
│ - Key: unicodeString2 │
│ Value: JString │
│ Item: Hello, "World"! │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook JsonParser.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 502725 bytes to JsonParser.dib.html
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Parser (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### TextInput │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type Position =
{
line : int
column : int
}
── fsharp ──────────────────────────────────────────────────────────────────────
let initialPos = { line = 0; column = 0 }
── fsharp ──────────────────────────────────────────────────────────────────────
let inline incrCol (pos : Position) =
{ pos with column = pos.column + 1 }
── fsharp ──────────────────────────────────────────────────────────────────────
let inline incrLine pos =
{ line = pos.line + 1; column = 0 }
── fsharp ──────────────────────────────────────────────────────────────────────
type InputState =
{
lines : string[[]]
position : Position
}
── fsharp ──────────────────────────────────────────────────────────────────────
let inline fromStr str =
{
lines =
if str |> String.IsNullOrEmpty
then [[||]]
else str |> String.splitString [[| "\r\n"; "\n" |]]
position = initialPos
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
fromStr "" |> _equal {
lines = [[||]]
position = { line = 0; column = 0 }
}
╭─[ 50.97ms - stdout ]─────────────────────────────────────────────────────────╮
│ InputState │
│ lines: [ ] │
│ position: Position │
│ line: 0 │
│ column: 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
fromStr "Hello \n World" |> _equal {
lines = [[| "Hello "; " World" |]]
position = { line = 0; column = 0 }
}
╭─[ 18.44ms - stdout ]─────────────────────────────────────────────────────────╮
│ InputState │
│ lines: [ Hello , World ] │
│ position: Position │
│ line: 0 │
│ column: 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline currentLine inputState =
let linePos = inputState.position.line
if linePos < inputState.lines.Length
then inputState.lines.[[linePos]]
else "end of file"
── fsharp ──────────────────────────────────────────────────────────────────────
let inline nextChar input =
let linePos = input.position.line
let colPos = input.position.column
if linePos >= input.lines.Length
then input, None
else
let currentLine = currentLine input
if colPos < currentLine.Length then
let char = currentLine.[[colPos]]
let newPos = incrCol input.position
let newState = { input with position = newPos }
newState, Some char
else
let char = '\n'
let newPos = incrLine input.position
let newState = { input with position = newPos }
newState, Some char
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let newInput, charOpt = fromStr "Hello World" |> nextChar
newInput |> _equal {
lines = [[| "Hello World" |]]
position = { line = 0; column = 1 }
}
charOpt |> _equal (Some 'H')
╭─[ 52.57ms - stdout ]─────────────────────────────────────────────────────────╮
│ InputState │
│ lines: [ Hello World ] │
│ position: Position │
│ line: 0 │
│ column: 1 │
│ FSharpOption<Char> │
│ Value: H │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let newInput, charOpt = fromStr "Hello\n\nWorld" |> nextChar
newInput |> _equal {
lines = [[| "Hello"; ""; "World" |]]
position = { line = 0; column = 1 }
}
charOpt |> _equal (Some 'H')
╭─[ 34.23ms - stdout ]─────────────────────────────────────────────────────────╮
│ InputState │
│ lines: [ Hello, , World ] │
│ position: Position │
│ line: 0 │
│ column: 1 │
│ FSharpOption<Char> │
│ Value: H │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### Parser │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type Input = InputState
type ParserLabel = string
type ParserError = string
type ParserPosition =
{
currentLine : string
line : int
column : int
}
type ParseResult<'a> =
| Success of 'a
| Failure of ParserLabel * ParserError * ParserPosition
type Parser<'a> =
{
label : ParserLabel
parseFn : Input -> ParseResult<'a * Input>
}
── fsharp ──────────────────────────────────────────────────────────────────────
let inline printResult result =
match result with
| Success (value, input) ->
printfn $"%A{value}"
| Failure (label, error, parserPos) ->
let errorLine = parserPos.currentLine
let colPos = parserPos.column
let linePos = parserPos.line
let failureCaret = $"{' ' |> string |> String.replicate colPos}^{error}"
printfn $"Line:%i{linePos} Col:%i{colPos} Error parsing
%s{label}\n%s{errorLine}\n%s{failureCaret}"
── fsharp ──────────────────────────────────────────────────────────────────────
let inline runOnInput parser input =
parser.parseFn input
── fsharp ──────────────────────────────────────────────────────────────────────
let inline run parser inputStr =
runOnInput parser (fromStr inputStr)
── fsharp ──────────────────────────────────────────────────────────────────────
let inline parserPositionFromInputState (inputState : Input) =
{
currentLine = currentLine inputState
line = inputState.position.line
column = inputState.position.column
}
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getLabel parser =
parser.label
── fsharp ──────────────────────────────────────────────────────────────────────
let inline setLabel parser newLabel =
{
label = newLabel
parseFn = fun input ->
match parser.parseFn input with
| Success s -> Success s
| Failure (oldLabel, err, pos) -> Failure (newLabel, err, pos)
}
── fsharp ──────────────────────────────────────────────────────────────────────
let (<?>) = setLabel
── fsharp ──────────────────────────────────────────────────────────────────────
let inline satisfy predicate label =
{
label = label
parseFn = fun input ->
let remainingInput, charOpt = nextChar input
match charOpt with
| None ->
let err = "No more input"
let pos = parserPositionFromInputState input
Failure (label, err, pos)
| Some first ->
if predicate first
then Success (first, remainingInput)
else
let err = $"Unexpected '%c{first}'"
let pos = parserPositionFromInputState input
Failure (label, err, pos)
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = satisfy (fun c -> c = 'H') "H"
runOnInput parser input |> _equal (
Success (
'H',
{
lines = [[| "Hello" |]]
position = { line = 0; column = 1 }
}
)
)
╭─[ 32.75ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - H │
│ - InputState │
│ lines: [ Hello ] │
│ position: Position │
│ line: 0 │
│ column: 1 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "World"
let parser = satisfy (fun c -> c = 'H') "H"
runOnInput parser input |> _equal (
Failure (
"H",
"Unexpected 'W'",
{
currentLine = "World"
line = 0
column = 0
}
)
)
╭─[ 31.30ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure │
│ Item1: H │
│ Item2: Unexpected 'W' │
│ Item3: ParserPosition │
│ currentLine: World │
│ line: 0 │
│ column: 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline bindP f p =
{
label = "unknown"
parseFn = fun input ->
match runOnInput p input with
| Failure (label, err, pos) -> Failure (label, err, pos)
| Success (value1, remainingInput) -> runOnInput (f value1)
remainingInput
}
── fsharp ──────────────────────────────────────────────────────────────────────
let inline (>>=) p f = bindP f p
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = parser >>= fun c -> satisfy (fun c -> c = 'e') "e"
runOnInput parser2 input |> _equal (
Success (
'e',
{
lines = [[| "Hello" |]]
position = { line = 0; column = 2 }
}
)
)
╭─[ 52.82ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - e │
│ - InputState │
│ lines: [ Hello ] │
│ position: Position │
│ line: 0 │
│ column: 2 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "World"
let parser = satisfy (fun c -> c = 'W') "W"
let parser2 = parser >>= fun c -> satisfy (fun c -> c = 'e') "e"
runOnInput parser2 input |> _equal (
Failure (
"e",
"Unexpected 'o'",
{
currentLine = "World"
line = 0
column = 1
}
)
)
╭─[ 40.69ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure │
│ Item1: e │
│ Item2: Unexpected 'o' │
│ Item3: ParserPosition │
│ currentLine: World │
│ line: 0 │
│ column: 1 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline returnP x =
{
label = $"%A{x}"
parseFn = fun input -> Success (x, input)
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = returnP "Hello"
runOnInput parser input |> _equal (
Success (
"Hello",
{
lines = [[| "Hello" |]]
position = { line = 0; column = 0 }
}
)
)
╭─[ 34.14ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - Hello │
│ - InputState │
│ lines: [ Hello ] │
│ position: Position │
│ line: 0 │
│ column: 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline mapP f =
bindP (f >> returnP)
── fsharp ──────────────────────────────────────────────────────────────────────
let (<!>) = mapP
── fsharp ──────────────────────────────────────────────────────────────────────
let inline (|>>) x f = f <!> x
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = parser |>> string
runOnInput parser2 input |> _equal (
Success (
"H",
{
lines = [[| "Hello" |]]
position = { line = 0; column = 1 }
}
)
)
╭─[ 33.40ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - H │
│ - InputState │
│ lines: [ Hello ] │
│ position: Position │
│ line: 0 │
│ column: 1 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline applyP fP xP =
fP >>=
fun f ->
xP >>=
fun x ->
returnP (f x)
── fsharp ──────────────────────────────────────────────────────────────────────
let (<*>) = applyP
── fsharp ──────────────────────────────────────────────────────────────────────
let inline lift2 f xP yP =
returnP f <*> xP <*> yP
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = satisfy (fun c -> c = 'e') "e"
let parser3 = lift2 (fun c1 c2 -> string c1 + string c2) parser parser2
runOnInput parser3 input |> _equal (
Success (
"He",
{
lines = [[| "Hello" |]]
position = { line = 0; column = 2 }
}
)
)
╭─[ 73.58ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - He │
│ - InputState │
│ lines: [ Hello ] │
│ position: Position │
│ line: 0 │
│ column: 2 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline andThen p1 p2 =
p1 >>=
fun p1Result ->
p2 >>=
fun p2Result ->
returnP (p1Result, p2Result)
<?> $"{getLabel p1} andThen {getLabel p2}"
── fsharp ──────────────────────────────────────────────────────────────────────
let (.>>.) = andThen
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = satisfy (fun c -> c = 'e') "e"
let parser3 = parser .>>. parser2
runOnInput parser3 input |> _equal (
Success (
('H', 'e'),
{
lines = [[| "Hello" |]]
position = { line = 0; column = 2 }
}
)
)
╭─[ 64.46ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - ( H, e ) │
│ - InputState │
│ lines: [ Hello ] │
│ position: Position │
│ line: 0 │
│ column: 2 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline orElse p1 p2 =
{
label = $"{getLabel p1} orElse {getLabel p2}"
parseFn = fun input ->
match runOnInput p1 input with
| Success _ as result -> result
| Failure _ -> runOnInput p2 input
}
── fsharp ──────────────────────────────────────────────────────────────────────
let (<|>) = orElse
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = satisfy (fun c -> c = 'h') "h"
let parser3 = parser <|> parser2
runOnInput parser3 input |> _equal (
Success (
'h',
{
lines = [[| "hello" |]]
position = { line = 0; column = 1 }
}
)
)
╭─[ 39.37ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - h │
│ - InputState │
│ lines: [ hello ] │
│ position: Position │
│ line: 0 │
│ column: 1 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline choice listOfParsers =
listOfParsers |> List.reduce (<|>)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = satisfy (fun c -> c = 'h') "h"
let parser3 = choice [[ parser; parser2 ]]
runOnInput parser3 input |> _equal (
Success (
'h',
{
lines = [[| "hello" |]]
position = { line = 0; column = 1 }
}
)
)
╭─[ 39.63ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - h │
│ - InputState │
│ lines: [ hello ] │
│ position: Position │
│ line: 0 │
│ column: 1 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let rec sequence parserList =
match parserList with
| [[]] -> returnP [[]]
| head :: tail -> (lift2 cons) head (sequence tail)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = satisfy (fun c -> c = 'e') "e"
let parser3 = sequence [[ parser; parser2 ]]
runOnInput parser3 input |> _equal (
Success (
[[ 'H'; 'e' ]],
{
lines = [[| "Hello" |]]
position = { line = 0; column = 2 }
}
)
)
╭─[ 55.22ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - [ H, e ] │
│ - InputState │
│ lines: [ Hello ] │
│ position: Position │
│ line: 0 │
│ column: 2 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let rec parseZeroOrMore parser input =
match runOnInput parser input with
| Failure (_, _, _) ->
[[]], input
| Success (firstValue, inputAfterFirstParse) ->
let subsequentValues, remainingInput = parseZeroOrMore parser
inputAfterFirstParse
firstValue :: subsequentValues, remainingInput
── fsharp ──────────────────────────────────────────────────────────────────────
let inline many parser =
{
label = $"many {getLabel parser}"
parseFn = fun input -> Success (parseZeroOrMore parser input)
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = many parser
runOnInput parser2 input |> _equal (
Success (
[[]],
{
lines = [[| "hello" |]]
position = { line = 0; column = 0 }
}
)
)
╭─[ 35.23ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - [ ] │
│ - InputState │
│ lines: [ hello ] │
│ position: Position │
│ line: 0 │
│ column: 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline many1 p =
p >>=
fun head ->
many p >>=
fun tail ->
returnP (head :: tail)
<?> $"many1 {getLabel p}"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = many1 parser
runOnInput parser2 input |> _equal (
Failure (
"many1 H",
"Unexpected 'h'",
{
currentLine = "hello"
line = 0
column = 0
}
)
)
╭─[ 50.26ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure │
│ Item1: many1 H │
│ Item2: Unexpected 'h' │
│ Item3: ParserPosition │
│ currentLine: hello │
│ line: 0 │
│ column: 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline opt p =
let some = p |>> Some
let none = returnP None
(some <|> none)
<?> $"opt {getLabel p}"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "hello"
let parser = satisfy (fun c -> c = 'H') "H"
let parser2 = opt parser
runOnInput parser2 input |> _equal (
Success (
None,
{
lines = [[| "hello" |]]
position = { line = 0; column = 0 }
}
)
)
╭─[ 42.61ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - <null> │
│ - InputState │
│ lines: [ hello ] │
│ position: Position │
│ line: 0 │
│ column: 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline (.>>) p1 p2 =
p1 .>>. p2
|> mapP fst
── fsharp ──────────────────────────────────────────────────────────────────────
let inline (>>.) p1 p2 =
p1 .>>. p2
|> mapP snd
── fsharp ──────────────────────────────────────────────────────────────────────
let inline between p1 p2 p3 =
p1 >>. p2 .>> p3
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "[[Hello]]"
let parser =
between
(satisfy (fun c -> c = '[[') "[[")
(many (satisfy (fun c -> [[ 'a' .. 'z' ]] @ [[ 'A' .. 'Z' ]] |>
List.contains c) "letter"))
(satisfy (fun c -> c = ']]') "]]")
runOnInput parser input |> _equal (
Success (
[[ 'H'; 'e'; 'l'; 'l'; 'o' ]],
{
lines = [[| "[[Hello]]" |]]
position = { line = 0; column = 7 }
}
)
)
╭─[ 116.84ms - stdout ]────────────────────────────────────────────────────────╮
│ Success │
│ Item: - [ H, e, l, l, o ] │
│ - InputState │
│ lines: [ [Hello] ] │
│ position: Position │
│ line: 0 │
│ column: 7 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline sepBy1 p sep =
let sepThenP = sep >>. p
p .>>. many sepThenP
|>> fun (p, pList) -> p :: pList
── fsharp ──────────────────────────────────────────────────────────────────────
let inline sepBy p sep =
sepBy1 p sep <|> returnP [[]]
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello,World"
let parser = sepBy (many (satisfy (fun c -> c <> ',') "not comma")) (satisfy
(fun c -> c = ',') "comma")
runOnInput parser input |> _equal (
Success (
[[ [[ 'H'; 'e'; 'l'; 'l'; 'o' ]]; [[ 'W'; 'o'; 'r'; 'l'; 'd'; '\n' ]]
]],
{
lines = [[| "Hello,World" |]]
position = { line = 1; column = 0 }
}
)
)
╭─[ 83.99ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - FSharpList<FSharpList<Char>> │
│ [ H, e, l, l, o ] │
│ [ W, o, r, l, d, │
│ ] │
│ - InputState │
│ lines: [ Hello,World ] │
│ position: Position │
│ line: 1 │
│ column: 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline pchar charToMatch =
satisfy ((=) charToMatch) $"%c{charToMatch}"
── fsharp ──────────────────────────────────────────────────────────────────────
let inline anyOf listOfChars =
listOfChars
|> List.map pchar
|> choice
<?> $"anyOf %A{listOfChars}"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = anyOf [[ 'H'; 'e'; 'l'; 'o' ]] |> many
runOnInput parser input |> _equal (
Success (
[[ 'H'; 'e'; 'l'; 'l'; 'o' ]],
{
lines = [[| "Hello" |]]
position = { line = 0; column = 5 }
}
)
)
╭─[ 35.52ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - [ H, e, l, l, o ] │
│ - InputState │
│ lines: [ Hello ] │
│ position: Position │
│ line: 0 │
│ column: 5 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline charListToStr charList =
charList |> List.toArray |> String
── fsharp ──────────────────────────────────────────────────────────────────────
let inline manyChars cp =
many cp
|>> charListToStr
── fsharp ──────────────────────────────────────────────────────────────────────
let inline manyChars1 cp =
many1 cp
|>> charListToStr
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = manyChars1 (anyOf [[ 'H'; 'e'; 'l'; 'o' ]])
runOnInput parser input |> _equal (
Success (
"Hello",
{
lines = [[| "Hello" |]]
position = { line = 0; column = 5 }
}
)
)
╭─[ 58.37ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - Hello │
│ - InputState │
│ lines: [ Hello ] │
│ position: Position │
│ line: 0 │
│ column: 5 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline pstring str =
str
|> List.ofSeq
|> List.map pchar
|> sequence
|> mapP charListToStr
<?> str
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = pstring "Hello"
runOnInput parser input |> _equal (
Success (
"Hello",
{
lines = [[| "Hello" |]]
position = { line = 0; column = 5 }
}
)
)
╭─[ 47.38ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - Hello │
│ - InputState │
│ lines: [ Hello ] │
│ position: Position │
│ line: 0 │
│ column: 5 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let whitespaceChar =
satisfy Char.IsWhiteSpace "whitespace"
── fsharp ──────────────────────────────────────────────────────────────────────
let spaces = many whitespaceChar
── fsharp ──────────────────────────────────────────────────────────────────────
let spaces1 = many1 whitespaceChar
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr " Hello"
let parser = spaces1 .>>. pstring "Hello"
runOnInput parser input |> _equal (
Success (
([[ ' '; ' ' ]], "Hello"),
{
lines = [[| " Hello" |]]
position = { line = 0; column = 7 }
}
)
)
╭─[ 56.89ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - - [ , ] │
│ - Hello │
│ - InputState │
│ lines: [ Hello ] │
│ position: Position │
│ line: 0 │
│ column: 7 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let digitChar =
satisfy Char.IsDigit "digit"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let input = fromStr "Hello"
let parser = digitChar
runOnInput parser input |> _equal (
Failure (
"digit",
"Unexpected 'H'",
{
currentLine = "Hello"
line = 0
column = 0
}
)
)
╭─[ 18.97ms - stdout ]─────────────────────────────────────────────────────────╮
│ Failure │
│ Item1: digit │
│ Item2: Unexpected 'H' │
│ Item3: ParserPosition │
│ currentLine: Hello │
│ line: 0 │
│ column: 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let pint =
let inline resultToInt (sign, digits) =
let i = int digits
match sign with
| Some ch -> -i
| None -> i
let digits = manyChars1 digitChar
opt (pchar '-') .>>. digits
|> mapP resultToInt
<?> "integer"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run pint "-123"
|> _equal (
Success (
-123,
{
lines = [[| "-123" |]]
position = { line = 0; column = 4 }
}
)
)
╭─[ 31.59ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - -123 │
│ - InputState │
│ lines: [ -123 ] │
│ position: Position │
│ line: 0 │
│ column: 4 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let pfloat =
let inline resultToFloat (((sign, digits1), point), digits2) =
let fl = float $"{digits1}.{digits2}"
match sign with
| Some ch -> -fl
| None -> fl
let digits = manyChars1 digitChar
opt (pchar '-') .>>. digits .>>. pchar '.' .>>. digits
|> mapP resultToFloat
<?> "float"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
run pfloat "-123.45"
|> _equal (
Success (
-123.45,
{
lines = [[| "-123.45" |]]
position = { line = 0; column = 7 }
}
)
)
╭─[ 35.80ms - stdout ]─────────────────────────────────────────────────────────╮
│ Success │
│ Item: - -123.45 │
│ - InputState │
│ lines: [ -123.45 ] │
│ position: Position │
│ line: 0 │
│ column: 7 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline createParserForwardedToRef<'a> () =
let mutable parserRef : Parser<'a> =
{
label = "unknown"
parseFn = fun _ -> failwith "unfixed forwarded parser"
}
let wrapperParser =
{ parserRef with
parseFn = fun input -> runOnInput parserRef input
}
wrapperParser, (fun v -> parserRef <- v)
── fsharp ──────────────────────────────────────────────────────────────────────
let inline (>>%) p x =
p
|>> fun _ -> x
[NbConvertApp] Converting notebook Parser.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 412907 bytes to Parser.dib.html
00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Parser.dib
00:00:00 #1 [Debug] writeDibCode / output: Fs / path: JsonParser.dib
00:00:00 #3 [Debug] parseDibCode / output: Fs / file: Parser.dib
00:00:00 #3 [Debug] parseDibCode / output: Fs / file: JsonParser.dib
In [ ]:
{ . "$ScriptDir/../nbs/build.ps1" } | Invoke-Block
── csharp ──────────────────────────────────────────────────────────────────────
── csharp - import ─────────────────────────────────────────────────────────────
using static Microsoft.DotNet.Interactive.Kernel;
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Async (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## choice │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## map │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline map fn a = async {
let! x = a
return fn x
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## catch │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline catch a =
a
|> Async.Catch
|> map (function
| Choice1Of2 result -> Ok result
| Choice2Of2 ex -> Error ex
)
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## runWithTimeoutAsync │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline runWithTimeoutAsync (timeout : int) fn =
let getLocals () = $"timeout: {timeout} / {getLocals ()}"
let timeoutTask = async {
do! Async.Sleep timeout
trace Debug (fun () -> "runWithTimeoutAsync") getLocals
return None
}
let task = async {
try
let! result = fn
return Some result
with
| :? System.AggregateException as ex when
ex.InnerExceptions
|> Seq.exists (function :?
System.Threading.Tasks.TaskCanceledException -> true | _ -> false)
->
let getLocals () = $"ex: {ex |> printException} / {getLocals ()}"
trace Warning (fun () -> "runWithTimeoutAsync") getLocals
return None
| ex ->
trace Critical (fun () -> $"runWithTimeoutAsync** / ex: {ex |>
printException}") getLocals
return None
}
[[ timeoutTask; task ]]
|> choice
── fsharp ──────────────────────────────────────────────────────────────────────
let inline runWithTimeout timeout fn =
fn
|> runWithTimeoutAsync timeout
|> Async.RunSynchronously
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
Async.Sleep 60
|> runWithTimeout 10
|> _equal None
╭─[ 132.84ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 10 │
│ <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
Async.Sleep 10
|> runWithTimeout 60
|> _equal (Some ())
╭─[ 91.82ms - stdout ]─────────────────────────────────────────────────────────╮
│ FSharpOption<Unit> │
│ Value: <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
async {
raise (exn "error")
}
|> runWithTimeout 60
|> _equal None
╭─[ 102.29ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:00 #2 [Critical] runWithTimeoutAsync** / ex: System.Exception: error / │
│ timeout: 60 │
│ <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## runWithTimeoutChildAsync │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline runWithTimeoutChildAsync (timeout : int) fn = async {
let getLocals () = $"timeout: {timeout} / {getLocals ()}"
let! child = Async.StartChild (fn, timeout)
return!
child
|> catch
|> map (function
| Ok result -> Some result
| Error (:? System.TimeoutException as ex) ->
trace Debug (fun () -> $"runWithTimeoutChildAsync") getLocals
None
| Error ex ->
trace Critical (fun () -> $"runWithTimeoutChildAsync** / ex: {ex
|> printException}") getLocals
None
)
}
── fsharp ──────────────────────────────────────────────────────────────────────
let inline runWithTimeoutChild timeout fn =
fn
|> runWithTimeoutChildAsync timeout
|> Async.RunSynchronously
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
Async.Sleep 60
|> runWithTimeoutChild 10
|> _equal None
╭─[ 101.89ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:00 #3 [Debug] runWithTimeoutChildAsync / timeout: 10 │
│ <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
Async.Sleep 10
|> runWithTimeoutChild 60
|> _equal (Some ())
╭─[ 55.90ms - stdout ]─────────────────────────────────────────────────────────╮
│ FSharpOption<Unit> │
│ Value: <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
async {
raise (exn "error")
}
|> runWithTimeoutChild 60
|> _equal None
╭─[ 70.88ms - stdout ]─────────────────────────────────────────────────────────╮
│ 00:00:00 #4 [Critical] runWithTimeoutChildAsync** / ex: System.Exception: │
│ error / timeout: 60 │
│ <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## runWithTimeoutStrict │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline runWithTimeoutStrict (timeout : int) fn =
let getLocals () = $"timeout: {timeout} / {getLocals ()}"
let timeoutTask = async {
do! Async.Sleep timeout
return None, getLocals
}
let task = async {
try
return Async.RunSynchronously (fn, timeout) |> Some, getLocals
with
| :? System.TimeoutException as ex ->
let getLocals () = $"ex: {ex |> printException} / {getLocals ()}"
return None, getLocals
| ex ->
trace Critical (fun () -> $"runWithTimeoutStrict / ex: {ex |>
printException}") getLocals
return raise ex
}
try
[[| timeoutTask; task |]]
|> Array.map Async.StartAsTask
|> System.Threading.Tasks.Task.WhenAny
|> fun task ->
match task.Result.Result with
| None, getLocals ->
trace Debug (fun () -> "runWithTimeoutStrict") getLocals
None
| result, _ -> result
with
| :? System.AggregateException as ex when
ex.InnerExceptions
|> Seq.exists (function :? System.Threading.Tasks.TaskCanceledException
-> true | _ -> false)
->
let getLocals () = $"ex: {ex |> printException} / {getLocals ()}"
trace Warning (fun () -> "runWithTimeoutStrict") getLocals
None
| ex ->
let getLocals () = $"ex: {ex |> printException} / {getLocals ()}"
trace Critical (fun () -> "runWithTimeoutStrict**") getLocals
None
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
Async.Sleep 60
|> runWithTimeoutStrict 10
|> _equal None
╭─[ 103.90ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:00 #5 [Debug] runWithTimeoutStrict / timeout: 10 │
│ <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
Async.Sleep 10
|> runWithTimeoutStrict 60
|> _equal (Some ())
╭─[ 89.05ms - stdout ]─────────────────────────────────────────────────────────╮
│ FSharpOption<Unit> │
│ Value: <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
async {
raise (exn "error")
}
|> runWithTimeoutStrict 60
|> _equal None
╭─[ 96.46ms - stdout ]─────────────────────────────────────────────────────────╮
│ 00:00:01 #6 [Critical] runWithTimeoutStrict / ex: System.Exception: error / │
│ timeout: 60 │
│ 00:00:01 #7 [Critical] runWithTimeoutStrict** / ex: │
│ System.AggregateException: One or more errors occurred. (error) / timeout: │
│ 60 │
│ <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## awaitValueTask │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline awaitValueTaskUnit (task : System.Threading.Tasks.ValueTask) =
task.AsTask () |> Async.AwaitTask
let inline awaitValueTask (task : System.Threading.Tasks.ValueTask<_>) =
task.AsTask () |> Async.AwaitTask
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## init │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline init x = async {
return x
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
init 1
|> Async.RunSynchronously
|> _equal 1
╭─[ 25.94ms - stdout ]─────────────────────────────────────────────────────────╮
│ 1 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## mergeCancellationTokenWithDefaultAsync │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline mergeCancellationTokenWithDefaultAsync (token :
System.Threading.CancellationToken) = async {
let! ct = Async.CancellationToken
let dct = Async.DefaultCancellationToken
let cts = System.Threading.CancellationTokenSource.CreateLinkedTokenSource
[[| ct; dct; token |]]
return cts.Token
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## withCancellationToken │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline withCancellationToken (ct : System.Threading.CancellationToken) fn =
Async.StartImmediateAsTask (fn, ct)
|> Async.AwaitTask
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let cts = new System.Threading.CancellationTokenSource ()
async {
let run = async {
do! Async.Sleep 100
return 1
}
let! child =
run
|> withCancellationToken cts.Token
|> catch
|> Async.StartChild
do! Async.Sleep 50
cts.Cancel ()
return! child
}
|> Async.RunSynchronously
|> Result.mapError (fun x -> x.Message)
|> _equal (Error ("A task was canceled."))
╭─[ 178.88ms - stdout ]────────────────────────────────────────────────────────╮
│ FSharpResult<Int32,String> │
│ ResultValue: 0 │
│ ErrorValue: A task was canceled. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## withTraceLevel │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline withTraceLevel level fn = async {
let oldTraceLevel = traceLevel
try
traceLevel <- level
return! fn
finally
traceLevel <- oldTraceLevel
}
[NbConvertApp] Converting notebook Async.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 323665 bytes to Async.dib.html
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # AsyncSeq (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
#!import ../nbs/Async.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
a
|> Async.Catch
...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## subscribeEvent │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
type TestEvent () as self =
member val Calls = [[]] with get, set
member val Event = Event<ErrorEventHandler, ErrorEventArgs> () with get
member _.AddCall text =
self.Calls <- self.Calls @ [[ text ]]
member _.EventInterface =
{ new IEvent<ErrorEventHandler, ErrorEventArgs> with
member _.AddHandler handler =
self.AddCall "AddHandler"
self.Event.Publish.AddHandler handler
member _.RemoveHandler handler =
self.AddCall "RemoveHandler"
self.Event.Publish.RemoveHandler handler
member _.Subscribe observer =
self.AddCall "IObservable.Subscribe"
let disposable = self.Event.Publish.Subscribe observer
newDisposable (fun () ->
self.AddCall "IObservable.Dispose"
disposable.Dispose ()
)
}
member _.Subscribe () =
subscribeEvent
self.EventInterface
(fun args ->
let result = args.GetException () |> printException
self.AddCall $"TestEvent.Subscribe({result})"
result
)
member _.Iter subscription =
subscription
|> FSharp.Control.AsyncSeq.iteriAsync (fun i error -> async {
self.AddCall $"TestEvent.Iter({i}: {error})"
})
member _.WaitCall text = async {
while self.Calls |> List.last <> text do
do! Async.SwitchToThreadPool ()
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let testEvent = TestEvent ()
async {
testEvent.AddCall "1"
let! child = testEvent.Subscribe () |> testEvent.Iter |> Async.StartChild
do! testEvent.WaitCall "AddHandler"
testEvent.AddCall "2"
do! child
testEvent.AddCall "3"
}
|> Async.runWithTimeout 300
|> _equal None
testEvent.Calls
|> Seq.toList
|> _equal [[ "1"; "AddHandler"; "2"; "RemoveHandler" ]]
╭─[ 513.31ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 300 │
│ <null> │
│ [ 1, AddHandler, 2, RemoveHandler ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let testEvent = TestEvent ()
async {
testEvent.AddCall "1"
let! child = testEvent.Subscribe () |> testEvent.Iter |> Async.StartChild
do! testEvent.WaitCall "AddHandler"
testEvent.AddCall "2"
use _ = testEvent.EventInterface.Subscribe (fun args ->
testEvent.AddCall $"testEvent.EventInterface.Subscribe({args})"
)
testEvent.AddCall "3"
do! child
testEvent.AddCall "4"
}
|> Async.runWithTimeout 300
|> _equal None
testEvent.Calls
|> _equal [[ "1"; "AddHandler"; "2"; "IObservable.Subscribe"; "3";
"RemoveHandler"; "IObservable.Dispose" ]]
╭─[ 463.62ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:00 #2 [Debug] runWithTimeoutAsync / timeout: 300 │
│ <null> │
│ [ 1, AddHandler, 2, IObservable.Subscribe, 3, RemoveHandler, │
│ IObservable.Dispose ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let testEvent = TestEvent ()
async {
testEvent.AddCall "1"
let! child = testEvent.Subscribe () |> testEvent.Iter |> Async.StartChild
do! testEvent.WaitCall "AddHandler"
testEvent.AddCall "2"
use _ = testEvent.EventInterface.Subscribe (fun args ->
async {
do! testEvent.WaitCall "TestEvent.Iter(0: System.Exception: error)"
testEvent.AddCall
$"testEvent.EventInterface.Subscribe({args.GetException () |> printException})"
}
|> Async.RunSynchronously
)
testEvent.AddCall "3"
testEvent.Event.Trigger (null, ErrorEventArgs (Exception "error"))
testEvent.AddCall "4"
do! child
testEvent.AddCall "5"
}
|> Async.runWithTimeout 300
|> _equal None
testEvent.Calls
|> _equal [[
"1"
"AddHandler"
"2"
"IObservable.Subscribe"
"3"
"TestEvent.Subscribe(System.Exception: error)"
"TestEvent.Iter(0: System.Exception: error)"
"testEvent.EventInterface.Subscribe(System.Exception: error)"
"4"
"RemoveHandler"
"IObservable.Dispose"
]]
╭─[ 480.16ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:01 #3 [Debug] runWithTimeoutAsync / timeout: 300 │
│ <null> │
│ [ 1, AddHandler, 2, IObservable.Subscribe, 3, │
│ TestEvent.Subscribe(System.Exception: error), TestEvent.Iter(0: │
│ System.Exception: error), │
│ testEvent.EventInterface.Subscribe(System.Exception: error), 4, │
│ RemoveHandler, IObservable.Dispose ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks
FSharp.Control.AsyncSeq.unfoldAsync
(fun () -> async {
do! tcs.Task |> Async.AwaitTask
return Some (System.DateTime.Now.Ticks - start, ())
})
()
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let cts = new System.Threading.CancellationTokenSource ()
async {
let! child =
cts.Token
|> subscribeToken
|> FSharp.Control.AsyncSeq.tryFirst
|> Async.StartChild
do! Async.Sleep 100
cts.Cancel ()
return! child
}
|> Async.RunSynchronously
|> Option.get
|> _isGreaterThan 1000000
╭─[ 176.06ms - stdout ]────────────────────────────────────────────────────────╮
│ 1004082 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook AsyncSeq.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 300346 bytes to AsyncSeq.dib.html
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Common (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
let nl = System.Environment.NewLine
let q = @""""
── fsharp ──────────────────────────────────────────────────────────────────────
let inline cons head tail = head :: tail
── fsharp ──────────────────────────────────────────────────────────────────────
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input : string)
=
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline splitString (separator : string array) (input : string) =
input.Split (separator, System.StringSplitOptions.None)
let inline startsWith (value : string) (input : string) =
input.StartsWith value
let inline substring startIndex length (input : string) =
input.Substring (startIndex, length)
let inline toLower (input : string) =
input.ToLower ()
let inline toUpper (input : string) =
input.ToUpper ()
let inline trim (input : string) =
input.Trim ()
let inline trimEnd (trimChars : char array) (input : string) =
input.TrimEnd trimChars
let inline trimStart (trimChars : char array) (input : string) =
input.TrimStart trimChars
── fsharp ──────────────────────────────────────────────────────────────────────
type TicksGuid = System.Guid
type DateTimeGuid = System.Guid
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let testGuid = Guid "FEDCBA98-7654-3210-FEDC-BA9876543210"
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## dateTimeGuidFromDateTime │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline dateTimeGuidFromDateTime (guid: System.Guid) (dateTime:
System.DateTime) =
let guid = guid |> string
let prefix = dateTime.ToString "yyyyMMdd-HHmm-ssff-ffff-f"
DateTimeGuid $"{prefix}{guid.[[prefix.Length..]]}"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
dateTimeGuidFromDateTime testGuid DateTime.MinValue
|> _equal (DateTimeGuid "00010101-0000-0000-0000-0a9876543210")
╭─[ 64.54ms - stdout ]─────────────────────────────────────────────────────────╮
│ 00010101-0000-0000-0000-0a9876543210 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
dateTimeGuidFromDateTime testGuid DateTime.MaxValue
|> _equal (DateTimeGuid $"99991231-2359-5999-9999-9{(testGuid |>
string).[[^10..]]}")
╭─[ 42.39ms - stdout ]─────────────────────────────────────────────────────────╮
│ 99991231-2359-5999-9999-9a9876543210 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
dateTimeGuidFromDateTime testGuid DateTime.UnixEpoch
|> _equal (DateTimeGuid $"19700101-0000-0000-0000-0{(testGuid |>
string).[[^10..]]}")
╭─[ 39.26ms - stdout ]─────────────────────────────────────────────────────────╮
│ 19700101-0000-0000-0000-0a9876543210 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## dateTimeFromGuid │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline dateTimeFromGuid (dateTimeGuid: DateTimeGuid) =
let dateTimeGuid = dateTimeGuid |> string
System.DateTime.ParseExact (dateTimeGuid.[[..24]] |> String.replace "-" "",
"yyyyMMddHHmmssfffffff", null)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
dateTimeFromGuid (DateTimeGuid "00010101-0000-0000-0000-0a9876543210")
|> _equal DateTime.MinValue
╭─[ 32.55ms - stdout ]─────────────────────────────────────────────────────────╮
│ 0001-01-01 00:00:00Z │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
dateTimeFromGuid (DateTimeGuid $"99991231-2359-5999-9999-9{(testGuid |>
string).[[^10..]]}")
|> _equal DateTime.MaxValue
╭─[ 37.79ms - stdout ]─────────────────────────────────────────────────────────╮
│ 9999-12-31 23:59:59Z │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
dateTimeFromGuid (DateTimeGuid $"19700101-0000-0000-0000-0{(testGuid |>
string).[[^10..]]}")
|> _equal DateTime.UnixEpoch
╭─[ 33.25ms - stdout ]─────────────────────────────────────────────────────────╮
│ 1970-01-01 00:00:00Z │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## ticksGuidFromTicks │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline ticksGuidFromTicks (guid: System.Guid) (ticks: int64) =
let guid = guid |> string
let ticks = ticks |> string |> String.padLeft 18 '0'
TicksGuid
$"{ticks.[[0..7]]}-{ticks.[[8..11]]}-{ticks.[[12..15]]}-{ticks.[[16..17]]}{guid.
[[21..]]}"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
ticksGuidFromTicks testGuid 0L
|> _equal (TicksGuid "00000000-0000-0000-00dc-ba9876543210")
╭─[ 33.59ms - stdout ]─────────────────────────────────────────────────────────╮
│ 00000000-0000-0000-00dc-ba9876543210 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
ticksGuidFromTicks testGuid 999999999999999999L
|> _equal (TicksGuid $"99999999-9999-9999-99dc-b{(testGuid |>
string).[[^10..]]}")
╭─[ 44.91ms - stdout ]─────────────────────────────────────────────────────────╮
│ 99999999-9999-9999-99dc-ba9876543210 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## ticksFromGuid │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline ticksFromGuid (ticksGuid: DateTimeGuid) =
let ticks = ticksGuid |> string
int64
$"{ticks.[[0..7]]}{ticks.[[9..12]]}{ticks.[[14..17]]}{ticks.[[19..20]]}"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
ticksFromGuid (TicksGuid "00000000-0000-0000-00dc-ba9876543210")
|> _equal 0L
╭─[ 34.87ms - stdout ]─────────────────────────────────────────────────────────╮
│ 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
ticksFromGuid (TicksGuid $"99999999-9999-9999-99{(testGuid |>
string).[[^14..]]}")
|> _equal 999999999999999999L
╭─[ 43.59ms - stdout ]─────────────────────────────────────────────────────────╮
│ 999999999999999999 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## newGuidFromDateTime │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline newGuidFromDateTime (dateTime: System.DateTime) =
let guid = System.Guid.NewGuid ()
dateTimeGuidFromDateTime guid dateTime
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
newGuidFromDateTime System.DateTime.UtcNow
|> dateTimeFromGuid
|> fun dateTime -> (dateTime - System.DateTime.UtcNow).TotalSeconds |> int
|> _equal 0
╭─[ 62.65ms - stdout ]─────────────────────────────────────────────────────────╮
│ 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## newGuidFromTicks │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline newGuidFromTicks (ticks: int64) =
let guid = System.Guid.NewGuid ()
ticksGuidFromTicks guid ticks
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
newGuidFromTicks System.DateTime.UtcNow.Ticks
|> ticksFromGuid
|> fun ticks -> (ticks - System.DateTime.UtcNow.Ticks) / 100000L
|> _equal 0L
╭─[ 57.81ms - stdout ]─────────────────────────────────────────────────────────╮
│ 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## memoize │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline memoize fn =
let result = lazy fn ()
fun () -> result.Value
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let mutable count = 0
let add =
fun () -> count <- count + 1
|> memoize
add ()
add ()
add ()
count
|> _equal 1
╭─[ 27.29ms - stdout ]─────────────────────────────────────────────────────────╮
│ 1 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## printException │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline printException (ex : System.Exception) =
$"{ex.GetType ()}: {ex.Message}"
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
fun () -> failwith "test"
|> _throwsC (fun ex _ ->
printException ex
|> _equal "System.Exception: test"
)
╭─[ 60.00ms - stdout ]─────────────────────────────────────────────────────────╮
│ FSI_0034+it@3-1 │
│ System.Exception: test │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## TraceLevel │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type TraceLevel =
| Verbose
| Debug
| Info
| Warning
| Critical
let inline getLocals () = ""
let mutable traceEnabled = true
let mutable traceCount = 0
let mutable traceLevel = Verbose
let mutable traceDump = false
── fsharp ──────────────────────────────────────────────────────────────────────
let testTraceLevel level =
traceEnabled && level >= traceLevel
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## traceRaw │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let rec traceRaw level fn =
if level |> testTraceLevel then
traceCount <- traceCount + 1
let text = $"%s{fn ()}"
System.Console.WriteLine text
#if !CHAIN && !FABLE_COMPILER
if traceDump then
try
let tmpPath = System.IO.Path.GetTempPath ()
let logDir = System.IO.Path.Combine (tmpPath, "!polyglot")
System.IO.Directory.CreateDirectory logDir |> ignore
let logFile = System.IO.Path.Combine (logDir,
$"{newGuidFromDateTime System.DateTime.Now}.txt")
System.IO.File.WriteAllTextAsync (logFile, text) |>
Async.AwaitTask |> Async.RunSynchronously
with ex ->
traceRaw Critical (fun () -> $"trace / ex: {ex |>
printException}")
#endif
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
traceRaw Debug (fun () -> "test")
╭─[ 10.14ms - stdout ]─────────────────────────────────────────────────────────╮
│ test │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## trace │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let private replStart =
#if INTERACTIVE || !FABLE_COMPILER
fun () ->
if System.Reflection.Assembly.GetEntryAssembly().GetName().Name <>
"Microsoft.DotNet.Interactive.App"
then Some System.DateTime.Now.Ticks
else None
|> memoize
#else
fun () -> None : int64 option
#endif
let trace level fn getLocals =
fun () ->
let time =
#if CHAIN
""
#else
match replStart () with
| Some replStart ->
let t = System.DateTime.Now.Ticks - replStart |> System.TimeSpan
System.DateTime (1, 1, 1, t.Hours, t.Minutes, t.Seconds,
t.Milliseconds, t.Microseconds)
| None -> System.DateTime.Now
|> fun dateTime ->
#if FABLE_COMPILER_RUST
"hh:mm:ss"
#else
"HH:mm:ss"
#endif
|> dateTime.ToString
#endif
$"{time} #{traceCount} [[%A{level}]] %s{fn ()} / %s{getLocals ()}"
|> String.trimStart [[||]]
|> String.trimEnd [[| ' '; '/' |]]
|> traceRaw level
let inline withTrace enabled fn =
let oldTraceEnabled = traceEnabled
try
traceEnabled <- enabled
fn ()
finally
traceEnabled <- oldTraceEnabled
let inline withTraceEnabled fn =
withTrace true fn
let inline withTraceDisabled fn =
withTrace false fn
let inline withTraceLevel level fn =
let oldTraceLevel = traceLevel
try
traceLevel <- level
fn ()
finally
traceLevel <- oldTraceLevel
let inline withTraceDump dump fn =
let oldTraceDump = traceDump
try
traceDump <- dump
fn ()
finally
traceDump <- oldTraceDump
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
trace Debug (fun () -> "test") getLocals
╭─[ 27.72ms - stdout ]─────────────────────────────────────────────────────────╮
│ 00:00:00 #2 [Debug] test │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## newDisposable │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline newDisposable fn =
{ new System.IDisposable with
member _.Dispose () = fn ()
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let mutable newDisposableTest = 0
newDisposable (fun () -> newDisposableTest <- newDisposableTest + 1)
|> fun x -> x.Dispose ()
newDisposableTest |> _equal 1
╭─[ 20.23ms - stdout ]─────────────────────────────────────────────────────────╮
│ 1 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let mutable newDisposableTest = 0
fun () -> task {
use x = newDisposable (fun () -> newDisposableTest <- newDisposableTest + 1)
()
}
|> fun x -> x () |> Async.AwaitTask |> Async.RunSynchronously
newDisposableTest |> _equal 1
╭─[ 123.76ms - stdout ]────────────────────────────────────────────────────────╮
│ 1 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let mutable newDisposableTest = 0
async {
use x = newDisposable (fun () -> newDisposableTest <- newDisposableTest + 1)
()
}
|> Async.RunSynchronously
newDisposableTest |> _equal 1
╭─[ 37.64ms - stdout ]─────────────────────────────────────────────────────────╮
│ 1 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let mutable newDisposableTest = 0
async {
let x = newDisposable (fun () -> newDisposableTest <- newDisposableTest + 1)
()
}
|> Async.RunSynchronously
newDisposableTest |> _equal 0
╭─[ 38.30ms - stdout ]─────────────────────────────────────────────────────────╮
│ 0 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## retryFn │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline retryFn retries fn =
let rec loop retry =
try
if retry < retries
then fn () |> Some
else None
with ex ->
let getLocals () = $"retry: {retry} / ex: {ex |> printException} /
{getLocals ()}"
trace Warning (fun () -> "retryFn") getLocals
System.Threading.Thread.Sleep 1
loop (retry + 1)
loop 0
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let mutable retryFnTest = 0
fun () ->
retryFnTest <- retryFnTest + 1
retryFnTest
|> retryFn 3
|> _equal (Some 1)
╭─[ 32.11ms - stdout ]─────────────────────────────────────────────────────────╮
│ FSharpOption<Int32> │
│ Value: 1 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
fun () -> failwith "test"
|> retryFn 3
|> _equal None
╭─[ 68.00ms - stdout ]─────────────────────────────────────────────────────────╮
│ 00:00:00 #3 [Warning] retryFn / retry: 0 / ex: System.Exception: test │
│ 00:00:00 #4 [Warning] retryFn / retry: 1 / ex: System.Exception: test │
│ 00:00:00 #5 [Warning] retryFn / retry: 2 / ex: System.Exception: test │
│ <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let mutable retryFnTest = 0
fun () ->
if retryFnTest >= 2
then retryFnTest
else
retryFnTest <- retryFnTest + 1
failwith "test"
|> retryFn 3
|> _equal (Some 2)
╭─[ 78.25ms - stdout ]─────────────────────────────────────────────────────────╮
│ 00:00:00 #6 [Warning] retryFn / retry: 0 / ex: System.Exception: test │
│ 00:00:00 #7 [Warning] retryFn / retry: 1 / ex: System.Exception: test │
│ FSharpOption<Int32> │
│ Value: 2 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook Common.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 351878 bytes to Common.dib.html
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # CommonFSharp (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## getUnionCaseName │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
TraceLevel.Critical
|> getUnionCaseName
|> _equal (nameof TraceLevel.Critical)
╭─[ 60.93ms - stdout ]─────────────────────────────────────────────────────────╮
│ Critical │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook CommonFSharp.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 274474 bytes to CommonFSharp.dib.html
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Threading (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## newDisposableToken │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline newDisposableToken (mergeToken: System.Threading.CancellationToken
option) =
let cts = new System.Threading.CancellationTokenSource ()
let cts =
match mergeToken with
| None -> cts
| Some mergeToken ->
System.Threading.CancellationTokenSource.CreateLinkedTokenSource [[|
cts.Token; mergeToken |]]
let disposable = newDisposable cts.Cancel
cts.Token, disposable
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let mutable counter = 0
let inline run fn =
let token, disposable = newDisposableToken None
use _ = disposable
fn token
async {
fn token
}
|> Async.Start
let inline fn (token : System.Threading.CancellationToken) =
counter <- counter + (if token.IsCancellationRequested then 10 else 1)
async {
run fn
do! Async.Sleep 1
return counter
}
|> Async.RunSynchronously
|> _equal 11
╭─[ 165.63ms - stdout ]────────────────────────────────────────────────────────╮
│ 11 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook Threading.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 277490 bytes to Threading.dib.html
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Crypto (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## hashText │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let hashText (input : string) =
use sha256 = System.Security.Cryptography.SHA256.Create ()
input
|> System.Text.Encoding.UTF8.GetBytes
|> sha256.ComputeHash
|> Array.map (fun b -> b.ToString "x2")
|> String.concat ""
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
""
|> hashText
|> _equal "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
╭─[ 48.57ms - stdout ]─────────────────────────────────────────────────────────╮
│ e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
" "
|> hashText
|> _equal "36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068"
╭─[ 16.55ms - stdout ]─────────────────────────────────────────────────────────╮
│ 36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068 │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook Crypto.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 276308 bytes to Crypto.dib.html
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # FileSystem (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li
b/net6.0/System.CommandLine.dll"
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
#!import ../nbs/CommonFSharp.fs
#!import ../nbs/Async.fs
#!import ../nbs/AsyncSeq.fs
#!import ../nbs/Runtime.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
a
|> Async.Catch
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module AsyncSeq =
open Common
/// ## subscribeEvent
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks
FSharp.Control.AsyncSeq.unfoldAsync
(fun (...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
open Common
/// ## isWindows
let isWindows =
fun () ->
System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform
System.Runtime.InteropServices.OSPlatform.Windows
|> memoize
/// ## getExecutableSuffix
let inline getExecutableSuffix () =
if isWindows ()
then ".exe"
else ""
/// ## splitCommand
type private CommandParseStep =
| Start
| Path of quoted: bool
| Arguments
let splitCommand (command: string) =
let rec loop (path, args) chars step =
match chars, step with
| ('"' | '\'') :: tail, _ when path = "" -> loop (pat...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Operators │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
module Operators =
let inline (</>) a b =
System.IO.Path.Combine (a, b)
── fsharp ──────────────────────────────────────────────────────────────────────
open Operators
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## createTempDirectoryName │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline createTempDirectoryName () =
let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name
System.IO.Path.GetTempPath ()
</> $"!{root}"
</> string (newGuidFromDateTime System.DateTime.Now)
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
createTempDirectoryName ()
|> _contains System.IO.Path.DirectorySeparatorChar
╭─[ 52.10ms - stdout ]─────────────────────────────────────────────────────────╮
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1536-4147-4786-467df │
│ 383b91a │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## createTempDirectory │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline createTempDirectory () =
let tempFolder = createTempDirectoryName ()
let result = System.IO.Directory.CreateDirectory tempFolder
if not result.Exists then
let getLocals () =
$"tempFolder: {tempFolder} / result: {({|
Exists = result.Exists
CreationTime = result.CreationTime
|})} {getLocals ()}"
trace Debug (fun () -> "createTempDirectory") getLocals
tempFolder
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let tempDirectory = createTempDirectory ()
Directory.Exists tempDirectory
|> _equal true
╭─[ 35.34ms - stdout ]─────────────────────────────────────────────────────────╮
│ True │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## getSourceDirectory │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let getSourceDirectory =
fun () -> __SOURCE_DIRECTORY__
|> memoize
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
getSourceDirectory ()
|> System.IO.DirectoryInfo
|> fun dir -> dir.Name
|> _equal "nbs"
╭─[ 35.01ms - stdout ]─────────────────────────────────────────────────────────╮
│ nbs │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## findParent │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline findParent name isFile rootDir =
let rec loop dir =
if dir </> name |> (if isFile then System.IO.File.Exists else
System.IO.Directory.Exists)
then dir
else
dir
|> System.IO.Directory.GetParent
|> function
| null -> failwith $"""No parent for {if isFile then "file" else
"dir"} '{name}' at '{rootDir}'"""
| parent -> parent.FullName |> loop
loop rootDir
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
getSourceDirectory () |> findParent ".paket" false
|> System.IO.DirectoryInfo
|> fun dir -> dir.Name
|> _equal "polyglot"
╭─[ 40.39ms - stdout ]─────────────────────────────────────────────────────────╮
│ polyglot │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
getSourceDirectory () |> findParent "paket.dependencies" true
|> System.IO.DirectoryInfo
|> fun dir -> dir.Name
|> _equal "polyglot"
╭─[ 23.39ms - stdout ]─────────────────────────────────────────────────────────╮
│ polyglot │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## readAllTextAsync │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline readAllTextAsync path =
path |> System.IO.File.ReadAllTextAsync |> Async.AwaitTask
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## fileExistsContent │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline fileExistsContent path content = async {
if path |> System.IO.File.Exists |> not
then return false
else
let! existingContent = path |> readAllTextAsync
return content = existingContent
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## writeAllTextAsync │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline writeAllTextAsync path contents =
System.IO.File.WriteAllTextAsync (path, contents) |> Async.AwaitTask
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## writeAllTextExists │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline writeAllTextExists path contents = async {
let! exists = contents |> fileExistsContent path
if not exists
then do! contents |> writeAllTextAsync path
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## waitForFileAccess │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline waitForFileAccess access path =
let fileAccess, fileShare =
access
|> Option.defaultValue (System.IO.FileAccess.ReadWrite,
System.IO.FileShare.Read)
let rec loop retry = async {
try
use _ = new System.IO.FileStream (
path,
System.IO.FileMode.Open,
fileAccess,
fileShare
)
return retry
with ex ->
if retry % 100 = 0 then
let getLocals () = $"path: {path |> System.IO.Path.GetFileName}
/ ex: {ex |> printException} / {getLocals ()}"
trace Debug (fun () -> "waitForFileAccess") getLocals
do! Async.Sleep 10
return! loop (retry + 1)
}
loop 0
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let tempFolder = createTempDirectory ()
let path = tempFolder </> "test.txt"
let inline lockFile () = async {
trace Debug (fun () -> "_1") getLocals
use stream = new System.IO.FileStream (
path,
System.IO.FileMode.Open,
System.IO.FileAccess.ReadWrite,
System.IO.FileShare.None
)
trace Debug (fun () -> "_2") getLocals
do! Async.Sleep 2000
trace Debug (fun () -> "_3") getLocals
stream.Seek (0L, SeekOrigin.Begin) |> ignore
trace Debug (fun () -> "_4") getLocals
stream.WriteByte 49uy
trace Debug (fun () -> "_5") getLocals
stream.Flush ()
trace Debug (fun () -> "_6") getLocals
}
async {
trace Debug (fun () -> "1") getLocals
do! "0" |> writeAllTextAsync path
trace Debug (fun () -> "2") getLocals
let! child = lockFile () |> Async.StartChild
trace Debug (fun () -> "3") getLocals
do! Async.Sleep 1
trace Debug (fun () -> "4") getLocals
let! retries = path |> waitForFileAccess None
trace Debug (fun () -> "5") getLocals
let! text = path |> readAllTextAsync
trace Debug (fun () -> "6") getLocals
do! child
trace Debug (fun () -> "7") getLocals
return retries, text
}
|> Async.runWithTimeout 3000
|> function
| Some (retries, text) ->
retries
|> _isBetween
(if Runtime.isWindows () then 100 else 100)
(if Runtime.isWindows () then 150 else 200)
text |> _equal "1"
true
| _ -> false
|> _equal true
╭─[ 2.43s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:00 #1 [Debug] 1 │
│ 00:00:00 #2 [Debug] 2 │
│ 00:00:00 #3 [Debug] _1 │
│ 00:00:00 #4 [Debug] 3 │
│ 00:00:00 #5 [Debug] _2 │
│ 00:00:00 #6 [Debug] 4 │
│ 00:00:00 #7 [Debug] waitForFileAccess / path: test.txt / ex: │
│ System.IO.IOException: The process cannot access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1536-4231-3164-3f12 │
│ 4007f2d9\test.txt' because it is being used by another process. │
│ 00:00:01 #8 [Debug] waitForFileAccess / path: test.txt / ex: │
│ System.IO.IOException: The process cannot access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1536-4231-3164-3f12 │
│ 4007f2d9\test.txt' because it is being used by another process. │
│ 00:00:02 #9 [Debug] _3 │
│ 00:00:02 #10 [Debug] _4 │
│ 00:00:02 #11 [Debug] _5 │
│ 00:00:02 #12 [Debug] _6 │
│ 00:00:02 #13 [Debug] 5 │
│ 00:00:02 #14 [Debug] 6 │
│ 00:00:02 #15 [Debug] 7 │
│ 128 │
│ 128 │
│ 128 │
│ 1 │
│ True │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## readAllTextRetryAsync │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline readAllTextRetryAsync fullPath =
let rec loop retry = async {
try
if retry > 0
then do!
fullPath
|> waitForFileAccess (Some (
System.IO.FileAccess.Read,
System.IO.FileShare.Read
))
|> Async.runWithTimeoutAsync 1000
|> Async.Ignore
return! fullPath |> readAllTextAsync |> Async.map Some
with ex ->
let getLocals () = $"retry: {retry} / ex: {ex |> printException} /
{getLocals ()}"
trace Debug (fun () -> $"watchWithFilter / readContent") getLocals
if retry = 0
then return! loop (retry + 1)
else return None
}
loop 0
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## deleteDirectoryAsync │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline deleteDirectoryAsync path =
let rec loop retry = async {
try
System.IO.Directory.Delete (path, true)
return retry
with ex ->
if retry % 100 = 0 then
let getLocals () = $"path: {path |> System.IO.Path.GetFileName}
/ ex: {ex |> printException} / {getLocals ()}"
trace Debug (fun () -> "deleteDirectoryAsync") getLocals
do! Async.Sleep 10
return! loop (retry + 1)
}
loop 0
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let tempFolder = createTempDirectory ()
let path = tempFolder </> "test"
let inline lockDirectory () = async {
trace Debug (fun () -> "_1") getLocals
System.IO.File.WriteAllText (path </> "test.txt", "0")
use _ = new System.IO.FileStream (
path </> "test.txt",
System.IO.FileMode.Open,
System.IO.FileAccess.ReadWrite,
System.IO.FileShare.None
)
trace Debug (fun () -> "_2") getLocals
do! Async.Sleep 2000
trace Debug (fun () -> "_3") getLocals
}
async {
trace Debug (fun () -> "1") getLocals
Directory.CreateDirectory path |> ignore
trace Debug (fun () -> "2") getLocals
let! child = lockDirectory () |> Async.StartChild
trace Debug (fun () -> "3") getLocals
do! Async.Sleep 60
trace Debug (fun () -> "4") getLocals
let! retries = deleteDirectoryAsync path
trace Debug (fun () -> "5") getLocals
do! child
trace Debug (fun () -> "6") getLocals
return retries
}
|> Async.runWithTimeout 3000
|> function
| Some retries ->
retries
|> _isBetween
(if Runtime.isWindows () then 100 else 0)
(if Runtime.isWindows () then 150 else 0)
true
| _ -> false
|> _equal true
╭─[ 2.35s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:02 #16 [Debug] 1 │
│ 00:00:02 #17 [Debug] 2 │
│ 00:00:02 #18 [Debug] 3 │
│ 00:00:02 #19 [Debug] _1 │
│ 00:00:02 #20 [Debug] _2 │
│ 00:00:02 #21 [Debug] 4 │
│ 00:00:02 #22 [Debug] deleteDirectoryAsync / path: test / ex: │
│ System.IO.IOException: The process cannot access the file 'test.txt' because │
│ it is being used by another process. │
│ 00:00:04 #23 [Debug] deleteDirectoryAsync / path: test / ex: │
│ System.IO.IOException: The process cannot access the file 'test.txt' because │
│ it is being used by another process. │
│ 00:00:04 #24 [Debug] _3 │
│ 00:00:04 #25 [Debug] 5 │
│ 00:00:04 #26 [Debug] 6 │
│ 125 │
│ 125 │
│ 125 │
│ True │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## deleteFileAsync │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline deleteFileAsync path =
let rec loop retry = async {
try
System.IO.File.Delete path
return retry
with ex ->
if retry % 100 = 0 then
let getLocals () = $"path: {path |> System.IO.Path.GetFileName}
/ ex: {ex |> printException} / {getLocals ()}"
trace Warning (fun () -> "deleteFileAsync") getLocals
do! Async.Sleep 10
return! loop (retry + 1)
}
loop 0
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let tempFolder = createTempDirectory ()
let path = tempFolder </> "test.txt"
let inline lockFile () = async {
trace Debug (fun () -> "_1") getLocals
use _ = new System.IO.FileStream (
path,
System.IO.FileMode.Open,
System.IO.FileAccess.ReadWrite,
System.IO.FileShare.None
)
trace Debug (fun () -> "_2") getLocals
do! Async.Sleep 2000
trace Debug (fun () -> "_3") getLocals
}
async {
trace Debug (fun () -> "1") getLocals
do! "0" |> writeAllTextAsync path
trace Debug (fun () -> "2") getLocals
let! child = lockFile () |> Async.StartChild
trace Debug (fun () -> "3") getLocals
do! Async.Sleep 1
trace Debug (fun () -> "4") getLocals
let! retries = deleteFileAsync path
trace Debug (fun () -> "5") getLocals
do! child
trace Debug (fun () -> "6") getLocals
return retries
}
|> Async.runWithTimeout 3000
|> function
| Some retries ->
retries
|> _isBetween
(if Runtime.isWindows () then 100 else 0)
(if Runtime.isWindows () then 150 else 0)
true
| _ -> false
|> _equal true
╭─[ 2.30s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:05 #27 [Debug] 1 │
│ 00:00:05 #28 [Debug] 2 │
│ 00:00:05 #29 [Debug] 3 │
│ 00:00:05 #30 [Debug] _1 │
│ 00:00:05 #31 [Debug] _2 │
│ 00:00:05 #32 [Debug] 4 │
│ 00:00:05 #33 [Warning] deleteFileAsync / path: test.txt / ex: │
│ System.IO.IOException: The process cannot access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1536-4736-3622-3fcc │
│ 9c030226\test.txt' because it is being used by another process. │
│ 00:00:06 #34 [Warning] deleteFileAsync / path: test.txt / ex: │
│ System.IO.IOException: The process cannot access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1536-4736-3622-3fcc │
│ 9c030226\test.txt' because it is being used by another process. │
│ 00:00:07 #35 [Debug] _3 │
│ 00:00:07 #36 [Debug] 5 │
│ 00:00:07 #37 [Debug] 6 │
│ 128 │
│ 128 │
│ 128 │
│ True │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## moveFileAsync │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline moveFileAsync newPath oldPath =
let rec loop retry = async {
try
System.IO.File.Move (oldPath, newPath)
return retry
with ex ->
if retry % 100 = 0 then
let getLocals () =
$"oldPath: {oldPath |> System.IO.Path.GetFileName} /
newPath: {newPath |> System.IO.Path.GetFileName} / ex: {ex |> printException} /
{getLocals ()}"
trace Warning (fun () -> "moveFileAsync") getLocals
do! Async.Sleep 10
return! loop (retry + 1)
}
loop 0
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let tempFolder = createTempDirectory ()
let path = tempFolder </> "test.txt"
let newPath = tempFolder </> "test2.txt"
let inline lockFile () = async {
trace Debug (fun () -> "_1") getLocals
use _ = new System.IO.FileStream (
path,
System.IO.FileMode.Open,
System.IO.FileAccess.ReadWrite,
System.IO.FileShare.None
)
trace Debug (fun () -> "_2") getLocals
do! Async.Sleep 2000
trace Debug (fun () -> "_3") getLocals
}
async {
trace Debug (fun () -> "1") getLocals
do! "0" |> writeAllTextAsync path
trace Debug (fun () -> "2") getLocals
let! child = lockFile () |> Async.StartChild
trace Debug (fun () -> "3") getLocals
do! Async.Sleep 1
trace Debug (fun () -> "4") getLocals
let! retries1 = path |> moveFileAsync newPath
trace Debug (fun () -> "5") getLocals
let! retries2 = newPath |> waitForFileAccess None
trace Debug (fun () -> "6") getLocals
let! text = newPath |> readAllTextAsync
trace Debug (fun () -> "7") getLocals
do! child
trace Debug (fun () -> "8") getLocals
return retries1, retries2, text
}
|> Async.runWithTimeout 3000
|> function
| Some (retries1, retries2, text) ->
retries1
|> _isBetween
(if Runtime.isWindows () then 100 else 0)
(if Runtime.isWindows () then 150 else 0)
retries2
|> _isBetween
(if Runtime.isWindows () then 0 else 100)
(if Runtime.isWindows () then 0 else 200)
text |> _equal "0"
true
| _ -> false
|> _equal true
╭─[ 2.38s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:07 #38 [Debug] 1 │
│ 00:00:07 #39 [Debug] 2 │
│ 00:00:07 #40 [Debug] 3 │
│ 00:00:07 #41 [Debug] _1 │
│ 00:00:07 #42 [Debug] _2 │
│ 00:00:07 #43 [Debug] 4 │
│ 00:00:07 #44 [Warning] moveFileAsync / oldPath: test.txt / newPath: │
│ test2.txt / ex: System.IO.IOException: The process cannot access the file │
│ because it is being used by another process. │
│ 00:00:09 #45 [Warning] moveFileAsync / oldPath: test.txt / newPath: │
│ test2.txt / ex: System.IO.IOException: The process cannot access the file │
│ because it is being used by another process. │
│ 00:00:09 #46 [Debug] _3 │
│ 00:00:09 #47 [Debug] 5 │
│ 00:00:09 #48 [Debug] 6 │
│ 00:00:09 #49 [Debug] 7 │
│ 00:00:09 #50 [Debug] 8 │
│ 128 │
│ 128 │
│ 128 │
│ 0 │
│ 0 │
│ 0 │
│ 0 │
│ True │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## watchDirectory │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
[[<RequireQualifiedAccess>]]
type FileSystemChangeType =
| Failure
| Changed
| Created
| Deleted
| Renamed
[[<RequireQualifiedAccess>]]
type FileSystemChange =
| Failure of exn: exn
| Changed of path: string * content: string option
| Created of path: string * content: string option
| Deleted of path: string
| Renamed of oldPath: string * (string * string option)
let inline watchDirectoryWithFilter filter shouldReadContent path =
let fullPath = path |> System.IO.Path.GetFullPath
let getLocals () = $"filter: {filter} / {getLocals ()}"
let watcher =
new System.IO.FileSystemWatcher (
Path = fullPath,
NotifyFilter = filter,
EnableRaisingEvents = true,
IncludeSubdirectories = true
)
let inline getEventPath (path : string) =
path |> String.trim |> String.replace fullPath "" |> String.trimStart
[[| '/'; '\\' |]]
let inline ticks () =
System.DateTime.UtcNow.Ticks
let changedStream =
AsyncSeq.subscribeEvent
watcher.Changed
(fun event ->
ticks (),
[[ FileSystemChange.Changed (getEventPath event.FullPath, None)
]]
)
let deletedStream =
AsyncSeq.subscribeEvent
watcher.Deleted
(fun event ->
ticks (),
[[ FileSystemChange.Deleted (getEventPath event.FullPath) ]]
)
let createdStream =
AsyncSeq.subscribeEvent
watcher.Created
(fun event ->
let path = getEventPath event.FullPath
ticks (), [[
FileSystemChange.Created (path, None)
if Runtime.isWindows () then
FileSystemChange.Changed (path, None)
]])
let renamedStream =
AsyncSeq.subscribeEvent
watcher.Renamed
(fun event ->
ticks (), [[
FileSystemChange.Renamed (
getEventPath event.OldFullPath,
(getEventPath event.FullPath, None)
)
]]
)
let failureStream =
AsyncSeq.subscribeEvent
watcher.Error
(fun event -> ticks (), [[ FileSystemChange.Failure
(event.GetException ()) ]])
let stream =
[[
changedStream
deletedStream
createdStream
renamedStream
failureStream
]]
|> FSharp.Control.AsyncSeq.mergeAll
|> FSharp.Control.AsyncSeq.map (fun (t, events) ->
events
|> List.fold
(fun (i, events) event ->
i + 1L,
(t + i, event) :: events)
(0L, [[]])
|> snd
|> List.rev
)
|> FSharp.Control.AsyncSeq.concatSeq
|> FSharp.Control.AsyncSeq.mapAsyncParallel (fun (t, event) -> async {
match shouldReadContent event, event with
| true, FileSystemChange.Changed (path, _) ->
do! Async.Sleep 5
let! content = fullPath </> path |> readAllTextRetryAsync
return t, FileSystemChange.Changed (path, content)
| true, FileSystemChange.Created (path, _) ->
do! Async.Sleep 5
let! content = fullPath </> path |> readAllTextRetryAsync
return t, FileSystemChange.Created (path, content)
| true, FileSystemChange.Renamed (oldPath, (newPath, _)) ->
let! content = fullPath </> newPath |> readAllTextRetryAsync
return t, FileSystemChange.Renamed (oldPath, (newPath, content))
| _ -> return t, event
})
let disposable =
newDisposable (fun () ->
trace Debug (fun () -> "watchWithFilter / Disposing watch stream")
getLocals
watcher.EnableRaisingEvents <- false
watcher.Dispose ()
)
stream, disposable
let inline watchDirectory path =
watchDirectoryWithFilter
(System.IO.NotifyFilters.FileName
// ||| System.IO.NotifyFilters.DirectoryName
// ||| System.IO.NotifyFilters.Attributes
//// ||| System.IO.NotifyFilters.Size
||| System.IO.NotifyFilters.LastWrite
//// ||| System.IO.NotifyFilters.LastAccess
// ||| System.IO.NotifyFilters.CreationTime
// ||| System.IO.NotifyFilters.Security
)
path
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### testEventsRaw (test) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline testEventsRaw
(watchFn : (_ -> bool) -> string -> FSharp.Control.AsyncSeq<int64 *
FileSystemChange> * IDisposable)
write
=
let tempDirectory = createTempDirectory ()
let stream, disposable = watchFn (fun _ -> true) tempDirectory
let events = System.Collections.Concurrent.ConcurrentBag ()
let inline iter () =
stream
|> FSharp.Control.AsyncSeq.iterAsyncParallel (fun event -> async {
events.Add event })
let run = async {
let! _ = iter () |> Async.StartChild
do! Async.Sleep 250
return! write tempDirectory
}
try
run
|> Async.runWithTimeout 60000
|> _equal (Some ())
finally
disposable.Dispose ()
deleteDirectoryAsync tempDirectory |> Async.Ignore |>
Async.RunSynchronously
let eventsLog =
events
|> Seq.toList
|> List.sortBy fst
|> List.fold
(fun (prev, acc) (ticks, event) ->
ticks, (ticks, (if prev = 0L then 0L else ticks - prev), event)
:: acc
)
(0L, [[]])
|> snd
|> List.rev
|> List.map (fun (diff, n, event) ->
let text = $"{n} / {diff} / {event}"
if text |> String.length <= 100
then text
else text |> String.substring 0 100 |> String.replace "\n" ""
)
|> String.concat "\n"
let getLocals () = $"eventsLog: \n{eventsLog} / {getLocals ()}"
trace Debug (fun () -> "testEventsRaw") getLocals
events
|> Seq.toList
|> List.sortBy fst
|> List.map snd
|> List.fold
(fun acc event ->
match acc, event with
| FileSystemChange.Changed (lastPath, Some lastContent) as lastEvent
:: acc,
FileSystemChange.Changed (path, Some content)
when lastPath = path && content |> String.startsWith lastContent
->
event :: acc
| _ -> event :: acc
)
[[]]
|> List.rev
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ #### fast (test) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline write path = async {
let n = 2
for i = 1 to n do
do! $"a{i}" |> writeAllTextAsync (path </> $"file{i}.txt")
do! Async.Sleep 250
for i = 1 to n do
do! $"b{i}" |> writeAllTextAsync (path </> $"file{i}.txt")
do! Async.Sleep 250
for i = 1 to n do
do! path </> $"file{i}.txt" |> moveFileAsync (path </> $"file_{i}.txt")
|> Async.Ignore
do! Async.Sleep 250
for i = 1 to n do
do! $"c{i}" |> writeAllTextAsync (path </> $"file_{i}.txt")
do! Async.Sleep 250
for i = 1 to n do
do! deleteFileAsync (path </> $"file_{i}.txt") |> Async.Ignore
do! Async.Sleep 250
}
let inline run () =
let events = testEventsRaw watchDirectory write
events
|> _sequenceEqual [[
FileSystemChange.Created ("file1.txt", Some "a1")
FileSystemChange.Changed ("file1.txt", Some "a1")
FileSystemChange.Created ("file2.txt", Some "a2")
FileSystemChange.Changed ("file2.txt", Some "a2")
FileSystemChange.Changed ("file1.txt", Some "b1")
FileSystemChange.Changed ("file2.txt", Some "b2")
FileSystemChange.Renamed ("file1.txt", ("file_1.txt", Some "b1"))
FileSystemChange.Renamed ("file2.txt", ("file_2.txt", Some "b2"))
FileSystemChange.Changed ("file_1.txt", Some "c1")
FileSystemChange.Changed ("file_2.txt", Some "c2")
FileSystemChange.Deleted "file_1.txt"
FileSystemChange.Deleted "file_2.txt"
]]
run
|> retryFn 3
|> _equal (Some ())
╭─[ 5.48s - stdout ]───────────────────────────────────────────────────────────╮
│ FSharpOption<Unit> │
│ Value: <null> │
│ 00:00:16 #51 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ 00:00:16 #52 [Debug] testEventsRaw / eventsLog: │
│ 0 / 638338594179439888 / Created ("file1.txt", Some "a1") │
│ 1 / 638338594179439889 / Changed ("file1.txt", Some "a1") │
│ 64679 / 638338594179504568 / Changed ("file1.txt", Some "a1") │
│ 2160 / 638338594179506728 / Created ("file2.txt", Some "a2") │
│ 1 / 638338594179506729 / Changed ("file2.txt", Some "a2") │
│ 156 / 638338594179506885 / Changed ("file2.txt", Some "a2") │
│ 2482981 / 638338594181989866 / Changed ("file1.txt", Some "b1") │
│ 1471 / 638338594181991337 / Changed ("file1.txt", Some "b1") │
│ 7142 / 638338594181998479 / Changed ("file2.txt", Some "b2") │
│ 1321 / 638338594181999800 / Changed ("file2.txt", Some "b2") │
│ 2552067 / 638338594184551867 / Renamed ("file1.txt", ("file_1.txt", Some │
│ "b1")) │
│ 10002 / 638338594184561869 / Renamed ("file2.txt", ("file_2.txt", Some │
│ "b2")) │
│ 2622771 / 638338594187184640 / Changed ("file_1.txt", Some "c1") │
│ 1935 / 638338594187186575 / Changed ("file_1.txt", Some "c1") │
│ 7652 / 638338594187194227 / Changed ("file_2.txt", Some "c2") │
│ 1714 / 638338594187195941 / Changed ("file_2.txt", Some "c2") │
│ 2541268 / 638338594189737209 / Deleted "file_1.txt" │
│ 5246 / 638338594189742455 / Deleted "file_2.txt" │
│ FSharpList<FileSystemChange> │
│ - path: file1.txt │
│ content: FSharpOption<String> │
│ Value: a1 │
│ - path: file1.txt │
│ content: FSharpOption<String> │
│ Value: a1 │
│ - path: file2.txt │
│ content: FSharpOption<String> │
│ Value: a2 │
│ - path: file2.txt │
│ content: FSharpOption<String> │
│ Value: a2 │
│ - path: file1.txt │
│ content: FSharpOption<String> │
│ Value: b1 │
│ - path: file2.txt │
│ content: FSharpOption<String> │
│ Value: b2 │
│ - oldPath: file1.txt │
│ Item2: - file_1.txt │
│ - FSharpOption<String> │
│ Value: b1 │
│ - oldPath: file2.txt │
│ Item2: - file_2.txt │
│ - FSharpOption<String> │
│ Value: b2 │
│ - path: file_1.txt │
│ content: FSharpOption<String> │
│ Value: c1 │
│ - path: file_2.txt │
│ content: FSharpOption<String> │
│ Value: c2 │
│ - path: file_1.txt │
│ - path: file_2.txt │
│ FSharpOption<Unit> │
│ Value: <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ #### slow (test) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline write path = async {
let n = 2
let contents =
[[ 1 .. n ]]
|> List.map (string >> String.replicate 1_000_000)
for i = 1 to n do
do! $"{contents.[[i - 1]]}a" |> writeAllTextAsync (path </>
$"file{i}.txt")
do! Async.Sleep 1500
for i = 1 to n do
do! $"{contents.[[i - 1]]}b" |> writeAllTextAsync (path </>
$"file{i}.txt")
do! Async.Sleep 1500
for i = 1 to n do
do! path </> $"file{i}.txt" |> moveFileAsync (path </> $"file_{i}.txt")
|> Async.Ignore
do! Async.Sleep 1500
for i = 1 to n do
do! $"{contents.[[i - 1]]}c" |> writeAllTextAsync (path </>
$"file_{i}.txt")
do! Async.Sleep 1500
for i = 1 to n do
do! deleteFileAsync (path </> $"file_{i}.txt") |> Async.Ignore
do! Async.Sleep 1500
}
let inline run () =
let events =
testEventsRaw watchDirectory write
|> List.map (function
| FileSystemChange.Changed (path, Some content) ->
FileSystemChange.Changed (path, content |> Seq.distinct |>
Seq.map string |> String.concat "" |> Some)
| FileSystemChange.Created (path, Some content) ->
FileSystemChange.Created (path, content |> Seq.distinct |>
Seq.map string |> String.concat "" |> Some)
| FileSystemChange.Renamed (oldPath, (newPath, Some content)) ->
FileSystemChange.Renamed (
oldPath,
(newPath, content |> Seq.distinct |> Seq.map string |>
String.concat "" |> Some)
)
| event -> event
)
events
|> _sequenceEqual [[
FileSystemChange.Created ("file1.txt", Some "1a")
FileSystemChange.Changed ("file1.txt", Some "1a")
FileSystemChange.Created ("file2.txt", Some "2a")
FileSystemChange.Changed ("file2.txt", Some "2a")
FileSystemChange.Changed ("file1.txt", Some "1b")
FileSystemChange.Changed ("file2.txt", Some "2b")
FileSystemChange.Renamed ("file1.txt", ("file_1.txt", Some "1b"))
FileSystemChange.Renamed ("file2.txt", ("file_2.txt", Some "2b"))
FileSystemChange.Changed ("file_1.txt", Some "1c")
FileSystemChange.Changed ("file_2.txt", Some "2c")
FileSystemChange.Deleted "file_1.txt"
FileSystemChange.Deleted "file_2.txt"
]]
run
|> retryFn 5
|> _equal (Some ())
╭─[ 13.03s - stdout ]──────────────────────────────────────────────────────────╮
│ 00:00:21 #53 [Debug] watchWithFilter / readContent / retry: 0 / ex: │
│ System.AggregateException: One or more errors occurred. (The process cannot │
│ access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1537-0398-9838-9bd7 │
│ 5465d746\file2.txt' because it is being used by another process.) │
│ 00:00:21 #54 [Debug] watchWithFilter / readContent / retry: 0 / ex: │
│ System.AggregateException: One or more errors occurred. (The process cannot │
│ access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1537-0398-9838-9bd7 │
│ 5465d746\file2.txt' because it is being used by another process.) │
│ 00:00:23 #55 [Debug] watchWithFilter / readContent / retry: 0 / ex: │
│ System.AggregateException: One or more errors occurred. (The process cannot │
│ access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1537-0398-9838-9bd7 │
│ 5465d746\file1.txt' because it is being used by another process.) │
│ 00:00:23 #56 [Debug] waitForFileAccess / path: file1.txt / ex: │
│ System.IO.IOException: The process cannot access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1537-0398-9838-9bd7 │
│ 5465d746\file1.txt' because it is being used by another process. │
│ 00:00:23 #57 [Debug] watchWithFilter / readContent / retry: 0 / ex: │
│ System.AggregateException: One or more errors occurred. (The process cannot │
│ access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1537-0398-9838-9bd7 │
│ 5465d746\file2.txt' because it is being used by another process.) │
│ 00:00:23 #58 [Debug] waitForFileAccess / path: file2.txt / ex: │
│ System.IO.IOException: The process cannot access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1537-0398-9838-9bd7 │
│ 5465d746\file2.txt' because it is being used by another process. │
│ 00:00:26 #59 [Debug] watchWithFilter / readContent / retry: 0 / ex: │
│ System.AggregateException: One or more errors occurred. (The process cannot │
│ access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1537-0398-9838-9bd7 │
│ 5465d746\file_1.txt' because it is being used by another process.) │
│ 00:00:26 #60 [Debug] waitForFileAccess / path: file_1.txt / ex: │
│ System.IO.IOException: The process cannot access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1537-0398-9838-9bd7 │
│ 5465d746\file_1.txt' because it is being used by another process. │
│ 00:00:26 #61 [Debug] watchWithFilter / readContent / retry: 0 / ex: │
│ System.AggregateException: One or more errors occurred. (The process cannot │
│ access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1537-0398-9838-9bd7 │
│ 5465d746\file_2.txt' because it is being used by another process.) │
│ 00:00:26 #62 [Debug] waitForFileAccess / path: file_2.txt / ex: │
│ System.IO.IOException: The process cannot access the file │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1537-0398-9838-9bd7 │
│ 5465d746\file_2.txt' because it is being used by another process. │
│ FSharpOption<Unit> │
│ Value: <null> │
│ 00:00:29 #63 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ 00:00:29 #64 [Debug] testEventsRaw / eventsLog: │
│ 0 / 638338594242481670 / Created ("file1.txt", Some │
│ "1111111111111111111111111111111111111 │
│ 1 / 638338594242481671 / Changed ("file1.txt", Some │
│ "1111111111111111111111111111111111111 │
│ 61802 / 638338594242543473 / Changed ("file1.txt", Some │
│ "111111111111111111111111111111111 │
│ 22897 / 638338594242566370 / Created ("file2.txt", Some │
│ "222222222222222222222222222222222 │
│ 1 / 638338594242566371 / Changed ("file2.txt", Some │
│ "2222222222222222222222222222222222222 │
│ 196258 / 638338594242762629 / Changed ("file2.txt", Some │
│ "22222222222222222222222222222222 │
│ 15175767 / 638338594257938396 / Changed ("file1.txt", Some │
│ "111111111111111111111111111111 │
│ 245491 / 638338594258183887 / Changed ("file1.txt", Some │
│ "11111111111111111111111111111111 │
│ 36815 / 638338594258220702 / Changed ("file2.txt", Some │
│ "222222222222222222222222222222222 │
│ 128043 / 638338594258348745 / Changed ("file2.txt", Some │
│ "22222222222222222222222222222222 │
│ 15182823 / 638338594273531568 / Renamed ("file1.txt", ("file_1.txt", │
│ Some "1111111111 │
│ 16554 / 638338594273548122 / Renamed ("file2.txt", ("file_2.txt", Some │
│ "2222222222222 │
│ 15245949 / 638338594288794071 / Changed ("file_1.txt", Some │
│ "11111111111111111111111111111 │
│ 168646 / 638338594288962717 / Changed ("file_1.txt", Some │
│ "1111111111111111111111111111111 │
│ 68494 / 638338594289031211 / Changed ("file_2.txt", Some │
│ "22222222222222222222222222222222 │
│ 120651 / 638338594289151862 / Changed ("file_2.txt", Some │
│ "2222222222222222222222222222222 │
│ 15097374 / 638338594304249236 / Deleted "file_1.txt" │
│ 9538 / 638338594304258774 / Deleted "file_2.txt" │
│ FSharpList<FileSystemChange> │
│ - path: file1.txt │
│ content: FSharpOption<String> │
│ Value: 1a │
│ - path: file1.txt │
│ content: FSharpOption<String> │
│ Value: 1a │
│ - path: file2.txt │
│ content: FSharpOption<String> │
│ Value: 2a │
│ - path: file2.txt │
│ content: FSharpOption<String> │
│ Value: 2a │
│ - path: file1.txt │
│ content: FSharpOption<String> │
│ Value: 1b │
│ - path: file2.txt │
│ content: FSharpOption<String> │
│ Value: 2b │
│ - oldPath: file1.txt │
│ Item2: - file_1.txt │
│ - FSharpOption<String> │
│ Value: 1b │
│ - oldPath: file2.txt │
│ Item2: - file_2.txt │
│ - FSharpOption<String> │
│ Value: 2b │
│ - path: file_1.txt │
│ content: FSharpOption<String> │
│ Value: 1c │
│ - path: file_2.txt │
│ content: FSharpOption<String> │
│ Value: 2c │
│ - path: file_1.txt │
│ - path: file_2.txt │
│ FSharpOption<Unit> │
│ Value: <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ### testEventsSorted (test) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline sortEvent event =
match event with
| FileSystemChange.Failure _ -> 0
| FileSystemChange.Created _ -> 1
| FileSystemChange.Changed _ -> 2
| FileSystemChange.Renamed (_oldPath, _) -> 3
| FileSystemChange.Deleted _ -> 4
let inline formatEvents events =
events
|> Seq.toList
|> List.sortBy (snd >> sortEvent)
|> List.choose (fun (ticks, event) ->
match event with
| FileSystemChange.Failure _ ->
None
| FileSystemChange.Changed (path, _) ->
Some (ticks, System.IO.Path.GetFileName path, nameof
FileSystemChangeType.Changed)
| FileSystemChange.Created (path, _) ->
Some (ticks, System.IO.Path.GetFileName path, nameof
FileSystemChangeType.Created)
| FileSystemChange.Deleted path ->
Some (ticks, System.IO.Path.GetFileName path, nameof
FileSystemChangeType.Deleted)
| FileSystemChange.Renamed (_oldPath, (path, _)) ->
Some (ticks, System.IO.Path.GetFileName path, nameof
FileSystemChangeType.Renamed)
)
|> List.sortBy (fun (_, path, _) -> path)
|> List.distinctBy (fun (_, path, event) -> path, event)
let inline testEventsSorted
(watchFn : string -> FSharp.Control.AsyncSeq<int64 * FileSystemChange> *
IDisposable)
write
=
let path = createTempDirectory ()
let stream, disposable = watchFn path
let events = System.Collections.Concurrent.ConcurrentBag ()
let inline iter () =
stream
|> FSharp.Control.AsyncSeq.iterAsyncParallel (fun event -> async {
events.Add event })
let run = async {
let! _ = iter () |> Async.StartChild
do! Async.Sleep 250
return! write path
}
try
run
|> Async.runWithTimeout 5000
|> _equal (Some ())
finally
disposable.Dispose ()
deleteDirectoryAsync path |> Async.Ignore |> Async.RunSynchronously
let events = formatEvents events
let eventMap =
events
|> List.map (fun (ticks, path, event) -> path, (event, ticks))
|> List.groupBy fst
|> List.map (fun (path, events) ->
let event, _ticks =
events
|> List.map snd
|> List.sortByDescending snd
|> List.head
path, event
)
|> Map.ofList
let eventList =
events
|> List.map (fun (_ticks, path, event) -> path, event)
eventMap, eventList
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ #### create and delete (test) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline write path = async {
let n = 3
for i = 1 to n do
do! $"{i}" |> writeAllTextAsync (path </> $"file{i}.txt")
for i = 1 to n do
do! deleteFileAsync (path </> $"file{i}.txt") |> Async.Ignore
do! Async.Sleep 150
}
let inline run () =
let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))
write
[[
"file1.txt", nameof FileSystemChangeType.Created
"file1.txt", nameof FileSystemChangeType.Changed
"file1.txt", nameof FileSystemChangeType.Deleted
"file2.txt", nameof FileSystemChangeType.Created
"file2.txt", nameof FileSystemChangeType.Changed
"file2.txt", nameof FileSystemChangeType.Deleted
"file3.txt", nameof FileSystemChangeType.Created
"file3.txt", nameof FileSystemChangeType.Changed
"file3.txt", nameof FileSystemChangeType.Deleted
]]
|> _sequenceEqual eventList
[[
"file1.txt", nameof FileSystemChangeType.Deleted
"file2.txt", nameof FileSystemChangeType.Deleted
"file3.txt", nameof FileSystemChangeType.Deleted
]]
|> Map.ofList
|> _sequenceEqual eventMap
run
|> retryFn 3
|> _equal (Some ())
╭─[ 3.89s - stdout ]───────────────────────────────────────────────────────────╮
│ FSharpOption<Unit> │
│ Value: <null> │
│ 00:00:34 #65 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpList<Tuple<String,String>> │
│ ( file1.txt, Created ) │
│ ( file1.txt, Changed ) │
│ ( file1.txt, Deleted ) │
│ ( file2.txt, Created ) │
│ ( file2.txt, Changed ) │
│ ( file2.txt, Deleted ) │
│ ( file3.txt, Created ) │
│ ( file3.txt, Changed ) │
│ ( file3.txt, Deleted ) │
│ FSharpMap<String,String> │
│ - Key: file1.txt │
│ Value: Deleted │
│ - Key: file2.txt │
│ Value: Deleted │
│ - Key: file3.txt │
│ Value: Deleted │
│ FSharpOption<Unit> │
│ Value: <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ #### change (test) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline write path = async {
let n = 2
for i = 1 to n do
do! $"{i}" |> writeAllTextAsync (path </> $"file{i}.txt")
for i = 1 to n do
do! "" |> writeAllTextAsync (path </> $"file{i}.txt")
for i = 1 to n do
do! deleteFileAsync (path </> $"file{i}.txt") |> Async.Ignore
do! Async.Sleep 150
}
let inline run () =
let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))
write
[[
"file1.txt", nameof FileSystemChangeType.Created
"file1.txt", nameof FileSystemChangeType.Changed
"file1.txt", nameof FileSystemChangeType.Deleted
"file2.txt", nameof FileSystemChangeType.Created
"file2.txt", nameof FileSystemChangeType.Changed
"file2.txt", nameof FileSystemChangeType.Deleted
]]
|> _sequenceEqual eventList
[[
"file1.txt", nameof FileSystemChangeType.Deleted
"file2.txt", nameof FileSystemChangeType.Deleted
]]
|> Map.ofList
|> _sequenceEqual eventMap
run
|> retryFn 3
|> _equal (Some ())
╭─[ 4.49s - stdout ]───────────────────────────────────────────────────────────╮
│ FSharpOption<Unit> │
│ Value: <null> │
│ 00:00:38 #66 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpList<Tuple<String,String>> │
│ ( file1.txt, Created ) │
│ ( file1.txt, Changed ) │
│ ( file1.txt, Deleted ) │
│ ( file2.txt, Created ) │
│ ( file2.txt, Changed ) │
│ ( file2.txt, Deleted ) │
│ FSharpMap<String,String> │
│ - Key: file1.txt │
│ Value: Deleted │
│ - Key: file2.txt │
│ Value: Deleted │
│ FSharpOption<Unit> │
│ Value: <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ #### rename (test) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline write path = async {
let n = 2
for i = 1 to n do
do! $"{i}" |> writeAllTextAsync (path </> $"file{i}.txt")
for i = 1 to n do
do! path </> $"file{i}.txt" |> moveFileAsync (path </> $"file_{i}.txt")
|> Async.Ignore
for i = 1 to n do
do! deleteFileAsync (path </> $"file_{i}.txt") |> Async.Ignore
do! Async.Sleep 150
}
let inline run () =
let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))
write
[[
"file1.txt", nameof FileSystemChangeType.Created
"file1.txt", nameof FileSystemChangeType.Changed
"file2.txt", nameof FileSystemChangeType.Created
"file2.txt", nameof FileSystemChangeType.Changed
"file_1.txt", nameof FileSystemChangeType.Renamed
"file_1.txt", nameof FileSystemChangeType.Deleted
"file_2.txt", nameof FileSystemChangeType.Renamed
"file_2.txt", nameof FileSystemChangeType.Deleted
]]
|> _sequenceEqual eventList
[[
"file1.txt", nameof FileSystemChangeType.Changed
"file2.txt", nameof FileSystemChangeType.Changed
"file_1.txt", nameof FileSystemChangeType.Deleted
"file_2.txt", nameof FileSystemChangeType.Deleted
]]
|> Map.ofList
|> _sequenceEqual eventMap
run
|> retryFn 3
|> _equal (Some ())
╭─[ 5.25s - stdout ]───────────────────────────────────────────────────────────╮
│ FSharpOption<Unit> │
│ Value: <null> │
│ 00:00:44 #67 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpList<Tuple<String,String>> │
│ ( file1.txt, Created ) │
│ ( file1.txt, Changed ) │
│ ( file2.txt, Created ) │
│ ( file2.txt, Changed ) │
│ ( file_1.txt, Renamed ) │
│ ( file_1.txt, Deleted ) │
│ ( file_2.txt, Renamed ) │
│ ( file_2.txt, Deleted ) │
│ FSharpMap<String,String> │
│ - Key: file1.txt │
│ Value: Changed │
│ - Key: file2.txt │
│ Value: Changed │
│ - Key: file_1.txt │
│ Value: Deleted │
│ - Key: file_2.txt │
│ Value: Deleted │
│ FSharpOption<Unit> │
│ Value: <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ #### full (test) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let inline write path = async {
let n = 2
for i = 1 to n do
do! $"{i}" |> writeAllTextAsync (path </> $"file{i}.txt")
for i = 1 to n do
do! "" |> writeAllTextAsync (path </> $"file{i}.txt")
for i = 1 to n do
do! path </> $"file{i}.txt" |> moveFileAsync (path </> $"file_{i}.txt")
|> Async.Ignore
for i = 1 to n do
do! $"{i}" |> writeAllTextAsync (path </> $"file_{i}.txt")
for i = 1 to n do
do! deleteFileAsync (path </> $"file_{i}.txt") |> Async.Ignore
do! Async.Sleep 150
}
let inline run () =
let eventMap, eventList = testEventsSorted (watchDirectory (fun _ -> false))
write
[[
"file1.txt", nameof FileSystemChangeType.Created
"file1.txt", nameof FileSystemChangeType.Changed
"file2.txt", nameof FileSystemChangeType.Created
"file2.txt", nameof FileSystemChangeType.Changed
"file_1.txt", nameof FileSystemChangeType.Changed
"file_1.txt", nameof FileSystemChangeType.Renamed
"file_1.txt", nameof FileSystemChangeType.Deleted
"file_2.txt", nameof FileSystemChangeType.Changed
"file_2.txt", nameof FileSystemChangeType.Renamed
"file_2.txt", nameof FileSystemChangeType.Deleted
]]
|> _sequenceEqual eventList
[[
"file1.txt", nameof FileSystemChangeType.Changed
"file2.txt", nameof FileSystemChangeType.Changed
"file_1.txt", nameof FileSystemChangeType.Deleted
"file_2.txt", nameof FileSystemChangeType.Deleted
]]
|> Map.ofList
|> _sequenceEqual eventMap
run
|> retryFn 3
|> _equal (Some ())
╭─[ 6.03s - stdout ]───────────────────────────────────────────────────────────╮
│ FSharpOption<Unit> │
│ Value: <null> │
│ 00:00:50 #68 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpList<Tuple<String,String>> │
│ ( file1.txt, Created ) │
│ ( file1.txt, Changed ) │
│ ( file2.txt, Created ) │
│ ( file2.txt, Changed ) │
│ ( file_1.txt, Changed ) │
│ ( file_1.txt, Renamed ) │
│ ( file_1.txt, Deleted ) │
│ ( file_2.txt, Changed ) │
│ ( file_2.txt, Renamed ) │
│ ( file_2.txt, Deleted ) │
│ FSharpMap<String,String> │
│ - Key: file1.txt │
│ Value: Changed │
│ - Key: file2.txt │
│ Value: Changed │
│ - Key: file_1.txt │
│ Value: Deleted │
│ - Key: file_2.txt │
│ Value: Deleted │
│ FSharpOption<Unit> │
│ Value: <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook FileSystem.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 466886 bytes to FileSystem.dib.html
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Networking (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li
b/net6.0/System.CommandLine.dll"
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
#!import ../nbs/CommonFSharp.fs
#!import ../nbs/Async.fs
#!import ../nbs/Runtime.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
a
|> Async.Catch
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
open Common
/// ## isWindows
let isWindows =
fun () ->
System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform
System.Runtime.InteropServices.OSPlatform.Windows
|> memoize
/// ## getExecutableSuffix
let inline getExecutableSuffix () =
if isWindows ()
then ".exe"
else ""
/// ## splitCommand
type private CommandParseStep =
| Start
| Path of quoted: bool
| Arguments
let splitCommand (command: string) =
let rec loop (path, args) chars step =
match chars, step with
| ('"' | '\'') :: tail, _ when path = "" -> loop (pat...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## testPortOpen │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline testPortOpen port = async {
let! ct = Async.CancellationToken
use client = new System.Net.Sockets.TcpClient ()
try
do! client.ConnectAsync ("127.0.0.1", port, ct) |>
Async.awaitValueTaskUnit
return true
with ex ->
trace Verbose (fun () -> $"testPortOpen / ex: {ex |> printException}")
getLocals
return false
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
testPortOpen 65536
|> Async.runWithTimeout 120
|> _equal (Some false)
╭─[ 189.91ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:00 #1 [Verbose] testPortOpen / ex: System.ArgumentOutOfRangeException: │
│ Specified argument was out of the range of valid values. (Parameter 'port') │
│ FSharpOption<Boolean> │
│ Value: False │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline testPortOpenTimeout timeout port = async {
let! result =
testPortOpen port
|> Async.runWithTimeoutAsync timeout
return
match result with
| None -> false
| Some result -> result
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
testPortOpenTimeout 120 65535
|> Async.RunSynchronously
|> _equal false
╭─[ 266.01ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:00 #2 [Debug] runWithTimeoutAsync / timeout: 120 │
│ False │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## waitForPortAccess │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline waitForPortAccess timeout status port =
let rec loop retry = async {
let! isPortOpen =
match timeout with
| None -> testPortOpen port
| Some timeout -> testPortOpenTimeout timeout port
if isPortOpen = status
then return retry
else
if retry % 100 = 0 then
let getLocals () = $"port: {port} / retry: {retry} / {getLocals
()}"
trace Verbose (fun () -> "waitForPortAccess") getLocals
do! Async.Sleep 10
return! loop (retry + 1)
}
loop 0
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let port = 5000
let inline lockPort () = async {
trace Debug (fun () -> "_1") getLocals
do! Async.Sleep 5000
use listener = new System.Net.Sockets.TcpListener
(System.Net.IPAddress.Parse "127.0.0.1", port)
trace Debug (fun () -> "_2") getLocals
listener.Start ()
trace Debug (fun () -> "_3") getLocals
do! Async.Sleep 2000
trace Debug (fun () -> "_4") getLocals
listener.Stop ()
trace Debug (fun () -> "_5") getLocals
}
async {
trace Debug (fun () -> "1") getLocals
let! child = lockPort () |> Async.StartChild
trace Debug (fun () -> "2") getLocals
do! Async.Sleep 1
trace Debug (fun () -> "3") getLocals
let! retries1 = waitForPortAccess None true port
trace Debug (fun () -> "4") getLocals
let! retries2 = waitForPortAccess None false port
trace Debug (fun () -> "5") getLocals
do! child
trace Debug (fun () -> "6") getLocals
return retries1, retries2
}
|> Async.runWithTimeout 20000
|> function
| Some (retries1, retries2) ->
retries1
|> _isBetween
(if Runtime.isWindows () then 2 else 2)
(if Runtime.isWindows () then 5 else 1500)
retries2
|> _isBetween
(if Runtime.isWindows () then 80 else 80)
(if Runtime.isWindows () then 150 else 600)
true
| _ -> false
|> _equal true
╭─[ 9.60s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:01 #3 [Debug] 1 │
│ 00:00:01 #4 [Debug] _1 │
│ 00:00:01 #5 [Debug] 2 │
│ 00:00:01 #6 [Debug] 3 │
│ 00:00:03 #7 [Verbose] testPortOpen / ex: System.AggregateException: One or │
│ more errors occurred. (No connection could be made because the target │
│ machine actively refused it.) │
│ 00:00:03 #8 [Verbose] waitForPortAccess / port: 5000 / retry: 0 │
│ 00:00:05 #9 [Verbose] testPortOpen / ex: System.AggregateException: One or │
│ more errors occurred. (No connection could be made because the target │
│ machine actively refused it.) │
│ 00:00:06 #10 [Debug] _2 │
│ 00:00:06 #11 [Debug] _3 │
│ 00:00:06 #12 [Debug] 4 │
│ 00:00:06 #13 [Verbose] waitForPortAccess / port: 5000 / retry: 0 │
│ 00:00:07 #14 [Verbose] waitForPortAccess / port: 5000 / retry: 100 │
│ 00:00:08 #15 [Debug] _4 │
│ 00:00:08 #16 [Debug] _5 │
│ 00:00:10 #17 [Verbose] testPortOpen / ex: System.AggregateException: One or │
│ more errors occurred. (No connection could be made because the target │
│ machine actively refused it.) │
│ 00:00:10 #18 [Debug] 5 │
│ 00:00:10 #19 [Debug] 6 │
│ 2 │
│ 2 │
│ 2 │
│ 120 │
│ 120 │
│ 120 │
│ True │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let port = 5000
let inline lockPort () = async {
trace Debug (fun () -> "_1") getLocals
do! Async.Sleep 500
use listener = new System.Net.Sockets.TcpListener
(System.Net.IPAddress.Parse "127.0.0.1", port)
trace Debug (fun () -> "_2") getLocals
listener.Start ()
trace Debug (fun () -> "_3") getLocals
do! Async.Sleep 200
trace Debug (fun () -> "_4") getLocals
listener.Stop ()
trace Debug (fun () -> "_5") getLocals
}
async {
trace Debug (fun () -> "1") getLocals
let! child = lockPort () |> Async.StartChild
trace Debug (fun () -> "2") getLocals
do! Async.Sleep 1
trace Debug (fun () -> "3") getLocals
let! retries1 = waitForPortAccess (Some 60) true port
trace Debug (fun () -> "4") getLocals
let! retries2 = waitForPortAccess (Some 60) false port
trace Debug (fun () -> "5") getLocals
do! child
trace Debug (fun () -> "6") getLocals
return retries1, retries2
}
|> Async.runWithTimeout 2000
|> function
| Some (retries1, retries2) ->
retries1
|> _isBetween
(if Runtime.isWindows () then 4 else 2)
(if Runtime.isWindows () then 15 else 150)
retries2
|> _isBetween
(if Runtime.isWindows () then 5 else 0)
(if Runtime.isWindows () then 20 else 60)
true
| _ -> false
|> _equal true
╭─[ 1.50s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:10 #20 [Debug] 1 │
│ 00:00:10 #21 [Debug] 2 │
│ 00:00:10 #22 [Debug] _1 │
│ 00:00:10 #23 [Debug] 3 │
│ 00:00:11 #24 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:11 #25 [Verbose] waitForPortAccess / port: 5000 / retry: 0 │
│ 00:00:11 #26 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:11 #27 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:11 #28 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:11 #29 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:11 #30 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:11 #31 [Debug] _2 │
│ 00:00:11 #32 [Debug] _3 │
│ 00:00:11 #33 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:11 #34 [Debug] 4 │
│ 00:00:11 #35 [Verbose] waitForPortAccess / port: 5000 / retry: 0 │
│ 00:00:11 #36 [Debug] _4 │
│ 00:00:11 #37 [Debug] _5 │
│ 00:00:11 #38 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:11 #39 [Debug] 5 │
│ 00:00:11 #40 [Debug] 6 │
│ 7 │
│ 7 │
│ 7 │
│ 8 │
│ 8 │
│ 8 │
│ True │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## getAvailablePort │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getAvailablePort timeout initialPort =
let rec loop port = async {
let! isPortOpen =
match timeout with
| None -> testPortOpen port
| Some timeout -> testPortOpenTimeout timeout port
if not isPortOpen
then return port
else return! loop (port + 1)
}
loop initialPort
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let port = 5000
let inline lockPorts () = async {
trace Debug (fun () -> "_1") getLocals
use listener1 = new System.Net.Sockets.TcpListener
(System.Net.IPAddress.Parse "127.0.0.1", port)
use listener2 = new System.Net.Sockets.TcpListener
(System.Net.IPAddress.Parse "127.0.0.1", port + 1)
trace Debug (fun () -> "_2") getLocals
listener1.Start ()
listener2.Start ()
trace Debug (fun () -> "_3") getLocals
do! Async.Sleep 4000
trace Debug (fun () -> "_4") getLocals
listener1.Stop ()
listener2.Stop ()
trace Debug (fun () -> "_5") getLocals
}
async {
trace Debug (fun () -> "1") getLocals
let! child = lockPorts () |> Async.StartChild
trace Debug (fun () -> "2") getLocals
do! Async.Sleep 240
trace Debug (fun () -> "3") getLocals
let! availablePort = getAvailablePort None port
trace Debug (fun () -> "4") getLocals
let! retries = waitForPortAccess None false port
trace Debug (fun () -> "5") getLocals
do! child
trace Debug (fun () -> "6") getLocals
return availablePort, retries
}
|> Async.runWithTimeout 15000
|> function
| Some (availablePort, retries) ->
availablePort |> _equal (port + 2)
retries
|> _isBetween
(if Runtime.isWindows () then 100 else 100)
(if Runtime.isWindows () then 150 else 1200)
true
| _ -> false
|> _equal true
╭─[ 6.49s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:12 #41 [Debug] 1 │
│ 00:00:12 #43 [Debug] _1 │
│ 00:00:12 #42 [Debug] 2 │
│ 00:00:12 #44 [Debug] _2 │
│ 00:00:12 #45 [Debug] _3 │
│ 00:00:12 #46 [Debug] 3 │
│ 00:00:14 #47 [Verbose] testPortOpen / ex: System.AggregateException: One or │
│ more errors occurred. (No connection could be made because the target │
│ machine actively refused it.) │
│ 00:00:14 #48 [Debug] 4 │
│ 00:00:14 #49 [Verbose] waitForPortAccess / port: 5000 / retry: 0 │
│ 00:00:16 #50 [Verbose] waitForPortAccess / port: 5000 / retry: 100 │
│ 00:00:16 #51 [Debug] _4 │
│ 00:00:16 #52 [Debug] _5 │
│ 00:00:18 #53 [Verbose] testPortOpen / ex: System.AggregateException: One or │
│ more errors occurred. (No connection could be made because the target │
│ machine actively refused it.) │
│ 00:00:18 #54 [Debug] 5 │
│ 00:00:18 #55 [Debug] 6 │
│ 5002 │
│ 109 │
│ 109 │
│ 109 │
│ True │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let port = 5000
let inline lockPorts () = async {
trace Debug (fun () -> "_1") getLocals
use listener1 = new System.Net.Sockets.TcpListener
(System.Net.IPAddress.Parse "127.0.0.1", port)
use listener2 = new System.Net.Sockets.TcpListener
(System.Net.IPAddress.Parse "127.0.0.1", port + 1)
trace Debug (fun () -> "_2") getLocals
listener1.Start ()
listener2.Start ()
trace Debug (fun () -> "_3") getLocals
do! Async.Sleep 400
trace Debug (fun () -> "_4") getLocals
listener1.Stop ()
listener2.Stop ()
trace Debug (fun () -> "_5") getLocals
}
async {
trace Debug (fun () -> "1") getLocals
let! child = lockPorts () |> Async.StartChild
trace Debug (fun () -> "2") getLocals
do! Async.Sleep 240
trace Debug (fun () -> "3") getLocals
let! availablePort = getAvailablePort (Some 60) port
trace Debug (fun () -> "4") getLocals
let! retries = waitForPortAccess (Some 60) false port
trace Debug (fun () -> "5") getLocals
do! child
trace Debug (fun () -> "6") getLocals
return availablePort, retries
}
|> Async.runWithTimeout 1500
|> function
| Some (availablePort, retries) ->
availablePort |> _equal (port + 2)
retries
|> _isBetween
(if Runtime.isWindows () then 2 else 1)
(if Runtime.isWindows () then 10 else 120)
true
| _ -> false
|> _equal true
╭─[ 1.00s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:19 #56 [Debug] 1 │
│ 00:00:19 #58 [Debug] _1 │
│ 00:00:19 #57 [Debug] 2 │
│ 00:00:19 #59 [Debug] _2 │
│ 00:00:19 #60 [Debug] _3 │
│ 00:00:19 #61 [Debug] 3 │
│ 00:00:19 #62 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:19 #63 [Debug] 4 │
│ 00:00:19 #64 [Verbose] waitForPortAccess / port: 5000 / retry: 0 │
│ 00:00:19 #65 [Debug] _4 │
│ 00:00:19 #66 [Debug] _5 │
│ 00:00:19 #67 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:19 #68 [Debug] 5 │
│ 00:00:19 #69 [Debug] 6 │
│ 5002 │
│ 3 │
│ 3 │
│ 3 │
│ True │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook Networking.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 324046 bytes to Networking.dib.html
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Runtime (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li
b/net6.0/System.CommandLine.dll"
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
#!import ../nbs/CommonFSharp.fs
#!import ../nbs/Async.fs
#!import ../nbs/AsyncSeq.fs
#!import ../nbs/Runtime.fs
#!import ../nbs/FileSystem.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
a
|> Async.Catch
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module AsyncSeq =
open Common
/// ## subscribeEvent
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks
FSharp.Control.AsyncSeq.unfoldAsync
(fun (...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
open Common
/// ## isWindows
let isWindows =
fun () ->
System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform
System.Runtime.InteropServices.OSPlatform.Windows
|> memoize
/// ## getExecutableSuffix
let inline getExecutableSuffix () =
if isWindows ()
then ".exe"
else ""
/// ## splitCommand
type private CommandParseStep =
| Start
| Path of quoted: bool
| Arguments
let splitCommand (command: string) =
let rec loop (path, args) chars step =
match chars, step with
| ('"' | '\'') :: tail, _ when path = "" -> loop (pat...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module FileSystem =
open Common
/// ## Operators
module Operators =
let inline (</>) a b =
System.IO.Path.Combine (a, b)
open Operators
/// ## createTempDirectoryName
let inline createTempDirectoryName () =
let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name
System.IO.Path.GetTempPath ()
</> $"!{root}"
</> string (newGuidFromDateTime System.DateTime.Now)
/// ## createTempDirectory
let inline createTempDirectory () =
let tempFolder = createTempDirectoryName ()
let result = System.IO.Directory.CreateDirectory tempFolder
if not result.Exists then
let ge...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
open FileSystem.Operators
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## isWindows │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let isWindows =
fun () ->
System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform
System.Runtime.InteropServices.OSPlatform.Windows
|> memoize
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
isWindows ()
╭─[ 75.38ms - return value ]───────────────────────────────────────────────────╮
│ <div class="dni-plaintext"><pre>True</pre></div><style> │
│ .dni-code-hint { │
│ font-style: italic; │
│ overflow: hidden; │
│ white-space: nowrap; │
│ } │
│ .dni-treeview { │
│ white-space: nowrap; │
│ } │
│ .dni-treeview td { │
│ vertical-align: top; │
│ text-align: start; │
│ } │
│ details.dni-treeview { │
│ padding-left: 1em; │
│ } │
│ table td { │
│ text-align: start; │
│ } │
│ table tr { │
│ vertical-align: top; │
│ margin: 0em 0px; │
│ } │
│ table tr td pre │
│ { │
│ vertical-align: top !important; │
│ margin: 0em 0px !important; │
│ } │
│ table th { │
│ text-align: start; │
│ } │
│ </style> │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## getExecutableSuffix │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getExecutableSuffix () =
if isWindows ()
then ".exe"
else ""
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
getExecutableSuffix ()
╭─[ 11.21ms - return value ]───────────────────────────────────────────────────╮
│ .exe │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## splitCommand │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type private CommandParseStep =
| Start
| Path of quoted: bool
| Arguments
let splitCommand (command: string) =
let rec loop (path, args) chars step =
match chars, step with
| ('"' | '\'') :: tail, _ when path = "" -> loop (path, args) tail (Path
true)
| ('"' | '\'') :: tail, Path true -> loop (path, args) tail (Path false)
| ' ' :: tail, Path true -> loop ($"{path} ", args) tail (Path true)
| ' ' :: tail, (Start | Path _) -> loop (path, args) tail Arguments
| char :: tail, Arguments -> loop (path, $"{args}{char}") tail Arguments
| char :: tail, _ -> loop ($"{path}{char}", args) tail step
| _, _ -> path |> String.replace @"\" "/", args
loop ("", "") (command |> Seq.toList) Start
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
splitCommand ""
|> _equal ("", "")
splitCommand "/a/b/c"
|> _equal ("/a/b/c", "")
splitCommand "cat file.txt"
|> _equal ("cat", "file.txt")
splitCommand """..\..\file.exe file1.txt file2.txt"""
|> _equal ("../../file.exe", "file1.txt file2.txt")
splitCommand @"c:\dir\file.exe ""file1.txt file2.txt"""
|> _equal ("c:/dir/file.exe", @"""file1.txt file2.txt""")
splitCommand @"""..\..\dir name\file.exe"" ""file 1.txt"" file2.txt"
|> _equal ("../../dir name/file.exe", @"""file 1.txt"" file2.txt")
splitCommand @"""..\..\file 1.exe"" -c \\""echo 1\\"""
|> _equal ("../../file 1.exe", @"-c \\""echo 1\\""")
splitCommand @"..\..\file 1.exe -c \\""echo 1\\"""
|> _equal ("../../file", @"1.exe -c \\""echo 1\\""")
╭─[ 86.75ms - stdout ]─────────────────────────────────────────────────────────╮
│ ( , ) │
│ ( /a/b/c, ) │
│ ( cat, file.txt ) │
│ ( ../../file.exe, file1.txt file2.txt ) │
│ ( c:/dir/file.exe, "file1.txt file2.txt" ) │
│ ( ../../dir name/file.exe, "file 1.txt" file2.txt ) │
│ ( ../../file 1.exe, -c \\"echo 1\\" ) │
│ ( ../../file, 1.exe -c \\"echo 1\\" ) │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## executeAsync │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type ExecutionLine =
{
ProcessId : int
Line : string
Error : bool
}
type ExecutionOptions =
{
Command : string
WorkingDirectory : string option
CancellationToken : System.Threading.CancellationToken option
OnLine : (ExecutionLine -> Async<unit>) option
}
let inline executeWithOptionsAsync (options : ExecutionOptions) = async {
let fileName, arguments = options.Command |> splitCommand
let workingDirectory = options.WorkingDirectory |> Option.defaultValue ""
trace Debug (fun () -> $"executeAsync / options: {options}") getLocals
let startInfo = System.Diagnostics.ProcessStartInfo (
Arguments = arguments,
CreateNoWindow = true,
FileName = fileName,
RedirectStandardError = true,
RedirectStandardOutput = true,
StandardOutputEncoding = System.Text.Encoding.UTF8,
UseShellExecute = false,
WorkingDirectory = workingDirectory
)
use proc = new System.Diagnostics.Process (StartInfo = startInfo)
let output = System.Collections.Concurrent.ConcurrentStack<string> ()
let inline event error (e: System.Diagnostics.DataReceivedEventArgs) = async
{
if e.Data <> null then
match options.OnLine with
| Some onLine ->
do!
onLine
{
ProcessId = proc.Id
Line = e.Data
Error = error
}
| None -> ()
trace
Verbose
(fun () -> $"> {e.Data}")
Common.getLocals
output.Push
$"{
if error then '[['.ToString() else System.String.Empty
}{
e.Data
}{
if error then ']]'.ToString() else System.String.Empty
}"
}
proc.OutputDataReceived.Add (event false >> Async.StartImmediate)
proc.ErrorDataReceived.Add (event true >> Async.StartImmediate)
if proc.Start () |> not
then failwith $"executeAsync / proc.Start () error"
proc.BeginErrorReadLine ()
proc.BeginOutputReadLine ()
let! ct =
options.CancellationToken
|> Option.defaultValue System.Threading.CancellationToken.None
|> Async.mergeCancellationTokenWithDefaultAsync
use reg = ct.Register (fun _ ->
if not proc.HasExited then proc.Kill ()
)
let! exitCode = async {
try
do! proc.WaitForExitAsync ct |> Async.AwaitTask
return proc.ExitCode
with :? System.Threading.Tasks.TaskCanceledException as ex ->
trace Warning (fun () -> $"executeAsync / WaitForExitAsync / ex: {ex
|> printException}") getLocals
ex |> printException |> output.Push
return System.Int32.MinValue
}
let output = output |> Seq.rev |> String.concat "\n"
trace Debug (fun () ->
$"executeAsync / exitCode: {exitCode} / output.Length: {output.Length}"
) getLocals
return exitCode, output
}
let inline executeAsync command =
executeWithOptionsAsync
{
Command = command
CancellationToken = None
OnLine = None
WorkingDirectory = None
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let tempFolder = FileSystem.createTempDirectory ()
let fileName = "test.txt"
let path = tempFolder </> fileName
async {
let! exitCode, result = executeAsync @$"pwsh -c ""Get-Content {path}"""
exitCode |> _equal 1
result |> _stringContains "not exist"
do! "0" |> FileSystem.writeAllTextAsync path
return!
executeWithOptionsAsync
{
Command = @$"pwsh -c ""Get-Content {fileName}"""
CancellationToken = None
OnLine = None
WorkingDirectory = Some tempFolder
}
}
|> Async.runWithTimeout 10000
|> function
| Some (exitCode, output) ->
exitCode |> _equal 0
output |> _equal "0"
true
| _ -> false
|> _equal true
╭─[ 1.92s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:00 #1 [Debug] executeAsync / options: { Command = │
│ "pwsh -c "Get-Content │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1538-2018-1823-11f69 │
│ 664f16f\test.txt"" │
│ WorkingDirectory = None │
│ CancellationToken = None │
│ OnLine = None } │
│ 00:00:00 #2 [Verbose] > Get-Content: Cannot find path │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1538-2018-1823-11f6 │
│ 9664f16f\test.txt' because it does not exist. │
│ 00:00:00 #3 [Debug] executeAsync / exitCode: 1 / output.Length: 171 │
│ 1 │
│ [Get-Content: Cannot find path │
│ 'C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1538-2018-1823-11f6 │
│ 9664f16f\test.txt' because it does not exist.] │
│ 00:00:00 #4 [Debug] executeAsync / options: { Command = "pwsh -c │
│ "Get-Content test.txt"" │
│ WorkingDirectory = │
│ Some │
│ │
│ "C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1538-2018-1823-11f6 │
│ 9664f16f" │
│ CancellationToken = None │
│ OnLine = None } │
│ 00:00:01 #5 [Verbose] > 0 │
│ 00:00:01 #6 [Debug] executeAsync / exitCode: 0 / output.Length: 1 │
│ 0 │
│ 0 │
│ True │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let tempFolder = FileSystem.createTempDirectory ()
let path = tempFolder </> "test.txt"
let command = @$"pwsh -c ""Get-Content {path}"""
async {
do! "0" |> FileSystem.writeAllTextAsync path
let cts = new System.Threading.CancellationTokenSource ()
trace Debug (fun () -> "1") getLocals
let! result =
executeWithOptionsAsync
{
Command = command
CancellationToken = Some cts.Token
OnLine = None
WorkingDirectory = None
}
|> Async.StartChild
trace Debug (fun () -> "2") getLocals
do! Async.Sleep 100
trace Debug (fun () -> "3") getLocals
cts.Cancel ()
trace Debug (fun () -> "4") getLocals
let! exitCode, output = result
trace Debug (fun () -> "5") getLocals
return exitCode, output
}
|> Async.runWithTimeout 10000
|> function
| Some (exitCode, output) ->
exitCode |> _equal -2147483648
output |> _equal "System.Threading.Tasks.TaskCanceledException: A task
was canceled."
true
| _ -> false
|> _equal true
╭─[ 573.29ms - stdout ]────────────────────────────────────────────────────────╮
│ 00:00:01 #7 [Debug] 1 │
│ 00:00:01 #9 [Debug] 2 │
│ 00:00:01 #8 [Debug] executeAsync / options: { Command = │
│ "pwsh -c "Get-Content │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1538-2201-0199-0179e │
│ 5e29438\test.txt"" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = None } │
│ 00:00:01 #10 [Debug] 3 │
│ 00:00:01 #11 [Debug] 4 │
│ 00:00:01 #12 [Warning] executeAsync / WaitForExitAsync / ex: │
│ System.Threading.Tasks.TaskCanceledException: A task was canceled. │
│ 00:00:01 #13 [Debug] executeAsync / exitCode: -2147483648 / output.Length: │
│ 66 │
│ 00:00:01 #14 [Debug] 5 │
│ -2147483648 │
│ System.Threading.Tasks.TaskCanceledException: A task was canceled. │
│ True │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## splitArgs │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline splitArgs commandLine =
commandLine
|> System.CommandLine.Parsing.CommandLineStringSplitter.Instance.Split
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""a b "c d" e"""
|> splitArgs
|> Seq.toArray
|> _equal [[| "a"; "b"; "c d"; "e" |]]
╭─[ 26.00ms - stdout ]─────────────────────────────────────────────────────────╮
│ [ a, b, c d, e ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## parseArgs │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline parseArgs<'T when 'T :> Argu.IArgParserTemplate> args =
let assemblyName =
System.Reflection.Assembly.GetEntryAssembly().GetName().Name
let errorHandler : Argu.IExiter =
if [[ "Microsoft.DotNet.Interactive.App"; "dotnet-repl" ]] |>
List.contains assemblyName
then Argu.ExceptionExiter ()
else Argu.ProcessExiter (function Argu.ErrorCode.HelpText -> None | _ ->
Some System.ConsoleColor.Red)
let parser =
Argu.ArgumentParser.Create<'T> (
programName = $"{assemblyName}{getExecutableSuffix ()}",
errorHandler = errorHandler
)
parser.ParseCommandLine args
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
[[<RequireQualifiedAccess>]]
type Arguments =
| [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.ExactlyOnce;
Argu.ArguAttributes.Last>]]
Paths of paths : string list
interface Argu.IArgParserTemplate with
member s.Usage =
match s with
| Paths _ -> nameof Paths
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
fun () -> parseArgs<Arguments> [[||]] |> ignore
|> _throwsC (fun ex _ ->
printException ex
|> _stringContains "Argu.ArguParseException: ERROR: missing parameter
'<paths>...'."
)
╭─[ 140.63ms - stdout ]────────────────────────────────────────────────────────╮
│ FSI_0029+it@3-246 │
│ Argu.ArguParseException: ERROR: missing parameter '<paths>...'. │
│ USAGE: dotnet-repl.exe [--help] <paths>... │
│ │
│ PATHS: │
│ │
│ <paths>... Paths │
│ │
│ OPTIONS: │
│ │
│ --help display this list of options. │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline parseAllArgs<'T when 'T :> Argu.IArgParserTemplate> args =
args
|> parseArgs<'T>
|> fun results -> results.GetAllResults ()
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
[[<RequireQualifiedAccess>]]
type Arguments =
| [[<Argu.ArguAttributes.MainCommand; Argu.ArguAttributes.ExactlyOnce;
Argu.ArguAttributes.Last>]]
Paths of paths : string list
interface Argu.IArgParserTemplate with
member s.Usage =
match s with
| Paths _ -> nameof Paths
parseAllArgs<Arguments> [[| "a b"; "c" |]]
|> _equal [[ Arguments.Paths [[ "a b"; "c" ]] ]]
╭─[ 96.26ms - stdout ]─────────────────────────────────────────────────────────╮
│ FSharpList<Arguments> │
│ - paths: [ a b, c ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline parseArgsMap<'T when 'T :> Argu.IArgParserTemplate> args =
args
|> parseAllArgs<'T>
|> List.groupBy CommonFSharp.getUnionCaseName<'T>
|> Map.ofList
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
parseArgsMap<Arguments> [[| "a b"; "c" |]]
|> _equal (
[[ nameof Arguments.Paths, [[ Arguments.Paths [[ "a b"; "c" ]] ]] ]]
|> Map.ofList
)
╭─[ 58.59ms - stdout ]─────────────────────────────────────────────────────────╮
│ FSharpMap<String,FSharpList<Arguments>> │
│ - Key: Paths │
│ Value: FSharpList<Arguments> │
│ - paths: [ a b, c ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook Runtime.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 337195 bytes to Runtime.dib.html
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Toml (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/tomlyn/0.16.2/lib/net6.0/Tomlyn.dll"
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
── fsharp ──────────────────────────────────────────────────────────────────────
let inline (/./) (table: Tomlyn.Model.TomlTable) (key: string) :
Tomlyn.Model.TomlTable =
table.[[key]] :?> Tomlyn.Model.TomlTable
let inline (/../) (table: Tomlyn.Model.TomlTable) (key: string) : 'T seq =
table.[[key]] :?> Tomlyn.Model.TomlArray |> Seq.cast<'T>
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let tomlContent =
"""
[[extension]]
paths = [["/a", "/b"]]
"""
let toml = Tomlyn.Toml.Parse tomlContent
let tomlModel = Tomlyn.Toml.ToModel toml
let paths : string seq = tomlModel /./ "extension" /../ "paths"
paths
|> Seq.toList
|> _equal [[ "/a"; "/b" ]]
╭─[ 106.45ms - stdout ]────────────────────────────────────────────────────────╮
│ [ /a, /b ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook Toml.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 276876 bytes to Toml.dib.html
00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Threading.dib
00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Crypto.dib
00:00:00 #1 [Debug] writeDibCode / output: Fs / path: CommonFSharp.dib
00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Async.dib
00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Networking.dib
00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Common.dib
00:00:00 #1 [Debug] writeDibCode / output: Fs / path: FileSystem.dib
00:00:00 #1 [Debug] writeDibCode / output: Fs / path: AsyncSeq.dib
00:00:00 #9 [Debug] parseDibCode / output: Fs / file: CommonFSharp.dib
00:00:00 #6 [Debug] parseDibCode / output: Fs / file: Common.dib
00:00:00 #4 [Debug] parseDibCode / output: Fs / file: Async.dib
00:00:00 #4 [Debug] parseDibCode / output: Fs / file: AsyncSeq.dib
00:00:00 #4 [Debug] parseDibCode / output: Fs / file: Networking.dib
00:00:00 #8 [Debug] parseDibCode / output: Fs / file: Crypto.dib
00:00:00 #7 [Debug] parseDibCode / output: Fs / file: FileSystem.dib
00:00:00 #6 [Debug] parseDibCode / output: Fs / file: Threading.dib
00:00:00 #10 [Debug] writeDibCode / output: Fs / path: Runtime.dib
00:00:00 #10 [Debug] writeDibCode / output: Fs / path: Toml.dib
00:00:00 #12 [Debug] parseDibCode / output: Fs / file: Toml.dib
00:00:00 #11 [Debug] parseDibCode / output: Fs / file: Runtime.dib
In [ ]:
{ . "$ScriptDir/../apps/plot/build.ps1" } | Invoke-Block
Finished release [optimized] target(s) in 0.07s
In [ ]:
{ . "$ScriptDir/../apps/dir-tree-html/build.ps1" } | Invoke-Block
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # DirTreeHtml (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li
b/net6.0/System.CommandLine.dll"
#r
@"../../../../../../../.nuget/packages/falco.markup/1.0.2/lib/netstandard2.0/Fal
co.Markup.dll"
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
#!import ../nbs/CommonFSharp.fs
#!import ../nbs/Async.fs
#!import ../nbs/AsyncSeq.fs
#!import ../nbs/Networking.fs
#!import ../nbs/Runtime.fs
#!import ../nbs/FileSystem.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
a
|> Async.Catch
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module AsyncSeq =
open Common
/// ## subscribeEvent
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks
FSharp.Control.AsyncSeq.unfoldAsync
(fun (...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Networking =
open Common
/// ## testPortOpen
let inline testPortOpen port = async {
let! ct = Async.CancellationToken
use client = new System.Net.Sockets.TcpClient ()
try
do! client.ConnectAsync ("127.0.0.1", port, ct) |>
Async.awaitValueTaskUnit
return true
with ex ->
trace Verbose (fun () -> $"testPortOpen / ex: {ex |>
printException}") getLocals
return false
}
let inline testPortOpenTimeout timeout port = async {
let! result =
testPortOpen port
|> Async.runWithTimeoutAsync timeout
return
match result with
| None -> false
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
open Common
/// ## isWindows
let isWindows =
fun () ->
System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform
System.Runtime.InteropServices.OSPlatform.Windows
|> memoize
/// ## getExecutableSuffix
let inline getExecutableSuffix () =
if isWindows ()
then ".exe"
else ""
/// ## splitCommand
type private CommandParseStep =
| Start
| Path of quoted: bool
| Arguments
let splitCommand (command: string) =
let rec loop (path, args) chars step =
match chars, step with
| ('"' | '\'') :: tail, _ when path = "" -> loop (pat...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module FileSystem =
open Common
/// ## Operators
module Operators =
let inline (</>) a b =
System.IO.Path.Combine (a, b)
open Operators
/// ## createTempDirectoryName
let inline createTempDirectoryName () =
let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name
System.IO.Path.GetTempPath ()
</> $"!{root}"
</> string (newGuidFromDateTime System.DateTime.Now)
/// ## createTempDirectory
let inline createTempDirectory () =
let tempFolder = createTempDirectoryName ()
let result = System.IO.Directory.CreateDirectory tempFolder
if not result.Exists then
let ge...
── fsharp ──────────────────────────────────────────────────────────────────────
open FileSystem.Operators
open Falco.Markup
── fsharp ──────────────────────────────────────────────────────────────────────
type FileSystemNode =
| File of string * string * int64
| Folder of string * string * FileSystemNode list
| Root of FileSystemNode list
let rec scanDirectory isRoot (basePath : string) (path : string) =
let relativePath = path.Replace(basePath, "").Replace("\\",
"/").Replace("//", "/").TrimStart '/'
let directories =
path
|> System.IO.Directory.GetDirectories
|> Array.toList
|> List.sort
|> List.map (scanDirectory false basePath)
let files =
path
|> System.IO.Directory.GetFiles
|> Array.toList
|> List.sort
|> List.map (fun f -> File (System.IO.Path.GetFileName f, relativePath,
System.IO.FileInfo(f).Length))
let children = directories @ files
if isRoot
then Root children
else Folder (path |> System.IO.Path.GetFileName, relativePath, children)
let rec generateHtml fsNode =
let sizeLabel size =
match float size with
| size when size > 1024.0 * 1024.0 -> $"%.2f{size / 1024.0 / 1024.0} MB"
| size when size > 1024.0 -> $"%.2f{size / 1024.0} KB"
| size -> $"%.2f{size} B"
match fsNode with
| File (fileName, relativePath, size) ->
Elem.div [[]] [[
Text.raw "📄 "
Elem.a [[
Attr.href $"""{relativePath}{if relativePath = "" then "" else
"/"}{fileName}"""
]] [[
Text.raw fileName
]]
Elem.span [[]] [[
Text.raw $" ({size |> sizeLabel})"
]]
]]
| Folder (folderName, relativePath, children) ->
let size =
let rec loop children =
children
|> List.sumBy (function
| File (_, _, size) -> size
| Folder (_, _, children)
| Root children -> loop children
)
loop children
Elem.details [[
Attr.open' "true"
]] [[
Elem.summary [[]] [[
Text.raw "📂 "
Elem.a [[
Attr.href relativePath
]] [[
Text.raw folderName
]]
Elem.span [[]] [[
Text.raw $" ({size |> sizeLabel})"
]]
]]
Elem.div [[]] [[
yield! children |> List.map generateHtml
]]
]]
| Root children ->
Elem.div [[]] [[
yield! children |> List.map generateHtml
]]
let generateHtmlForFileSystem root =
$"""<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
a {{
font-size: 15px;
}}
span {{
font-size: 11px;
}}
div > div {{
padding-left: 10px;
}}
details > div {{
padding-left: 19px;
}}
</style>
</head>
<body>
{root |> generateHtml |> renderNode}
</body>
</html>
"""
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let tempFolder = FileSystem.createTempDirectory ()
let rec loop d n = async {
if n >= 0 then
tempFolder </> d |> System.IO.Directory.CreateDirectory |> ignore
do!
n
|> string
|> String.replicate (n + 1)
|> FileSystem.writeAllTextAsync (tempFolder </> d </> $"file.txt")
do! loop $"{d}/{n}" (n - 1)
}
loop "_.root" 3
|> Async.RunSynchronously
let html =
scanDirectory true tempFolder tempFolder
|> generateHtmlForFileSystem
html
|> _equal """<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
a {
font-size: 15px;
}
span {
font-size: 11px;
}
div > div {
padding-left: 10px;
}
details > div {
padding-left: 19px;
}
</style>
</head>
<body>
<div><details open="true"><summary>📂 <a href="_.root">_.root</a><span>
(10.00 B)</span></summary><div><details open="true"><summary>📂 <a
href="_.root/3">3</a><span> (6.00 B)</span></summary><div><details
open="true"><summary>📂 <a href="_.root/3/2">2</a><span> (3.00
B)</span></summary><div><details open="true"><summary>📂 <a
href="_.root/3/2/1">1</a><span> (1.00 B)</span></summary><div><div>📄 <a
href="_.root/3/2/1/file.txt">file.txt</a><span> (1.00
B)</span></div></div></details><div>📄 <a
href="_.root/3/2/file.txt">file.txt</a><span> (2.00
B)</span></div></div></details><div>📄 <a
href="_.root/3/file.txt">file.txt</a><span> (3.00
B)</span></div></div></details><div>📄 <a
href="_.root/file.txt">file.txt</a><span> (4.00
B)</span></div></div></details></div>
</body>
</html>
"""
html |> Microsoft.DotNet.Interactive.Formatting.Html.ToHtmlContent
╭─[ 217.34ms - return value ]──────────────────────────────────────────────────╮
│ <!DOCTYPE html> │
│ <html lang="en"> │
│ <head> │
│ <meta charset="UTF-8"> │
│ <style> │
│ a { │
│ font-size: 15px; │
│ } │
│ span { │
│ font-size: 11px; │
│ } │
│ div > div { │
│ padding-left: 10px; │
│ } │
│ details > div { │
│ padding-left: 19px; │
│ } │
│ </style> │
│ </head> │
│ <body> │
│ <div><details open="true"><summary>📂 <a │
│ href="_.root">_.root</a><span> (10.00 B)</span></summary><div><details │
│ open="true"><summary>📂 <a href="_.root/3">3</a><span> (6.00 │
│ B)</span></summary><div><details open="true"><summary>📂 <a │
│ href="_.root/3/2">2</a><span> (3.00 B)</span></summary><div><details │
│ open="true"><summary>📂 <a href="_.root/3/2/1">1</a><span> (1.00 │
│ B)</span></summary><div><div>📄 <a │
│ href="_.root/3/2/1/file.txt">file.txt</a><span> (1.00 │
│ B)</span></div></div></deta... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 230.92ms - stdout ]────────────────────────────────────────────────────────╮
│ <!DOCTYPE html> │
│ <html lang="en"> │
│ <head> │
│ <meta charset="UTF-8"> │
│ <style> │
│ a { │
│ font-size: 15px; │
│ } │
│ span { │
│ font-size: 11px; │
│ } │
│ div > div { │
│ padding-left: 10px; │
│ } │
│ details > div { │
│ padding-left: 19px; │
│ } │
│ </style> │
│ </head> │
│ <body> │
│ <div><details open="true"><summary>📂 <a │
│ href="_.root">_.root</a><span> (10.00 B)</span></summary><div><details │
│ open="true"><summary>📂 <a href="_.root/3">3</a><span> (6.00 │
│ B)</span></summary><div><details open="true"><summary>📂 <a │
│ href="_.root/3/2">2</a><span> (3.00 B)</span></summary><div><details │
│ open="true"><summary>📂 <a href="_.root/3/2/1">1</a><span> (1.00 │
│ B)</span></summary><div><div>📄 <a │
│ href="_.root/3/2/1/file.txt">file.txt</a><span> (1.00 │
│ B)</span></div></div></details><div>📄 <a │
│ href="_.root/3/2/file.txt">file.txt</a><span> (2.00 │
│ B)</span></div></div></details><div>📄 <a │
│ href="_.root/3/file.txt">file.txt</a><span> (3.00 │
│ B)</span></div></div></details><div>📄 <a │
│ href="_.root/file.txt">file.txt</a><span> (4.00 │
│ B)</span></div></div></details></div> │
│ </body> │
│ </html> │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Arguments │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
[[<RequireQualifiedAccess>]]
type Arguments =
| [[<Argu.ArguAttributes.ExactlyOnce>]] Dir of string
| [[<Argu.ArguAttributes.ExactlyOnce>]] Html of string
interface Argu.IArgParserTemplate with
member s.Usage =
match s with
| Dir _ -> nameof Dir
| Html _ -> nameof Html
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## main │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let main args =
let argsMap = args |> Runtime.parseArgsMap<Arguments>
let dir =
match argsMap.[[nameof Arguments.Dir]] with
| [[ Arguments.Dir dir ]] -> Some dir
| _ -> None
|> Option.get
let htmlPath =
match argsMap.[[nameof Arguments.Html]] with
| [[ Arguments.Html html ]] -> Some html
| _ -> None
|> Option.get
let fileSystem = scanDirectory true dir dir
let html = generateHtmlForFileSystem fileSystem
html |> FileSystem.writeAllTextAsync htmlPath
|> Async.runWithTimeout 30000
|> function
| Some () -> 0
| None -> 1
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let args =
System.Environment.GetEnvironmentVariable "ARGS"
|> Runtime.splitArgs
|> Seq.toArray
match args with
| [[||]] -> 0
| args -> if main args = 0 then 0 else failwith "main failed"
╭─[ 62.94ms - return value ]───────────────────────────────────────────────────╮
│ <div class="dni-plaintext"><pre>0</pre></div><style> │
│ .dni-code-hint { │
│ font-style: italic; │
│ overflow: hidden; │
│ white-space: nowrap; │
│ } │
│ .dni-treeview { │
│ white-space: nowrap; │
│ } │
│ .dni-treeview td { │
│ vertical-align: top; │
│ text-align: start; │
│ } │
│ details.dni-treeview { │
│ padding-left: 1em; │
│ } │
│ table td { │
│ text-align: start; │
│ } │
│ table tr { │
│ vertical-align: top; │
│ margin: 0em 0px; │
│ } │
│ table tr td pre │
│ { │
│ vertical-align: top !important; │
│ margin: 0em 0px !important; │
│ } │
│ table th { │
│ text-align: start; │
│ } │
│ </style> │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook DirTreeHtml.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 305478 bytes to DirTreeHtml.dib.html
00:00:00 #1 [Debug] writeDibCode / output: Fs / path: DirTreeHtml.dib
00:00:00 #2 [Debug] parseDibCode / output: Fs / file: DirTreeHtml.dib
00:00:00 #1 [Debug] persistCodeProject / packages: [Argu; Falco.Markup; FSharp.Control.AsyncSeq; ... ] / modules: [nbs/Common.fs; nbs/CommonFSharp.fs; nbs/Async.fs; ... ] / path: C:\home\git\polyglot\apps\dir-tree-html / name: DirTreeHtml / code.Length: 4407
00:00:00 #2 [Debug] buildProject / fullPath: C:\home\git\polyglot\apps\dir-tree-html\target\DirTreeHtml.fsproj
00:00:00 #3 [Debug] executeAsync / options: { Command = "dotnet publish -c release -o ../dist -r linux-x64"
WorkingDirectory = Some "C:\home\git\polyglot\apps\dir-tree-html\target"
CancellationToken = None
OnLine = None }
00:00:00 #4 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb for .NET
00:00:00 #5 [Verbose] > Determining projects to restore...
00:00:01 #6 [Verbose] > Restored C:\home\git\polyglot\apps\dir-tree-html\target\DirTreeHtml.fsproj (in 356 ms).
00:00:01 #7 [Verbose] > C:\Program Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\apps\dir-tree-html\target\DirTreeHtml.fsproj]
00:00:07 #8 [Verbose] > DirTreeHtml -> C:\home\git\polyglot\apps\dir-tree-html\target\bin\release\net8.0\linux-x64\DirTreeHtml.dll
00:00:09 #9 [Verbose] > DirTreeHtml -> C:\home\git\polyglot\apps\dir-tree-html\dist\
00:00:09 #10 [Debug] executeAsync / exitCode: 0 / output.Length: 665
00:00:09 #11 [Debug] executeAsync / options: { Command = "dotnet publish -c release -o ../dist -r win-x64"
WorkingDirectory = Some "C:\home\git\polyglot\apps\dir-tree-html\target"
CancellationToken = None
OnLine = None }
00:00:09 #12 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb for .NET
00:00:09 #13 [Verbose] > Determining projects to restore...
00:00:10 #14 [Verbose] > Restored C:\home\git\polyglot\apps\dir-tree-html\target\DirTreeHtml.fsproj (in 413 ms).
00:00:10 #15 [Verbose] > C:\Program Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\apps\dir-tree-html\target\DirTreeHtml.fsproj]
00:00:16 #16 [Verbose] > DirTreeHtml -> C:\home\git\polyglot\apps\dir-tree-html\target\bin\release\net8.0\win-x64\DirTreeHtml.dll
00:00:19 #17 [Verbose] > DirTreeHtml -> C:\home\git\polyglot\apps\dir-tree-html\dist\
00:00:19 #18 [Debug] executeAsync / exitCode: 0 / output.Length: 663
In [ ]:
{ . "$ScriptDir/../apps/spiral/build.ps1" } | Invoke-Block
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ # Supervisor (Polyglot) │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Testing.dib
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
spNetCore.Html.Abstractions.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.Formatting.dll"
open System
open System.IO
open System.Text
open Microsoft.DotNet.Interactive.Formatting
── fsharp - import ─────────────────────────────────────────────────────────────
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.FSharp.dll"
open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
#r
"C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
otNet.Interactive.dll"
open type Microsoft.DotNet.Interactive.Kernel
── fsharp - import ─────────────────────────────────────────────────────────────
#r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll"
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
Formatter.ListExpansionLimit <- 100
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
type AssertExceptionFormatter (ex) =
member _.Text =
ex.ToString()
.Replace("32m", "<span style=\"color: green;\">")
.Replace("36m", "</span>")
.Replace("31m", "<span style=\"color: red;\">")
.Replace("\n", "<br/>\n")
Formatter.Register<AssertExceptionFormatter> ((fun (x :
AssertExceptionFormatter) -> x.Text), "text/html")
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __expect fn log expected actual =
if log then printfn $"{actual.ToDisplayString ()}"
try
"Testing.__expect" |> fn actual expected
with :? Expecto.AssertException as ex ->
AssertExceptionFormatter(ex).Display () |> ignore
failwith (ex.GetType().FullName)
let inline __contains log expected actual = __expect Expecto.Expect.contains log
expected actual
let inline _contains expected actual = __contains true expected actual
let inline __equal log expected actual = __expect Expecto.Expect.equal log
expected actual
let inline _equal expected actual = __equal true expected actual
let inline __isGreaterThan log expected actual = __expect
Expecto.Expect.isGreaterThan log expected actual
let ...
── fsharp - import ─────────────────────────────────────────────────────────────
//// test
let inline __isBetween log a b actual =
let inline isBetween actual (a, b) _ =
__isGreaterThanOrEqual log a actual
__isLessThanOrEqual log b actual
__expect isBetween log (a, b) actual
let inline _isBetween a b actual = __isBetween true a b actual
── fsharp ──────────────────────────────────────────────────────────────────────
#r
@"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
dard2.1/FSharp.Control.AsyncSeq.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
0/System.Reactive.dll"
#r
@"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib/
netstandard2.0/System.Reactive.Linq.dll"
#r
@"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"
#r
@"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li
b/net6.0/System.CommandLine.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.com
mon/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Common.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.http.connections.cli
ent/7.0.0/lib/net7.0/Microsoft.AspNetCore.Http.Connections.Client.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.common/7.0.0
/lib/net7.0/Microsoft.AspNetCore.SignalR.Common.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.client/7.0.0
/lib/net7.0/Microsoft.AspNetCore.SignalR.Client.dll"
#r
@"../../../../../../../.nuget/packages/microsoft.aspnetcore.signalr.client.core/
7.0.0/lib/net7.0/Microsoft.AspNetCore.SignalR.Client.Core.dll"
#r
@"../../../../../../../.nuget/packages/fsharp.json/0.4.1/lib/netstandard2.0/FSha
rp.Json.dll"
── fsharp ──────────────────────────────────────────────────────────────────────
#!import ../nbs/Common.fs
#!import ../nbs/CommonFSharp.fs
#!import ../nbs/Threading.fs
#!import ../nbs/Async.fs
#!import ../nbs/AsyncSeq.fs
#!import ../nbs/Networking.fs
#!import ../nbs/Runtime.fs
#!import ../nbs/FileSystem.fs
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Common =
let nl = System.Environment.NewLine
let q = @""""
let inline cons head tail = head :: tail
module String =
let inline contains (value : string) (input : string) =
input.Contains value
let inline endsWith (value : string) (input : string) =
input.EndsWith value
let inline padLeft totalWidth paddingChar (input : string) =
input.PadLeft (totalWidth, paddingChar)
let inline replace (oldValue : string) (newValue : string) (input :
string) =
input.Replace (oldValue, newValue)
let inline split separator (input : string) =
input.Split separator
let inline spli...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module CommonFSharp =
open Common
/// ## getUnionCaseName
let inline getUnionCaseName<'T> (x: 'T) =
match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
| case, _ -> case.Name
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Threading =
open Common
/// ## newDisposableToken
let inline newDisposableToken (mergeToken:
System.Threading.CancellationToken option) =
let cts = new System.Threading.CancellationTokenSource ()
let cts =
match mergeToken with
| None -> cts
| Some mergeToken ->
System.Threading.CancellationTokenSource.CreateLinkedTokenSource
[[| cts.Token; mergeToken |]]
let disposable = newDisposable cts.Cancel
cts.Token, disposable
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Async =
open Common
/// ## choice
let inline choice asyncs = async {
let e = Event<_> ()
use cts = new System.Threading.CancellationTokenSource ()
let fn =
asyncs
|> Seq.map (fun a -> async {
let! x = a
e.Trigger x
})
|> Async.Parallel
|> Async.Ignore
Async.Start (fn, cts.Token)
let! result = Async.AwaitEvent e.Publish
cts.Cancel ()
return result
}
/// ## map
let inline map fn a = async {
let! x = a
return fn x
}
/// ## catch
let inline catch a =
a
|> Async.Catch
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module AsyncSeq =
open Common
/// ## subscribeEvent
let inline subscribeEvent (event: IEvent<'H, 'A>) map =
let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
'A>(event.AddHandler, event.RemoveHandler)
System.Reactive.Linq.Observable.Select (observable, fun event -> map
event.EventArgs)
|> FSharp.Control.AsyncSeq.ofObservableBuffered
let subscribeToken (token : System.Threading.CancellationToken) =
let tcs = new System.Threading.Tasks.TaskCompletionSource ()
System.Action tcs.SetResult |> token.Register |> ignore
let start = System.DateTime.Now.Ticks
FSharp.Control.AsyncSeq.unfoldAsync
(fun (...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Networking =
open Common
/// ## testPortOpen
let inline testPortOpen port = async {
let! ct = Async.CancellationToken
use client = new System.Net.Sockets.TcpClient ()
try
do! client.ConnectAsync ("127.0.0.1", port, ct) |>
Async.awaitValueTaskUnit
return true
with ex ->
trace Verbose (fun () -> $"testPortOpen / ex: {ex |>
printException}") getLocals
return false
}
let inline testPortOpenTimeout timeout port = async {
let! result =
testPortOpen port
|> Async.runWithTimeoutAsync timeout
return
match result with
| None -> false
...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module Runtime =
open Common
/// ## isWindows
let isWindows =
fun () ->
System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform
System.Runtime.InteropServices.OSPlatform.Windows
|> memoize
/// ## getExecutableSuffix
let inline getExecutableSuffix () =
if isWindows ()
then ".exe"
else ""
/// ## splitCommand
type private CommandParseStep =
| Start
| Path of quoted: bool
| Arguments
let splitCommand (command: string) =
let rec loop (path, args) chars step =
match chars, step with
| ('"' | '\'') :: tail, _ when path = "" -> loop (pat...
── fsharp - import ─────────────────────────────────────────────────────────────
#if !INTERACTIVE
namespace Polyglot
#endif
module FileSystem =
open Common
/// ## Operators
module Operators =
let inline (</>) a b =
System.IO.Path.Combine (a, b)
open Operators
/// ## createTempDirectoryName
let inline createTempDirectoryName () =
let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name
System.IO.Path.GetTempPath ()
</> $"!{root}"
</> string (newGuidFromDateTime System.DateTime.Now)
/// ## createTempDirectory
let inline createTempDirectory () =
let tempFolder = createTempDirectoryName ()
let result = System.IO.Directory.CreateDirectory tempFolder
if not result.Exists then
let ge...
── fsharp ──────────────────────────────────────────────────────────────────────
open Common
open FileSystem.Operators
open Microsoft.AspNetCore.SignalR.Client
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## sendJson │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline sendJson (port : int) (json : string) = async {
let! portOpen = Networking.testPortOpen port
if portOpen then
try
let connection =
HubConnectionBuilder().WithUrl($"http://127.0.0.1:{port}").Build()
do! connection.StartAsync () |> Async.AwaitTask
let! result = connection.InvokeAsync<string>("ClientToServerMsg",
json) |> Async.AwaitTask
do! connection.StopAsync () |> Async.AwaitTask
trace Debug (fun () -> $"sendJson / port: {port} / json: {json} /
result.Length: {result |> Option.ofObj |> Option.map String.length}") getLocals
return Some result
with ex ->
trace Critical (fun () -> $"sendJson / port: {port} / json: {json} /
ex: {ex |> printException}") getLocals
return None
else
trace Debug (fun () -> "sendJson / error: port not open") getLocals
return None
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## sendObj │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline sendObj port obj =
obj
|> System.Text.Json.JsonSerializer.Serialize
|> sendJson port
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## awaitCompiler │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
type VSCPos = {| line : int; character : int |}
type VSCRange = VSCPos * VSCPos
type RString = VSCRange * string
type TracedError = {| trace : string list; message : string |}
type ClientErrorsRes =
| FatalError of string
| TracedError of TracedError
| PackageErrors of {| uri : string; errors : RString list |}
| TokenizerErrors of {| uri : string; errors : RString list |}
| ParserErrors of {| uri : string; errors : RString list |}
| TypeErrors of {| uri : string; errors : RString list |}
── fsharp ──────────────────────────────────────────────────────────────────────
let inline awaitCompiler port cancellationToken = async {
let! ct =
cancellationToken
|> Option.defaultValue System.Threading.CancellationToken.None
|> Async.mergeCancellationTokenWithDefaultAsync
let cts = new System.Threading.CancellationTokenSource ()
let compiler = MailboxProcessor.Start (fun inbox -> async {
let! availablePort = Networking.getAvailablePort (Some 60) port
if availablePort <> port then
inbox.Post port
else
let repositoryRoot = FileSystem.getSourceDirectory () |>
FileSystem.findParent ".paket" false
let compilerPath =
repositoryRoot </> "deps/The-Spiral-Language/The Spiral Language
2/artifacts/bin/The Spiral Language 2/release"
|> System.IO.Path.GetFullPath
let dllPath = compilerPath </> "Spiral.dll"
let! exitCode, result =
Runtime.executeWithOptionsAsync
{
Command = $@"dotnet ""{dllPath}"" port={availablePort}"
CancellationToken = Some ct
WorkingDirectory = None
OnLine = Some <| fun { Line = line } -> async {
if line |> String.contains $"Server bound to:
http://localhost:{availablePort}" then
do! Networking.waitForPortAccess (Some 500) true
availablePort |> Async.Ignore
let rec loop retry = async {
let getLocals () = $"port: {availablePort} /
retry: {retry} / {getLocals ()}"
try
let pingObj = {| Ping = true |}
let! pingResult = pingObj |> sendObj
availablePort
trace Verbose (fun () -> $"awaitCompiler
/ Ping / result: {pingResult}") getLocals
with ex ->
trace Verbose (fun () -> $"awaitCompiler
/ Ping / ex: {ex |> printException}") getLocals
do! Async.Sleep 10
do! loop (retry + 1)
}
do! loop 0
inbox.Post availablePort
}
}
trace Debug (fun () -> $"awaitCompiler / exitCode: {exitCode} /
result: {result}") getLocals
cts.Cancel ()
}, ct)
let! serverPort = compiler.Receive ()
let connection =
HubConnectionBuilder().WithUrl($"http://127.0.0.1:{serverPort}").Build ()
do! connection.StartAsync () |> Async.AwaitTask
let event = Event<_> ()
let disposable = connection.On<string> ("ServerToClientMsg", event.Trigger)
let stream =
FSharp.Control.AsyncSeq.unfoldAsync
(fun () -> async {
let! msg = event.Publish |> Async.AwaitEvent
return Some (msg |>
FSharp.Json.Json.deserialize<ClientErrorsRes>, ())
})
()
let disposable =
newDisposable (fun () ->
disposable.Dispose ()
connection.StopAsync () |> Async.AwaitTask |> Async.StartImmediate
)
return
serverPort,
stream,
cts.Token,
disposable
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## getFileUri │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getFileUri path =
$"file:///{path |> String.trimStart [[| '/' |]]}"
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getFilePathFromUri uri =
match System.Uri.TryCreate (uri, System.UriKind.Absolute) with
| true, uri -> uri.AbsolutePath |> System.IO.Path.GetFullPath
| _ -> failwith "invalid uri"
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getCompilerPort () =
13805
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## buildFile │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline buildFile timeout port cancellationToken path = async {
let fullPath = path |> System.IO.Path.GetFullPath
let fileDir = fullPath |> System.IO.Path.GetDirectoryName
let fileName = fullPath |> System.IO.Path.GetFileNameWithoutExtension
let! code = fullPath |> FileSystem.readAllTextAsync
let eventFilter = function
| FileSystem.FileSystemChange.Changed (path, _) when path =
$"{fileName}.fsx" -> true
| _ -> false
let stream, disposable = fileDir |> FileSystem.watchDirectory eventFilter
use _ = disposable
let token, disposable = Threading.newDisposableToken cancellationToken
use _ = disposable
let! serverPort, errors, ct, disposable = awaitCompiler port (Some token)
use _ = disposable
let fsxContentSeq =
stream
|> FSharp.Control.AsyncSeq.choose (function
| _, (FileSystem.FileSystemChange.Changed (path, Some content) as
event)
when event |> eventFilter
->
Some content
| _ -> None
)
|> FSharp.Control.AsyncSeq.map (fun content ->
Some (content |> String.replace "\r\n" "\n"), None
)
let inline printErrorData (data : {| uri : string; errors : RString list |})
=
let fileName = data.uri |> System.IO.Path.GetFileName
let errors =
data.errors
|> List.map snd
|> String.concat "\n"
$"{fileName}:\n{errors}"
let errorsSeq =
errors
|> FSharp.Control.AsyncSeq.choose (fun error ->
match error with
| FatalError message ->
Some (message, error)
| TracedError data ->
Some (data.message, error)
| PackageErrors data when data.errors |> List.isEmpty |> not ->
Some (data |> printErrorData, error)
| TokenizerErrors data when data.errors |> List.isEmpty |> not ->
Some (data |> printErrorData, error)
| ParserErrors data when data.errors |> List.isEmpty |> not ->
Some (data |> printErrorData, error)
| TypeErrors data when data.errors |> List.isEmpty |> not ->
Some (data |> printErrorData, error)
| _ -> None
)
|> FSharp.Control.AsyncSeq.map (fun (message, error) ->
None, Some (message, error)
)
let timerSeq =
1000
|> FSharp.Control.AsyncSeq.intervalMs
|> FSharp.Control.AsyncSeq.map (fun _ -> None, None)
let outputSeq =
[[ fsxContentSeq; errorsSeq; timerSeq ]]
|> FSharp.Control.AsyncSeq.mergeAll
let! outputChild =
((None, [[]], 0), outputSeq)
||> FSharp.Control.AsyncSeq.scan (
fun (fsxContentResult, errors, typeErrorCount) (fsxContent, error)
->
match fsxContent, error with
| Some fsxContent, None -> Some fsxContent, errors,
typeErrorCount
| None, Some (_, FatalError "File main has a type error
somewhere in its path.") ->
fsxContentResult, errors, typeErrorCount + 1
| None, Some error -> fsxContentResult, error :: errors,
typeErrorCount
| None, None when typeErrorCount >= 1 ->
fsxContentResult, errors, typeErrorCount + 1
| _ -> fsxContentResult, errors, typeErrorCount
)
|> FSharp.Control.AsyncSeq.takeWhileInclusive (fun (fsxContent, errors,
typeErrorCount) ->
trace Debug (fun () -> $"buildFile / takeWhileInclusive /
fsxContent: {fsxContent} / errors: {errors} / typeErrorCount: {typeErrorCount}")
getLocals
match fsxContent, errors with
| None, [[]] when typeErrorCount > 2 -> false
| None, [[]] -> true
| _ -> false
)
|> FSharp.Control.AsyncSeq.tryLast
|> Async.withCancellationToken ct
|> Async.catch
|> Async.runWithTimeoutAsync timeout
|> Async.StartChild
let fileOpenObj = {| FileOpen = {| uri = fullPath |> getFileUri; spiText =
code |} |}
let! _fileOpenResult = fileOpenObj |> sendObj serverPort
do! Async.Sleep 30
let buildFileObj = {| BuildFile = {| uri = fullPath |> getFileUri; backend =
"Fsharp" |} |}
let! _buildFileResult = buildFileObj |> sendObj serverPort
return!
outputChild
|> Async.map (function
| Some (Ok (Some (message, errors, _))) -> message, errors |>
List.distinct |> List.rev
| Some (Error ex) ->
trace Critical (fun () -> $"buildFile / error: {ex |>
printException}") getLocals
None, [[]]
| _ -> None, [[]]
)
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## persistCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline persistCode code = async {
let tempDir = FileSystem.createTempDirectory ()
let mainPath = tempDir </> "main.spi"
do! code |> FileSystem.writeAllTextAsync mainPath
let repositoryRoot = FileSystem.getSourceDirectory () |>
FileSystem.findParent ".paket" false
let spiprojPath = tempDir </> "package.spiproj"
let spiprojCode =
$"""packageDir: {repositoryRoot </> "lib"}
packages:
|core-
spiral-
modules:
main
"""
do! spiprojCode |> FileSystem.writeAllTextAsync spiprojPath
let disposable = newDisposable (fun () ->
()
// tempDir |> FileSystem.deleteDirectoryAsync |> Async.Ignore |>
Async.RunSynchronously
)
return mainPath, disposable
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## buildCode │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline buildCode timeout cancellationToken code = async {
let! mainPath, disposable = persistCode code
use _ = disposable
let port = getCompilerPort ()
return! mainPath |> buildFile timeout port cancellationToken
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let buildCode timeout cancellationToken code = buildCode timeout
cancellationToken code
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""inl app () =
console.write_line "text"
1i32
inl main () =
app
|> dyn
|> ignore
"""
|> buildCode 15000 None
|> Async.runWithTimeout 15000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _equal (
Some (
Some """let rec closure0 () () : int32 =
let v0 : string = "text"
System.Console.WriteLine v0
1
let v0 : (unit -> int32) = closure0()
()
""",
[[]]
)
)
╭─[ 3.17s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:00 #2 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:buildCode@3-983> } │
│ 00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:00 #4 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0 │
│ 00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:01 #10 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:01 #11 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:01 #12 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl app () =\n console.write_line │
│ \u0022text\u0022\n 1i32\n\ninl main () =\n app\n |\u003E dyn\n │
│ |\u003E │
│ ignore\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-rep │
│ l\\20231025-1539-4166-6691-6fbc79d9e0ae\\main.spi"}} / result.Length: │
│ 00:00:01 #13 [Debug] sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │
│ ocal\\Temp\\!dotnet-repl\\20231025-1539-4166-6691-6fbc79d9e0ae\\main.spi"}} │
│ / result.Length: │
│ 00:00:01 #14 [Verbose] > Building │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1539-4166-6691-6fbc7 │
│ 9d9e0ae\main.spi │
│ 00:00:02 #15 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:02 #16 [Debug] buildFile / takeWhileInclusive / fsxContent: Some(let │
│ rec closure0 () () : int32 = │
│ let v0 : string = "text" │
│ System.Console.WriteLine v0 │
│ 1 │
│ let v0 : (unit -> int32) = closure0() │
│ () │
│ ) / errors: [] / typeErrorCount: 0 │
│ 00:00:02 #17 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>> │
│ Value: - FSharpOption<String> │
│ Value: let rec closure0 () () : int32 = │
│ let v0 : string = "text" │
│ System.Console.WriteLine v0 │
│ 1 │
│ let v0 : (unit -> int32) = closure0() │
│ () │
│ │
│ - [ ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> _equal None
╭─[ 10.26s - stdout ]──────────────────────────────────────────────────────────╮
│ 00:00:03 #18 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:03 #19 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:buildCode@3-983> } │
│ 00:00:03 #20 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:03 #21 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:03 #22 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:04 #23 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:04 #24 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:04 #25 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:04 #26 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:04 #27 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:04 #28 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\T │
│ emp\\!dotnet-repl\\20231025-1539-4487-8769-8674b8064160\\main.spi"}} / │
│ result.Length: │
│ 00:00:04 #29 [Debug] sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │
│ ocal\\Temp\\!dotnet-repl\\20231025-1539-4487-8769-8674b8064160\\main.spi"}} │
│ / result.Length: │
│ 00:00:04 #30 [Verbose] > Building │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1539-4487-8769-8674b │
│ 8064160\main.spi │
│ 00:00:05 #31 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:05 #32 [Verbose] > Cannot find `main` in file main. │
│ 00:00:05 #33 [Verbose] > Build skipped for │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1539-4487-8769-8674b │
│ 8064160\main.spi │
│ 00:00:06 #34 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:07 #35 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:08 #36 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:09 #37 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:10 #38 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:11 #39 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:12 #40 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:13 #41 [Debug] runWithTimeoutAsync / timeout: 10000 │
│ 00:00:13 #42 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ <null> │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"inl app () =
0i32
inl a = 1
inl main () =
app
|> dyn
|> ignore
"
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _equal (
Some (
None,
[[ "main.spi:
Global inl/let statements should all return functions known at parse time." ]]
)
)
╭─[ 1.72s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:13 #43 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:13 #44 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:13 #45 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:buildCode@3-983> } │
│ 00:00:13 #46 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:13 #47 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:14 #50 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:14 #51 [Verbose] waitForPortAccess / port: 13805 / retry: 0 │
│ 00:00:14 #52 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:14 #53 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:14 #54 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:14 #55 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:14 #56 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:14 #57 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl app () =\n 0i32\n\ninl a = 1\n\ninl main () │
│ =\n app\n |\u003E dyn\n |\u003E │
│ ignore\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-rep │
│ l\\20231025-1539-5515-1529-1c8c3d4cb567\\main.spi"}} / result.Length: │
│ 00:00:14 #58 [Debug] sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │
│ ocal\\Temp\\!dotnet-repl\\20231025-1539-5515-1529-1c8c3d4cb567\\main.spi"}} │
│ / result.Length: │
│ 00:00:14 #59 [Verbose] > Building │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1539-5515-1529-1c8c3 │
│ d4cb567\main.spi │
│ 00:00:14 #60 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [(main.spi: │
│ Global inl/let statements should all return functions known at parse time., │
│ ParserErrors │
│ { errors = │
│ [(({ character = 0 │
│ line = 3 }, { character = 9 │
│ line = 3 }), │
│ "Global inl/let statements should all return functions known at parse │
│ time.")] │
│ uri = │
│ │
│ "file:///C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1539-5515-1 │
│ 529-1c8c3d4cb567\main.spi" })] / typeErrorCount: 0 │
│ 00:00:14 #61 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>> │
│ Value: - <null> │
│ - [ main.spi: │
│ Global inl/let statements should all return functions known at parse time. ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""inl main () =
1i32 / 0i32
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _equal (
Some (
None,
[[ "An attempt to divide by zero has been detected at compile time." ]]
)
)
╭─[ 2.40s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:15 #63 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:15 #64 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:buildCode@3-983> } │
│ 00:00:15 #65 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:15 #66 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:15 #67 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:16 #68 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:16 #69 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:16 #70 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:16 #71 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:16 #72 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:16 #73 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl main () =\n 1i32 / │
│ 0i32\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\ │
│ \20231025-1539-5689-8908-8023e73c4063\\main.spi"}} / result.Length: │
│ 00:00:16 #74 [Debug] sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │
│ ocal\\Temp\\!dotnet-repl\\20231025-1539-5689-8908-8023e73c4063\\main.spi"}} │
│ / result.Length: │
│ 00:00:16 #76 [Verbose] > Building │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1539-5689-8908-8023e │
│ 73c4063\main.spi │
│ 00:00:17 #77 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:17 #79 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [(An attempt to divide by zero has been detected at compile time., │
│ TracedError │
│ { message = "An attempt to divide by zero has been detected at compile │
│ time." │
│ trace = │
│ ["Error trace on line: 1, column: 10 in module: │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1539-5689-8908-8023e │
│ 73c4063\main.spi. │
│ inl main () = │
│ ^ │
│ "; │
│ "Error trace on line: 2, column: 5 in module: │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1539-5689-8908-8023e │
│ 73c4063\main.spi. │
│ 1i32 / 0i32 │
│ ^ │
│ "] })] / typeErrorCount: 0 │
│ 00:00:17 #80 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>> │
│ Value: - <null> │
│ - [ An attempt to divide by zero has been detected at compile time. ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""inl main () =
1 + ""
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _equal (
Some (
None,
[[
"main.spi:
Constraint satisfaction error.
Got: string
Fails to satisfy: number"
]]
)
)
╭─[ 2.22s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:17 #81 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:17 #82 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:buildCode@3-983> } │
│ 00:00:17 #83 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:17 #84 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:18 #86 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:18 #87 [Verbose] waitForPortAccess / port: 13805 / retry: 0 │
│ 00:00:18 #88 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:18 #89 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:18 #90 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:18 #91 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:18 #92 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:18 #93 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl main () =\n 1 \u002B │
│ \u0022\u0022\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotn │
│ et-repl\\20231025-1539-5935-3587-36750b28a4c6\\main.spi"}} / result.Length: │
│ 00:00:18 #94 [Debug] sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │
│ ocal\\Temp\\!dotnet-repl\\20231025-1539-5935-3587-36750b28a4c6\\main.spi"}} │
│ / result.Length: │
│ 00:00:18 #95 [Verbose] > Building │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1539-5935-3587-36750 │
│ b28a4c6\main.spi │
│ 00:00:19 #97 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 1 │
│ 00:00:19 #98 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [(main.spi: │
│ Constraint satisfaction error. │
│ Got: string │
│ Fails to satisfy: number, TypeErrors │
│ { errors = │
│ [(({ character = 8 │
│ line = 1 }, { character = 10 │
│ line = 1 }), │
│ "Constraint satisfaction error. │
│ Got: string │
│ Fails to satisfy: number")] │
│ uri = │
│ │
│ "file:///C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1539-5935-3 │
│ 587-36750b28a4c6\main.spi" })] / typeErrorCount: 1 │
│ 00:00:19 #99 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>> │
│ Value: - <null> │
│ - [ main.spi: │
│ Constraint satisfaction error. │
│ Got: string │
│ Fails to satisfy: number ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""inl main () =
x + y
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _equal (
Some (
None,
[[
"main.spi:
Unbound variable.
Unbound variable."
]]
)
)
╭─[ 2.14s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:19 #100 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:19 #101 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:buildCode@3-983> } │
│ 00:00:20 #102 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:20 #103 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:20 #105 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:20 #106 [Verbose] waitForPortAccess / port: 13805 / retry: 0 │
│ 00:00:20 #107 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:20 #108 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:20 #109 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:20 #110 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:20 #111 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:20 #112 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl main () =\n x \u002B │
│ y\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\20 │
│ 231025-1540-0154-5487-5bb36dd1be50\\main.spi"}} / result.Length: │
│ 00:00:20 #113 [Debug] sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │
│ ocal\\Temp\\!dotnet-repl\\20231025-1540-0154-5487-5bb36dd1be50\\main.spi"}} │
│ / result.Length: │
│ 00:00:21 #114 [Verbose] > Building │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1540-0154-5487-5bb36 │
│ dd1be50\main.spi │
│ 00:00:21 #116 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 1 │
│ 00:00:21 #117 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [(main.spi: │
│ Unbound variable. │
│ Unbound variable., TypeErrors │
│ { errors = │
│ [(({ character = 4 │
│ line = 1 }, { character = 5 │
│ line = 1 }), "Unbound variable."); │
│ (({ character = 8 │
│ line = 1 }, { character = 9 │
│ line = 1 }), "Unbound variable.")] │
│ uri = │
│ │
│ "file:///C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1540-0154-5 │
│ 487-5bb36dd1be50\main.spi" })] / typeErrorCount: 1 │
│ 00:00:21 #118 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>> │
│ Value: - <null> │
│ - [ main.spi: │
│ Unbound variable. │
│ Unbound variable. ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""union a =
| B
| c
inl main () =
()
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _equal (
Some (
None,
[[ "main.spi:
Expected: uppercase variable" ]]
)
)
╭─[ 1.77s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:22 #119 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:22 #120 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:buildCode@3-983> } │
│ 00:00:22 #122 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:22 #123 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:22 #124 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:22 #125 [Verbose] waitForPortAccess / port: 13805 / retry: 0 │
│ 00:00:23 #126 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:23 #127 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:23 #128 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:23 #129 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:23 #130 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:23 #131 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"union a =\n | B\n | c\n\ninl main () =\n │
│ ()\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\2 │
│ 0231025-1540-0380-8002-8ecf7d6ff71e\\main.spi"}} / result.Length: │
│ 00:00:23 #132 [Debug] sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │
│ ocal\\Temp\\!dotnet-repl\\20231025-1540-0380-8002-8ecf7d6ff71e\\main.spi"}} │
│ / result.Length: │
│ 00:00:23 #134 [Verbose] > Building │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1540-0380-8002-8ecf7 │
│ d6ff71e\main.spi │
│ 00:00:23 #135 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [(main.spi: │
│ Expected: uppercase variable, ParserErrors │
│ { errors = [(({ character = 6 │
│ line = 2 }, { character = 7 │
│ line = 2 }), "Expected: uppercase │
│ variable")] │
│ uri = │
│ │
│ "file:///C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1540-0380-8 │
│ 002-8ecf7d6ff71e\main.spi" })] / typeErrorCount: 0 │
│ 00:00:23 #136 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>> │
│ Value: - <null> │
│ - [ main.spi: │
│ Expected: uppercase variable ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""
/// abc
inl main () =
()
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _equal (
Some (
None,
[[ "main.spi:
Expected: whitespace" ]]
)
)
╭─[ 1.50s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:23 #137 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:23 #138 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:buildCode@3-983> } │
│ 00:00:24 #139 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:24 #140 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:24 #142 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:24 #143 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:24 #144 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:24 #145 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:24 #146 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:24 #147 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:24 #148 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"\n/// abc\ninl main () =\n │
│ ()\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\2 │
│ 0231025-1540-0552-5282-5ec424a5a658\\main.spi"}} / result.Length: │
│ 00:00:24 #149 [Debug] sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │
│ ocal\\Temp\\!dotnet-repl\\20231025-1540-0552-5282-5ec424a5a658\\main.spi"}} │
│ / result.Length: │
│ 00:00:25 #150 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [(main.spi: │
│ Expected: whitespace, TokenizerErrors │
│ { errors = [(({ character = 2 │
│ line = 1 }, { character = 3 │
│ line = 1 }), "Expected: whitespace")] │
│ uri = │
│ │
│ "file:///C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1540-0552-5 │
│ 282-5ec424a5a658\main.spi" })] / typeErrorCount: 0 │
│ 00:00:25 #151 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>> │
│ Value: - <null> │
│ - [ main.spi: │
│ Expected: whitespace ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""
inl main () =
real
inl real_unbox forall a. (obj : a) : a =
typecase obj with
| _ => obj
real_unbox ()
()
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _equal (
Some (
None,
[[ "Cannot apply a forall with a term." ]]
)
)
╭─[ 2.74s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:25 #153 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:25 #154 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:buildCode@3-983> } │
│ 00:00:25 #155 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:25 #156 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:26 #157 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:26 #159 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:26 #160 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:26 #161 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:26 #162 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:26 #163 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:26 #164 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"\ninl main () =\n real\n inl real_unbox │
│ forall a. (obj : a) : a =\n typecase obj with\n | _ │
│ =\u003E obj\n real_unbox ()\n │
│ ()\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\2 │
│ 0231025-1540-0716-1643-193724e70c19\\main.spi"}} / result.Length: │
│ 00:00:26 #165 [Debug] sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │
│ ocal\\Temp\\!dotnet-repl\\20231025-1540-0716-1643-193724e70c19\\main.spi"}} │
│ / result.Length: │
│ 00:00:26 #166 [Verbose] > Building │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1540-0716-1643-19372 │
│ 4e70c19\main.spi │
│ 00:00:27 #168 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:27 #169 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [(Cannot apply a forall with a term., TracedError │
│ { message = "Cannot apply a forall with a term." │
│ trace = │
│ ["Error trace on line: 2, column: 10 in module: │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1540-0716-1643-19372 │
│ 4e70c19\main.spi. │
│ inl main () = │
│ ^ │
│ "; │
│ "Error trace on line: 4, column: 9 in module: │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1540-0716-1643-19372 │
│ 4e70c19\main.spi. │
│ inl real_unbox forall a. (obj : a) : a = │
│ ^ │
│ "; │
│ "Error trace on line: 7, column: 9 in module: │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1540-0716-1643-19372 │
│ 4e70c19\main.spi. │
│ real_unbox () │
│ ^ │
│ "] })] / typeErrorCount: 0 │
│ 00:00:27 #170 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>> │
│ Value: - <null> │
│ - [ Cannot apply a forall with a term. ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""
inl main () =
real
inl real_unbox forall a. (obj : a) : a =
typecase obj with
| _ => obj
real_unbox `i32 1
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _equal (
Some (
None,
[[ "The main function should not have a forall." ]]
)
)
╭─[ 2.38s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:28 #171 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:28 #172 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:buildCode@3-983> } │
│ 00:00:28 #174 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:28 #175 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:28 #176 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:28 #177 [Verbose] waitForPortAccess / port: 13805 / retry: 0 │
│ 00:00:29 #178 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:29 #179 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:29 #180 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:29 #181 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:29 #182 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:29 #183 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"\ninl main () =\n real\n inl real_unbox │
│ forall a. (obj : a) : a =\n typecase obj with\n | _ │
│ =\u003E obj\n real_unbox \u0060i32 │
│ 1\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\20 │
│ 231025-1540-0985-8548-8baac7f878dd\\main.spi"}} / result.Length: │
│ 00:00:29 #184 [Debug] sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │
│ ocal\\Temp\\!dotnet-repl\\20231025-1540-0985-8548-8baac7f878dd\\main.spi"}} │
│ / result.Length: │
│ 00:00:29 #186 [Verbose] > Building │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1540-0985-8548-8baac │
│ 7f878dd\main.spi │
│ 00:00:30 #187 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:30 #188 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [(The main function should not have a forall., TracedError { message │
│ = "The main function should not have a forall." │
│ trace = [] })] / typeErrorCount: 0 │
│ 00:00:30 #189 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>> │
│ Value: - <null> │
│ - [ The main function should not have a forall. ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""
inl init_series start end inc =
inl total : f64 = conv ((end - start) / inc) + 1
listm.init total (conv >> (*) inc >> (+) start) : list f64
type integration = (f64 -> f64) -> f64 -> f64 -> f64
inl integral dt : integration =
fun f a b =>
init_series (a + dt / 2) (b - dt / 2) dt
|> listm.map (f >> (*) dt)
|> listm.fold (+) 0
inl main () =
integral 0.1 (fun x => x ** 2) 0 1
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
|> _equal (
Some (
Some "0.3325000000000001\n",
[[]]
)
)
╭─[ 2.62s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:30 #191 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:30 #192 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:buildCode@3-983> } │
│ 00:00:30 #193 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:30 #194 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:31 #195 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:31 #196 [Verbose] waitForPortAccess / port: 13805 / retry: 0 │
│ 00:00:31 #198 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:31 #199 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:31 #200 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:31 #201 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:31 #202 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:31 #203 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"\ninl init_series start end inc =\n inl total : │
│ f64 = conv ((end - start) / inc) \u002B 1\n listm.init total (conv │
│ \u003E\u003E (*) inc \u003E\u003E (\u002B) start) : list f64\n\ntype │
│ integration = (f64 -\u003E f64) -\u003E f64 -\u003E f64 -\u003E f64\n\ninl │
│ integral dt : integration =\n fun f a b =\u003E\n init_series (a │
│ \u002B dt / 2) (b - dt / 2) dt\n |\u003E listm.map (f \u003E\u003E │
│ (*) dt)\n |\u003E listm.fold (\u002B) 0\n\ninl main () =\n │
│ integral 0.1 (fun x =\u003E x ** 2) 0 │
│ 1\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\20 │
│ 231025-1540-1222-2258-2929b3172523\\main.spi"}} / result.Length: │
│ 00:00:31 #204 [Debug] sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │
│ ocal\\Temp\\!dotnet-repl\\20231025-1540-1222-2258-2929b3172523\\main.spi"}} │
│ / result.Length: │
│ 00:00:31 #205 [Verbose] > Building │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1540-1222-2258-2929b │
│ 3172523\main.spi │
│ 00:00:32 #207 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:32 #208 [Debug] buildFile / takeWhileInclusive / fsxContent: │
│ Some(0.3325000000000001 │
│ ) / errors: [] / typeErrorCount: 0 │
│ 00:00:32 #209 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ FSharpOption<Tuple<FSharpOption<String>,FSharpList<String>>> │
│ Value: - FSharpOption<String> │
│ Value: 0.3325000000000001 │
│ │
│ - [ ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""
inl init_series start end inc =
inl total : f64 = conv ((end - start) / inc) + 1
listm.init total (conv >> (*) inc >> (+) start) : list f64
type integration = (f64 -> f64) -> f64 -> f64 -> f64
inl integral dt : integration =
fun f a b =>
init_series (a + dt / 2) (b - dt / 2) dt
|> listm.map (f >> (*) dt)
|> listm.fold (+) 0
inl main () =
integral 0.01 (fun x => x ** 2) 0 1
"""
|> buildCode 10000 None
|> Async.runWithTimeout 10000
|> Option.map (fun (fsxContent, errors) -> fsxContent, errors |> List.map fst)
// |> _equal None
// |> fun x -> printfn $"{x.ToDisplayString ()}"
╭─[ 7.05s - return value ]─────────────────────────────────────────────────────╮
│ <details open="open" class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>Some((, [ │
│ ]))</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><t │
│ d>Value</td><td><details class="dni-treeview"><summary><span │
│ class="dni-code-hint"><code>(, [ │
│ ])</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │
│ >Item1</td><td><div │
│ class="dni-plaintext"><pre><null></pre></div></td></tr><tr><td>Item2</ │
│ td><td><div class="dni-plaintext"><pre>[ │
│ ]</pre></div></td></tr></tbody></table></div></details></td></tr></tbody></t │
│ able></div></details><style> │
│ .dni-code-hint { │
│ font-style: italic; │
│ overflow: hidden; │
│ white-space: nowrap; │
│ } │
│ .dni-treeview { │
│ white-space: nowrap; │
│ } │
│ .dni-treeview td { │
│ ve... │
╰──────────────────────────────────────────────────────────────────────────────╯
╭─[ 7.08s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:33 #210 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:33 #211 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:buildCode@3-983> } │
│ 00:00:33 #213 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:33 #214 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:33 #215 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:33 #216 [Verbose] waitForPortAccess / port: 13805 / retry: 0 │
│ 00:00:34 #217 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:34 #218 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:34 #219 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:34 #220 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:34 #221 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:34 #222 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"\ninl init_series start end inc =\n inl total : │
│ f64 = conv ((end - start) / inc) \u002B 1\n listm.init total (conv │
│ \u003E\u003E (*) inc \u003E\u003E (\u002B) start) : list f64\n\ntype │
│ integration = (f64 -\u003E f64) -\u003E f64 -\u003E f64 -\u003E f64\n\ninl │
│ integral dt : integration =\n fun f a b =\u003E\n init_series (a │
│ \u002B dt / 2) (b - dt / 2) dt\n |\u003E listm.map (f \u003E\u003E │
│ (*) dt)\n |\u003E listm.fold (\u002B) 0\n\ninl main () =\n │
│ integral 0.01 (fun x =\u003E x ** 2) 0 │
│ 1\n","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\20 │
│ 231025-1540-1485-8508-80a7750c6bda\\main.spi"}} / result.Length: │
│ 00:00:34 #223 [Debug] sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\Users\\i574n\\AppData\\L │
│ ocal\\Temp\\!dotnet-repl\\20231025-1540-1485-8508-80a7750c6bda\\main.spi"}} │
│ / result.Length: │
│ 00:00:34 #225 [Verbose] > Building │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1540-1485-8508-80a77 │
│ 50c6bda\main.spi │
│ 00:00:35 #226 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:35 #227 [Verbose] > Stack overflow. │
│ 00:00:35 #228 [Verbose] > at Spiral.PartEval.Main.ty@597-22(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, T) │
│ 00:00:35 #229 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #230 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #231 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #232 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #233 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #234 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #235 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #236 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #237 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #238 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #239 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #240 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #241 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #242 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #243 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #244 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #245 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #246 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #247 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #248 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #249 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #250 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #251 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #252 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #253 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #254 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #255 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #256 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #257 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #258 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #259 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #260 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #261 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #262 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #263 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #264 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #265 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #266 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #267 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #268 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #269 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #270 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #271 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #272 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #273 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #274 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #275 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #276 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #277 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #278 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #279 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #280 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #281 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #283 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #284 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #285 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #286 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #287 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #288 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #289 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #290 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #291 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #292 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #293 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #294 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #295 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #296 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #297 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #298 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #299 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #300 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #301 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #302 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #303 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #304 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #305 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #306 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #307 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #308 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #309 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #310 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #311 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #312 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #313 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #314 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #315 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #316 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #317 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #318 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #319 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #320 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #321 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #322 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #323 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #324 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #325 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #326 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #327 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #328 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #329 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #330 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #331 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #332 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #333 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #334 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #335 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #336 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #337 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #338 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #339 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #340 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #341 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #342 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #343 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #344 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #345 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #346 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #347 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #348 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #349 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #350 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #351 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #352 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #353 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #354 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #355 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #356 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #357 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #358 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #359 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #360 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #361 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #362 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #363 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #364 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #365 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #366 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #367 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #368 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #369 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #370 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #371 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #372 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #373 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #374 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #375 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #376 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #377 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #378 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #379 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #380 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #381 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #382 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #383 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #384 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #385 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #386 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #387 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #388 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #389 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #390 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #391 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #392 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #393 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #394 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #395 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #396 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #397 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #398 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #399 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #400 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #401 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #402 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #403 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #404 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #405 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #406 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #407 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #408 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #409 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #410 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #411 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #412 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #413 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #414 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #415 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #416 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #417 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #418 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #419 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #420 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #421 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #422 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #423 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #424 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #425 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #426 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #427 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #428 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #429 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #430 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #431 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #432 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #433 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #434 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #435 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #436 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #437 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #438 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #439 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #440 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #441 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #442 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #443 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #444 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #445 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #446 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #447 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #448 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #449 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #450 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #451 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #452 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #453 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #454 [Verbose] > at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef) │
│ 00:00:35 #455 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #456 [Verbose] > at │
│ Spiral.PartEval.Main.term_scope''@574(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #457 [Verbose] > at Spiral.PartEval.Main.term_scope'@578(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, │
│ System.Collections.Generic.Dictionary`2<TypedOp,Data>, E) │
│ 00:00:35 #458 [Verbose] > at Spiral.PartEval.Main.term_scope@579(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E) │
│ 00:00:35 #459 [Verbose] > at Spiral.PartEval.Main.peval(TopEnv, E) │
│ 00:00:35 #460 [Verbose] > at │
│ Spiral.Supervisor.file_build$cont@383(System.String, SupervisorState, │
│ PrepassTopEnv, Microsoft.FSharp.Core.FSharpOption`1<E>, │
│ Microsoft.FSharp.Core.Unit) │
│ 00:00:35 #461 [Verbose] > at │
│ Spiral.Supervisor.x2yJ@1-28(SupervisorErrorSources, System.String, │
│ System.String, SupervisorState, PrepassTopEnv) │
│ 00:00:35 #462 [Verbose] > at │
│ Spiral.Supervisor+x2yJ@380-41.Do(PrepassTopEnv) │
│ 00:00:35 #463 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #464 [Verbose] > at Hopac.Job+result@1000-1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #465 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #466 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #467 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #468 [Verbose] > at Hopac.Job+result@1000-1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #469 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #470 [Verbose] > at Hopac.Core.Cont.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon) │
│ 00:00:35 #471 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #472 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #473 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #474 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #475 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #476 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #477 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #478 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #479 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #480 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #481 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #482 [Verbose] > at Hopac.Core.Cont.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon) │
│ 00:00:35 #483 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #484 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #485 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #486 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #487 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #488 [Verbose] > at Hopac.Core.Cont.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon) │
│ 00:00:35 #489 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #490 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #491 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #492 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #493 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #494 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #495 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #496 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #497 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #498 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #499 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #500 [Verbose] > at Hopac.Core.Cont.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon) │
│ 00:00:35 #501 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #502 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #503 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #504 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #505 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #506 [Verbose] > at Hopac.Core.Cont.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon) │
│ 00:00:35 #507 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #508 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #509 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #510 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #511 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #512 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #513 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #514 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #515 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #516 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #517 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #518 [Verbose] > at Hopac.Core.Cont.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon) │
│ 00:00:35 #519 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #520 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #521 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #522 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #523 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #524 [Verbose] > at Hopac.Core.Cont.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon) │
│ 00:00:35 #525 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #526 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #527 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #528 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #529 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #530 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #531 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #532 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #533 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #534 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #535 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #536 [Verbose] > at Hopac.Core.Cont.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon) │
│ 00:00:35 #537 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #538 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #539 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #540 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #541 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #542 [Verbose] > at Hopac.Core.Cont.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon) │
│ 00:00:35 #543 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #544 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #545 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #546 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #547 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #548 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #549 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #550 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #551 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #552 [Verbose] > at Hopac.Core.Cont.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon) │
│ 00:00:35 #553 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #554 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #555 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #556 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #557 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #558 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #559 [Verbose] > at Hopac.Promise`1+Fulfill[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #560 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon) │
│ 00:00:35 #561 [Verbose] > at Hopac.Core.Cont.Do[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon) │
│ 00:00:35 #562 [Verbose] > at Hopac.Promise`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #563 [Verbose] > at Hopac.Core.JobCont`2[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>) │
│ 00:00:35 #564 [Verbose] > at Hopac.Core.JobWork`1[[System.__Canon, │
│ System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoWork(Hopac.Core.Worker ByRef) │
│ 00:00:35 #565 [Verbose] > at Hopac.Core.Worker.Run(Hopac.Scheduler, │
│ Int32) │
│ 00:00:35 #566 [Verbose] > at Hopac.Platform.Scheduler+thread@30.Invoke() │
│ 00:00:35 #567 [Verbose] > at │
│ System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionCont │
│ ext, System.Threading.ContextCallback, System.Object) │
│ 00:00:36 #568 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:37 #570 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:38 #572 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:39 #574 [Debug] buildFile / takeWhileInclusive / fsxContent: / │
│ errors: [] / typeErrorCount: 0 │
│ 00:00:39 #576 [Debug] executeAsync / exitCode: -1073741571 / output.Length: │
│ 181038 │
│ 00:00:39 #577 [Debug] awaitCompiler / exitCode: -1073741571 / result: pwd: │
│ C:\home\git\polyglot\apps\spiral │
│ dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ Server bound to: http://localhost:13805 │
│ Building │
│ C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1540-1485-8508-80a77 │
│ 50c6bda\main.spi │
│ [Stack overflow.] │
│ [ at Spiral.PartEval.Main.ty@597-22(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, T)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at │
│ System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, │
│ Void (IntPtr, Byte ByRef, │
│ System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)] │
│ [ at Spiral.PartEval.Main.term@684-65(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term_scope''@574(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.term_scope'@578(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, │
│ System.Collections.Generic.Dictionary`2<TypedOp,Data>, E)] │
│ [ at Spiral.PartEval.Main.term_scope@579(TopEnv, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[ │
│ ]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOpti │
│ on`1<System.String>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[ │
│ ],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind │
│ []>>>,HashConsTable>>, │
│ System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections. │
│ Generic.Dictionary`2<ConsedNode`1<Ty[ │
│ ]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, │
│ Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Micr │
│ osoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)] │
│ [ at Spiral.PartEval.Main.peval(TopEnv, E)] │
│ [ at Spiral.Supervisor.file_build$cont@383(System.String, SupervisorState, │
│ PrepassTopEnv, Microsoft.FSharp.Core.FSharpOption`1<E>, │
│ Microsoft.FSharp.Core.Unit)] │
│ [ at Spiral.Supervisor.x2yJ@1-28(SupervisorErrorSources, System.String, │
│ System.String, SupervisorState, PrepassTopEnv)] │
│ [ at Spiral.Supervisor+x2yJ@380-41.Do(PrepassTopEnv)] │
│ [ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Job+result@1000-1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Job+result@1000-1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon)] │
│ [ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon)] │
│ [ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon)] │
│ [ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon)] │
│ [ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].Do(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Promise`1+Fulfill[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, │
│ System.__Canon)] │
│ [ at Hopac.Core.Cont.Do[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]](Hopac.Core.Cont`1<System.__Canon>, │
│ Hopac.Core.Worker ByRef, System.__Canon)] │
│ [ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobCont`2[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[ │
│ System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, │
│ Hopac.Core.Cont`1<System.__Canon>)] │
│ [ at Hopac.Core.JobWork`1[[System.__Canon, System.Private.CoreLib, │
│ Version=8.0.0.0, Culture=neutral, │
│ PublicKeyToken=7cec85d7bea7798e]].DoWork(Hopac.Core.Worker ByRef)] │
│ [ at Hopac.Core.Worker.Run(Hopac.Scheduler, Int32)] │
│ [ at Hopac.Platform.Scheduler+thread@30.Invoke()] │
│ [ at │
│ System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionCont │
│ ext, System.Threading.ContextCallback, System.Object)] │
│ 00:00:39 #578 [Critical] buildFile / error: System.AggregateException: One │
│ or more errors occurred. (One or more errors occurred. (A task was │
│ canceled.)) │
│ 00:00:39 #579 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## getFileTokenRange │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getFileTokenRange port cancellationToken path = async {
let fullPath = path |> System.IO.Path.GetFullPath
let! code = fullPath |> FileSystem.readAllTextAsync
let lines = code |> String.split [[| '\n' |]]
let token, disposable = Threading.newDisposableToken cancellationToken
use _ = disposable
let! serverPort, _errors, ct, disposable = awaitCompiler port (Some token)
use _ = disposable
let fileOpenObj = {| FileOpen = {| uri = fullPath |> getFileUri; spiText =
code |} |}
let! _fileOpenResult = fileOpenObj |> sendObj serverPort
let fileTokenRangeObj =
{|
FileTokenRange =
{|
uri = fullPath |> getFileUri
range =
[[|
{| line = 0; character = 0 |}
{| line = lines.Length - 1; character =
lines.[[lines.Length - 1]].Length |}
|]]
|}
|}
let! fileTokenRangeResult =
fileTokenRangeObj
|> sendObj serverPort
|> Async.withCancellationToken ct
return fileTokenRangeResult |> Option.map FSharp.Json.Json.deserialize<int
array>
}
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## getCodeTokenRange │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let inline getCodeTokenRange cancellationToken code = async {
let! mainPath, disposable = persistCode code
use _ = disposable
let port = getCompilerPort ()
return! mainPath |> getFileTokenRange port cancellationToken
}
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""inl main () = ()"""
|> getCodeTokenRange None
|> Async.runWithTimeout 10000
|> Option.flatten
|> _equal (Some [[| 0; 0; 3; 7; 0; 0; 4; 4; 0; 0; 0; 5; 1; 8; 0; 0; 1; 1; 8; 0;
0; 2; 1; 4; 0; 0;
2; 1; 8; 0; 0; 1; 1; 8; 0 |]])
╭─[ 4.87s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:51 #591 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:51 #592 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:it@4-434> } │
│ 00:00:51 #593 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:51 #594 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:52 #595 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:52 #596 [Verbose] waitForPortAccess / port: 13805 / retry: 0 │
│ 00:00:52 #598 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:52 #599 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:52 #600 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:52 #601 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl main () = │
│ ()","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\202 │
│ 31025-1540-3335-3555-3a3eecfd104e\\main.spi"}} / result.Length: │
│ 00:00:52 #602 [Debug] sendJson / port: 13805 / json: │
│ {"FileTokenRange":{"range":[ │
│ {"character":0,"line":0},{"character":16,"line":0}],"uri":"file:///C:\\Users │
│ \\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\20231025-1540-3335-3555-3a3eecf │
│ d104e\\main.spi"}} / result.Length: Some(213) │
│ FSharpOption<Int32[]> │
│ Value: [ 0, 0, 3, 7, 0, 0, 4, 4, 0, 0, 0, 5, 1, 8, 0, 0, 1, 1, 8, 0, │
│ 0, 2, 1, 4, 0, 0, 2, 1, 8, 0, 0, 1, 1, 8, 0 ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
"""inl main () = 1i32"""
|> getCodeTokenRange None
|> Async.runWithTimeout 10000
|> Option.flatten
|> _equal (Some [[| 0; 0; 3; 7; 0; 0; 4; 4; 0; 0; 0; 5; 1; 8; 0; 0; 1; 1; 8; 0;
0; 2; 1; 4; 0; 0;
2; 1; 3; 0; 0; 1; 3; 12; 0 |]])
╭─[ 4.98s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:56 #607 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:56 #608 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:it@4-801> } │
│ 00:00:56 #609 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral │
│ 00:00:56 #610 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:57 #611 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:57 #612 [Verbose] waitForPortAccess / port: 13805 / retry: 0 │
│ 00:00:57 #614 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:57 #615 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:57 #616 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:57 #617 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl main () = │
│ 1i32","uri":"file:///C:\\Users\\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\2 │
│ 0231025-1540-3830-3063-3a6deb3712aa\\main.spi"}} / result.Length: │
│ 00:00:57 #618 [Debug] sendJson / port: 13805 / json: │
│ {"FileTokenRange":{"range":[ │
│ {"character":0,"line":0},{"character":18,"line":0}],"uri":"file:///C:\\Users │
│ \\i574n\\AppData\\Local\\Temp\\!dotnet-repl\\20231025-1540-3830-3063-3a6deb3 │
│ 712aa\\main.spi"}} / result.Length: Some(214) │
│ FSharpOption<Int32[]> │
│ Value: [ 0, 0, 3, 7, 0, 0, 4, 4, 0, 0, 0, 5, 1, 8, 0, 0, 1, 1, 8, 0, │
│ 0, 2, 1, 4, 0, 0, 2, 1, 3, 0, 0, 1, 3, 12, 0 ] │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## Arguments │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
[[<RequireQualifiedAccess>]]
type Arguments =
| BuildFile of string * string
| FileTokenRange of string * string
| ExecuteCommand of string
| Timeout of int
| Port of int
interface Argu.IArgParserTemplate with
member s.Usage =
match s with
| BuildFile _ -> nameof BuildFile
| FileTokenRange _ -> nameof FileTokenRange
| ExecuteCommand _ -> nameof ExecuteCommand
| Timeout _ -> nameof Timeout
| Port _ -> nameof Port
── markdown ────────────────────────────────────────────────────────────────────
╭──────────────────────────────────────────────────────────────────────────────╮
│ ## main │
╰──────────────────────────────────────────────────────────────────────────────╯
── fsharp ──────────────────────────────────────────────────────────────────────
let main args =
let argsMap = args |> Runtime.parseArgsMap<Arguments>
let buildFileActions =
argsMap
|> Map.tryFind (nameof Arguments.BuildFile)
|> Option.defaultValue [[]]
|> List.choose (function
| Arguments.BuildFile (inputPath, outputPath) -> Some (inputPath,
outputPath)
| _ -> None
)
let fileTokenRangeActions =
argsMap
|> Map.tryFind (nameof Arguments.FileTokenRange)
|> Option.defaultValue [[]]
|> List.choose (function
| Arguments.FileTokenRange (inputPath, outputPath) -> Some
(inputPath, outputPath)
| _ -> None
)
let executeCommandActions =
argsMap
|> Map.tryFind (nameof Arguments.ExecuteCommand)
|> Option.defaultValue [[]]
|> List.choose (function
| Arguments.ExecuteCommand command -> Some command
| _ -> None
)
let timeout =
match argsMap |> Map.tryFind (nameof Arguments.Timeout) with
| Some [[ Arguments.Timeout timeout ]] -> timeout
| _ -> 60000 * 60
let port =
match argsMap |> Map.tryFind (nameof Arguments.Port) with
| Some [[ Arguments.Port port ]] -> Some port
| _ -> None
async {
let! buildFileResult =
buildFileActions
|> List.map (fun (inputPath, outputPath) -> async {
let port = port |> Option.defaultWith getCompilerPort
let! outputCode, errors = inputPath |> buildFile timeout port
None
errors
|> List.map snd
|> List.iter (fun error ->
trace Critical (fun () -> $"main / error: {error}")
getLocals
)
match outputCode with
| Some outputCode ->
do! outputCode |> FileSystem.writeAllTextAsync outputPath
return 0
| None ->
return 1
})
|> Async.Sequential
let! fileTokenRangeResult =
fileTokenRangeActions
|> List.map (fun (inputPath, outputPath) -> async {
let port = port |> Option.defaultWith getCompilerPort
let! tokenRange = inputPath |> getFileTokenRange port None
match tokenRange with
| Some tokenRange ->
do! tokenRange |> FSharp.Json.Json.serialize |>
FileSystem.writeAllTextAsync outputPath
return 0
| None ->
return 1
})
|> Async.Sequential
let! executeCommandResult =
executeCommandActions
|> List.map (fun command -> async {
let port = port |> Option.defaultWith getCompilerPort
let localToken, disposable = Threading.newDisposableToken None
use _ = disposable
let! serverPort, _errors, compilerToken, disposable =
awaitCompiler port (Some localToken)
use _ = disposable
let! exitCode, result =
Runtime.executeWithOptionsAsync
{
Command = command
CancellationToken = Some compilerToken
WorkingDirectory = None
OnLine = None
}
trace Debug (fun () -> $"main / executeCommand / exitCode:
{exitCode}") getLocals
return exitCode
})
|> Async.Sequential
return
[[| buildFileResult; fileTokenRangeResult; executeCommandResult |]]
|> Array.collect id
|> Array.sum
}
|> Async.runWithTimeout timeout
|> Option.defaultValue 1
── fsharp ──────────────────────────────────────────────────────────────────────
//// test
let args =
System.Environment.GetEnvironmentVariable "ARGS"
|> Runtime.splitArgs
|> Seq.toArray
match args with
| [[||]] -> 0
| args -> if main args = 0 then 0 else failwith "main failed"
╭─[ 25.52ms - return value ]───────────────────────────────────────────────────╮
│ <div class="dni-plaintext"><pre>0</pre></div><style> │
│ .dni-code-hint { │
│ font-style: italic; │
│ overflow: hidden; │
│ white-space: nowrap; │
│ } │
│ .dni-treeview { │
│ white-space: nowrap; │
│ } │
│ .dni-treeview td { │
│ vertical-align: top; │
│ text-align: start; │
│ } │
│ details.dni-treeview { │
│ padding-left: 1em; │
│ } │
│ table td { │
│ text-align: start; │
│ } │
│ table tr { │
│ vertical-align: top; │
│ margin: 0em 0px; │
│ } │
│ table tr td pre │
│ { │
│ vertical-align: top !important; │
│ margin: 0em 0px !important; │
│ } │
│ table th { │
│ text-align: start; │
│ } │
│ </style> │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook Supervisor.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 855010 bytes to Supervisor.dib.html
00:00:00 #1 [Debug] writeDibCode / output: Spi / path: Tasks.dib
00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Supervisor.dib
00:00:00 #3 [Debug] parseDibCode / output: Spi / file: Tasks.dib
00:00:00 #3 [Debug] parseDibCode / output: Fs / file: Supervisor.dib
00:00:00 #1 [Debug] persistCodeProject / packages: [Argu; FSharp.Control.AsyncSeq; FSharp.Json; ... ] / modules: [nbs/Common.fs; nbs/CommonFSharp.fs; nbs/Threading.fs; ... ] / path: C:\home\git\polyglot\apps\spiral / name: Supervisor / code.Length: 18683
00:00:00 #2 [Debug] buildProject / fullPath: C:\home\git\polyglot\apps\spiral\target\Supervisor.fsproj
00:00:00 #3 [Debug] executeAsync / options: { Command = "dotnet publish -c release -o ../dist -r linux-x64"
WorkingDirectory = Some "C:\home\git\polyglot\apps\spiral\target"
CancellationToken = None
OnLine = None }
00:00:00 #4 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb for .NET
00:00:00 #5 [Verbose] > Determining projects to restore...
00:00:01 #6 [Verbose] > Restored C:\home\git\polyglot\apps\spiral\target\Supervisor.fsproj (in 497 ms).
00:00:01 #7 [Verbose] > C:\Program Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\apps\spiral\target\Supervisor.fsproj]
00:00:14 #8 [Verbose] > Supervisor -> C:\home\git\polyglot\apps\spiral\target\bin\release\net8.0\linux-x64\Supervisor.dll
00:00:15 #9 [Verbose] > Supervisor -> C:\home\git\polyglot\apps\spiral\dist\
00:00:15 #10 [Debug] executeAsync / exitCode: 0 / output.Length: 632
00:00:15 #11 [Debug] executeAsync / options: { Command = "dotnet publish -c release -o ../dist -r win-x64"
WorkingDirectory = Some "C:\home\git\polyglot\apps\spiral\target"
CancellationToken = None
OnLine = None }
00:00:15 #12 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb for .NET
00:00:16 #13 [Verbose] > Determining projects to restore...
00:00:17 #14 [Verbose] > Restored C:\home\git\polyglot\apps\spiral\target\Supervisor.fsproj (in 405 ms).
00:00:17 #15 [Verbose] > C:\Program Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\apps\spiral\target\Supervisor.fsproj]
00:00:29 #16 [Verbose] > Supervisor -> C:\home\git\polyglot\apps\spiral\target\bin\release\net8.0\win-x64\Supervisor.dll
00:00:33 #17 [Verbose] > Supervisor -> C:\home\git\polyglot\apps\spiral\dist\
00:00:33 #18 [Debug] executeAsync / exitCode: 0 / output.Length: 630
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\apps\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 Tasks.dib -Retries 3""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ ## Tasks (Polyglot) │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > // // test
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > open testing
00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1541-4273-7313-75611eba0516\main.spi
00:00:08 #22 [Verbose] >
00:00:08 #23 [Verbose] > ╭─[ 5.20s - stdout ]───────────────────────────────────────────────────────────╮
00:00:08 #24 [Verbose] > │ () │
00:00:08 #25 [Verbose] > │ │
00:00:08 #26 [Verbose] > │ │
00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #28 [Verbose] >
00:00:08 #29 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:08 #30 [Verbose] > inl types () =
00:00:08 #31 [Verbose] > global "[[<Fable.Core.Erase; Fable.Core.Emit(\"std::string::String\")>]]
00:00:08 #32 [Verbose] > type std_string_String = class end"
00:00:08 #33 [Verbose] > global "[[<Fable.Core.Erase; Fable.Core.Emit(\"&$0\")>]] type Ref<'T> =
00:00:08 #34 [Verbose] > class end"
00:00:08 #35 [Verbose] > global "[[<Fable.Core.Erase; Fable.Core.Emit(\"str\")>]] type Str = class
00:00:08 #36 [Verbose] > end"
00:00:08 #37 [Verbose] >
00:00:08 #38 [Verbose] > inl emit_expr forall a t. (args : a) (code : string) : t =
00:00:08 #39 [Verbose] > real
00:00:08 #40 [Verbose] > $"Fable.Core.RustInterop.emitRustExpr !args !code" : t
00:00:08 #41 [Verbose] >
00:00:08 #42 [Verbose] >
00:00:08 #43 [Verbose] > nominal std_string = $"std_string_String"
00:00:08 #44 [Verbose] > nominal ref' t = $"Ref<`t>"
00:00:08 #45 [Verbose] > nominal str = $"Str"
00:00:08 #46 [Verbose] >
00:00:08 #47 [Verbose] > inl format_debug forall t. (x : t) : std_string =
00:00:08 #48 [Verbose] > real
00:00:08 #49 [Verbose] > emit_expr `t `std_string x "format!(\"{:?}\", $0)"
00:00:08 #50 [Verbose] >
00:00:08 #51 [Verbose] > inl format_pretty forall t. (x : t) : std_string =
00:00:08 #52 [Verbose] > real
00:00:08 #53 [Verbose] > emit_expr `t `std_string x "format!(\"{:#?}\", $0)"
00:00:08 #54 [Verbose] >
00:00:08 #55 [Verbose] > inl to_std_string (str : ref' str) : std_string =
00:00:08 #56 [Verbose] > // inl str = join str
00:00:08 #57 [Verbose] > // // emit_expr () $"\"!str.to_string()\""
00:00:08 #58 [Verbose] > // // emit_expr () $"\"alloc::string::to_string(!str)\""
00:00:08 #59 [Verbose] > // emit_expr str "($0).to_string()"
00:00:08 #60 [Verbose] > emit_expr str $"\"String::from(core::ops::Deref::deref($0))\""
00:00:08 #61 [Verbose] > // emit_expr str $"\"String::from(*$0)\""
00:00:08 #62 [Verbose] > // emit_expr () $"\"String::from(!str)\""
00:00:08 #63 [Verbose] >
00:00:08 #64 [Verbose] > inl format forall t. (x : t) : std_string =
00:00:08 #65 [Verbose] > real
00:00:08 #66 [Verbose] > inl result : std_string =
00:00:08 #67 [Verbose] > typecase t with
00:00:08 #68 [Verbose] > | string => to_std_string x
00:00:08 #69 [Verbose] > | std_string => x
00:00:08 #70 [Verbose] > | _ => format_pretty `t x
00:00:08 #71 [Verbose] > result
00:00:08 #72 [Verbose] >
00:00:08 #73 [Verbose] > inl raw_string_literal (s : string) : ref' str =
00:00:08 #74 [Verbose] > emit_expr () $"\"r#\\\"\" + !s + \"\\\"#\""
00:00:08 #75 [Verbose] >
00:00:08 #76 [Verbose] > inl (~#) (s : string) : ref' str =
00:00:08 #77 [Verbose] > raw_string_literal s
00:00:09 #78 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1541-4560-6025-6aec320964e5\main.spi
00:00:09 #79 [Verbose] >
00:00:09 #80 [Verbose] > ╭─[ 203.14ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #81 [Verbose] > │ () │
00:00:09 #82 [Verbose] > │ │
00:00:09 #83 [Verbose] > │ │
00:00:09 #84 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #85 [Verbose] >
00:00:09 #86 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #87 [Verbose] > nominal task_name = string
00:00:09 #88 [Verbose] >
00:00:09 #89 [Verbose] > union manual_scheduling =
00:00:09 #90 [Verbose] > | WithSuggestion
00:00:09 #91 [Verbose] > | WithoutSuggestion
00:00:09 #92 [Verbose] >
00:00:09 #93 [Verbose] > union recurrency_offset =
00:00:09 #94 [Verbose] > | Days : i32
00:00:09 #95 [Verbose] > | Weeks : i32
00:00:09 #96 [Verbose] > | Months : i32
00:00:09 #97 [Verbose] >
00:00:09 #98 [Verbose] > union day_of_week =
00:00:09 #99 [Verbose] > | Sunday
00:00:09 #100 [Verbose] > | Monday
00:00:09 #101 [Verbose] > | Tuesday
00:00:09 #102 [Verbose] > | Wednesday
00:00:09 #103 [Verbose] > | Thursday
00:00:09 #104 [Verbose] > | Friday
00:00:09 #105 [Verbose] > | Saturday
00:00:09 #106 [Verbose] >
00:00:09 #107 [Verbose] > union month =
00:00:09 #108 [Verbose] > | January
00:00:09 #109 [Verbose] > | February
00:00:09 #110 [Verbose] > | March
00:00:09 #111 [Verbose] > | April
00:00:09 #112 [Verbose] > | May
00:00:09 #113 [Verbose] > | June
00:00:09 #114 [Verbose] > | July
00:00:09 #115 [Verbose] > | August
00:00:09 #116 [Verbose] > | September
00:00:09 #117 [Verbose] > | October
00:00:09 #118 [Verbose] > | November
00:00:09 #119 [Verbose] > | December
00:00:09 #120 [Verbose] >
00:00:09 #121 [Verbose] > nominal day = i32
00:00:09 #122 [Verbose] > nominal year = i32
00:00:09 #123 [Verbose] >
00:00:09 #124 [Verbose] > union fixed_recurrency =
00:00:09 #125 [Verbose] > | Weekly : day_of_week
00:00:09 #126 [Verbose] > | Monthly : day
00:00:09 #127 [Verbose] > | Yearly : day * month
00:00:09 #128 [Verbose] >
00:00:09 #129 [Verbose] > union recurrency =
00:00:09 #130 [Verbose] > | Offset : recurrency_offset
00:00:09 #131 [Verbose] > | Fixed : list fixed_recurrency
00:00:09 #132 [Verbose] >
00:00:09 #133 [Verbose] > union scheduling =
00:00:09 #134 [Verbose] > | Manual : manual_scheduling
00:00:09 #135 [Verbose] > | Recurrent : recurrency
00:00:09 #136 [Verbose] >
00:00:09 #137 [Verbose] > type task =
00:00:09 #138 [Verbose] > {
00:00:09 #139 [Verbose] > name : task_name
00:00:09 #140 [Verbose] > scheduling : scheduling
00:00:09 #141 [Verbose] > }
00:00:09 #142 [Verbose] >
00:00:09 #143 [Verbose] > type date =
00:00:09 #144 [Verbose] > {
00:00:09 #145 [Verbose] > year : year
00:00:09 #146 [Verbose] > month : month
00:00:09 #147 [Verbose] > day : day
00:00:09 #148 [Verbose] > }
00:00:09 #149 [Verbose] >
00:00:09 #150 [Verbose] > union status =
00:00:09 #151 [Verbose] > | Postponed : option ()
00:00:09 #152 [Verbose] >
00:00:09 #153 [Verbose] > type event =
00:00:09 #154 [Verbose] > {
00:00:09 #155 [Verbose] > date : date
00:00:09 #156 [Verbose] > status : status
00:00:09 #157 [Verbose] > }
00:00:09 #158 [Verbose] >
00:00:09 #159 [Verbose] > type task_template =
00:00:09 #160 [Verbose] > {
00:00:09 #161 [Verbose] > task : task
00:00:09 #162 [Verbose] > events : list event
00:00:09 #163 [Verbose] > }
00:00:09 #164 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1541-4580-8020-8ba985edbc29\main.spi
00:00:09 #165 [Verbose] >
00:00:09 #166 [Verbose] > ╭─[ 123.32ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #167 [Verbose] > │ () │
00:00:09 #168 [Verbose] > │ │
00:00:09 #169 [Verbose] > │ │
00:00:09 #170 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #171 [Verbose] >
00:00:09 #172 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #173 [Verbose] > // // test
00:00:09 #174 [Verbose] > // // rust=
00:00:09 #175 [Verbose] >
00:00:09 #176 [Verbose] > types ()
00:00:09 #177 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1541-4592-9276-96dcf910cd54\main.spi
00:00:14 #178 [Verbose] >
00:00:14 #179 [Verbose] > ╭─[ 4.95s - return value ]─────────────────────────────────────────────────────╮
00:00:14 #180 [Verbose] > │ .rs output: │
00:00:14 #181 [Verbose] > │ │
00:00:14 #182 [Verbose] > │ │
00:00:14 #183 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #184 [Verbose] >
00:00:14 #185 [Verbose] > ╭─[ 4.97s - stdout ]───────────────────────────────────────────────────────────╮
00:00:14 #186 [Verbose] > │ │
00:00:14 #187 [Verbose] > │ .fsx: │
00:00:14 #188 [Verbose] > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] type │
00:00:14 #189 [Verbose] > │ std_string_String = class end │
00:00:14 #190 [Verbose] > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] type Ref<'T> = class end │
00:00:14 #191 [Verbose] > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] type Str = class end │
00:00:14 #192 [Verbose] > │ let rec method0 () : unit = │
00:00:14 #193 [Verbose] > │ () │
00:00:14 #194 [Verbose] > │ method0() │
00:00:14 #195 [Verbose] > │ │
00:00:14 #196 [Verbose] > │ .rs: │
00:00:14 #197 [Verbose] > │ #![allow(dead_code,)] │
00:00:14 #198 [Verbose] > │ #![allow(non_camel_case_types,)] │
00:00:14 #199 [Verbose] > │ #![allow(non_snake_case,)] │
00:00:14 #200 [Verbose] > │ #![allow(non_upper_case_globals,)] │
00:00:14 #201 [Verbose] > │ #![allow(unreachable_code,)] │
00:00:14 #202 [Verbose] > │ #![allow(unused_attributes,)] │
00:00:14 #203 [Verbose] > │ #![allow(unused_imports,)] │
00:00:14 #204 [Verbose] > │ #![allow(unused_macros,)] │
00:00:14 #205 [Verbose] > │ #![allow(unused_parens,)] │
00:00:14 #206 [Verbose] > │ #![allow(unused_variables,)] │
00:00:14 #207 [Verbose] > │ pub mod Repl_main { │
00:00:14 #208 [Verbose] > │ use super::*; │
00:00:14 #209 [Verbose] > │ use fable_library_rust::Native_::on_startup; │
00:00:14 #210 [Verbose] > │ pub fn method0() { (); } │
00:00:14 #211 [Verbose] > │ on_startup!(Repl_main::method0()); │
00:00:14 #212 [Verbose] > │ } │
00:00:14 #213 [Verbose] > │ │
00:00:14 #214 [Verbose] > │ │
00:00:14 #215 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #216 [Verbose] >
00:00:14 #217 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #218 [Verbose] > // // test
00:00:14 #219 [Verbose] > // // rust=
00:00:14 #220 [Verbose] >
00:00:14 #221 [Verbose] > inl get_tasks () : list task_template =
00:00:14 #222 [Verbose] > [[
00:00:14 #223 [Verbose] > {
00:00:14 #224 [Verbose] > task =
00:00:14 #225 [Verbose] > {
00:00:14 #226 [Verbose] > name = task_name "01"
00:00:14 #227 [Verbose] > scheduling = Manual WithSuggestion
00:00:14 #228 [Verbose] > }
00:00:14 #229 [Verbose] > events = [[]]
00:00:14 #230 [Verbose] > }
00:00:14 #231 [Verbose] > {
00:00:14 #232 [Verbose] > task =
00:00:14 #233 [Verbose] > {
00:00:14 #234 [Verbose] > name = task_name "02"
00:00:14 #235 [Verbose] > scheduling = Manual WithSuggestion
00:00:14 #236 [Verbose] > }
00:00:14 #237 [Verbose] > events = [[]]
00:00:14 #238 [Verbose] > }
00:00:14 #239 [Verbose] > {
00:00:14 #240 [Verbose] > task =
00:00:14 #241 [Verbose] > {
00:00:14 #242 [Verbose] > name = task_name "03"
00:00:14 #243 [Verbose] > scheduling = Manual WithSuggestion
00:00:14 #244 [Verbose] > }
00:00:14 #245 [Verbose] > events = [[]]
00:00:14 #246 [Verbose] > }
00:00:14 #247 [Verbose] > ]]
00:00:14 #248 [Verbose] >
00:00:14 #249 [Verbose] > types ()
00:00:14 #250 [Verbose] > get_tasks () |> format_pretty |> console.write_line
00:00:14 #251 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1541-5091-9149-9cbd26d3f670\main.spi
00:00:20 #252 [Verbose] >
00:00:20 #253 [Verbose] > ╭─[ 5.99s - return value ]─────────────────────────────────────────────────────╮
00:00:20 #254 [Verbose] > │ .rs output: │
00:00:20 #255 [Verbose] > │ UH2_0( │
00:00:20 #256 [Verbose] > │ UH0_1, │
00:00:20 #257 [Verbose] > │ "01", │
00:00:20 #258 [Verbose] > │ US4_0( │
00:00:20 #259 [Verbose] > │ US3_0, │
00:00:20 #260 [Verbose] > │ ), │
00:00:20 #261 [Verbose] > │ UH2_0( │
00:00:20 #262 [Verbose] > │ UH0_1, │
00:00:20 #263 [Verbose] > │ "02", │
00:00:20 #264 [Verbose] > │ US4_0( │
00:00:20 #265 [Verbose] > │ US3_0, │
00:00:20 #266 [Verbose] > │ ), │
00:00:20 #267 [Verbose] > │ UH2_0( │
00:00:20 #268 [Verbose] > │ UH0_1, │
00:00:20 #269 [Verbose] > │ "03", │
00:00:20 #270 [Verbose] > │ US4_0( │
00:00:20 #271 [Verbose] > │ US3_0, │
00:00:20 #272 [Verbose] > │ ), │
00:00:20 #273 [Verbose] > │ UH2_1, │
00:00:20 #274 [Verbose] > │ ), │
00:00:20 #275 [Verbose] > │ ), │
00:00:20 #276 [Verbose] > │ ) │
00:00:20 #277 [Verbose] > │ │
00:00:20 #278 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #279 [Verbose] >
00:00:20 #280 [Verbose] > ╭─[ 6.00s - stdout ]───────────────────────────────────────────────────────────╮
00:00:20 #281 [Verbose] > │ │
00:00:20 #282 [Verbose] > │ .fsx: │
00:00:20 #283 [Verbose] > │ [<Fable.Core.Erase; Fable.Core.Emit("std::string::String")>] type │
00:00:20 #284 [Verbose] > │ std_string_String = class end │
00:00:20 #285 [Verbose] > │ [<Fable.Core.Erase; Fable.Core.Emit("&$0")>] type Ref<'T> = class end │
00:00:20 #286 [Verbose] > │ [<Fable.Core.Erase; Fable.Core.Emit("str")>] type Str = class end │
00:00:20 #287 [Verbose] > │ type [<Struct>] US0 = │
00:00:20 #288 [Verbose] > │ | US0_0 │
00:00:20 #289 [Verbose] > │ | US0_1 │
00:00:20 #290 [Verbose] > │ | US0_2 │
00:00:20 #291 [Verbose] > │ | US0_3 │
00:00:20 #292 [Verbose] > │ | US0_4 │
00:00:20 #293 [Verbose] > │ | US0_5 │
00:00:20 #294 [Verbose] > │ | US0_6 │
00:00:20 #295 [Verbose] > │ | US0_7 │
00:00:20 #296 [Verbose] > │ | US0_8 │
00:00:20 #297 [Verbose] > │ | US0_9 │
00:00:20 #298 [Verbose] > │ | US0_10 │
00:00:20 #299 [Verbose] > │ | US0_11 │
00:00:20 #300 [Verbose] > │ and [<Struct>] US2 = │
00:00:20 #301 [Verbose] > │ | US2_0 │
00:00:20 #302 [Verbose] > │ | US2_1 │
00:00:20 #303 [Verbose] > │ and [<Struct>] US1 = │
00:00:20 #304 [Verbose] > │ | US1_0 of f0_0 : US2 │
00:00:20 #305 [Verbose] > │ and UH0 = │
00:00:20 #306 [Verbose] > │ | UH0_0 of int32 * US0 * int32 * US1 * UH0 │
00:00:20 #307 [Verbose] > │ | UH0_1 │
00:00:20 #308 [Verbose] > │ and [<Struct>] US3 = │
00:00:20 #309 [Verbose] > │ | US3_0 │
00:00:20 #310 [Verbose] > │ | US3_1 │
00:00:20 #311 [Verbose] > │ and [<Struct>] US7 = │
00:00:20 #312 [Verbose] > │ | US7_0 │
00:00:20 #313 [Verbose] > │ | US7_1 │
00:00:20 #314 [Verbose] > │ | US7_2 │
00:00:20 #315 [Verbose] > │ | US7_3 │
00:00:20 #316 [Verbose] > │ | US7_4 │
00:00:20 #317 [Verbose] > │ | US7_5 │
00:00:20 #318 [Verbose] > │ | US7_6 │
00:00:20 #319 [Verbose] > │ and [<Struct>] US6 = │
00:00:20 #320 [Verbose] > │ | US6_0 of f0_0 : int32 │
00:00:20 #321 [Verbose] > │ | US6_1 of f1_0 : US7 │
00:00:20 #322 [Verbose] > │ | US6_2 of f2_0 : int32 * f2_1 : US0 │
00:00:20 #323 [Verbose] > │ and UH1 = │
00:00:20 #324 [Verbose] > │ | UH1_0 of US6 * UH1 │
00:00:20 #325 [Verbose] > │ | UH1_1 │
00:00:20 #326 [Verbose] > │ and [<Struct>] US8 = │
00:00:20 #327 [Verbose] > │ | US8_0 of f0_0 : int32 │
00:00:20 #328 [Verbose] > │ | US8_1 of f1_0 : int32 │
00:00:20 #329 [Verbose] > │ | US8_2 of f2_0 : int32 │
00:00:20 #330 [Verbose] > │ and [<Struct>] US5 = │
00:00:20 #331 [Verbose] > │ | US5_0 of f0_0 : UH1 │
00:00:20 #332 [Verbose] > │ | US5_1 of f1_0 : US8 │
00:00:20 #333 [Verbose] > │ and [<Struct>] US4 = │
00:00:20 #334 [Verbose] > │ | US4_0 of f0_0 : US3 │
00:00:20 #335 [Verbose] > │ | US4_1 of f1_0 : US5 │
00:00:20 #336 [Verbose] > │ and UH2 = │
00:00:20 #337 [Verbose] > │ | UH2_0 of UH0 * string * US4 * UH2 │
00:00:20 #338 [Verbose] > │ | UH2_1 │
00:00:20 #339 [Verbose] > │ let rec method0 () : unit = │
00:00:20 #340 [Verbose] > │ let v0 : UH0 = UH0_1 │
00:00:20 #341 [Verbose] > │ let v1 : string = "01" │
00:00:20 #342 [Verbose] > │ let v2 : US3 = US3_0 │
00:00:20 #343 [Verbose] > │ let v3 : US4 = US4_0(v2) │
00:00:20 #344 [Verbose] > │ let v4 : UH0 = UH0_1 │
00:00:20 #345 [Verbose] > │ let v5 : string = "02" │
00:00:20 #346 [Verbose] > │ let v6 : US3 = US3_0 │
00:00:20 #347 [Verbose] > │ let v7 : US4 = US4_0(v6) │
00:00:20 #348 [Verbose] > │ let v8 : UH0 = UH0_1 │
00:00:20 #349 [Verbose] > │ let v9 : string = "03" │
00:00:20 #350 [Verbose] > │ let v10 : US3 = US3_0 │
00:00:20 #351 [Verbose] > │ let v11 : US4 = US4_0(v10) │
00:00:20 #352 [Verbose] > │ let v12 : UH2 = UH2_1 │
00:00:20 #353 [Verbose] > │ let v13 : UH2 = UH2_0(v8, v9, v11, v12) │
00:00:20 #354 [Verbose] > │ let v14 : UH2 = UH2_0(v4, v5, v7, v13) │
00:00:20 #355 [Verbose] > │ let v15 : UH2 = UH2_0(v0, v1, v3, v14) │
00:00:20 #356 [Verbose] > │ let v16 : string = "format!(\"{:#?}\", $0)" │
00:00:20 #357 [Verbose] > │ let v17 : std_string_String = Fable.Core.RustInterop.emitRustExpr v15 │
00:00:20 #358 [Verbose] > │ v16 │
00:00:20 #359 [Verbose] > │ System.Console.WriteLine v17 │
00:00:20 #360 [Verbose] > │ () │
00:00:20 #361 [Verbose] > │ method0() │
00:00:20 #362 [Verbose] > │ │
00:00:20 #363 [Verbose] > │ .rs: │
00:00:20 #364 [Verbose] > │ #![allow(dead_code,)] │
00:00:20 #365 [Verbose] > │ #![allow(non_camel_case_types,)] │
00:00:20 #366 [Verbose] > │ #![allow(non_snake_case,)] │
00:00:20 #367 [Verbose] > │ #![allow(non_upper_case_globals,)] │
00:00:20 #368 [Verbose] > │ #![allow(unreachable_code,)] │
00:00:20 #369 [Verbose] > │ #![allow(unused_attributes,)] │
00:00:20 #370 [Verbose] > │ #![allow(unused_imports,)] │
00:00:20 #371 [Verbose] > │ #![allow(unused_macros,)] │
00:00:20 #372 [Verbose] > │ #![allow(unused_parens,)] │
00:00:20 #373 [Verbose] > │ #![allow(unused_variables,)] │
00:00:20 #374 [Verbose] > │ pub mod Repl_main { │
00:00:20 #375 [Verbose] > │ use super::*; │
00:00:20 #376 [Verbose] > │ use fable_library_rust::Native_::Any; │
00:00:20 #377 [Verbose] > │ use fable_library_rust::Native_::LrcPtr; │
00:00:20 #378 [Verbose] > │ use fable_library_rust::Native_::on_startup; │
00:00:20 #379 [Verbose] > │ use fable_library_rust::String_::string; │
00:00:20 #380 [Verbose] > │ #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │
00:00:20 #381 [Verbose] > │ pub enum US0 { │
00:00:20 #382 [Verbose] > │ US0_0, │
00:00:20 #383 [Verbose] > │ US0_1, │
00:00:20 #384 [Verbose] > │ US0_2, │
00:00:20 #385 [Verbose] > │ US0_3, │
00:00:20 #386 [Verbose] > │ US0_4, │
00:00:20 #387 [Verbose] > │ US0_5, │
00:00:20 #388 [Verbose] > │ US0_6, │
00:00:20 #389 [Verbose] > │ US0_7, │
00:00:20 #390 [Verbose] > │ US0_8, │
00:00:20 #391 [Verbose] > │ US0_9, │
00:00:20 #392 [Verbose] > │ US0_10, │
00:00:20 #393 [Verbose] > │ US0_11, │
00:00:20 #394 [Verbose] > │ } │
00:00:20 #395 [Verbose] > │ impl core::fmt::Display for Repl_main::US0 { │
00:00:20 #396 [Verbose] > │ fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { │
00:00:20 #397 [Verbose] > │ write!(f, "{}", core::any::type_name::<Self>()) │
00:00:20 #398 [Verbose] > │ } │
00:00:20 #399 [Verbose] > │ } │
00:00:20 #400 [Verbose] > │ #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │
00:00:20 #401 [Verbose] > │ pub enum US2 { US2_0, US2_1, } │
00:00:20 #402 [Verbose] > │ impl core::fmt::Display for Repl_main::US2 { │
00:00:20 #403 [Verbose] > │ fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { │
00:00:20 #404 [Verbose] > │ write!(f, "{}", core::any::type_name::<Self>()) │
00:00:20 #405 [Verbose] > │ } │
00:00:20 #406 [Verbose] > │ } │
00:00:20 #407 [Verbose] > │ #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │
00:00:20 #408 [Verbose] > │ pub enum US1 { US1_0(Repl_main::US2), } │
00:00:20 #409 [Verbose] > │ impl core::fmt::Display for Repl_main::US1 { │
00:00:20 #410 [Verbose] > │ fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { │
00:00:20 #411 [Verbose] > │ write!(f, "{}", core::any::type_name::<Self>()) │
00:00:20 #412 [Verbose] > │ } │
00:00:20 #413 [Verbose] > │ } │
00:00:20 #414 [Verbose] > │ #[derive(Clone, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │
00:00:20 #415 [Verbose] > │ pub enum UH0 { │
00:00:20 #416 [Verbose] > │ UH0_0(i32, Repl_main::US0, i32, Repl_main::US1, │
00:00:20 #417 [Verbose] > │ LrcPtr<Repl_main::UH0>), │
00:00:20 #418 [Verbose] > │ UH0_1, │
00:00:20 #419 [Verbose] > │ } │
00:00:20 #420 [Verbose] > │ impl core::fmt::Display for Repl_main::UH0 { │
00:00:20 #421 [Verbose] > │ fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { │
00:00:20 #422 [Verbose] > │ write!(f, "{}", core::any::type_name::<Self>()) │
00:00:20 #423 [Verbose] > │ } │
00:00:20 #424 [Verbose] > │ } │
00:00:20 #425 [Verbose] > │ #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │
00:00:20 #426 [Verbose] > │ pub enum US3 { US3_0, US3_1, } │
00:00:20 #427 [Verbose] > │ impl core::fmt::Display for Repl_main::US3 { │
00:00:20 #428 [Verbose] > │ fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { │
00:00:20 #429 [Verbose] > │ write!(f, "{}", core::any::type_name::<Self>()) │
00:00:20 #430 [Verbose] > │ } │
00:00:20 #431 [Verbose] > │ } │
00:00:20 #432 [Verbose] > │ #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │
00:00:20 #433 [Verbose] > │ pub enum US7 { US7_0, US7_1, US7_2, US7_3, US7_4, US7_5, US7_6, } │
00:00:20 #434 [Verbose] > │ impl core::fmt::Display for Repl_main::US7 { │
00:00:20 #435 [Verbose] > │ fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { │
00:00:20 #436 [Verbose] > │ write!(f, "{}", core::any::type_name::<Self>()) │
00:00:20 #437 [Verbose] > │ } │
00:00:20 #438 [Verbose] > │ } │
00:00:20 #439 [Verbose] > │ #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │
00:00:20 #440 [Verbose] > │ pub enum US6 { │
00:00:20 #441 [Verbose] > │ US6_0(i32), │
00:00:20 #442 [Verbose] > │ US6_1(Repl_main::US7), │
00:00:20 #443 [Verbose] > │ US6_2(i32, Repl_main::US0), │
00:00:20 #444 [Verbose] > │ } │
00:00:20 #445 [Verbose] > │ impl core::fmt::Display for Repl_main::US6 { │
00:00:20 #446 [Verbose] > │ fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { │
00:00:20 #447 [Verbose] > │ write!(f, "{}", core::any::type_name::<Self>()) │
00:00:20 #448 [Verbose] > │ } │
00:00:20 #449 [Verbose] > │ } │
00:00:20 #450 [Verbose] > │ #[derive(Clone, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │
00:00:20 #451 [Verbose] > │ pub enum UH1 { UH1_0(Repl_main::US6, LrcPtr<Repl_main::UH1>), UH1_1, } │
00:00:20 #452 [Verbose] > │ impl core::fmt::Display for Repl_main::UH1 { │
00:00:20 #453 [Verbose] > │ fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { │
00:00:20 #454 [Verbose] > │ write!(f, "{}", core::any::type_name::<Self>()) │
00:00:20 #455 [Verbose] > │ } │
00:00:20 #456 [Verbose] > │ } │
00:00:20 #457 [Verbose] > │ #[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │
00:00:20 #458 [Verbose] > │ pub enum US8 { US8_0(i32), US8_1(i32), US8_2(i32), } │
00:00:20 #459 [Verbose] > │ impl core::fmt::Display for Repl_main::US8 { │
00:00:20 #460 [Verbose] > │ fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { │
00:00:20 #461 [Verbose] > │ write!(f, "{}", core::any::type_name::<Self>()) │
00:00:20 #462 [Verbose] > │ } │
00:00:20 #463 [Verbose] > │ } │
00:00:20 #464 [Verbose] > │ #[derive(Clone, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │
00:00:20 #465 [Verbose] > │ pub enum US5 { US5_0(LrcPtr<Repl_main::UH1>), US5_1(Repl_main::US8), } │
00:00:20 #466 [Verbose] > │ impl core::fmt::Display for Repl_main::US5 { │
00:00:20 #467 [Verbose] > │ fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { │
00:00:20 #468 [Verbose] > │ write!(f, "{}", core::any::type_name::<Self>()) │
00:00:20 #469 [Verbose] > │ } │
00:00:20 #470 [Verbose] > │ } │
00:00:20 #471 [Verbose] > │ #[derive(Clone, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │
00:00:20 #472 [Verbose] > │ pub enum US4 { US4_0(Repl_main::US3), US4_1(Repl_main::US5), } │
00:00:20 #473 [Verbose] > │ impl core::fmt::Display for Repl_main::US4 { │
00:00:20 #474 [Verbose] > │ fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { │
00:00:20 #475 [Verbose] > │ write!(f, "{}", core::any::type_name::<Self>()) │
00:00:20 #476 [Verbose] > │ } │
00:00:20 #477 [Verbose] > │ } │
00:00:20 #478 [Verbose] > │ #[derive(Clone, Debug, PartialEq, PartialOrd, Hash, Eq, Ord,)] │
00:00:20 #479 [Verbose] > │ pub enum UH2 { │
00:00:20 #480 [Verbose] > │ UH2_0(LrcPtr<Repl_main::UH0>, string, Repl_main::US4, │
00:00:20 #481 [Verbose] > │ LrcPtr<Repl_main::UH2>), │
00:00:20 #482 [Verbose] > │ UH2_1, │
00:00:20 #483 [Verbose] > │ } │
00:00:20 #484 [Verbose] > │ impl core::fmt::Display for Repl_main::UH2 { │
00:00:20 #485 [Verbose] > │ fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { │
00:00:20 #486 [Verbose] > │ write!(f, "{}", core::any::type_name::<Self>()) │
00:00:20 #487 [Verbose] > │ } │
00:00:20 #488 [Verbose] > │ } │
00:00:20 #489 [Verbose] > │ pub fn method0() { │
00:00:20 #490 [Verbose] > │ let v17: std::string::String = │
00:00:20 #491 [Verbose] > │ format!("{:#?}", │
00:00:20 #492 [Verbose] > │ &LrcPtr::new(Repl_main::UH2::UH2_0(LrcPtr::new(Repl_main::UH0::UH0_1), │
00:00:20 #493 [Verbose] > │ │
00:00:20 #494 [Verbose] > │ string("01"), │
00:00:20 #495 [Verbose] > │ │
00:00:20 #496 [Verbose] > │ Repl_main::US4::US4_0(Repl_main::US3::US3_0), │
00:00:20 #497 [Verbose] > │ │
00:00:20 #498 [Verbose] > │ LrcPtr::new(Repl_main::UH2::UH2_0(LrcPtr::new(Repl_main::UH0::UH0_1), │
00:00:20 #499 [Verbose] > │ │
00:00:20 #500 [Verbose] > │ string("02"), │
00:00:20 #501 [Verbose] > │ │
00:00:20 #502 [Verbose] > │ Repl_main::US4::US4_0(Repl_main::US3::US3_0), │
00:00:20 #503 [Verbose] > │ │
00:00:20 #504 [Verbose] > │ LrcPtr::new(Repl_main::UH2::UH2_0(LrcPtr::new(Repl_main::UH0::UH0_1), │
00:00:20 #505 [Verbose] > │ │
00:00:20 #506 [Verbose] > │ string("03"), │
00:00:20 #507 [Verbose] > │ │
00:00:20 #508 [Verbose] > │ Repl_main::US4::US4_0(Repl_main::US3::US3_0), │
00:00:20 #509 [Verbose] > │ │
00:00:20 #510 [Verbose] > │ LrcPtr::new(Repl_main::UH2::UH2_1)))))))); │
00:00:20 #511 [Verbose] > │ println!("{0}", &v17,); │
00:00:20 #512 [Verbose] > │ () │
00:00:20 #513 [Verbose] > │ } │
00:00:20 #514 [Verbose] > │ on_startup!(Repl_main::method0()); │
00:00:20 #515 [Verbose] > │ } │
00:00:20 #516 [Verbose] > │ │
00:00:20 #517 [Verbose] > │ │
00:00:20 #518 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #519 [Verbose] >
00:00:20 #520 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 #521 [Verbose] > // // test
00:00:20 #522 [Verbose] > // // rust=
00:00:20 #523 [Verbose] >
00:00:20 #524 [Verbose] > get_tasks ()
00:00:20 #525 [Verbose] > |> listm'.try_item 0i32
00:00:20 #526 [Verbose] > |> fun (Some task) => task.task.name
00:00:20 #527 [Verbose] > |> _equal (task_name "01")
00:00:20 #528 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1541-5702-0298-0c3a2f104e19\main.spi
00:00:25 #529 [Verbose] >
00:00:25 #530 [Verbose] > ╭─[ 5.14s - return value ]─────────────────────────────────────────────────────╮
00:00:25 #531 [Verbose] > │ .rs output: │
00:00:25 #532 [Verbose] > │ │
00:00:25 #533 [Verbose] > │ │
00:00:25 #534 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 #535 [Verbose] >
00:00:25 #536 [Verbose] > ╭─[ 5.14s - stdout ]───────────────────────────────────────────────────────────╮
00:00:25 #537 [Verbose] > │ │
00:00:25 #538 [Verbose] > │ .fsx: │
00:00:25 #539 [Verbose] > │ let rec method0 () : unit = │
00:00:25 #540 [Verbose] > │ let v3 : string = "01" │
00:00:25 #541 [Verbose] > │ let v4 : string = $"_equal / actual: %A{v3} / expected: %A{v3}" │
00:00:25 #542 [Verbose] > │ () │
00:00:25 #543 [Verbose] > │ method0() │
00:00:25 #544 [Verbose] > │ │
00:00:25 #545 [Verbose] > │ .rs: │
00:00:25 #546 [Verbose] > │ #![allow(dead_code,)] │
00:00:25 #547 [Verbose] > │ #![allow(non_camel_case_types,)] │
00:00:25 #548 [Verbose] > │ #![allow(non_snake_case,)] │
00:00:25 #549 [Verbose] > │ #![allow(non_upper_case_globals,)] │
00:00:25 #550 [Verbose] > │ #![allow(unreachable_code,)] │
00:00:25 #551 [Verbose] > │ #![allow(unused_attributes,)] │
00:00:25 #552 [Verbose] > │ #![allow(unused_imports,)] │
00:00:25 #553 [Verbose] > │ #![allow(unused_macros,)] │
00:00:25 #554 [Verbose] > │ #![allow(unused_parens,)] │
00:00:25 #555 [Verbose] > │ #![allow(unused_variables,)] │
00:00:25 #556 [Verbose] > │ pub mod Repl_main { │
00:00:25 #557 [Verbose] > │ use super::*; │
00:00:25 #558 [Verbose] > │ use fable_library_rust::Native_::Any; │
00:00:25 #559 [Verbose] > │ use fable_library_rust::Native_::on_startup; │
00:00:25 #560 [Verbose] > │ use fable_library_rust::String_::sprintf; │
00:00:25 #561 [Verbose] > │ use fable_library_rust::String_::string; │
00:00:25 #562 [Verbose] > │ pub fn method0() { │
00:00:25 #563 [Verbose] > │ let v4: string = │
00:00:25 #564 [Verbose] > │ sprintf!("_equal / actual: {:?} / expected: {:?}", │
00:00:25 #565 [Verbose] > │ &string("01"), │
00:00:25 #566 [Verbose] > │ &string("01")); │
00:00:25 #567 [Verbose] > │ () │
00:00:25 #568 [Verbose] > │ } │
00:00:25 #569 [Verbose] > │ on_startup!(Repl_main::method0()); │
00:00:25 #570 [Verbose] > │ } │
00:00:25 #571 [Verbose] > │ │
00:00:25 #572 [Verbose] > │ │
00:00:25 #573 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 #574 [Verbose] >
00:00:25 #575 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:25 #576 [Verbose] > // // test
00:00:25 #577 [Verbose] >
00:00:25 #578 [Verbose] > ()
00:00:25 #579 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-0217-1797-1ca20f3232c1\main.spi
00:00:25 #580 [Verbose] >
00:00:25 #581 [Verbose] > ╭─[ 405.14ms - stdout ]────────────────────────────────────────────────────────╮
00:00:25 #582 [Verbose] > │ let rec method0 () : unit = │
00:00:25 #583 [Verbose] > │ () │
00:00:25 #584 [Verbose] > │ method0() │
00:00:25 #585 [Verbose] > │ │
00:00:25 #586 [Verbose] > │ │
00:00:25 #587 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #588 [Verbose] > [NbConvertApp] Converting notebook Tasks.dib.ipynb to html
00:00:27 #589 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:27 #590 [Verbose] > validate(nb)
00:00:28 #591 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:00:28 #592 [Verbose] > return _pygments_highlight(
00:00:28 #593 [Verbose] > [NbConvertApp] Writing 303117 bytes to Tasks.dib.html
00:00:29 #594 [Debug] executeAsync / exitCode: 0 / output.Length: 34919
00:00:29 #595 [Debug] main / executeCommand / exitCode: 0
In [ ]:
{ . "$ScriptDir/../lib/spiral/build.ps1" } | Invoke-Block
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 testing.dib""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ # testing │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > inl _almost_equal b a =
00:00:03 #19 [Verbose] > assert (abs (b - a) < 0.00000001) $"$\"_almost_equal / actual: %A{!a}
00:00:03 #20 [Verbose] > expected: %A{!b}\""
00:00:03 #21 [Verbose] >
00:00:03 #22 [Verbose] > inl _equal b a =
00:00:03 #23 [Verbose] > assert (a = b) $"$\"_equal / actual: %A{!a} / expected: %A{!b}\""
00:00:03 #24 [Verbose] >
00:00:03 #25 [Verbose] > inl _is_less_than b a =
00:00:03 #26 [Verbose] > assert (b < a) $"$\"_is_less_than / actual: %A{!a} / expected: %A{!b}\""
00:00:03 #27 [Verbose] >
00:00:03 #28 [Verbose] > inl _is_less_than_or_equal b a =
00:00:03 #29 [Verbose] > assert (b <= a) $"$\"_is_less_than_or_equal / actual: %A{!a} / expected:
00:00:03 #30 [Verbose] > %A{!b}\""
00:00:03 #31 [Verbose] >
00:00:03 #32 [Verbose] > inl _throws (fn : () -> ()) : option string =
00:00:03 #33 [Verbose] > inl none = None : option string
00:00:03 #34 [Verbose] > inl some (s : string) = Some s
00:00:03 #35 [Verbose] > $"try !fn (); !none with ex -> !some ex.Message"
00:00:06 #36 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-1316-1678-1f9173c283dd\main.spi
00:00:08 #37 [Verbose] >
00:00:08 #38 [Verbose] > ╭─[ 5.11s - stdout ]───────────────────────────────────────────────────────────╮
00:00:08 #39 [Verbose] > │ () │
00:00:08 #40 [Verbose] > │ │
00:00:08 #41 [Verbose] > │ │
00:00:08 #42 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #43 [Verbose] >
00:00:08 #44 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:08 #45 [Verbose] > inl print_and_return x =
00:00:08 #46 [Verbose] > $"printfn $\"print_and_return / x: {!x}\""
00:00:08 #47 [Verbose] > x
00:00:08 #48 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-1607-0714-0f516315e659\main.spi
00:00:08 #49 [Verbose] >
00:00:08 #50 [Verbose] > ╭─[ 189.60ms - stdout ]────────────────────────────────────────────────────────╮
00:00:08 #51 [Verbose] > │ () │
00:00:08 #52 [Verbose] > │ │
00:00:08 #53 [Verbose] > │ │
00:00:08 #54 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #55 [Verbose] > [NbConvertApp] Converting notebook testing.dib.ipynb to html
00:00:10 #56 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:10 #57 [Verbose] > validate(nb)
00:00:11 #58 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:00:11 #59 [Verbose] > return _pygments_highlight(
00:00:11 #60 [Verbose] > [NbConvertApp] Writing 274807 bytes to testing.dib.html
00:00:12 #61 [Debug] executeAsync / exitCode: 0 / output.Length: 2726
00:00:12 #62 [Debug] main / executeCommand / exitCode: 0
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 common.dib""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ # common │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > // // test
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > open testing
00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-2651-5169-5ecd8eb44987\main.spi
00:00:08 #22 [Verbose] >
00:00:08 #23 [Verbose] > ╭─[ 5.21s - stdout ]───────────────────────────────────────────────────────────╮
00:00:08 #24 [Verbose] > │ () │
00:00:08 #25 [Verbose] > │ │
00:00:08 #26 [Verbose] > │ │
00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #28 [Verbose] >
00:00:08 #29 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:08 #30 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:08 #31 [Verbose] > │ ## pair │
00:00:08 #32 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #33 [Verbose] >
00:00:08 #34 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:08 #35 [Verbose] > inl pair x y =
00:00:08 #36 [Verbose] > x, y
00:00:09 #37 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-2943-4345-493f6e8ebf54\main.spi
00:00:09 #38 [Verbose] >
00:00:09 #39 [Verbose] > ╭─[ 149.58ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #40 [Verbose] > │ () │
00:00:09 #41 [Verbose] > │ │
00:00:09 #42 [Verbose] > │ │
00:00:09 #43 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #44 [Verbose] >
00:00:09 #45 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #46 [Verbose] > // // test
00:00:09 #47 [Verbose] >
00:00:09 #48 [Verbose] > pair 1i32 2i32
00:00:09 #49 [Verbose] > |> _equal (1, 2)
00:00:09 #50 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-2958-5836-51ad2d0bd49b\main.spi
00:00:09 #51 [Verbose] >
00:00:09 #52 [Verbose] > ╭─[ 743.07ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #53 [Verbose] > │ let rec method0 () : unit = │
00:00:09 #54 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (1, 2)} / expected: │
00:00:09 #55 [Verbose] > │ %A{struct (1, 2)}" │
00:00:09 #56 [Verbose] > │ () │
00:00:09 #57 [Verbose] > │ method0() │
00:00:09 #58 [Verbose] > │ │
00:00:09 #59 [Verbose] > │ │
00:00:09 #60 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #61 [Verbose] >
00:00:09 #62 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #63 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #64 [Verbose] > │ ## ||> │
00:00:09 #65 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #66 [Verbose] >
00:00:09 #67 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #68 [Verbose] > inl (||>) (arg1, arg2) fn = arg2 |> fn arg1
00:00:09 #69 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3033-3328-35537e8cfc9a\main.spi
00:00:09 #70 [Verbose] >
00:00:09 #71 [Verbose] > ╭─[ 124.72ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #72 [Verbose] > │ () │
00:00:09 #73 [Verbose] > │ │
00:00:09 #74 [Verbose] > │ │
00:00:09 #75 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #76 [Verbose] >
00:00:09 #77 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #78 [Verbose] > // // test
00:00:09 #79 [Verbose] >
00:00:09 #80 [Verbose] > (3i32, 2i32)
00:00:09 #81 [Verbose] > ||> fun a b => a - b
00:00:09 #82 [Verbose] > |> _equal 1
00:00:10 #83 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3045-4593-4e011d7838ab\main.spi
00:00:10 #84 [Verbose] >
00:00:10 #85 [Verbose] > ╭─[ 176.81ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #86 [Verbose] > │ let rec method0 () : unit = │
00:00:10 #87 [Verbose] > │ let v0 : string = $"_equal / actual: %A{1} / expected: %A{1}" │
00:00:10 #88 [Verbose] > │ () │
00:00:10 #89 [Verbose] > │ method0() │
00:00:10 #90 [Verbose] > │ │
00:00:10 #91 [Verbose] > │ │
00:00:10 #92 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #93 [Verbose] >
00:00:10 #94 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:10 #95 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:10 #96 [Verbose] > │ ## flip │
00:00:10 #97 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #98 [Verbose] >
00:00:10 #99 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #100 [Verbose] > inl flip fn a b =
00:00:10 #101 [Verbose] > fn b a
00:00:10 #102 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3064-6420-627f79152e2d\main.spi
00:00:10 #103 [Verbose] >
00:00:10 #104 [Verbose] > ╭─[ 176.93ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #105 [Verbose] > │ () │
00:00:10 #106 [Verbose] > │ │
00:00:10 #107 [Verbose] > │ │
00:00:10 #108 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #109 [Verbose] >
00:00:10 #110 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #111 [Verbose] > // // test
00:00:10 #112 [Verbose] >
00:00:10 #113 [Verbose] > (1i32, 2i32)
00:00:10 #114 [Verbose] > ||> flip pair
00:00:10 #115 [Verbose] > |> _equal (2, 1)
00:00:10 #116 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3082-8212-83334c1404e8\main.spi
00:00:10 #117 [Verbose] >
00:00:10 #118 [Verbose] > ╭─[ 145.88ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #119 [Verbose] > │ let rec method0 () : unit = │
00:00:10 #120 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (2, 1)} / expected: │
00:00:10 #121 [Verbose] > │ %A{struct (2, 1)}" │
00:00:10 #122 [Verbose] > │ () │
00:00:10 #123 [Verbose] > │ method0() │
00:00:10 #124 [Verbose] > │ │
00:00:10 #125 [Verbose] > │ │
00:00:10 #126 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #127 [Verbose] >
00:00:10 #128 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:10 #129 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:10 #130 [Verbose] > │ ## join_body │
00:00:10 #131 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #132 [Verbose] >
00:00:10 #133 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #134 [Verbose] > inl join_body body acc x =
00:00:10 #135 [Verbose] > if var_is x |> not
00:00:10 #136 [Verbose] > then body acc x
00:00:10 #137 [Verbose] > else
00:00:10 #138 [Verbose] > inl acc = dyn acc
00:00:10 #139 [Verbose] > join body acc x
00:00:10 #140 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3097-9761-94b4a2d37949\main.spi
00:00:10 #141 [Verbose] >
00:00:10 #142 [Verbose] > ╭─[ 143.42ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #143 [Verbose] > │ () │
00:00:10 #144 [Verbose] > │ │
00:00:10 #145 [Verbose] > │ │
00:00:10 #146 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #147 [Verbose] >
00:00:10 #148 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #149 [Verbose] > // // test
00:00:10 #150 [Verbose] >
00:00:10 #151 [Verbose] > inl rec fold_list f s = function
00:00:10 #152 [Verbose] > | Cons (x, x') => fold_list f (f s x) x'
00:00:10 #153 [Verbose] > | Nil => s
00:00:10 #154 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3112-1206-1e14b3a4c380\main.spi
00:00:10 #155 [Verbose] >
00:00:10 #156 [Verbose] > ╭─[ 138.13ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #157 [Verbose] > │ () │
00:00:10 #158 [Verbose] > │ │
00:00:10 #159 [Verbose] > │ │
00:00:10 #160 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #161 [Verbose] >
00:00:10 #162 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #163 [Verbose] > // // test
00:00:10 #164 [Verbose] >
00:00:10 #165 [Verbose] > [[5i32; 4; join 3; 2; 1]]
00:00:10 #166 [Verbose] > |> fold_list (+) 0
00:00:10 #167 [Verbose] > |> _equal 15
00:00:10 #168 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3126-2610-21e68a36f8c6\main.spi
00:00:11 #169 [Verbose] >
00:00:11 #170 [Verbose] > ╭─[ 348.87ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #171 [Verbose] > │ let rec method1 () : int32 = │
00:00:11 #172 [Verbose] > │ 3 │
00:00:11 #173 [Verbose] > │ and method0 () : unit = │
00:00:11 #174 [Verbose] > │ let v0 : int32 = method1() │
00:00:11 #175 [Verbose] > │ let v1 : int32 = 9 + v0 │
00:00:11 #176 [Verbose] > │ let v2 : int32 = v1 + 2 │
00:00:11 #177 [Verbose] > │ let v3 : int32 = v2 + 1 │
00:00:11 #178 [Verbose] > │ let v4 : bool = v3 = 15 │
00:00:11 #179 [Verbose] > │ let v5 : string = $"_equal / actual: %A{v3} / expected: %A{15}" │
00:00:11 #180 [Verbose] > │ let v6 : bool = v4 = false │
00:00:11 #181 [Verbose] > │ if v6 then │
00:00:11 #182 [Verbose] > │ failwith<unit> v5 │
00:00:11 #183 [Verbose] > │ method0() │
00:00:11 #184 [Verbose] > │ │
00:00:11 #185 [Verbose] > │ │
00:00:11 #186 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #187 [Verbose] >
00:00:11 #188 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #189 [Verbose] > // // test
00:00:11 #190 [Verbose] >
00:00:11 #191 [Verbose] > [[5i32; 4; join 3; 2; 1]]
00:00:11 #192 [Verbose] > |> fold_list (join_body (+)) 0
00:00:11 #193 [Verbose] > |> _equal 15
00:00:11 #194 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3161-6173-6c2e38be5762\main.spi
00:00:11 #195 [Verbose] >
00:00:11 #196 [Verbose] > ╭─[ 185.88ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #197 [Verbose] > │ let rec method1 () : int32 = │
00:00:11 #198 [Verbose] > │ 3 │
00:00:11 #199 [Verbose] > │ and method2 (v0 : int32, v1 : int32) : int32 = │
00:00:11 #200 [Verbose] > │ let v2 : int32 = v1 + v0 │
00:00:11 #201 [Verbose] > │ v2 │
00:00:11 #202 [Verbose] > │ and method0 () : unit = │
00:00:11 #203 [Verbose] > │ let v0 : int32 = method1() │
00:00:11 #204 [Verbose] > │ let v1 : int32 = 9 │
00:00:11 #205 [Verbose] > │ let v2 : int32 = method2(v0, v1) │
00:00:11 #206 [Verbose] > │ let v3 : int32 = v2 + 2 │
00:00:11 #207 [Verbose] > │ let v4 : int32 = v3 + 1 │
00:00:11 #208 [Verbose] > │ let v5 : bool = v4 = 15 │
00:00:11 #209 [Verbose] > │ let v6 : string = $"_equal / actual: %A{v4} / expected: %A{15}" │
00:00:11 #210 [Verbose] > │ let v7 : bool = v5 = false │
00:00:11 #211 [Verbose] > │ if v7 then │
00:00:11 #212 [Verbose] > │ failwith<unit> v6 │
00:00:11 #213 [Verbose] > │ method0() │
00:00:11 #214 [Verbose] > │ │
00:00:11 #215 [Verbose] > │ │
00:00:11 #216 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #217 [Verbose] >
00:00:11 #218 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #219 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #220 [Verbose] > │ ## join_body_unit │
00:00:11 #221 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #222 [Verbose] >
00:00:11 #223 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #224 [Verbose] > inl join_body_unit body d x =
00:00:11 #225 [Verbose] > if var_is d |> not
00:00:11 #226 [Verbose] > then body x
00:00:11 #227 [Verbose] > else
00:00:11 #228 [Verbose] > inl x = dyn x
00:00:11 #229 [Verbose] > join body x
00:00:11 #230 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3181-8139-8dbcf02da7dd\main.spi
00:00:11 #231 [Verbose] >
00:00:11 #232 [Verbose] > ╭─[ 200.55ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #233 [Verbose] > │ () │
00:00:11 #234 [Verbose] > │ │
00:00:11 #235 [Verbose] > │ │
00:00:11 #236 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #237 [Verbose] >
00:00:11 #238 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #239 [Verbose] > // // test
00:00:11 #240 [Verbose] >
00:00:11 #241 [Verbose] > [[5i32; 4; join 3; 2; 1]]
00:00:11 #242 [Verbose] > |> fold_list (fun acc n => join_body_unit ((+) acc) n n) 0
00:00:11 #243 [Verbose] > |> _equal 15
00:00:11 #244 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3201-0174-0ca0d2deeaee\main.spi
00:00:11 #245 [Verbose] >
00:00:11 #246 [Verbose] > ╭─[ 174.24ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #247 [Verbose] > │ let rec method1 () : int32 = │
00:00:11 #248 [Verbose] > │ 3 │
00:00:11 #249 [Verbose] > │ and method2 (v0 : int32) : int32 = │
00:00:11 #250 [Verbose] > │ let v1 : int32 = 9 + v0 │
00:00:11 #251 [Verbose] > │ v1 │
00:00:11 #252 [Verbose] > │ and method0 () : unit = │
00:00:11 #253 [Verbose] > │ let v0 : int32 = method1() │
00:00:11 #254 [Verbose] > │ let v1 : int32 = method2(v0) │
00:00:11 #255 [Verbose] > │ let v2 : int32 = v1 + 2 │
00:00:11 #256 [Verbose] > │ let v3 : int32 = v2 + 1 │
00:00:11 #257 [Verbose] > │ let v4 : bool = v3 = 15 │
00:00:11 #258 [Verbose] > │ let v5 : string = $"_equal / actual: %A{v3} / expected: %A{15}" │
00:00:11 #259 [Verbose] > │ let v6 : bool = v4 = false │
00:00:11 #260 [Verbose] > │ if v6 then │
00:00:11 #261 [Verbose] > │ failwith<unit> v5 │
00:00:11 #262 [Verbose] > │ method0() │
00:00:11 #263 [Verbose] > │ │
00:00:11 #264 [Verbose] > │ │
00:00:11 #265 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #266 [Verbose] >
00:00:11 #267 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #268 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #269 [Verbose] > │ ## run_target │
00:00:11 #270 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #271 [Verbose] >
00:00:11 #272 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #273 [Verbose] > union target =
00:00:11 #274 [Verbose] > | Rust
00:00:11 #275 [Verbose] > | Fsharp
00:00:11 #276 [Verbose] >
00:00:11 #277 [Verbose] > inl run_target (fn : target -> (() -> _)) =
00:00:11 #278 [Verbose] > inl rust_fn = fn Rust
00:00:11 #279 [Verbose] > inl fsharp_fn = fn Fsharp
00:00:11 #280 [Verbose] >
00:00:11 #281 [Verbose] > $"#if FABLE_COMPILER_RUST"
00:00:11 #282 [Verbose] > $"!rust_fn ()"
00:00:11 #283 [Verbose] > $"#else"
00:00:11 #284 [Verbose] > $"!fsharp_fn ()"
00:00:11 #285 [Verbose] > $"#endif"
00:00:11 #286 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3220-2024-2d768ea6735a\main.spi
00:00:11 #287 [Verbose] >
00:00:11 #288 [Verbose] > ╭─[ 185.80ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #289 [Verbose] > │ () │
00:00:11 #290 [Verbose] > │ │
00:00:11 #291 [Verbose] > │ │
00:00:11 #292 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #293 [Verbose] >
00:00:11 #294 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #295 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #296 [Verbose] > │ ## format_debug │
00:00:11 #297 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #298 [Verbose] >
00:00:11 #299 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #300 [Verbose] > inl format_debug x =
00:00:11 #301 [Verbose] > $"$\"%A{!x}\"" : string
00:00:11 #302 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3239-3915-306f406dd05c\main.spi
00:00:12 #303 [Verbose] >
00:00:12 #304 [Verbose] > ╭─[ 141.48ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #305 [Verbose] > │ () │
00:00:12 #306 [Verbose] > │ │
00:00:12 #307 [Verbose] > │ │
00:00:12 #308 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #309 [Verbose] >
00:00:12 #310 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #311 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #312 [Verbose] > │ ## nameof │
00:00:12 #313 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #314 [Verbose] >
00:00:12 #315 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #316 [Verbose] > inl nameof x : string =
00:00:12 #317 [Verbose] > $"nameof !x"
00:00:12 #318 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3253-5398-5c02458b30db\main.spi
00:00:12 #319 [Verbose] >
00:00:12 #320 [Verbose] > ╭─[ 148.04ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #321 [Verbose] > │ () │
00:00:12 #322 [Verbose] > │ │
00:00:12 #323 [Verbose] > │ │
00:00:12 #324 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #325 [Verbose] >
00:00:12 #326 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #327 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #328 [Verbose] > │ ## obj_to_string │
00:00:12 #329 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #330 [Verbose] >
00:00:12 #331 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #332 [Verbose] > inl obj_to_string x : string =
00:00:12 #333 [Verbose] > $"!x.ToString ()"
00:00:12 #334 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3269-6920-66e0d675f8fa\main.spi
00:00:12 #335 [Verbose] >
00:00:12 #336 [Verbose] > ╭─[ 153.79ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #337 [Verbose] > │ () │
00:00:12 #338 [Verbose] > │ │
00:00:12 #339 [Verbose] > │ │
00:00:12 #340 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #341 [Verbose] >
00:00:12 #342 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #343 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #344 [Verbose] > │ ## get_environment_variable │
00:00:12 #345 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #346 [Verbose] >
00:00:12 #347 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #348 [Verbose] > inl get_environment_variable (var : string) : string =
00:00:12 #349 [Verbose] > $"System.Environment.GetEnvironmentVariable !var"
00:00:12 #350 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-3285-8508-8a345cfe37f2\main.spi
00:00:12 #351 [Verbose] >
00:00:12 #352 [Verbose] > ╭─[ 180.89ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #353 [Verbose] > │ () │
00:00:12 #354 [Verbose] > │ │
00:00:12 #355 [Verbose] > │ │
00:00:12 #356 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #357 [Verbose] > [NbConvertApp] Converting notebook common.dib.ipynb to html
00:00:14 #358 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:14 #359 [Verbose] > validate(nb)
00:00:15 #360 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:00:15 #361 [Verbose] > return _pygments_highlight(
00:00:15 #362 [Verbose] > [NbConvertApp] Writing 301673 bytes to common.dib.html
00:00:15 #363 [Debug] executeAsync / exitCode: 0 / output.Length: 18861
00:00:15 #364 [Debug] main / executeCommand / exitCode: 0
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 console.dib""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ # console │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > // // test
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > open testing
00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-4298-9830-9585668c4875\main.spi
00:00:08 #22 [Verbose] >
00:00:08 #23 [Verbose] > ╭─[ 5.17s - stdout ]───────────────────────────────────────────────────────────╮
00:00:08 #24 [Verbose] > │ () │
00:00:08 #25 [Verbose] > │ │
00:00:08 #26 [Verbose] > │ │
00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #28 [Verbose] >
00:00:08 #29 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:08 #30 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:08 #31 [Verbose] > │ ## write_line │
00:00:08 #32 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #33 [Verbose] >
00:00:08 #34 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:08 #35 [Verbose] > inl write_line obj : () =
00:00:08 #36 [Verbose] > $"System.Console.WriteLine !obj"
00:00:09 #37 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-4591-9117-973252b50aab\main.spi
00:00:09 #38 [Verbose] >
00:00:09 #39 [Verbose] > ╭─[ 197.56ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #40 [Verbose] > │ () │
00:00:09 #41 [Verbose] > │ │
00:00:09 #42 [Verbose] > │ │
00:00:09 #43 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #44 [Verbose] >
00:00:09 #45 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #46 [Verbose] > inl write_line_ ~obj : () =
00:00:09 #47 [Verbose] > $"System.Console.WriteLine !obj"
00:00:09 #48 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-4610-1079-15471523fc9e\main.spi
00:00:09 #49 [Verbose] >
00:00:09 #50 [Verbose] > ╭─[ 170.37ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #51 [Verbose] > │ () │
00:00:09 #52 [Verbose] > │ │
00:00:09 #53 [Verbose] > │ │
00:00:09 #54 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #55 [Verbose] > [NbConvertApp] Converting notebook console.dib.ipynb to html
00:00:11 #56 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:11 #57 [Verbose] > validate(nb)
00:00:12 #58 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:00:12 #59 [Verbose] > return _pygments_highlight(
00:00:12 #60 [Verbose] > [NbConvertApp] Writing 273326 bytes to console.dib.html
00:00:12 #61 [Debug] executeAsync / exitCode: 0 / output.Length: 3010
00:00:13 #62 [Debug] main / executeCommand / exitCode: 0
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 math.dib""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ # math │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > // // test
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > open testing
00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-5652-5240-555840b1ca9e\main.spi
00:00:08 #22 [Verbose] >
00:00:08 #23 [Verbose] > ╭─[ 5.19s - stdout ]───────────────────────────────────────────────────────────╮
00:00:08 #24 [Verbose] > │ () │
00:00:08 #25 [Verbose] > │ │
00:00:08 #26 [Verbose] > │ │
00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #28 [Verbose] >
00:00:08 #29 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:08 #30 [Verbose] > // // test
00:00:08 #31 [Verbose] >
00:00:08 #32 [Verbose] > 2 * 2 / 0.4f64 |> sqrt
00:00:08 #33 [Verbose] > |> _almost_equal 3.1622776601683795
00:00:09 #34 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1542-5944-4483-4d715532088a\main.spi
00:00:09 #35 [Verbose] >
00:00:09 #36 [Verbose] > ╭─[ 843.88ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #37 [Verbose] > │ let rec method0 () : unit = │
00:00:09 #38 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{3.1622776601683795} / │
00:00:09 #39 [Verbose] > │ expected: %A{3.1622776601683795}" │
00:00:09 #40 [Verbose] > │ () │
00:00:09 #41 [Verbose] > │ method0() │
00:00:09 #42 [Verbose] > │ │
00:00:09 #43 [Verbose] > │ │
00:00:09 #44 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #45 [Verbose] >
00:00:09 #46 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #47 [Verbose] > // // test
00:00:09 #48 [Verbose] >
00:00:09 #49 [Verbose] > 2f64 / 3
00:00:09 #50 [Verbose] > |> _almost_equal 0.6666666666666666
00:00:09 #51 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0029-2923-23612e28db09\main.spi
00:00:09 #52 [Verbose] >
00:00:09 #53 [Verbose] > ╭─[ 190.04ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #54 [Verbose] > │ let rec method0 () : unit = │
00:00:09 #55 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{0.6666666666666666} / │
00:00:09 #56 [Verbose] > │ expected: %A{0.6666666666666666}" │
00:00:09 #57 [Verbose] > │ () │
00:00:09 #58 [Verbose] > │ method0() │
00:00:09 #59 [Verbose] > │ │
00:00:09 #60 [Verbose] > │ │
00:00:09 #61 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #62 [Verbose] >
00:00:09 #63 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #64 [Verbose] > // // test
00:00:09 #65 [Verbose] >
00:00:09 #66 [Verbose] > 2f64 |> log
00:00:09 #67 [Verbose] > |> _almost_equal 0.6931471805599453
00:00:10 #68 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0048-4892-43c0374316c7\main.spi
00:00:10 #69 [Verbose] >
00:00:10 #70 [Verbose] > ╭─[ 133.66ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #71 [Verbose] > │ let rec method0 () : unit = │
00:00:10 #72 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{0.6931471805599453} / │
00:00:10 #73 [Verbose] > │ expected: %A{0.6931471805599453}" │
00:00:10 #74 [Verbose] > │ () │
00:00:10 #75 [Verbose] > │ method0() │
00:00:10 #76 [Verbose] > │ │
00:00:10 #77 [Verbose] > │ │
00:00:10 #78 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #79 [Verbose] >
00:00:10 #80 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #81 [Verbose] > // // test
00:00:10 #82 [Verbose] >
00:00:10 #83 [Verbose] > pi
00:00:10 #84 [Verbose] > |> _almost_equal 3.141592653589793f64
00:00:10 #85 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0062-6247-685dc375e072\main.spi
00:00:10 #86 [Verbose] >
00:00:10 #87 [Verbose] > ╭─[ 185.16ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #88 [Verbose] > │ let rec method0 () : unit = │
00:00:10 #89 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{3.141592653589793} / │
00:00:10 #90 [Verbose] > │ expected: %A{3.141592653589793}" │
00:00:10 #91 [Verbose] > │ () │
00:00:10 #92 [Verbose] > │ method0() │
00:00:10 #93 [Verbose] > │ │
00:00:10 #94 [Verbose] > │ │
00:00:10 #95 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #96 [Verbose] >
00:00:10 #97 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #98 [Verbose] > // // test
00:00:10 #99 [Verbose] >
00:00:10 #100 [Verbose] > pi |> cos
00:00:10 #101 [Verbose] > |> _equal -1f64
00:00:10 #102 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0081-8135-8ba4e55e6220\main.spi
00:00:10 #103 [Verbose] >
00:00:10 #104 [Verbose] > ╭─[ 147.00ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #105 [Verbose] > │ let rec method0 () : unit = │
00:00:10 #106 [Verbose] > │ let v0 : string = $"_equal / actual: %A{-1.0} / expected: %A{-1.0}" │
00:00:10 #107 [Verbose] > │ () │
00:00:10 #108 [Verbose] > │ method0() │
00:00:10 #109 [Verbose] > │ │
00:00:10 #110 [Verbose] > │ │
00:00:10 #111 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #112 [Verbose] >
00:00:10 #113 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #114 [Verbose] > // // test
00:00:10 #115 [Verbose] >
00:00:10 #116 [Verbose] > pi
00:00:10 #117 [Verbose] > |> cos
00:00:10 #118 [Verbose] > |> fun n => n / 2f64
00:00:10 #119 [Verbose] > |> _almost_equal -0.5
00:00:10 #120 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0096-9657-94bb1d679b46\main.spi
00:00:10 #121 [Verbose] >
00:00:10 #122 [Verbose] > ╭─[ 143.12ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #123 [Verbose] > │ let rec method0 () : unit = │
00:00:10 #124 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{-0.5} / expected: │
00:00:10 #125 [Verbose] > │ %A{-0.5}" │
00:00:10 #126 [Verbose] > │ () │
00:00:10 #127 [Verbose] > │ method0() │
00:00:10 #128 [Verbose] > │ │
00:00:10 #129 [Verbose] > │ │
00:00:10 #130 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #131 [Verbose] >
00:00:10 #132 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #133 [Verbose] > // // test
00:00:10 #134 [Verbose] >
00:00:10 #135 [Verbose] > pi / 2 |> cos
00:00:10 #136 [Verbose] > |> _almost_equal 0.00000000000000006123233995736766f64
00:00:10 #137 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0111-1113-14396a014dc9\main.spi
00:00:10 #138 [Verbose] >
00:00:10 #139 [Verbose] > ╭─[ 186.37ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #140 [Verbose] > │ let rec method0 () : unit = │
00:00:10 #141 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{6.123233995736766E-17} / │
00:00:10 #142 [Verbose] > │ expected: %A{6.123233995736766E-17}" │
00:00:10 #143 [Verbose] > │ () │
00:00:10 #144 [Verbose] > │ method0() │
00:00:10 #145 [Verbose] > │ │
00:00:10 #146 [Verbose] > │ │
00:00:10 #147 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #148 [Verbose] >
00:00:10 #149 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:10 #150 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:10 #151 [Verbose] > │ ## atan2 │
00:00:10 #152 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #153 [Verbose] >
00:00:10 #154 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #155 [Verbose] > inl atan2 (y : f64) (x : f64) =
00:00:10 #156 [Verbose] > $"System.Math.Atan2 (!y, !x)" : f64
00:00:10 #157 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0130-3050-3811a655cda3\main.spi
00:00:10 #158 [Verbose] >
00:00:10 #159 [Verbose] > ╭─[ 178.68ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #160 [Verbose] > │ () │
00:00:10 #161 [Verbose] > │ │
00:00:10 #162 [Verbose] > │ │
00:00:10 #163 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #164 [Verbose] >
00:00:10 #165 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #166 [Verbose] > // // test
00:00:10 #167 [Verbose] >
00:00:10 #168 [Verbose] > 0 |> atan2 1
00:00:10 #169 [Verbose] > |> _equal 1.5707963267948966
00:00:11 #170 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0148-4844-4ea4f41443e1\main.spi
00:00:11 #171 [Verbose] >
00:00:11 #172 [Verbose] > ╭─[ 450.18ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #173 [Verbose] > │ let rec method0 () : unit = │
00:00:11 #174 [Verbose] > │ let v0 : float = System.Math.Atan2 (1.0, 0.0) │
00:00:11 #175 [Verbose] > │ let v1 : bool = v0 = 1.5707963267948966 │
00:00:11 #176 [Verbose] > │ let v2 : string = $"_equal / actual: %A{v0} / expected: │
00:00:11 #177 [Verbose] > │ %A{1.5707963267948966}" │
00:00:11 #178 [Verbose] > │ let v3 : bool = v1 = false │
00:00:11 #179 [Verbose] > │ if v3 then │
00:00:11 #180 [Verbose] > │ failwith<unit> v2 │
00:00:11 #181 [Verbose] > │ method0() │
00:00:11 #182 [Verbose] > │ │
00:00:11 #183 [Verbose] > │ │
00:00:11 #184 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #185 [Verbose] >
00:00:11 #186 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #187 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #188 [Verbose] > │ ## e │
00:00:11 #189 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #190 [Verbose] >
00:00:11 #191 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #192 [Verbose] > inl e () =
00:00:11 #193 [Verbose] > exp 1f64
00:00:11 #194 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0194-9445-93d5cec5780f\main.spi
00:00:11 #195 [Verbose] >
00:00:11 #196 [Verbose] > ╭─[ 151.01ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #197 [Verbose] > │ () │
00:00:11 #198 [Verbose] > │ │
00:00:11 #199 [Verbose] > │ │
00:00:11 #200 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #201 [Verbose] >
00:00:11 #202 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #203 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #204 [Verbose] > │ ## floor │
00:00:11 #205 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #206 [Verbose] >
00:00:11 #207 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #208 [Verbose] > inl floor forall t {float}. (x : t) : t =
00:00:11 #209 [Verbose] > $"floor !x"
00:00:11 #210 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0209-0990-0ca2b0a1ca9f\main.spi
00:00:11 #211 [Verbose] >
00:00:11 #212 [Verbose] > ╭─[ 136.61ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #213 [Verbose] > │ () │
00:00:11 #214 [Verbose] > │ │
00:00:11 #215 [Verbose] > │ │
00:00:11 #216 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #217 [Verbose] >
00:00:11 #218 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #219 [Verbose] > // // test
00:00:11 #220 [Verbose] >
00:00:11 #221 [Verbose] > 0.6 |> floor
00:00:11 #222 [Verbose] > |> _equal 0f64
00:00:11 #223 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0223-2390-2491c819d300\main.spi
00:00:11 #224 [Verbose] >
00:00:11 #225 [Verbose] > ╭─[ 218.95ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #226 [Verbose] > │ let rec method0 () : unit = │
00:00:11 #227 [Verbose] > │ let v0 : float = floor 0.6 │
00:00:11 #228 [Verbose] > │ let v1 : bool = v0 = 0.0 │
00:00:11 #229 [Verbose] > │ let v2 : string = $"_equal / actual: %A{v0} / expected: %A{0.0}" │
00:00:11 #230 [Verbose] > │ let v3 : bool = v1 = false │
00:00:11 #231 [Verbose] > │ if v3 then │
00:00:11 #232 [Verbose] > │ failwith<unit> v2 │
00:00:11 #233 [Verbose] > │ method0() │
00:00:11 #234 [Verbose] > │ │
00:00:11 #235 [Verbose] > │ │
00:00:11 #236 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #237 [Verbose] >
00:00:11 #238 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #239 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #240 [Verbose] > │ ## log_base │
00:00:11 #241 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #242 [Verbose] >
00:00:11 #243 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #244 [Verbose] > inl log_base (new_base : f64) (a : f64) =
00:00:11 #245 [Verbose] > $"System.Math.Log (!a, !new_base)" : f64
00:00:12 #246 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0246-4656-4b5cce756533\main.spi
00:00:12 #247 [Verbose] >
00:00:12 #248 [Verbose] > ╭─[ 148.34ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #249 [Verbose] > │ () │
00:00:12 #250 [Verbose] > │ │
00:00:12 #251 [Verbose] > │ │
00:00:12 #252 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #253 [Verbose] >
00:00:12 #254 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #255 [Verbose] > // // test
00:00:12 #256 [Verbose] >
00:00:12 #257 [Verbose] > 100 |> log_base 10
00:00:12 #258 [Verbose] > |> _equal 2
00:00:12 #259 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0261-6169-61767cb53e08\main.spi
00:00:12 #260 [Verbose] >
00:00:12 #261 [Verbose] > ╭─[ 213.66ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #262 [Verbose] > │ let rec method0 () : unit = │
00:00:12 #263 [Verbose] > │ let v0 : float = System.Math.Log (100.0, 10.0) │
00:00:12 #264 [Verbose] > │ let v1 : bool = v0 = 2.0 │
00:00:12 #265 [Verbose] > │ let v2 : string = $"_equal / actual: %A{v0} / expected: %A{2.0}" │
00:00:12 #266 [Verbose] > │ let v3 : bool = v1 = false │
00:00:12 #267 [Verbose] > │ if v3 then │
00:00:12 #268 [Verbose] > │ failwith<unit> v2 │
00:00:12 #269 [Verbose] > │ method0() │
00:00:12 #270 [Verbose] > │ │
00:00:12 #271 [Verbose] > │ │
00:00:12 #272 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #273 [Verbose] >
00:00:12 #274 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #275 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #276 [Verbose] > │ ## round │
00:00:12 #277 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #278 [Verbose] >
00:00:12 #279 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #280 [Verbose] > inl round forall t {float}. (x : t) : t =
00:00:12 #281 [Verbose] > $"round !x"
00:00:12 #282 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0284-8410-84b519b07389\main.spi
00:00:12 #283 [Verbose] >
00:00:12 #284 [Verbose] > ╭─[ 181.78ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #285 [Verbose] > │ () │
00:00:12 #286 [Verbose] > │ │
00:00:12 #287 [Verbose] > │ │
00:00:12 #288 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #289 [Verbose] >
00:00:12 #290 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #291 [Verbose] > // // test
00:00:12 #292 [Verbose] >
00:00:12 #293 [Verbose] > 0.5 |> round
00:00:12 #294 [Verbose] > |> _equal 0f64
00:00:12 #295 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0302-0241-087f8853223e\main.spi
00:00:12 #296 [Verbose] >
00:00:12 #297 [Verbose] > ╭─[ 165.04ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #298 [Verbose] > │ let rec method0 () : unit = │
00:00:12 #299 [Verbose] > │ let v0 : float = round 0.5 │
00:00:12 #300 [Verbose] > │ let v1 : bool = v0 = 0.0 │
00:00:12 #301 [Verbose] > │ let v2 : string = $"_equal / actual: %A{v0} / expected: %A{0.0}" │
00:00:12 #302 [Verbose] > │ let v3 : bool = v1 = false │
00:00:12 #303 [Verbose] > │ if v3 then │
00:00:12 #304 [Verbose] > │ failwith<unit> v2 │
00:00:12 #305 [Verbose] > │ method0() │
00:00:12 #306 [Verbose] > │ │
00:00:12 #307 [Verbose] > │ │
00:00:12 #308 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #309 [Verbose] >
00:00:12 #310 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #311 [Verbose] > // // test
00:00:12 #312 [Verbose] >
00:00:12 #313 [Verbose] > 0.6 |> round
00:00:12 #314 [Verbose] > |> _equal 1f64
00:00:12 #315 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0319-1954-11bd57e2a8d1\main.spi
00:00:12 #316 [Verbose] >
00:00:12 #317 [Verbose] > ╭─[ 144.20ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #318 [Verbose] > │ let rec method0 () : unit = │
00:00:12 #319 [Verbose] > │ let v0 : float = round 0.6 │
00:00:12 #320 [Verbose] > │ let v1 : bool = v0 = 1.0 │
00:00:12 #321 [Verbose] > │ let v2 : string = $"_equal / actual: %A{v0} / expected: %A{1.0}" │
00:00:12 #322 [Verbose] > │ let v3 : bool = v1 = false │
00:00:12 #323 [Verbose] > │ if v3 then │
00:00:12 #324 [Verbose] > │ failwith<unit> v2 │
00:00:12 #325 [Verbose] > │ method0() │
00:00:12 #326 [Verbose] > │ │
00:00:12 #327 [Verbose] > │ │
00:00:12 #328 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #329 [Verbose] >
00:00:12 #330 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #331 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #332 [Verbose] > │ ## square │
00:00:12 #333 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #334 [Verbose] >
00:00:12 #335 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #336 [Verbose] > inl square x =
00:00:12 #337 [Verbose] > x ** 2
00:00:12 #338 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0334-3470-3190d305cc5c\main.spi
00:00:12 #339 [Verbose] >
00:00:12 #340 [Verbose] > ╭─[ 175.32ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #341 [Verbose] > │ () │
00:00:12 #342 [Verbose] > │ │
00:00:12 #343 [Verbose] > │ │
00:00:12 #344 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #345 [Verbose] >
00:00:12 #346 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #347 [Verbose] > // // test
00:00:12 #348 [Verbose] >
00:00:12 #349 [Verbose] > 5f64
00:00:12 #350 [Verbose] > |> sqrt
00:00:12 #351 [Verbose] > |> square
00:00:12 #352 [Verbose] > |> _almost_equal 5
00:00:13 #353 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0352-5246-5fde9db26d5d\main.spi
00:00:13 #354 [Verbose] >
00:00:13 #355 [Verbose] > ╭─[ 239.02ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #356 [Verbose] > │ let rec method0 () : unit = │
00:00:13 #357 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{5.000000000000001} / │
00:00:13 #358 [Verbose] > │ expected: %A{5.0}" │
00:00:13 #359 [Verbose] > │ () │
00:00:13 #360 [Verbose] > │ method0() │
00:00:13 #361 [Verbose] > │ │
00:00:13 #362 [Verbose] > │ │
00:00:13 #363 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #364 [Verbose] >
00:00:13 #365 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #366 [Verbose] > // // test
00:00:13 #367 [Verbose] >
00:00:13 #368 [Verbose] > e () |> square
00:00:13 #369 [Verbose] > |> _almost_equal 7.3890560989306495
00:00:13 #370 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-0376-7672-7039678cc113\main.spi
00:00:13 #371 [Verbose] >
00:00:13 #372 [Verbose] > ╭─[ 158.40ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #373 [Verbose] > │ let rec method0 () : unit = │
00:00:13 #374 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{7.3890560989306495} / │
00:00:13 #375 [Verbose] > │ expected: %A{7.3890560989306495}" │
00:00:13 #376 [Verbose] > │ () │
00:00:13 #377 [Verbose] > │ method0() │
00:00:13 #378 [Verbose] > │ │
00:00:13 #379 [Verbose] > │ │
00:00:13 #380 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #381 [Verbose] > [NbConvertApp] Converting notebook math.dib.ipynb to html
00:00:15 #382 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:15 #383 [Verbose] > validate(nb)
00:00:15 #384 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:00:15 #385 [Verbose] > return _pygments_highlight(
00:00:16 #386 [Verbose] > [NbConvertApp] Writing 300934 bytes to math.dib.html
00:00:16 #387 [Debug] executeAsync / exitCode: 0 / output.Length: 20120
00:00:16 #388 [Debug] main / executeCommand / exitCode: 0
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 \"optionm'.dib\"""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ # optionm │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > // // test
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > open testing
00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-1386-8684-825affc6eae2\main.spi
00:00:08 #22 [Verbose] >
00:00:08 #23 [Verbose] > ╭─[ 5.09s - stdout ]───────────────────────────────────────────────────────────╮
00:00:08 #24 [Verbose] > │ () │
00:00:08 #25 [Verbose] > │ │
00:00:08 #26 [Verbose] > │ │
00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #28 [Verbose] >
00:00:08 #29 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:08 #30 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:08 #31 [Verbose] > │ ## default_value │
00:00:08 #32 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #33 [Verbose] >
00:00:08 #34 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:08 #35 [Verbose] > inl default_value d = optionm.defaultWith d
00:00:08 #36 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-1675-7592-74afab983f58\main.spi
00:00:08 #37 [Verbose] >
00:00:08 #38 [Verbose] > ╭─[ 190.74ms - stdout ]────────────────────────────────────────────────────────╮
00:00:08 #39 [Verbose] > │ () │
00:00:08 #40 [Verbose] > │ │
00:00:08 #41 [Verbose] > │ │
00:00:08 #42 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #43 [Verbose] >
00:00:08 #44 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:08 #45 [Verbose] > // // test
00:00:08 #46 [Verbose] >
00:00:08 #47 [Verbose] > None
00:00:08 #48 [Verbose] > |> default_value 3i32
00:00:08 #49 [Verbose] > |> _equal 3i32
00:00:09 #50 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-1695-9501-99a7969d404e\main.spi
00:00:09 #51 [Verbose] >
00:00:09 #52 [Verbose] > ╭─[ 714.18ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #53 [Verbose] > │ let rec method0 () : unit = │
00:00:09 #54 [Verbose] > │ let v0 : string = $"_equal / actual: %A{3} / expected: %A{3}" │
00:00:09 #55 [Verbose] > │ () │
00:00:09 #56 [Verbose] > │ method0() │
00:00:09 #57 [Verbose] > │ │
00:00:09 #58 [Verbose] > │ │
00:00:09 #59 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #60 [Verbose] >
00:00:09 #61 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #62 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #63 [Verbose] > │ ## default_with │
00:00:09 #64 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #65 [Verbose] >
00:00:09 #66 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #67 [Verbose] > inl default_with fn = function Some x => x | None => fn ()
00:00:09 #68 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-1767-6709-604b719c785c\main.spi
00:00:09 #69 [Verbose] >
00:00:09 #70 [Verbose] > ╭─[ 136.15ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #71 [Verbose] > │ () │
00:00:09 #72 [Verbose] > │ │
00:00:09 #73 [Verbose] > │ │
00:00:09 #74 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #75 [Verbose] >
00:00:09 #76 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #77 [Verbose] > // // test
00:00:09 #78 [Verbose] >
00:00:09 #79 [Verbose] > None
00:00:09 #80 [Verbose] > |> default_with (fun () => 3i32)
00:00:09 #81 [Verbose] > |> _equal 3i32
00:00:09 #82 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-1780-8081-8cf100608992\main.spi
00:00:10 #83 [Verbose] >
00:00:10 #84 [Verbose] > ╭─[ 157.66ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #85 [Verbose] > │ let rec method0 () : unit = │
00:00:10 #86 [Verbose] > │ let v0 : string = $"_equal / actual: %A{3} / expected: %A{3}" │
00:00:10 #87 [Verbose] > │ () │
00:00:10 #88 [Verbose] > │ method0() │
00:00:10 #89 [Verbose] > │ │
00:00:10 #90 [Verbose] > │ │
00:00:10 #91 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #92 [Verbose] >
00:00:10 #93 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:10 #94 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:10 #95 [Verbose] > │ ## choose │
00:00:10 #96 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #97 [Verbose] >
00:00:10 #98 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #99 [Verbose] > inl choose fn a b =
00:00:10 #100 [Verbose] > match a, b with
00:00:10 #101 [Verbose] > | Some x, Some y => fn x y |> Some
00:00:10 #102 [Verbose] > | _ => None
00:00:10 #103 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-1797-9711-9755baac8d35\main.spi
00:00:10 #104 [Verbose] >
00:00:10 #105 [Verbose] > ╭─[ 181.11ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #106 [Verbose] > │ () │
00:00:10 #107 [Verbose] > │ │
00:00:10 #108 [Verbose] > │ │
00:00:10 #109 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #110 [Verbose] >
00:00:10 #111 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #112 [Verbose] > // // test
00:00:10 #113 [Verbose] >
00:00:10 #114 [Verbose] > (Some 2i32, Some 3)
00:00:10 #115 [Verbose] > ||> choose (+)
00:00:10 #116 [Verbose] > |> _equal (Some 5)
00:00:10 #117 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-1815-1547-168ee18d1eb5\main.spi
00:00:10 #118 [Verbose] >
00:00:10 #119 [Verbose] > ╭─[ 766.50ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #120 [Verbose] > │ type [<Struct>] US0 = │
00:00:10 #121 [Verbose] > │ | US0_0 │
00:00:10 #122 [Verbose] > │ | US0_1 of f1_0 : int32 │
00:00:10 #123 [Verbose] > │ let rec method0 () : unit = │
00:00:10 #124 [Verbose] > │ let v3 : US0 = US0_1(5) │
00:00:10 #125 [Verbose] > │ let v4 : US0 = US0_1(5) │
00:00:10 #126 [Verbose] > │ let v5 : string = $"_equal / actual: %A{v3} / expected: %A{v4}" │
00:00:10 #127 [Verbose] > │ () │
00:00:10 #128 [Verbose] > │ method0() │
00:00:10 #129 [Verbose] > │ │
00:00:10 #130 [Verbose] > │ │
00:00:10 #131 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #132 [Verbose] >
00:00:10 #133 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:10 #134 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:10 #135 [Verbose] > │ ## iter │
00:00:10 #136 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #137 [Verbose] >
00:00:10 #138 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #139 [Verbose] > inl iter fn = function
00:00:10 #140 [Verbose] > | Some x => fn x
00:00:10 #141 [Verbose] > | None => ()
00:00:11 #142 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-1893-9321-9df7a4055e8e\main.spi
00:00:11 #143 [Verbose] >
00:00:11 #144 [Verbose] > ╭─[ 162.89ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #145 [Verbose] > │ () │
00:00:11 #146 [Verbose] > │ │
00:00:11 #147 [Verbose] > │ │
00:00:11 #148 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #149 [Verbose] >
00:00:11 #150 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #151 [Verbose] > // // test
00:00:11 #152 [Verbose] >
00:00:11 #153 [Verbose] > inl n = mut 1i32
00:00:11 #154 [Verbose] > inl fn =
00:00:11 #155 [Verbose] > fun n' =>
00:00:11 #156 [Verbose] > n <- *n + n'
00:00:11 #157 [Verbose] > Some 1i32 |> iter fn
00:00:11 #158 [Verbose] > None |> iter fn
00:00:11 #159 [Verbose] > *n
00:00:11 #160 [Verbose] > |> _equal 2i32
00:00:11 #161 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-1909-0942-0edb3246b476\main.spi
00:00:11 #162 [Verbose] >
00:00:11 #163 [Verbose] > ╭─[ 316.28ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #164 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:11 #165 [Verbose] > │ let rec method0 () : unit = │
00:00:11 #166 [Verbose] > │ let v0 : Mut0 = {l0 = 1} : Mut0 │
00:00:11 #167 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:11 #168 [Verbose] > │ let v2 : int32 = v1 + 1 │
00:00:11 #169 [Verbose] > │ v0.l0 <- v2 │
00:00:11 #170 [Verbose] > │ let v3 : int32 = v0.l0 │
00:00:11 #171 [Verbose] > │ let v4 : bool = v3 = 2 │
00:00:11 #172 [Verbose] > │ let v5 : string = $"_equal / actual: %A{v3} / expected: %A{2}" │
00:00:11 #173 [Verbose] > │ let v6 : bool = v4 = false │
00:00:11 #174 [Verbose] > │ if v6 then │
00:00:11 #175 [Verbose] > │ failwith<unit> v5 │
00:00:11 #176 [Verbose] > │ method0() │
00:00:11 #177 [Verbose] > │ │
00:00:11 #178 [Verbose] > │ │
00:00:11 #179 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #180 [Verbose] >
00:00:11 #181 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #182 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #183 [Verbose] > │ ## option_fsharp │
00:00:11 #184 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #185 [Verbose] >
00:00:11 #186 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #187 [Verbose] > nominal option_fsharp t = $"`t option"
00:00:11 #188 [Verbose] >
00:00:11 #189 [Verbose] > inl from_fsharp forall t. (x : option_fsharp t) : option t =
00:00:11 #190 [Verbose] > inl some x : option t = Some x
00:00:11 #191 [Verbose] > inl none : option t = None
00:00:11 #192 [Verbose] > $"!x |> Option.map !some |> Option.defaultValue !none"
00:00:11 #193 [Verbose] >
00:00:11 #194 [Verbose] > inl to_fsharp forall t. (x : option t) : option_fsharp t =
00:00:11 #195 [Verbose] > match x with
00:00:11 #196 [Verbose] > | Some x => $"Some !x"
00:00:11 #197 [Verbose] > | None => $"None"
00:00:11 #198 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-1942-4231-4a76b87c2a2a\main.spi
00:00:11 #199 [Verbose] >
00:00:11 #200 [Verbose] > ╭─[ 141.48ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #201 [Verbose] > │ () │
00:00:11 #202 [Verbose] > │ │
00:00:11 #203 [Verbose] > │ │
00:00:11 #204 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #205 [Verbose] >
00:00:11 #206 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #207 [Verbose] > // // test
00:00:11 #208 [Verbose] >
00:00:11 #209 [Verbose] > inl x = Some 3i32
00:00:11 #210 [Verbose] > inl y : option i32 = None
00:00:11 #211 [Verbose] > inl x' = x |> to_fsharp |> from_fsharp
00:00:11 #212 [Verbose] > inl y' = y |> to_fsharp |> from_fsharp
00:00:11 #213 [Verbose] > (x', y') |> _equal (x, y)
00:00:11 #214 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-1956-5657-5b2e6c7ffba5\main.spi
00:00:11 #215 [Verbose] >
00:00:11 #216 [Verbose] > ╭─[ 264.73ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #217 [Verbose] > │ type [<Struct>] US0 = │
00:00:11 #218 [Verbose] > │ | US0_0 │
00:00:11 #219 [Verbose] > │ | US0_1 of f1_0 : int32 │
00:00:11 #220 [Verbose] > │ let rec closure0 () (v0 : int32) : US0 = │
00:00:11 #221 [Verbose] > │ US0_1(v0) │
00:00:11 #222 [Verbose] > │ and method0 () : unit = │
00:00:11 #223 [Verbose] > │ let v0 : int32 option = Some 3 │
00:00:11 #224 [Verbose] > │ let v1 : (int32 -> US0) = closure0() │
00:00:11 #225 [Verbose] > │ let v2 : US0 = US0_0 │
00:00:11 #226 [Verbose] > │ let v3 : US0 = v0 |> Option.map v1 |> Option.defaultValue v2 │
00:00:11 #227 [Verbose] > │ let v4 : int32 option = None │
00:00:11 #228 [Verbose] > │ let v5 : US0 = US0_0 │
00:00:11 #229 [Verbose] > │ let v6 : US0 = v4 |> Option.map v1 |> Option.defaultValue v5 │
00:00:11 #230 [Verbose] > │ let v11 : bool = │
00:00:11 #231 [Verbose] > │ match v3 with │
00:00:11 #232 [Verbose] > │ | US0_1(v9) -> (* Some *) │
00:00:11 #233 [Verbose] > │ let v10 : bool = v9 = 3 │
00:00:11 #234 [Verbose] > │ v10 │
00:00:11 #235 [Verbose] > │ | _ -> │
00:00:11 #236 [Verbose] > │ false │
00:00:11 #237 [Verbose] > │ let v13 : bool = │
00:00:11 #238 [Verbose] > │ if v11 then │
00:00:11 #239 [Verbose] > │ match v6 with │
00:00:11 #240 [Verbose] > │ | US0_0 -> (* None *) │
00:00:11 #241 [Verbose] > │ true │
00:00:11 #242 [Verbose] > │ | _ -> │
00:00:11 #243 [Verbose] > │ false │
00:00:11 #244 [Verbose] > │ else │
00:00:11 #245 [Verbose] > │ false │
00:00:11 #246 [Verbose] > │ let v14 : US0 = US0_1(3) │
00:00:11 #247 [Verbose] > │ let v15 : US0 = US0_0 │
00:00:11 #248 [Verbose] > │ let v16 : string = $"_equal / actual: %A{struct (v3, v6)} / expected: │
00:00:11 #249 [Verbose] > │ %A{struct (v14, v15)}" │
00:00:11 #250 [Verbose] > │ let v17 : bool = v13 = false │
00:00:11 #251 [Verbose] > │ if v17 then │
00:00:11 #252 [Verbose] > │ failwith<unit> v16 │
00:00:11 #253 [Verbose] > │ method0() │
00:00:11 #254 [Verbose] > │ │
00:00:11 #255 [Verbose] > │ │
00:00:11 #256 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #257 [Verbose] > [NbConvertApp] Converting notebook optionm'.dib.ipynb to html
00:00:13 #258 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:13 #259 [Verbose] > validate(nb)
00:00:14 #260 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:00:14 #261 [Verbose] > return _pygments_highlight(
00:00:14 #262 [Verbose] > [NbConvertApp] Writing 291081 bytes to optionm'.dib.html
00:00:15 #263 [Debug] executeAsync / exitCode: 0 / output.Length: 14194
00:00:15 #264 [Debug] main / executeCommand / exitCode: 0
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 \"am'.dib\"""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ # am │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > // // test
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > open testing
00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-2959-5976-5a0e573e470f\main.spi
00:00:08 #22 [Verbose] >
00:00:08 #23 [Verbose] > ╭─[ 5.04s - stdout ]───────────────────────────────────────────────────────────╮
00:00:08 #24 [Verbose] > │ () │
00:00:08 #25 [Verbose] > │ │
00:00:08 #26 [Verbose] > │ │
00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #28 [Verbose] >
00:00:08 #29 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:08 #30 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:08 #31 [Verbose] > │ ## sum │
00:00:08 #32 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #33 [Verbose] >
00:00:08 #34 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:08 #35 [Verbose] > inl sum (a' : a _ _) =
00:00:08 #36 [Verbose] > a' |> am.fold (+) 0
00:00:08 #37 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-3251-5102-59ce61decc82\main.spi
00:00:09 #38 [Verbose] >
00:00:09 #39 [Verbose] > ╭─[ 181.79ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #40 [Verbose] > │ () │
00:00:09 #41 [Verbose] > │ │
00:00:09 #42 [Verbose] > │ │
00:00:09 #43 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #44 [Verbose] >
00:00:09 #45 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #46 [Verbose] > // // test
00:00:09 #47 [Verbose] >
00:00:09 #48 [Verbose] > am.init 10i32 id
00:00:09 #49 [Verbose] > |> sum
00:00:09 #50 [Verbose] > |> _equal 45
00:00:09 #51 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-3269-6907-6298f62188e1\main.spi
00:00:10 #52 [Verbose] >
00:00:10 #53 [Verbose] > ╭─[ 1.62s - stdout ]───────────────────────────────────────────────────────────╮
00:00:10 #54 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:10 #55 [Verbose] > │ and Mut1 = {mutable l0 : int32; mutable l1 : int32} │
00:00:10 #56 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:10 #57 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:10 #58 [Verbose] > │ let v2 : bool = v1 < 10 │
00:00:10 #59 [Verbose] > │ v2 │
00:00:10 #60 [Verbose] > │ and method2 (v0 : int32, v1 : Mut1) : bool = │
00:00:10 #61 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:10 #62 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:10 #63 [Verbose] > │ v3 │
00:00:10 #64 [Verbose] > │ and method0 () : unit = │
00:00:10 #65 [Verbose] > │ let v0 : (int32 []) = Array.zeroCreate<int32> (10) │
00:00:10 #66 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:10 #67 [Verbose] > │ while method1(v1) do │
00:00:10 #68 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:10 #69 [Verbose] > │ v0.[int v3] <- v3 │
00:00:10 #70 [Verbose] > │ let v4 : int32 = v3 + 1 │
00:00:10 #71 [Verbose] > │ v1.l0 <- v4 │
00:00:10 #72 [Verbose] > │ () │
00:00:10 #73 [Verbose] > │ let v5 : int32 = v0.Length │
00:00:10 #74 [Verbose] > │ let v6 : Mut1 = {l0 = 0; l1 = 0} : Mut1 │
00:00:10 #75 [Verbose] > │ while method2(v5, v6) do │
00:00:10 #76 [Verbose] > │ let v8 : int32 = v6.l0 │
00:00:10 #77 [Verbose] > │ let v9 : int32 = v6.l1 │
00:00:10 #78 [Verbose] > │ let v10 : int32 = v0.[int v8] │
00:00:10 #79 [Verbose] > │ let v11 : int32 = v9 + v10 │
00:00:10 #80 [Verbose] > │ let v12 : int32 = v8 + 1 │
00:00:10 #81 [Verbose] > │ v6.l0 <- v12 │
00:00:10 #82 [Verbose] > │ v6.l1 <- v11 │
00:00:10 #83 [Verbose] > │ () │
00:00:10 #84 [Verbose] > │ let v13 : int32 = v6.l1 │
00:00:10 #85 [Verbose] > │ let v14 : bool = v13 = 45 │
00:00:10 #86 [Verbose] > │ let v15 : string = $"_equal / actual: %A{v13} / expected: %A{45}" │
00:00:10 #87 [Verbose] > │ let v16 : bool = v14 = false │
00:00:10 #88 [Verbose] > │ if v16 then │
00:00:10 #89 [Verbose] > │ failwith<unit> v15 │
00:00:10 #90 [Verbose] > │ method0() │
00:00:10 #91 [Verbose] > │ │
00:00:10 #92 [Verbose] > │ │
00:00:10 #93 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #94 [Verbose] >
00:00:10 #95 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:10 #96 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:10 #97 [Verbose] > │ ## init_series │
00:00:10 #98 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #99 [Verbose] >
00:00:10 #100 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #101 [Verbose] > inl init_series start end inc =
00:00:10 #102 [Verbose] > inl total = conv ((end - start) / inc) + 1
00:00:10 #103 [Verbose] > am.init total (conv >> (*) inc >> (+) start) : a i32 _
00:00:10 #104 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-3432-3289-3e16782be5a0\main.spi
00:00:10 #105 [Verbose] >
00:00:10 #106 [Verbose] > ╭─[ 170.03ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #107 [Verbose] > │ () │
00:00:10 #108 [Verbose] > │ │
00:00:10 #109 [Verbose] > │ │
00:00:10 #110 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #111 [Verbose] >
00:00:10 #112 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #113 [Verbose] > // // test
00:00:10 #114 [Verbose] >
00:00:10 #115 [Verbose] > init_series 0 1 0.5
00:00:10 #116 [Verbose] > |> _equal (a ;[[0f64; 0.5; 1]])
00:00:10 #117 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-3449-4990-4f70912b6d63\main.spi
00:00:11 #118 [Verbose] >
00:00:11 #119 [Verbose] > ╭─[ 234.65ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #120 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:11 #121 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:11 #122 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:11 #123 [Verbose] > │ let v2 : bool = v1 < 3 │
00:00:11 #124 [Verbose] > │ v2 │
00:00:11 #125 [Verbose] > │ and method2 (v0 : (float []), v1 : (float []), v2 : int32) : bool = │
00:00:11 #126 [Verbose] > │ let v3 : int32 = v0.Length │
00:00:11 #127 [Verbose] > │ let v4 : bool = v2 < v3 │
00:00:11 #128 [Verbose] > │ if v4 then │
00:00:11 #129 [Verbose] > │ let v5 : float = v0.[int v2] │
00:00:11 #130 [Verbose] > │ let v6 : float = v1.[int v2] │
00:00:11 #131 [Verbose] > │ let v7 : bool = v5 = v6 │
00:00:11 #132 [Verbose] > │ if v7 then │
00:00:11 #133 [Verbose] > │ let v8 : int32 = v2 + 1 │
00:00:11 #134 [Verbose] > │ method2(v0, v1, v8) │
00:00:11 #135 [Verbose] > │ else │
00:00:11 #136 [Verbose] > │ false │
00:00:11 #137 [Verbose] > │ else │
00:00:11 #138 [Verbose] > │ true │
00:00:11 #139 [Verbose] > │ and method0 () : unit = │
00:00:11 #140 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (3) │
00:00:11 #141 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:11 #142 [Verbose] > │ while method1(v1) do │
00:00:11 #143 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:11 #144 [Verbose] > │ let v4 : float = float v3 │
00:00:11 #145 [Verbose] > │ let v5 : float = 0.5 * v4 │
00:00:11 #146 [Verbose] > │ v0.[int v3] <- v5 │
00:00:11 #147 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:11 #148 [Verbose] > │ v1.l0 <- v6 │
00:00:11 #149 [Verbose] > │ () │
00:00:11 #150 [Verbose] > │ let v7 : (float []) = [|0.0; 0.5; 1.0|] │
00:00:11 #151 [Verbose] > │ let v8 : int32 = v0.Length │
00:00:11 #152 [Verbose] > │ let v9 : int32 = v7.Length │
00:00:11 #153 [Verbose] > │ let v10 : bool = v8 = v9 │
00:00:11 #154 [Verbose] > │ let v11 : bool = v10 <> true │
00:00:11 #155 [Verbose] > │ let v14 : bool = │
00:00:11 #156 [Verbose] > │ if v11 then │
00:00:11 #157 [Verbose] > │ false │
00:00:11 #158 [Verbose] > │ else │
00:00:11 #159 [Verbose] > │ let v12 : int32 = 0 │
00:00:11 #160 [Verbose] > │ method2(v0, v7, v12) │
00:00:11 #161 [Verbose] > │ let v15 : string = $"_equal / actual: %A{v0} / expected: %A{v7}" │
00:00:11 #162 [Verbose] > │ let v16 : bool = v14 = false │
00:00:11 #163 [Verbose] > │ if v16 then │
00:00:11 #164 [Verbose] > │ failwith<unit> v15 │
00:00:11 #165 [Verbose] > │ method0() │
00:00:11 #166 [Verbose] > │ │
00:00:11 #167 [Verbose] > │ │
00:00:11 #168 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #169 [Verbose] >
00:00:11 #170 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #171 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #172 [Verbose] > │ ## last │
00:00:11 #173 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #174 [Verbose] >
00:00:11 #175 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #176 [Verbose] > inl last (array : a _ _) =
00:00:11 #177 [Verbose] > index array (length array - 1)
00:00:11 #178 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-3475-7554-74506bc791ae\main.spi
00:00:11 #179 [Verbose] >
00:00:11 #180 [Verbose] > ╭─[ 208.00ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #181 [Verbose] > │ () │
00:00:11 #182 [Verbose] > │ │
00:00:11 #183 [Verbose] > │ │
00:00:11 #184 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #185 [Verbose] >
00:00:11 #186 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #187 [Verbose] > // // test
00:00:11 #188 [Verbose] >
00:00:11 #189 [Verbose] > am.init 10i32 id
00:00:11 #190 [Verbose] > |> last
00:00:11 #191 [Verbose] > |> _equal 9
00:00:11 #192 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-3496-9657-9c25d40d7bc2\main.spi
00:00:11 #193 [Verbose] >
00:00:11 #194 [Verbose] > ╭─[ 211.18ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #195 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:11 #196 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:11 #197 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:11 #198 [Verbose] > │ let v2 : bool = v1 < 10 │
00:00:11 #199 [Verbose] > │ v2 │
00:00:11 #200 [Verbose] > │ and method0 () : unit = │
00:00:11 #201 [Verbose] > │ let v0 : (int32 []) = Array.zeroCreate<int32> (10) │
00:00:11 #202 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:11 #203 [Verbose] > │ while method1(v1) do │
00:00:11 #204 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:11 #205 [Verbose] > │ v0.[int v3] <- v3 │
00:00:11 #206 [Verbose] > │ let v4 : int32 = v3 + 1 │
00:00:11 #207 [Verbose] > │ v1.l0 <- v4 │
00:00:11 #208 [Verbose] > │ () │
00:00:11 #209 [Verbose] > │ let v5 : int32 = v0.Length │
00:00:11 #210 [Verbose] > │ let v6 : int32 = v5 - 1 │
00:00:11 #211 [Verbose] > │ let v7 : int32 = v0.[int v6] │
00:00:11 #212 [Verbose] > │ let v8 : bool = v7 = 9 │
00:00:11 #213 [Verbose] > │ let v9 : string = $"_equal / actual: %A{v7} / expected: %A{9}" │
00:00:11 #214 [Verbose] > │ let v10 : bool = v8 = false │
00:00:11 #215 [Verbose] > │ if v10 then │
00:00:11 #216 [Verbose] > │ failwith<unit> v9 │
00:00:11 #217 [Verbose] > │ method0() │
00:00:11 #218 [Verbose] > │ │
00:00:11 #219 [Verbose] > │ │
00:00:11 #220 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #221 [Verbose] >
00:00:11 #222 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #223 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #224 [Verbose] > │ ## indexed │
00:00:11 #225 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #226 [Verbose] >
00:00:11 #227 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #228 [Verbose] > inl indexed (array : a _ _) =
00:00:11 #229 [Verbose] > (([[]], 0), array)
00:00:11 #230 [Verbose] > ||> am.fold fun (acc, i) x =>
00:00:11 #231 [Verbose] > (i, x) :: acc, i + 1
00:00:11 #232 [Verbose] > |> fst
00:00:11 #233 [Verbose] > |> listm.rev
00:00:11 #234 [Verbose] > |> listm.toArray
00:00:11 #235 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-3518-1892-182820635487\main.spi
00:00:11 #236 [Verbose] >
00:00:11 #237 [Verbose] > ╭─[ 181.56ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #238 [Verbose] > │ () │
00:00:11 #239 [Verbose] > │ │
00:00:11 #240 [Verbose] > │ │
00:00:11 #241 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #242 [Verbose] >
00:00:11 #243 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #244 [Verbose] > // // test
00:00:11 #245 [Verbose] >
00:00:11 #246 [Verbose] > am.init 3i32 ((*) 2)
00:00:11 #247 [Verbose] > |> indexed
00:00:11 #248 [Verbose] > |> _equal (a ;[[0i32, 0; 1, 2; 2, 4]] : a i32 _)
00:00:11 #249 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-3537-3725-31e5bb932e60\main.spi
00:00:12 #250 [Verbose] >
00:00:12 #251 [Verbose] > ╭─[ 439.40ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #252 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:12 #253 [Verbose] > │ and UH0 = │
00:00:12 #254 [Verbose] > │ | UH0_0 of int32 * int32 * UH0 │
00:00:12 #255 [Verbose] > │ | UH0_1 │
00:00:12 #256 [Verbose] > │ and Mut1 = {mutable l0 : int32; mutable l1 : UH0; mutable l2 : int32} │
00:00:12 #257 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:12 #258 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:12 #259 [Verbose] > │ let v2 : bool = v1 < 3 │
00:00:12 #260 [Verbose] > │ v2 │
00:00:12 #261 [Verbose] > │ and method2 (v0 : int32, v1 : Mut1) : bool = │
00:00:12 #262 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:12 #263 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:12 #264 [Verbose] > │ v3 │
00:00:12 #265 [Verbose] > │ and method3 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:12 #266 [Verbose] > │ match v0 with │
00:00:12 #267 [Verbose] > │ | UH0_0(v2, v3, v4) -> (* Cons *) │
00:00:12 #268 [Verbose] > │ let v5 : UH0 = UH0_0(v2, v3, v1) │
00:00:12 #269 [Verbose] > │ method3(v4, v5) │
00:00:12 #270 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:12 #271 [Verbose] > │ v1 │
00:00:12 #272 [Verbose] > │ and method5 (v0 : UH0, v1 : int32) : int32 = │
00:00:12 #273 [Verbose] > │ match v0 with │
00:00:12 #274 [Verbose] > │ | UH0_0(v2, v3, v4) -> (* Cons *) │
00:00:12 #275 [Verbose] > │ let v5 : int32 = v1 + 1 │
00:00:12 #276 [Verbose] > │ method5(v4, v5) │
00:00:12 #277 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:12 #278 [Verbose] > │ v1 │
00:00:12 #279 [Verbose] > │ and method6 (v0 : (struct (int32 * int32) []), v1 : UH0, v2 : int32) : int32 │
00:00:12 #280 [Verbose] > │ = │
00:00:12 #281 [Verbose] > │ match v1 with │
00:00:12 #282 [Verbose] > │ | UH0_0(v3, v4, v5) -> (* Cons *) │
00:00:12 #283 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:12 #284 [Verbose] > │ let v6 : int32 = v2 + 1 │
00:00:12 #285 [Verbose] > │ method6(v0, v5, v6) │
00:00:12 #286 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:12 #287 [Verbose] > │ v2 │
00:00:12 #288 [Verbose] > │ and method4 (v0 : UH0) : (struct (int32 * int32) []) = │
00:00:12 #289 [Verbose] > │ let v1 : int32 = 0 │
00:00:12 #290 [Verbose] > │ let v2 : int32 = method5(v0, v1) │
00:00:12 #291 [Verbose] > │ let v3 : (struct (int32 * int32) []) = Array.zeroCreate<struct (int32 * │
00:00:12 #292 [Verbose] > │ int32)> (v2) │
00:00:12 #293 [Verbose] > │ let v4 : int32 = 0 │
00:00:12 #294 [Verbose] > │ let v5 : int32 = method6(v3, v0, v4) │
00:00:12 #295 [Verbose] > │ v3 │
00:00:12 #296 [Verbose] > │ and method7 (v0 : (struct (int32 * int32) []), v1 : (struct (int32 * int32) │
00:00:12 #297 [Verbose] > │ []), v2 : int32) : bool = │
00:00:12 #298 [Verbose] > │ let v3 : int32 = v0.Length │
00:00:12 #299 [Verbose] > │ let v4 : bool = v2 < v3 │
00:00:12 #300 [Verbose] > │ if v4 then │
00:00:12 #301 [Verbose] > │ let struct (v5 : int32, v6 : int32) = v0.[int v2] │
00:00:12 #302 [Verbose] > │ let struct (v7 : int32, v8 : int32) = v1.[int v2] │
00:00:12 #303 [Verbose] > │ let v9 : bool = v5 = v7 │
00:00:12 #304 [Verbose] > │ let v11 : bool = │
00:00:12 #305 [Verbose] > │ if v9 then │
00:00:12 #306 [Verbose] > │ let v10 : bool = v6 = v8 │
00:00:12 #307 [Verbose] > │ v10 │
00:00:12 #308 [Verbose] > │ else │
00:00:12 #309 [Verbose] > │ false │
00:00:12 #310 [Verbose] > │ if v11 then │
00:00:12 #311 [Verbose] > │ let v12 : int32 = v2 + 1 │
00:00:12 #312 [Verbose] > │ method7(v0, v1, v12) │
00:00:12 #313 [Verbose] > │ else │
00:00:12 #314 [Verbose] > │ false │
00:00:12 #315 [Verbose] > │ else │
00:00:12 #316 [Verbose] > │ true │
00:00:12 #317 [Verbose] > │ and method0 () : unit = │
00:00:12 #318 [Verbose] > │ let v0 : (int32 []) = Array.zeroCreate<int32> (3) │
00:00:12 #319 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:12 #320 [Verbose] > │ while method1(v1) do │
00:00:12 #321 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:12 #322 [Verbose] > │ let v4 : int32 = 2 * v3 │
00:00:12 #323 [Verbose] > │ v0.[int v3] <- v4 │
00:00:12 #324 [Verbose] > │ let v5 : int32 = v3 + 1 │
00:00:12 #325 [Verbose] > │ v1.l0 <- v5 │
00:00:12 #326 [Verbose] > │ () │
00:00:12 #327 [Verbose] > │ let v6 : int32 = v0.Length │
00:00:12 #328 [Verbose] > │ let v7 : UH0 = UH0_1 │
00:00:12 #329 [Verbose] > │ let v8 : Mut1 = {l0 = 0; l1 = v7; l2 = 0} : Mut1 │
00:00:12 #330 [Verbose] > │ while method2(v6, v8) do │
00:00:12 #331 [Verbose] > │ let v10 : int32 = v8.l0 │
00:00:12 #332 [Verbose] > │ let struct (v11 : UH0, v12 : int32) = v8.l1, v8.l2 │
00:00:12 #333 [Verbose] > │ let v13 : int32 = v0.[int v10] │
00:00:12 #334 [Verbose] > │ let v14 : int32 = v12 + 1 │
00:00:12 #335 [Verbose] > │ let v15 : int32 = v10 + 1 │
00:00:12 #336 [Verbose] > │ let v16 : UH0 = UH0_0(v12, v13, v11) │
00:00:12 #337 [Verbose] > │ v8.l0 <- v15 │
00:00:12 #338 [Verbose] > │ v8.l1 <- v16 │
00:00:12 #339 [Verbose] > │ v8.l2 <- v14 │
00:00:12 #340 [Verbose] > │ () │
00:00:12 #341 [Verbose] > │ let struct (v17 : UH0, v18 : int32) = v8.l1, v8.l2 │
00:00:12 #342 [Verbose] > │ let v19 : UH0 = UH0_1 │
00:00:12 #343 [Verbose] > │ let v20 : UH0 = method3(v17, v19) │
00:00:12 #344 [Verbose] > │ let v21 : (struct (int32 * int32) []) = method4(v20) │
00:00:12 #345 [Verbose] > │ let v22 : (struct (int32 * int32) []) = [|struct (0, 0); struct (1, 2); │
00:00:12 #346 [Verbose] > │ struct (2, 4)|] │
00:00:12 #347 [Verbose] > │ let v23 : int32 = v21.Length │
00:00:12 #348 [Verbose] > │ let v24 : int32 = v22.Length │
00:00:12 #349 [Verbose] > │ let v25 : bool = v23 = v24 │
00:00:12 #350 [Verbose] > │ let v26 : bool = v25 <> true │
00:00:12 #351 [Verbose] > │ let v29 : bool = │
00:00:12 #352 [Verbose] > │ if v26 then │
00:00:12 #353 [Verbose] > │ false │
00:00:12 #354 [Verbose] > │ else │
00:00:12 #355 [Verbose] > │ let v27 : int32 = 0 │
00:00:12 #356 [Verbose] > │ method7(v21, v22, v27) │
00:00:12 #357 [Verbose] > │ let v30 : string = $"_equal / actual: %A{v21} / expected: %A{v22}" │
00:00:12 #358 [Verbose] > │ let v31 : bool = v29 = false │
00:00:12 #359 [Verbose] > │ if v31 then │
00:00:12 #360 [Verbose] > │ failwith<unit> v30 │
00:00:12 #361 [Verbose] > │ method0() │
00:00:12 #362 [Verbose] > │ │
00:00:12 #363 [Verbose] > │ │
00:00:12 #364 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #365 [Verbose] > [NbConvertApp] Converting notebook am'.dib.ipynb to html
00:00:14 #366 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:14 #367 [Verbose] > validate(nb)
00:00:14 #368 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:00:14 #369 [Verbose] > return _pygments_highlight(
00:00:14 #370 [Verbose] > [NbConvertApp] Writing 291617 bytes to am'.dib.html
00:00:15 #371 [Debug] executeAsync / exitCode: 0 / output.Length: 24616
00:00:15 #372 [Debug] main / executeCommand / exitCode: 0
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 \"listm'.dib\"""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ # listm │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > // // test
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > open testing
00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-4589-8974-8893265f4fa0\main.spi
00:00:09 #22 [Verbose] >
00:00:09 #23 [Verbose] > ╭─[ 5.30s - stdout ]───────────────────────────────────────────────────────────╮
00:00:09 #24 [Verbose] > │ () │
00:00:09 #25 [Verbose] > │ │
00:00:09 #26 [Verbose] > │ │
00:00:09 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #28 [Verbose] >
00:00:09 #29 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #30 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #31 [Verbose] > │ ## /@ │
00:00:09 #32 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #33 [Verbose] >
00:00:09 #34 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #35 [Verbose] > inl (/@) a b =
00:00:09 #36 [Verbose] > b |> listm.append a
00:00:09 #37 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-4890-9007-9764bc3ab6b7\main.spi
00:00:09 #38 [Verbose] >
00:00:09 #39 [Verbose] > ╭─[ 158.46ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #40 [Verbose] > │ () │
00:00:09 #41 [Verbose] > │ │
00:00:09 #42 [Verbose] > │ │
00:00:09 #43 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #44 [Verbose] >
00:00:09 #45 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #46 [Verbose] > // // test
00:00:09 #47 [Verbose] >
00:00:09 #48 [Verbose] > [[ "a"; "b" ]] /@ [[ "c"; "d" ]]
00:00:09 #49 [Verbose] > |> _equal [[ "a"; "b"; "c"; "d" ]]
00:00:09 #50 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-4906-0625-07595f949d68\main.spi
00:00:10 #51 [Verbose] >
00:00:10 #52 [Verbose] > ╭─[ 1.22s - stdout ]───────────────────────────────────────────────────────────╮
00:00:10 #53 [Verbose] > │ type UH0 = │
00:00:10 #54 [Verbose] > │ | UH0_0 of string * UH0 │
00:00:10 #55 [Verbose] > │ | UH0_1 │
00:00:10 #56 [Verbose] > │ let rec method0 () : unit = │
00:00:10 #57 [Verbose] > │ let v43 : string = "a" │
00:00:10 #58 [Verbose] > │ let v44 : string = "b" │
00:00:10 #59 [Verbose] > │ let v45 : string = "c" │
00:00:10 #60 [Verbose] > │ let v46 : string = "d" │
00:00:10 #61 [Verbose] > │ let v47 : UH0 = UH0_1 │
00:00:10 #62 [Verbose] > │ let v48 : UH0 = UH0_0(v46, v47) │
00:00:10 #63 [Verbose] > │ let v49 : UH0 = UH0_0(v45, v48) │
00:00:10 #64 [Verbose] > │ let v50 : UH0 = UH0_0(v44, v49) │
00:00:10 #65 [Verbose] > │ let v51 : UH0 = UH0_0(v43, v50) │
00:00:10 #66 [Verbose] > │ let v52 : UH0 = UH0_1 │
00:00:10 #67 [Verbose] > │ let v53 : UH0 = UH0_0(v46, v52) │
00:00:10 #68 [Verbose] > │ let v54 : UH0 = UH0_0(v45, v53) │
00:00:10 #69 [Verbose] > │ let v55 : UH0 = UH0_0(v44, v54) │
00:00:10 #70 [Verbose] > │ let v56 : UH0 = UH0_0(v43, v55) │
00:00:10 #71 [Verbose] > │ let v57 : string = $"_equal / actual: %A{v51} / expected: %A{v56}" │
00:00:10 #72 [Verbose] > │ () │
00:00:10 #73 [Verbose] > │ method0() │
00:00:10 #74 [Verbose] > │ │
00:00:10 #75 [Verbose] > │ │
00:00:10 #76 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #77 [Verbose] >
00:00:10 #78 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:10 #79 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:10 #80 [Verbose] > │ ## init_series │
00:00:10 #81 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #82 [Verbose] >
00:00:10 #83 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #84 [Verbose] > inl init_series start end inc =
00:00:10 #85 [Verbose] > inl total : f64 = conv ((end - start) / inc) + 1
00:00:10 #86 [Verbose] > listm.init total (conv >> (*) inc >> (+) start)
00:00:10 #87 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5029-2970-2593d747b713\main.spi
00:00:10 #88 [Verbose] >
00:00:10 #89 [Verbose] > ╭─[ 173.28ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #90 [Verbose] > │ () │
00:00:10 #91 [Verbose] > │ │
00:00:10 #92 [Verbose] > │ │
00:00:10 #93 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #94 [Verbose] >
00:00:10 #95 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #96 [Verbose] > // // test
00:00:10 #97 [Verbose] >
00:00:10 #98 [Verbose] > init_series 0 1 0.5
00:00:10 #99 [Verbose] > |> _equal [[ 0f64; 0.5; 1 ]]
00:00:10 #100 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5046-4693-44ad50aaf7e3\main.spi
00:00:10 #101 [Verbose] >
00:00:10 #102 [Verbose] > ╭─[ 251.95ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #103 [Verbose] > │ type UH0 = │
00:00:10 #104 [Verbose] > │ | UH0_0 of float * UH0 │
00:00:10 #105 [Verbose] > │ | UH0_1 │
00:00:10 #106 [Verbose] > │ let rec method0 () : unit = │
00:00:10 #107 [Verbose] > │ let v18 : UH0 = UH0_1 │
00:00:10 #108 [Verbose] > │ let v19 : UH0 = UH0_0(1.0, v18) │
00:00:10 #109 [Verbose] > │ let v20 : UH0 = UH0_0(0.5, v19) │
00:00:10 #110 [Verbose] > │ let v21 : UH0 = UH0_0(0.0, v20) │
00:00:10 #111 [Verbose] > │ let v22 : UH0 = UH0_1 │
00:00:10 #112 [Verbose] > │ let v23 : UH0 = UH0_0(1.0, v22) │
00:00:10 #113 [Verbose] > │ let v24 : UH0 = UH0_0(0.5, v23) │
00:00:10 #114 [Verbose] > │ let v25 : UH0 = UH0_0(0.0, v24) │
00:00:10 #115 [Verbose] > │ let v26 : string = $"_equal / actual: %A{v21} / expected: %A{v25}" │
00:00:10 #116 [Verbose] > │ () │
00:00:10 #117 [Verbose] > │ method0() │
00:00:10 #118 [Verbose] > │ │
00:00:10 #119 [Verbose] > │ │
00:00:10 #120 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #121 [Verbose] >
00:00:10 #122 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:10 #123 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:10 #124 [Verbose] > │ ## try_item │
00:00:10 #125 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #126 [Verbose] >
00:00:10 #127 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #128 [Verbose] > inl rec try_item i = function
00:00:10 #129 [Verbose] > | Cons (x, _) when i = 0 => Some x
00:00:10 #130 [Verbose] > | Cons (_, xs) => try_item (i - 1) xs
00:00:10 #131 [Verbose] > | Nil => None
00:00:11 #132 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5073-7321-763d1e1f52ea\main.spi
00:00:11 #133 [Verbose] >
00:00:11 #134 [Verbose] > ╭─[ 160.43ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #135 [Verbose] > │ () │
00:00:11 #136 [Verbose] > │ │
00:00:11 #137 [Verbose] > │ │
00:00:11 #138 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #139 [Verbose] >
00:00:11 #140 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #141 [Verbose] > // // test
00:00:11 #142 [Verbose] >
00:00:11 #143 [Verbose] > listm.init 10i32 id
00:00:11 #144 [Verbose] > |> try_item 9i32
00:00:11 #145 [Verbose] > |> _equal (Some 9)
00:00:11 #146 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5089-8946-88b5ee0d182f\main.spi
00:00:11 #147 [Verbose] >
00:00:11 #148 [Verbose] > ╭─[ 282.69ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #149 [Verbose] > │ type [<Struct>] US0 = │
00:00:11 #150 [Verbose] > │ | US0_0 │
00:00:11 #151 [Verbose] > │ | US0_1 of f1_0 : int32 │
00:00:11 #152 [Verbose] > │ let rec method0 () : unit = │
00:00:11 #153 [Verbose] > │ let v3 : US0 = US0_1(9) │
00:00:11 #154 [Verbose] > │ let v4 : US0 = US0_1(9) │
00:00:11 #155 [Verbose] > │ let v5 : string = $"_equal / actual: %A{v3} / expected: %A{v4}" │
00:00:11 #156 [Verbose] > │ () │
00:00:11 #157 [Verbose] > │ method0() │
00:00:11 #158 [Verbose] > │ │
00:00:11 #159 [Verbose] > │ │
00:00:11 #160 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #161 [Verbose] >
00:00:11 #162 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #163 [Verbose] > // // test
00:00:11 #164 [Verbose] >
00:00:11 #165 [Verbose] > listm.init 10i32 id
00:00:11 #166 [Verbose] > |> try_item 10i32
00:00:11 #167 [Verbose] > |> _equal None
00:00:11 #168 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5118-1832-1d34387e6b6a\main.spi
00:00:11 #169 [Verbose] >
00:00:11 #170 [Verbose] > ╭─[ 190.45ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #171 [Verbose] > │ type [<Struct>] US0 = │
00:00:11 #172 [Verbose] > │ | US0_0 │
00:00:11 #173 [Verbose] > │ | US0_1 of f1_0 : int32 │
00:00:11 #174 [Verbose] > │ let rec method0 () : unit = │
00:00:11 #175 [Verbose] > │ let v3 : US0 = US0_0 │
00:00:11 #176 [Verbose] > │ let v4 : US0 = US0_0 │
00:00:11 #177 [Verbose] > │ let v5 : string = $"_equal / actual: %A{v3} / expected: %A{v4}" │
00:00:11 #178 [Verbose] > │ () │
00:00:11 #179 [Verbose] > │ method0() │
00:00:11 #180 [Verbose] > │ │
00:00:11 #181 [Verbose] > │ │
00:00:11 #182 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #183 [Verbose] >
00:00:11 #184 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #185 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #186 [Verbose] > │ ## list_item │
00:00:11 #187 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #188 [Verbose] >
00:00:11 #189 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #190 [Verbose] > inl item i =
00:00:11 #191 [Verbose] > try_item i >> optionm.value
00:00:11 #192 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5138-3814-36e906e0745b\main.spi
00:00:11 #193 [Verbose] >
00:00:11 #194 [Verbose] > ╭─[ 137.68ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #195 [Verbose] > │ () │
00:00:11 #196 [Verbose] > │ │
00:00:11 #197 [Verbose] > │ │
00:00:11 #198 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #199 [Verbose] >
00:00:11 #200 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #201 [Verbose] > // // test
00:00:11 #202 [Verbose] >
00:00:11 #203 [Verbose] > listm.init 10i32 id
00:00:11 #204 [Verbose] > |> item 9i32
00:00:11 #205 [Verbose] > |> _equal 9
00:00:11 #206 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5152-5212-595f66b075e7\main.spi
00:00:11 #207 [Verbose] >
00:00:11 #208 [Verbose] > ╭─[ 162.44ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #209 [Verbose] > │ let rec method0 () : unit = │
00:00:11 #210 [Verbose] > │ let v0 : string = $"_equal / actual: %A{9} / expected: %A{9}" │
00:00:11 #211 [Verbose] > │ () │
00:00:11 #212 [Verbose] > │ method0() │
00:00:11 #213 [Verbose] > │ │
00:00:11 #214 [Verbose] > │ │
00:00:11 #215 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #216 [Verbose] >
00:00:11 #217 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #218 [Verbose] > // // test
00:00:11 #219 [Verbose] >
00:00:11 #220 [Verbose] > fun () =>
00:00:11 #221 [Verbose] > listm.init 10i32 id
00:00:11 #222 [Verbose] > |> item 10i32
00:00:11 #223 [Verbose] > |> ignore
00:00:11 #224 [Verbose] > |> _throws
00:00:11 #225 [Verbose] > |> _equal (Some "Option does not have a value.")
00:00:11 #226 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5168-6883-622c91d76ddb\main.spi
00:00:12 #227 [Verbose] >
00:00:12 #228 [Verbose] > ╭─[ 406.10ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #229 [Verbose] > │ type [<Struct>] US0 = │
00:00:12 #230 [Verbose] > │ | US0_0 │
00:00:12 #231 [Verbose] > │ | US0_1 of f1_0 : string │
00:00:12 #232 [Verbose] > │ let rec closure0 () () : unit = │
00:00:12 #233 [Verbose] > │ let v0 : int32 = failwith<int32> "Option does not have a value." │
00:00:12 #234 [Verbose] > │ () │
00:00:12 #235 [Verbose] > │ and closure1 () (v0 : string) : US0 = │
00:00:12 #236 [Verbose] > │ US0_1(v0) │
00:00:12 #237 [Verbose] > │ and method0 () : unit = │
00:00:12 #238 [Verbose] > │ let v0 : (unit -> unit) = closure0() │
00:00:12 #239 [Verbose] > │ let v1 : US0 = US0_0 │
00:00:12 #240 [Verbose] > │ let v2 : (string -> US0) = closure1() │
00:00:12 #241 [Verbose] > │ let v3 : US0 = try v0 (); v1 with ex -> v2 ex.Message │
00:00:12 #242 [Verbose] > │ let v8 : bool = │
00:00:12 #243 [Verbose] > │ match v3 with │
00:00:12 #244 [Verbose] > │ | US0_1(v6) -> (* Some *) │
00:00:12 #245 [Verbose] > │ let v7 : bool = v6 = "Option does not have a value." │
00:00:12 #246 [Verbose] > │ v7 │
00:00:12 #247 [Verbose] > │ | _ -> │
00:00:12 #248 [Verbose] > │ false │
00:00:12 #249 [Verbose] > │ let v9 : string = "Option does not have a value." │
00:00:12 #250 [Verbose] > │ let v10 : US0 = US0_1(v9) │
00:00:12 #251 [Verbose] > │ let v11 : string = $"_equal / actual: %A{v3} / expected: %A{v10}" │
00:00:12 #252 [Verbose] > │ let v12 : bool = v8 = false │
00:00:12 #253 [Verbose] > │ if v12 then │
00:00:12 #254 [Verbose] > │ failwith<unit> v11 │
00:00:12 #255 [Verbose] > │ method0() │
00:00:12 #256 [Verbose] > │ │
00:00:12 #257 [Verbose] > │ │
00:00:12 #258 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #259 [Verbose] >
00:00:12 #260 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #261 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #262 [Verbose] > │ ## try_item_ │
00:00:12 #263 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #264 [Verbose] >
00:00:12 #265 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #266 [Verbose] > let rec try_item_ i = function
00:00:12 #267 [Verbose] > | Cons (x, _) when i = 0 => Some x
00:00:12 #268 [Verbose] > | Cons (_, xs) => try_item_ (i - 1) xs
00:00:12 #269 [Verbose] > | Nil => None
00:00:12 #270 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5214-1406-16bb39cd6b32\main.spi
00:00:12 #271 [Verbose] >
00:00:12 #272 [Verbose] > ╭─[ 134.17ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #273 [Verbose] > │ () │
00:00:12 #274 [Verbose] > │ │
00:00:12 #275 [Verbose] > │ │
00:00:12 #276 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #277 [Verbose] >
00:00:12 #278 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #279 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #280 [Verbose] > │ ## item_ │
00:00:12 #281 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #282 [Verbose] >
00:00:12 #283 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #284 [Verbose] > inl item_ i =
00:00:12 #285 [Verbose] > try_item_ i >> optionm.value
00:00:12 #286 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5227-2762-2ddd57bd8523\main.spi
00:00:12 #287 [Verbose] >
00:00:12 #288 [Verbose] > ╭─[ 168.00ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #289 [Verbose] > │ () │
00:00:12 #290 [Verbose] > │ │
00:00:12 #291 [Verbose] > │ │
00:00:12 #292 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #293 [Verbose] >
00:00:12 #294 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #295 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #296 [Verbose] > │ ## sum │
00:00:12 #297 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #298 [Verbose] >
00:00:12 #299 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #300 [Verbose] > inl sum list =
00:00:12 #301 [Verbose] > list |> listm.fold (+) 0
00:00:12 #302 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5244-4488-46943354f1b2\main.spi
00:00:12 #303 [Verbose] >
00:00:12 #304 [Verbose] > ╭─[ 188.23ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #305 [Verbose] > │ () │
00:00:12 #306 [Verbose] > │ │
00:00:12 #307 [Verbose] > │ │
00:00:12 #308 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #309 [Verbose] >
00:00:12 #310 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #311 [Verbose] > // // test
00:00:12 #312 [Verbose] >
00:00:12 #313 [Verbose] > listm.init 10i32 id
00:00:12 #314 [Verbose] > |> sum
00:00:12 #315 [Verbose] > |> _equal 45
00:00:12 #316 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5264-6406-6759a1023450\main.spi
00:00:12 #317 [Verbose] >
00:00:12 #318 [Verbose] > ╭─[ 137.39ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #319 [Verbose] > │ let rec method0 () : unit = │
00:00:12 #320 [Verbose] > │ let v0 : string = $"_equal / actual: %A{45} / expected: %A{45}" │
00:00:12 #321 [Verbose] > │ () │
00:00:12 #322 [Verbose] > │ method0() │
00:00:12 #323 [Verbose] > │ │
00:00:12 #324 [Verbose] > │ │
00:00:12 #325 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #326 [Verbose] >
00:00:12 #327 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #328 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #329 [Verbose] > │ ## unzip │
00:00:12 #330 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #331 [Verbose] >
00:00:12 #332 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #333 [Verbose] > inl unzip list =
00:00:12 #334 [Verbose] > (([[]], [[]]), list)
00:00:12 #335 [Verbose] > ||> listm.fold fun (acc_x, acc_y) (x, y) =>
00:00:12 #336 [Verbose] > x :: acc_x, y :: acc_y
00:00:12 #337 [Verbose] > |> fun x, y =>
00:00:12 #338 [Verbose] > x |> listm.rev, y |> listm.rev
00:00:13 #339 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5278-7824-70518dd12fc6\main.spi
00:00:13 #340 [Verbose] >
00:00:13 #341 [Verbose] > ╭─[ 164.25ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #342 [Verbose] > │ () │
00:00:13 #343 [Verbose] > │ │
00:00:13 #344 [Verbose] > │ │
00:00:13 #345 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #346 [Verbose] >
00:00:13 #347 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #348 [Verbose] > // // test
00:00:13 #349 [Verbose] >
00:00:13 #350 [Verbose] > listm.init 10i32 id
00:00:13 #351 [Verbose] > |> listm.map (fun x => x, x)
00:00:13 #352 [Verbose] > |> unzip
00:00:13 #353 [Verbose] > |> fun x, y =>
00:00:13 #354 [Verbose] > x |> sum
00:00:13 #355 [Verbose] > |> _equal 45
00:00:13 #356 [Verbose] >
00:00:13 #357 [Verbose] > y |> sum
00:00:13 #358 [Verbose] > |> _equal 45
00:00:13 #359 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5295-9500-93d2daa1613c\main.spi
00:00:13 #360 [Verbose] >
00:00:13 #361 [Verbose] > ╭─[ 159.15ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #362 [Verbose] > │ let rec method0 () : unit = │
00:00:13 #363 [Verbose] > │ let v0 : string = $"_equal / actual: %A{45} / expected: %A{45}" │
00:00:13 #364 [Verbose] > │ let v1 : string = $"_equal / actual: %A{45} / expected: %A{45}" │
00:00:13 #365 [Verbose] > │ () │
00:00:13 #366 [Verbose] > │ method0() │
00:00:13 #367 [Verbose] > │ │
00:00:13 #368 [Verbose] > │ │
00:00:13 #369 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #370 [Verbose] >
00:00:13 #371 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #372 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #373 [Verbose] > │ ## try_index_of │
00:00:13 #374 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #375 [Verbose] >
00:00:13 #376 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #377 [Verbose] > inl try_index_of item list =
00:00:13 #378 [Verbose] > inl rec loop i = function
00:00:13 #379 [Verbose] > | [[]] => None
00:00:13 #380 [Verbose] > | x :: xs =>
00:00:13 #381 [Verbose] > if x = item
00:00:13 #382 [Verbose] > then Some i
00:00:13 #383 [Verbose] > else loop (i + 1) xs
00:00:13 #384 [Verbose] > loop 0 list
00:00:13 #385 [Verbose] >
00:00:13 #386 [Verbose] > inl index_of item =
00:00:13 #387 [Verbose] > try_index_of item >> optionm.value
00:00:13 #388 [Verbose] >
00:00:13 #389 [Verbose] > inl try_index_of_ item list =
00:00:13 #390 [Verbose] > let rec loop i = function
00:00:13 #391 [Verbose] > | [[]] => None
00:00:13 #392 [Verbose] > | x :: xs =>
00:00:13 #393 [Verbose] > if x = item
00:00:13 #394 [Verbose] > then Some i
00:00:13 #395 [Verbose] > else loop (i + 1) xs
00:00:13 #396 [Verbose] > loop 0 list
00:00:13 #397 [Verbose] >
00:00:13 #398 [Verbose] > inl index_of_ item =
00:00:13 #399 [Verbose] > try_index_of_ item >> optionm.value
00:00:13 #400 [Verbose] >
00:00:13 #401 [Verbose] > inl try_index_of__ item list =
00:00:13 #402 [Verbose] > inl i = mut 0
00:00:13 #403 [Verbose] > inl list = mut list
00:00:13 #404 [Verbose] > inl result = mut None
00:00:13 #405 [Verbose] > let rec loop () =
00:00:13 #406 [Verbose] > match *list with
00:00:13 #407 [Verbose] > | [[]] => result <- None
00:00:13 #408 [Verbose] > | x :: xs =>
00:00:13 #409 [Verbose] > if x = item
00:00:13 #410 [Verbose] > then result <- Some *i
00:00:13 #411 [Verbose] > else
00:00:13 #412 [Verbose] > i <- *i + 1
00:00:13 #413 [Verbose] > list <- xs
00:00:13 #414 [Verbose] > loop ()
00:00:13 #415 [Verbose] > loop ()
00:00:13 #416 [Verbose] > *result
00:00:13 #417 [Verbose] >
00:00:13 #418 [Verbose] > inl index_of__ item =
00:00:13 #419 [Verbose] > try_index_of__ item >> optionm.value
00:00:13 #420 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5312-1267-1d6f8a191d4b\main.spi
00:00:13 #421 [Verbose] >
00:00:13 #422 [Verbose] > ╭─[ 209.91ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #423 [Verbose] > │ () │
00:00:13 #424 [Verbose] > │ │
00:00:13 #425 [Verbose] > │ │
00:00:13 #426 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #427 [Verbose] >
00:00:13 #428 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #429 [Verbose] > // // test
00:00:13 #430 [Verbose] >
00:00:13 #431 [Verbose] > listm.init 10i32 id
00:00:13 #432 [Verbose] > |> index_of 5i32
00:00:13 #433 [Verbose] > |> _equal 5i32
00:00:13 #434 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5332-3291-321ef8e3f3be\main.spi
00:00:13 #435 [Verbose] >
00:00:13 #436 [Verbose] > ╭─[ 235.77ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #437 [Verbose] > │ let rec method0 () : unit = │
00:00:13 #438 [Verbose] > │ let v0 : string = $"_equal / actual: %A{5} / expected: %A{5}" │
00:00:13 #439 [Verbose] > │ () │
00:00:13 #440 [Verbose] > │ method0() │
00:00:13 #441 [Verbose] > │ │
00:00:13 #442 [Verbose] > │ │
00:00:13 #443 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #444 [Verbose] >
00:00:13 #445 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #446 [Verbose] > // // test
00:00:13 #447 [Verbose] >
00:00:13 #448 [Verbose] > listm.init 10i32 id
00:00:13 #449 [Verbose] > |> try_index_of 10i32
00:00:13 #450 [Verbose] > |> _equal (None : option i32)
00:00:13 #451 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5356-5666-5ae49563fa47\main.spi
00:00:13 #452 [Verbose] >
00:00:13 #453 [Verbose] > ╭─[ 187.28ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #454 [Verbose] > │ type [<Struct>] US0 = │
00:00:13 #455 [Verbose] > │ | US0_0 │
00:00:13 #456 [Verbose] > │ | US0_1 of f1_0 : int32 │
00:00:13 #457 [Verbose] > │ let rec method0 () : unit = │
00:00:13 #458 [Verbose] > │ let v3 : US0 = US0_0 │
00:00:13 #459 [Verbose] > │ let v4 : US0 = US0_0 │
00:00:13 #460 [Verbose] > │ let v5 : string = $"_equal / actual: %A{v3} / expected: %A{v4}" │
00:00:13 #461 [Verbose] > │ () │
00:00:13 #462 [Verbose] > │ method0() │
00:00:13 #463 [Verbose] > │ │
00:00:13 #464 [Verbose] > │ │
00:00:13 #465 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #466 [Verbose] >
00:00:13 #467 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #468 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #469 [Verbose] > │ ## try_find │
00:00:13 #470 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #471 [Verbose] >
00:00:13 #472 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #473 [Verbose] > inl try_find fn list =
00:00:13 #474 [Verbose] > inl rec loop = function
00:00:13 #475 [Verbose] > | [[]] => None
00:00:13 #476 [Verbose] > | x :: xs =>
00:00:13 #477 [Verbose] > if fn x
00:00:13 #478 [Verbose] > then Some x
00:00:13 #479 [Verbose] > else loop xs
00:00:13 #480 [Verbose] > loop list
00:00:13 #481 [Verbose] >
00:00:13 #482 [Verbose] > inl try_find_ fn list =
00:00:13 #483 [Verbose] > let rec loop = function
00:00:13 #484 [Verbose] > | [[]] => None
00:00:13 #485 [Verbose] > | x :: xs =>
00:00:13 #486 [Verbose] > if fn x
00:00:13 #487 [Verbose] > then Some x
00:00:13 #488 [Verbose] > else loop xs
00:00:13 #489 [Verbose] > loop list
00:00:14 #490 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5376-7642-77c6852d18eb\main.spi
00:00:14 #491 [Verbose] >
00:00:14 #492 [Verbose] > ╭─[ 157.06ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #493 [Verbose] > │ () │
00:00:14 #494 [Verbose] > │ │
00:00:14 #495 [Verbose] > │ │
00:00:14 #496 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #497 [Verbose] >
00:00:14 #498 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #499 [Verbose] > // // test
00:00:14 #500 [Verbose] >
00:00:14 #501 [Verbose] > listm.init 10i32 id
00:00:14 #502 [Verbose] > |> try_find ((=) 5i32)
00:00:14 #503 [Verbose] > |> _equal (Some 5i32)
00:00:14 #504 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5392-9218-96cdaf121b45\main.spi
00:00:14 #505 [Verbose] >
00:00:14 #506 [Verbose] > ╭─[ 162.53ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #507 [Verbose] > │ type [<Struct>] US0 = │
00:00:14 #508 [Verbose] > │ | US0_0 │
00:00:14 #509 [Verbose] > │ | US0_1 of f1_0 : int32 │
00:00:14 #510 [Verbose] > │ let rec method0 () : unit = │
00:00:14 #511 [Verbose] > │ let v3 : US0 = US0_1(5) │
00:00:14 #512 [Verbose] > │ let v4 : US0 = US0_1(5) │
00:00:14 #513 [Verbose] > │ let v5 : string = $"_equal / actual: %A{v3} / expected: %A{v4}" │
00:00:14 #514 [Verbose] > │ () │
00:00:14 #515 [Verbose] > │ method0() │
00:00:14 #516 [Verbose] > │ │
00:00:14 #517 [Verbose] > │ │
00:00:14 #518 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #519 [Verbose] >
00:00:14 #520 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #521 [Verbose] > inl find x =
00:00:14 #522 [Verbose] > try_find x >> optionm.value
00:00:14 #523 [Verbose] >
00:00:14 #524 [Verbose] > inl find_ x =
00:00:14 #525 [Verbose] > try_find_ x >> optionm.value
00:00:14 #526 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5409-0911-0e363a7011a3\main.spi
00:00:14 #527 [Verbose] >
00:00:14 #528 [Verbose] > ╭─[ 179.10ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #529 [Verbose] > │ () │
00:00:14 #530 [Verbose] > │ │
00:00:14 #531 [Verbose] > │ │
00:00:14 #532 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #533 [Verbose] >
00:00:14 #534 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #535 [Verbose] > // // test
00:00:14 #536 [Verbose] >
00:00:14 #537 [Verbose] > listm.init 10i32 id
00:00:14 #538 [Verbose] > |> find ((=) 5i32)
00:00:14 #539 [Verbose] > |> _equal 5i32
00:00:14 #540 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5427-2722-2c25fce53eec\main.spi
00:00:14 #541 [Verbose] >
00:00:14 #542 [Verbose] > ╭─[ 169.31ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #543 [Verbose] > │ let rec method0 () : unit = │
00:00:14 #544 [Verbose] > │ let v0 : string = $"_equal / actual: %A{5} / expected: %A{5}" │
00:00:14 #545 [Verbose] > │ () │
00:00:14 #546 [Verbose] > │ method0() │
00:00:14 #547 [Verbose] > │ │
00:00:14 #548 [Verbose] > │ │
00:00:14 #549 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #550 [Verbose] >
00:00:14 #551 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:14 #552 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:14 #553 [Verbose] > │ ## choose │
00:00:14 #554 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #555 [Verbose] >
00:00:14 #556 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #557 [Verbose] > inl choose f l =
00:00:14 #558 [Verbose] > (l, [[]])
00:00:14 #559 [Verbose] > ||> listm.foldBack fun x acc =>
00:00:14 #560 [Verbose] > match f x with
00:00:14 #561 [Verbose] > | Some y => y :: acc
00:00:14 #562 [Verbose] > | None => acc
00:00:14 #563 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5444-4466-41cf9982d24c\main.spi
00:00:14 #564 [Verbose] >
00:00:14 #565 [Verbose] > ╭─[ 132.86ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #566 [Verbose] > │ () │
00:00:14 #567 [Verbose] > │ │
00:00:14 #568 [Verbose] > │ │
00:00:14 #569 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #570 [Verbose] >
00:00:14 #571 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #572 [Verbose] > // // test
00:00:14 #573 [Verbose] >
00:00:14 #574 [Verbose] > listm.init 10i32 id
00:00:14 #575 [Verbose] > |> choose (fun x => if x % 2 = 0 then Some x else None)
00:00:14 #576 [Verbose] > |> _equal [[ 0; 2; 4; 6; 8 ]]
00:00:14 #577 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5458-5828-5e4493163e6e\main.spi
00:00:14 #578 [Verbose] >
00:00:14 #579 [Verbose] > ╭─[ 203.37ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #580 [Verbose] > │ type UH0 = │
00:00:14 #581 [Verbose] > │ | UH0_0 of int32 * UH0 │
00:00:14 #582 [Verbose] > │ | UH0_1 │
00:00:14 #583 [Verbose] > │ let rec method0 () : unit = │
00:00:14 #584 [Verbose] > │ let v33 : UH0 = UH0_1 │
00:00:14 #585 [Verbose] > │ let v34 : UH0 = UH0_0(8, v33) │
00:00:14 #586 [Verbose] > │ let v35 : UH0 = UH0_0(6, v34) │
00:00:14 #587 [Verbose] > │ let v36 : UH0 = UH0_0(4, v35) │
00:00:14 #588 [Verbose] > │ let v37 : UH0 = UH0_0(2, v36) │
00:00:14 #589 [Verbose] > │ let v38 : UH0 = UH0_0(0, v37) │
00:00:14 #590 [Verbose] > │ let v39 : UH0 = UH0_1 │
00:00:14 #591 [Verbose] > │ let v40 : UH0 = UH0_0(8, v39) │
00:00:14 #592 [Verbose] > │ let v41 : UH0 = UH0_0(6, v40) │
00:00:14 #593 [Verbose] > │ let v42 : UH0 = UH0_0(4, v41) │
00:00:14 #594 [Verbose] > │ let v43 : UH0 = UH0_0(2, v42) │
00:00:14 #595 [Verbose] > │ let v44 : UH0 = UH0_0(0, v43) │
00:00:14 #596 [Verbose] > │ let v45 : string = $"_equal / actual: %A{v38} / expected: %A{v44}" │
00:00:14 #597 [Verbose] > │ () │
00:00:14 #598 [Verbose] > │ method0() │
00:00:14 #599 [Verbose] > │ │
00:00:14 #600 [Verbose] > │ │
00:00:14 #601 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #602 [Verbose] >
00:00:14 #603 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:14 #604 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:14 #605 [Verbose] > │ ## zip_with │
00:00:14 #606 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #607 [Verbose] >
00:00:14 #608 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #609 [Verbose] > inl zip_with fn xs ys =
00:00:14 #610 [Verbose] > inl rec loop acc xs ys =
00:00:14 #611 [Verbose] > match xs, ys with
00:00:14 #612 [Verbose] > | Cons (x, xs), Cons (y, ys) =>
00:00:14 #613 [Verbose] > loop (fn x y :: acc) xs ys
00:00:14 #614 [Verbose] > | _ => listm.rev acc
00:00:14 #615 [Verbose] > loop [[]] xs ys
00:00:14 #616 [Verbose] >
00:00:14 #617 [Verbose] > inl zip_with_ fn xs ys =
00:00:14 #618 [Verbose] > let rec loop acc xs ys =
00:00:14 #619 [Verbose] > match xs, ys with
00:00:14 #620 [Verbose] > | Cons (x, xs), Cons (y, ys) =>
00:00:14 #621 [Verbose] > loop (fn x y :: acc) xs ys
00:00:14 #622 [Verbose] > | _ => listm.rev acc
00:00:14 #623 [Verbose] > loop [[]] xs ys
00:00:15 #624 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5480-8004-81414a9d8f68\main.spi
00:00:15 #625 [Verbose] >
00:00:15 #626 [Verbose] > ╭─[ 150.77ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #627 [Verbose] > │ () │
00:00:15 #628 [Verbose] > │ │
00:00:15 #629 [Verbose] > │ │
00:00:15 #630 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #631 [Verbose] >
00:00:15 #632 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #633 [Verbose] > // // test
00:00:15 #634 [Verbose] >
00:00:15 #635 [Verbose] > ([[ 1i32; 2; 3 ]], [[ 4; 5; 6 ]])
00:00:15 #636 [Verbose] > ||> zip_with (+)
00:00:15 #637 [Verbose] > |> _equal [[ 5; 7; 9 ]]
00:00:15 #638 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5496-9635-9ffa3e481ed6\main.spi
00:00:15 #639 [Verbose] >
00:00:15 #640 [Verbose] > ╭─[ 190.58ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #641 [Verbose] > │ type UH0 = │
00:00:15 #642 [Verbose] > │ | UH0_0 of int32 * UH0 │
00:00:15 #643 [Verbose] > │ | UH0_1 │
00:00:15 #644 [Verbose] > │ let rec method0 () : unit = │
00:00:15 #645 [Verbose] > │ let v18 : UH0 = UH0_1 │
00:00:15 #646 [Verbose] > │ let v19 : UH0 = UH0_0(9, v18) │
00:00:15 #647 [Verbose] > │ let v20 : UH0 = UH0_0(7, v19) │
00:00:15 #648 [Verbose] > │ let v21 : UH0 = UH0_0(5, v20) │
00:00:15 #649 [Verbose] > │ let v22 : UH0 = UH0_1 │
00:00:15 #650 [Verbose] > │ let v23 : UH0 = UH0_0(9, v22) │
00:00:15 #651 [Verbose] > │ let v24 : UH0 = UH0_0(7, v23) │
00:00:15 #652 [Verbose] > │ let v25 : UH0 = UH0_0(5, v24) │
00:00:15 #653 [Verbose] > │ let v26 : string = $"_equal / actual: %A{v21} / expected: %A{v25}" │
00:00:15 #654 [Verbose] > │ () │
00:00:15 #655 [Verbose] > │ method0() │
00:00:15 #656 [Verbose] > │ │
00:00:15 #657 [Verbose] > │ │
00:00:15 #658 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #659 [Verbose] >
00:00:15 #660 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:15 #661 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:15 #662 [Verbose] > │ ## zip │
00:00:15 #663 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #664 [Verbose] >
00:00:15 #665 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #666 [Verbose] > inl zip xs ys =
00:00:15 #667 [Verbose] > zip_with pair xs ys
00:00:15 #668 [Verbose] >
00:00:15 #669 [Verbose] > inl zip_ xs ys =
00:00:15 #670 [Verbose] > zip_with_ pair xs ys
00:00:15 #671 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5516-1606-12beff39ca20\main.spi
00:00:15 #672 [Verbose] >
00:00:15 #673 [Verbose] > ╭─[ 126.00ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #674 [Verbose] > │ () │
00:00:15 #675 [Verbose] > │ │
00:00:15 #676 [Verbose] > │ │
00:00:15 #677 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #678 [Verbose] >
00:00:15 #679 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #680 [Verbose] > // // test
00:00:15 #681 [Verbose] >
00:00:15 #682 [Verbose] > ([[ 1i32; 2; 3 ]], [[ 4i32; 5; 6 ]])
00:00:15 #683 [Verbose] > ||> zip
00:00:15 #684 [Verbose] > |> _equal [[ 1, 4; 2, 5; 3, 6 ]]
00:00:15 #685 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5528-2895-21e6178e5a95\main.spi
00:00:15 #686 [Verbose] >
00:00:15 #687 [Verbose] > ╭─[ 204.46ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #688 [Verbose] > │ type UH0 = │
00:00:15 #689 [Verbose] > │ | UH0_0 of int32 * int32 * UH0 │
00:00:15 #690 [Verbose] > │ | UH0_1 │
00:00:15 #691 [Verbose] > │ let rec method0 () : unit = │
00:00:15 #692 [Verbose] > │ let v18 : UH0 = UH0_1 │
00:00:15 #693 [Verbose] > │ let v19 : UH0 = UH0_0(3, 6, v18) │
00:00:15 #694 [Verbose] > │ let v20 : UH0 = UH0_0(2, 5, v19) │
00:00:15 #695 [Verbose] > │ let v21 : UH0 = UH0_0(1, 4, v20) │
00:00:15 #696 [Verbose] > │ let v22 : UH0 = UH0_1 │
00:00:15 #697 [Verbose] > │ let v23 : UH0 = UH0_0(3, 6, v22) │
00:00:15 #698 [Verbose] > │ let v24 : UH0 = UH0_0(2, 5, v23) │
00:00:15 #699 [Verbose] > │ let v25 : UH0 = UH0_0(1, 4, v24) │
00:00:15 #700 [Verbose] > │ let v26 : string = $"_equal / actual: %A{v21} / expected: %A{v25}" │
00:00:15 #701 [Verbose] > │ () │
00:00:15 #702 [Verbose] > │ method0() │
00:00:15 #703 [Verbose] > │ │
00:00:15 #704 [Verbose] > │ │
00:00:15 #705 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #706 [Verbose] >
00:00:15 #707 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:15 #708 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:15 #709 [Verbose] > │ ## indexed │
00:00:15 #710 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #711 [Verbose] >
00:00:15 #712 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #713 [Verbose] > inl indexed list =
00:00:15 #714 [Verbose] > (([[]], 0), list)
00:00:15 #715 [Verbose] > ||> listm.fold fun (acc, i) x =>
00:00:15 #716 [Verbose] > (i, x) :: acc, i + 1
00:00:15 #717 [Verbose] > |> fst
00:00:15 #718 [Verbose] > |> listm.rev
00:00:15 #719 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5550-5035-5089c33ce236\main.spi
00:00:15 #720 [Verbose] >
00:00:15 #721 [Verbose] > ╭─[ 183.47ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #722 [Verbose] > │ () │
00:00:15 #723 [Verbose] > │ │
00:00:15 #724 [Verbose] > │ │
00:00:15 #725 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #726 [Verbose] >
00:00:15 #727 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #728 [Verbose] > // // test
00:00:15 #729 [Verbose] >
00:00:15 #730 [Verbose] > listm.init 5i32 ((*) 2)
00:00:15 #731 [Verbose] > |> indexed
00:00:15 #732 [Verbose] > |> _equal [[ 0i32, 0; 1, 2; 2, 4; 3, 6; 4, 8 ]]
00:00:15 #733 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5569-6906-6439005799f8\main.spi
00:00:16 #734 [Verbose] >
00:00:16 #735 [Verbose] > ╭─[ 202.82ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #736 [Verbose] > │ type UH0 = │
00:00:16 #737 [Verbose] > │ | UH0_0 of int32 * int32 * UH0 │
00:00:16 #738 [Verbose] > │ | UH0_1 │
00:00:16 #739 [Verbose] > │ let rec method0 () : unit = │
00:00:16 #740 [Verbose] > │ let v33 : UH0 = UH0_1 │
00:00:16 #741 [Verbose] > │ let v34 : UH0 = UH0_0(4, 8, v33) │
00:00:16 #742 [Verbose] > │ let v35 : UH0 = UH0_0(3, 6, v34) │
00:00:16 #743 [Verbose] > │ let v36 : UH0 = UH0_0(2, 4, v35) │
00:00:16 #744 [Verbose] > │ let v37 : UH0 = UH0_0(1, 2, v36) │
00:00:16 #745 [Verbose] > │ let v38 : UH0 = UH0_0(0, 0, v37) │
00:00:16 #746 [Verbose] > │ let v39 : UH0 = UH0_1 │
00:00:16 #747 [Verbose] > │ let v40 : UH0 = UH0_0(4, 8, v39) │
00:00:16 #748 [Verbose] > │ let v41 : UH0 = UH0_0(3, 6, v40) │
00:00:16 #749 [Verbose] > │ let v42 : UH0 = UH0_0(2, 4, v41) │
00:00:16 #750 [Verbose] > │ let v43 : UH0 = UH0_0(1, 2, v42) │
00:00:16 #751 [Verbose] > │ let v44 : UH0 = UH0_0(0, 0, v43) │
00:00:16 #752 [Verbose] > │ let v45 : string = $"_equal / actual: %A{v38} / expected: %A{v44}" │
00:00:16 #753 [Verbose] > │ () │
00:00:16 #754 [Verbose] > │ method0() │
00:00:16 #755 [Verbose] > │ │
00:00:16 #756 [Verbose] > │ │
00:00:16 #757 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #758 [Verbose] >
00:00:16 #759 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:16 #760 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:16 #761 [Verbose] > │ ## group_by │
00:00:16 #762 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #763 [Verbose] >
00:00:16 #764 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 #765 [Verbose] > inl group_by fn list =
00:00:16 #766 [Verbose] > (list, [[]])
00:00:16 #767 [Verbose] > ||> listm.foldBack fun x acc =>
00:00:16 #768 [Verbose] > inl xk = fn x
00:00:16 #769 [Verbose] > inl found, new_acc =
00:00:16 #770 [Verbose] > ((false, [[]]), acc)
00:00:16 #771 [Verbose] > ||> listm.fold fun (found, acc') (k, xs) =>
00:00:16 #772 [Verbose] > if k = xk
00:00:16 #773 [Verbose] > then true, (k, x :: xs) :: acc'
00:00:16 #774 [Verbose] > else found, (k, xs) :: acc'
00:00:16 #775 [Verbose] > if found
00:00:16 #776 [Verbose] > then new_acc
00:00:16 #777 [Verbose] > else (xk, [[ x ]]) :: new_acc
00:00:16 #778 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5590-9094-9cf20374b1fd\main.spi
00:00:16 #779 [Verbose] >
00:00:16 #780 [Verbose] > ╭─[ 133.05ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #781 [Verbose] > │ () │
00:00:16 #782 [Verbose] > │ │
00:00:16 #783 [Verbose] > │ │
00:00:16 #784 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #785 [Verbose] >
00:00:16 #786 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 #787 [Verbose] > // // test
00:00:16 #788 [Verbose] >
00:00:16 #789 [Verbose] > listm.init 10i32 id
00:00:16 #790 [Verbose] > |> group_by (fun x => x % 2 = 0)
00:00:16 #791 [Verbose] > |> _equal [[ true, [[ 0; 2; 4; 6; 8 ]]; false, [[ 1; 3; 5; 7; 9 ]] ]]
00:00:16 #792 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5604-0441-00009971b4f6\main.spi
00:00:16 #793 [Verbose] >
00:00:16 #794 [Verbose] > ╭─[ 228.82ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #795 [Verbose] > │ type UH0 = │
00:00:16 #796 [Verbose] > │ | UH0_0 of int32 * UH0 │
00:00:16 #797 [Verbose] > │ | UH0_1 │
00:00:16 #798 [Verbose] > │ and UH1 = │
00:00:16 #799 [Verbose] > │ | UH1_0 of bool * UH0 * UH1 │
00:00:16 #800 [Verbose] > │ | UH1_1 │
00:00:16 #801 [Verbose] > │ let rec method0 () : unit = │
00:00:16 #802 [Verbose] > │ let v96 : UH0 = UH0_1 │
00:00:16 #803 [Verbose] > │ let v97 : UH0 = UH0_0(8, v96) │
00:00:16 #804 [Verbose] > │ let v98 : UH0 = UH0_0(6, v97) │
00:00:16 #805 [Verbose] > │ let v99 : UH0 = UH0_0(4, v98) │
00:00:16 #806 [Verbose] > │ let v100 : UH0 = UH0_0(2, v99) │
00:00:16 #807 [Verbose] > │ let v101 : UH0 = UH0_0(0, v100) │
00:00:16 #808 [Verbose] > │ let v102 : UH0 = UH0_1 │
00:00:16 #809 [Verbose] > │ let v103 : UH0 = UH0_0(9, v102) │
00:00:16 #810 [Verbose] > │ let v104 : UH0 = UH0_0(7, v103) │
00:00:16 #811 [Verbose] > │ let v105 : UH0 = UH0_0(5, v104) │
00:00:16 #812 [Verbose] > │ let v106 : UH0 = UH0_0(3, v105) │
00:00:16 #813 [Verbose] > │ let v107 : UH0 = UH0_0(1, v106) │
00:00:16 #814 [Verbose] > │ let v108 : UH1 = UH1_1 │
00:00:16 #815 [Verbose] > │ let v109 : UH1 = UH1_0(false, v107, v108) │
00:00:16 #816 [Verbose] > │ let v110 : UH1 = UH1_0(true, v101, v109) │
00:00:16 #817 [Verbose] > │ let v111 : UH0 = UH0_1 │
00:00:16 #818 [Verbose] > │ let v112 : UH0 = UH0_0(8, v111) │
00:00:16 #819 [Verbose] > │ let v113 : UH0 = UH0_0(6, v112) │
00:00:16 #820 [Verbose] > │ let v114 : UH0 = UH0_0(4, v113) │
00:00:16 #821 [Verbose] > │ let v115 : UH0 = UH0_0(2, v114) │
00:00:16 #822 [Verbose] > │ let v116 : UH0 = UH0_0(0, v115) │
00:00:16 #823 [Verbose] > │ let v117 : UH0 = UH0_1 │
00:00:16 #824 [Verbose] > │ let v118 : UH0 = UH0_0(9, v117) │
00:00:16 #825 [Verbose] > │ let v119 : UH0 = UH0_0(7, v118) │
00:00:16 #826 [Verbose] > │ let v120 : UH0 = UH0_0(5, v119) │
00:00:16 #827 [Verbose] > │ let v121 : UH0 = UH0_0(3, v120) │
00:00:16 #828 [Verbose] > │ let v122 : UH0 = UH0_0(1, v121) │
00:00:16 #829 [Verbose] > │ let v123 : UH1 = UH1_1 │
00:00:16 #830 [Verbose] > │ let v124 : UH1 = UH1_0(false, v122, v123) │
00:00:16 #831 [Verbose] > │ let v125 : UH1 = UH1_0(true, v116, v124) │
00:00:16 #832 [Verbose] > │ let v126 : string = $"_equal / actual: %A{v110} / expected: %A{v125}" │
00:00:16 #833 [Verbose] > │ () │
00:00:16 #834 [Verbose] > │ method0() │
00:00:16 #835 [Verbose] > │ │
00:00:16 #836 [Verbose] > │ │
00:00:16 #837 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #838 [Verbose] >
00:00:16 #839 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:16 #840 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:16 #841 [Verbose] > │ ## forall' │
00:00:16 #842 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #843 [Verbose] >
00:00:16 #844 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 #845 [Verbose] > inl forall' fn (head :: tail) =
00:00:16 #846 [Verbose] > (true, tail)
00:00:16 #847 [Verbose] > ||> listm.fold fun acc x =>
00:00:16 #848 [Verbose] > acc && x = head
00:00:16 #849 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5629-2951-21f6cfc1beb5\main.spi
00:00:16 #850 [Verbose] >
00:00:16 #851 [Verbose] > ╭─[ 204.81ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #852 [Verbose] > │ () │
00:00:16 #853 [Verbose] > │ │
00:00:16 #854 [Verbose] > │ │
00:00:16 #855 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #856 [Verbose] >
00:00:16 #857 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 #858 [Verbose] > // // test
00:00:16 #859 [Verbose] >
00:00:16 #860 [Verbose] > [[ 1i32; 1; 1; 1; 1 ]]
00:00:16 #861 [Verbose] > |> forall' ((=) 1i32)
00:00:16 #862 [Verbose] > |> _equal true
00:00:16 #863 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5650-5018-5e844a3597bc\main.spi
00:00:16 #864 [Verbose] >
00:00:16 #865 [Verbose] > ╭─[ 156.35ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #866 [Verbose] > │ let rec method0 () : unit = │
00:00:16 #867 [Verbose] > │ let v0 : string = $"_equal / actual: %A{true} / expected: %A{true}" │
00:00:16 #868 [Verbose] > │ () │
00:00:16 #869 [Verbose] > │ method0() │
00:00:16 #870 [Verbose] > │ │
00:00:16 #871 [Verbose] > │ │
00:00:16 #872 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #873 [Verbose] >
00:00:16 #874 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:16 #875 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:16 #876 [Verbose] > │ ## last │
00:00:16 #877 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #878 [Verbose] >
00:00:16 #879 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 #880 [Verbose] > inl last list =
00:00:16 #881 [Verbose] > list
00:00:16 #882 [Verbose] > |> listm.rev
00:00:16 #883 [Verbose] > |> item 0i32
00:00:16 #884 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5666-6629-60338b47509e\main.spi
00:00:17 #885 [Verbose] >
00:00:17 #886 [Verbose] > ╭─[ 176.96ms - stdout ]────────────────────────────────────────────────────────╮
00:00:17 #887 [Verbose] > │ () │
00:00:17 #888 [Verbose] > │ │
00:00:17 #889 [Verbose] > │ │
00:00:17 #890 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 #891 [Verbose] >
00:00:17 #892 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 #893 [Verbose] > // // test
00:00:17 #894 [Verbose] >
00:00:17 #895 [Verbose] > listm.init 10i32 id
00:00:17 #896 [Verbose] > |> last
00:00:17 #897 [Verbose] > |> _equal 9
00:00:17 #898 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1543-5684-8421-8ceaaa3a0ef3\main.spi
00:00:17 #899 [Verbose] >
00:00:17 #900 [Verbose] > ╭─[ 145.27ms - stdout ]────────────────────────────────────────────────────────╮
00:00:17 #901 [Verbose] > │ let rec method0 () : unit = │
00:00:17 #902 [Verbose] > │ let v0 : string = $"_equal / actual: %A{9} / expected: %A{9}" │
00:00:17 #903 [Verbose] > │ () │
00:00:17 #904 [Verbose] > │ method0() │
00:00:17 #905 [Verbose] > │ │
00:00:17 #906 [Verbose] > │ │
00:00:17 #907 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #908 [Verbose] > [NbConvertApp] Converting notebook listm'.dib.ipynb to html
00:00:18 #909 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:18 #910 [Verbose] > validate(nb)
00:00:19 #911 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:00:19 #912 [Verbose] > return _pygments_highlight(
00:00:20 #913 [Verbose] > [NbConvertApp] Writing 354401 bytes to listm'.dib.html
00:00:20 #914 [Debug] executeAsync / exitCode: 0 / output.Length: 47863
00:00:20 #915 [Debug] main / executeCommand / exitCode: 0
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 benchmark.dib""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ ## benchmark (Polyglot) │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > // // test
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > open testing
00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-0719-1947-1157cde363f6\main.spi
00:00:08 #22 [Verbose] >
00:00:08 #23 [Verbose] > ╭─[ 5.28s - stdout ]───────────────────────────────────────────────────────────╮
00:00:08 #24 [Verbose] > │ () │
00:00:08 #25 [Verbose] > │ │
00:00:08 #26 [Verbose] > │ │
00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #28 [Verbose] >
00:00:08 #29 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:08 #30 [Verbose] > inl (/@) x = listm'.(/@) x
00:00:09 #31 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-1020-2082-24be5b36bdaf\main.spi
00:00:09 #32 [Verbose] >
00:00:09 #33 [Verbose] > ╭─[ 198.31ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #34 [Verbose] > │ () │
00:00:09 #35 [Verbose] > │ │
00:00:09 #36 [Verbose] > │ │
00:00:09 #37 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #38 [Verbose] >
00:00:09 #39 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #40 [Verbose] > inl am'_average forall el {number}. (array : a _ el) : el =
00:00:09 #41 [Verbose] > $"!array |> Array.average"
00:00:09 #42 [Verbose] >
00:00:09 #43 [Verbose] > inl am'_parallel_map forall dim el el'. (fn : el -> el') (array : a dim el) : a
00:00:09 #44 [Verbose] > dim el' =
00:00:09 #45 [Verbose] > $"!array |> Array.Parallel.map !fn"
00:00:09 #46 [Verbose] >
00:00:09 #47 [Verbose] > inl am'_sort_by forall dim el. (fn : el -> _) (array : a dim el) : a dim el =
00:00:09 #48 [Verbose] > $"!array |> Array.sortBy !fn"
00:00:09 #49 [Verbose] >
00:00:09 #50 [Verbose] > inl am'_sort_descending forall dim el. (array : a dim el) : a dim el =
00:00:09 #51 [Verbose] > $"!array |> Array.sortDescending"
00:00:09 #52 [Verbose] >
00:00:09 #53 [Verbose] > inl am'_transpose forall dim el. (array : a dim (a dim el)) : a dim (a dim el) =
00:00:09 #54 [Verbose] > $"!array |> Array.transpose"
00:00:09 #55 [Verbose] >
00:00:09 #56 [Verbose] > inl am'_try_item forall dim el. (i : i32) (array : a dim el) : option el =
00:00:09 #57 [Verbose] > $"!array |> Array.tryItem !i" |> optionm'.from_fsharp
00:00:09 #58 [Verbose] >
00:00:09 #59 [Verbose] > nominal console_color = $"System.ConsoleColor"
00:00:09 #60 [Verbose] >
00:00:09 #61 [Verbose] > inl console_reset_color () : () =
00:00:09 #62 [Verbose] > run_target function
00:00:09 #63 [Verbose] > | Fsharp => fun () => $"System.Console.ResetColor ()"
00:00:09 #64 [Verbose] > | _ => fun () => ()
00:00:09 #65 [Verbose] >
00:00:09 #66 [Verbose] > inl console_set_foreground_color (color : console_color) : () =
00:00:09 #67 [Verbose] > run_target function
00:00:09 #68 [Verbose] > | Fsharp => fun () => $"System.Console.ForegroundColor <- !color"
00:00:09 #69 [Verbose] > | _ => fun () => ()
00:00:09 #70 [Verbose] >
00:00:09 #71 [Verbose] > inl gc_collect () =
00:00:09 #72 [Verbose] > run_target function
00:00:09 #73 [Verbose] > | Fsharp => fun () => $"System.GC.Collect ()"
00:00:09 #74 [Verbose] > | _ => fun () => ()
00:00:09 #75 [Verbose] >
00:00:09 #76 [Verbose] > nominal map k v = $"Map<`k, `v>"
00:00:09 #77 [Verbose] >
00:00:09 #78 [Verbose] > inl map_item forall k v. (k : k) (map : map k v) : v =
00:00:09 #79 [Verbose] > $"!map.[[!k]]"
00:00:09 #80 [Verbose] >
00:00:09 #81 [Verbose] > inl map_of_array forall k v. (array : a _ (k * v)) : map k v =
00:00:09 #82 [Verbose] > $"!array |> Array.map (fun (struct (a, b)) -> a, b) |> Map.ofArray"
00:00:09 #83 [Verbose] >
00:00:09 #84 [Verbose] > inl printfn x =
00:00:09 #85 [Verbose] > console.write_line x
00:00:09 #86 [Verbose] >
00:00:09 #87 [Verbose] > nominal stopwatch = $"System.Diagnostics.Stopwatch"
00:00:09 #88 [Verbose] >
00:00:09 #89 [Verbose] > inl stopwatch () : stopwatch =
00:00:09 #90 [Verbose] > $"`stopwatch" ()
00:00:09 #91 [Verbose] >
00:00:09 #92 [Verbose] > inl stopwatch_elapsed_milliseconds (stopwatch : stopwatch) : i64 =
00:00:09 #93 [Verbose] > $"!stopwatch.ElapsedMilliseconds"
00:00:09 #94 [Verbose] >
00:00:09 #95 [Verbose] > inl stopwatch_start (stopwatch : stopwatch) : () =
00:00:09 #96 [Verbose] > $"!stopwatch.Start ()"
00:00:09 #97 [Verbose] >
00:00:09 #98 [Verbose] > inl string_concat (a : string) (b : a _ _) : string =
00:00:09 #99 [Verbose] > $"!b |> String.concat !a"
00:00:09 #100 [Verbose] >
00:00:09 #101 [Verbose] > inl string_join (concat : string) (s : a _ string) : string =
00:00:09 #102 [Verbose] > $"System.String.Join (!concat, !s)"
00:00:09 #103 [Verbose] >
00:00:09 #104 [Verbose] >
00:00:09 #105 [Verbose] > inl string_pad_right (pad : i32) (s : string) : string =
00:00:09 #106 [Verbose] > $"!s.PadRight !pad"
00:00:09 #107 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-1040-4067-4878a4ef995b\main.spi
00:00:09 #108 [Verbose] >
00:00:09 #109 [Verbose] > ╭─[ 183.94ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #110 [Verbose] > │ () │
00:00:09 #111 [Verbose] > │ │
00:00:09 #112 [Verbose] > │ │
00:00:09 #113 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #114 [Verbose] >
00:00:09 #115 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #116 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #117 [Verbose] > │ ## test_case_result │
00:00:09 #118 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #119 [Verbose] >
00:00:09 #120 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #121 [Verbose] > type test_case_result =
00:00:09 #122 [Verbose] > {
00:00:09 #123 [Verbose] > Input : string
00:00:09 #124 [Verbose] > Expected : string
00:00:09 #125 [Verbose] > Result : string
00:00:09 #126 [Verbose] > TimeList : a u64 i64
00:00:09 #127 [Verbose] > }
00:00:09 #128 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-1059-5931-58afb1d3580d\main.spi
00:00:09 #129 [Verbose] >
00:00:09 #130 [Verbose] > ╭─[ 167.88ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #131 [Verbose] > │ () │
00:00:09 #132 [Verbose] > │ │
00:00:09 #133 [Verbose] > │ │
00:00:09 #134 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #135 [Verbose] >
00:00:09 #136 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #137 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #138 [Verbose] > │ ## run │
00:00:09 #139 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #140 [Verbose] >
00:00:09 #141 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #142 [Verbose] > inl run forall input expected.
00:00:09 #143 [Verbose] > count
00:00:09 #144 [Verbose] > (solutions : list (string * (input -> expected)))
00:00:09 #145 [Verbose] > ((input, expected) : (input * expected))
00:00:09 #146 [Verbose] > : test_case_result
00:00:09 #147 [Verbose] > =
00:00:09 #148 [Verbose] > inl input_str = input |> format_debug
00:00:09 #149 [Verbose] >
00:00:09 #150 [Verbose] > printfn ""
00:00:09 #151 [Verbose] > printfn ($"$\"Solution: {!input_str} \"" : string)
00:00:09 #152 [Verbose] >
00:00:09 #153 [Verbose] > inl performance_invoke (fn : () -> expected) =
00:00:09 #154 [Verbose] > gc_collect ()
00:00:09 #155 [Verbose] > inl stopwatch = stopwatch ()
00:00:09 #156 [Verbose] > stopwatch |> stopwatch_start
00:00:09 #157 [Verbose] > inl time1 = stopwatch |> stopwatch_elapsed_milliseconds
00:00:09 #158 [Verbose] > inl result : expected =
00:00:09 #159 [Verbose] > am'.init_series 0 count 1i32
00:00:09 #160 [Verbose] > |> am'_parallel_map fun _n => fn ()
00:00:09 #161 [Verbose] > |> am'.last
00:00:09 #162 [Verbose] > inl time2 = (stopwatch |> stopwatch_elapsed_milliseconds) - time1
00:00:09 #163 [Verbose] > result, time2
00:00:09 #164 [Verbose] >
00:00:09 #165 [Verbose] > inl results_with_time : a u64 _ =
00:00:09 #166 [Verbose] > solutions
00:00:09 #167 [Verbose] > |> listm'.indexed
00:00:09 #168 [Verbose] > |> listm.toArray
00:00:09 #169 [Verbose] > |> am.map fun ((i : i32), (test_name, solution)) =>
00:00:09 #170 [Verbose] > inl result, time = performance_invoke fun () => solution input
00:00:09 #171 [Verbose] > printfn ($"$\"Test case {!i + 1}. {!test_name}. Time: {!time} \"" :
00:00:09 #172 [Verbose] > string)
00:00:09 #173 [Verbose] > result, time
00:00:09 #174 [Verbose] >
00:00:09 #175 [Verbose] > match results_with_time |> am.map fst with
00:00:09 #176 [Verbose] > | array when length array <= 1 => ()
00:00:09 #177 [Verbose] > | array when array |> am.forall' ((=) (index array 0)) => ()
00:00:09 #178 [Verbose] > | results => failwith ($"$\"Challenge error: {!results}\"" : string)
00:00:09 #179 [Verbose] >
00:00:09 #180 [Verbose] > {
00:00:09 #181 [Verbose] > Input = input_str
00:00:09 #182 [Verbose] > Expected = expected |> format_debug
00:00:09 #183 [Verbose] > Result = results_with_time |> am.map fst |> fun array => index array 0
00:00:09 #184 [Verbose] > |> format_debug
00:00:09 #185 [Verbose] > TimeList = results_with_time |> am.map snd
00:00:09 #186 [Verbose] > }
00:00:09 #187 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-1076-7671-78bd7d963f15\main.spi
00:00:09 #188 [Verbose] >
00:00:09 #189 [Verbose] > ╭─[ 166.95ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #190 [Verbose] > │ () │
00:00:09 #191 [Verbose] > │ │
00:00:09 #192 [Verbose] > │ │
00:00:09 #193 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #194 [Verbose] >
00:00:09 #195 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #196 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #197 [Verbose] > │ ## run_all │
00:00:09 #198 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #199 [Verbose] >
00:00:09 #200 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #201 [Verbose] > inl run_all forall input expected.
00:00:09 #202 [Verbose] > test_name
00:00:09 #203 [Verbose] > count
00:00:09 #204 [Verbose] > (solutions : list (string * (input -> expected)))
00:00:09 #205 [Verbose] > test_cases
00:00:09 #206 [Verbose] > =
00:00:09 #207 [Verbose] > printfn ""
00:00:09 #208 [Verbose] > printfn ""
00:00:09 #209 [Verbose] > printfn ($"$\"Test: {!test_name}\"" : string)
00:00:09 #210 [Verbose] > test_cases
00:00:09 #211 [Verbose] > |> listm.toArray
00:00:09 #212 [Verbose] > |> am.map (run count solutions)
00:00:09 #213 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-1093-9376-960d362583fe\main.spi
00:00:09 #214 [Verbose] >
00:00:09 #215 [Verbose] > ╭─[ 184.58ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #216 [Verbose] > │ () │
00:00:09 #217 [Verbose] > │ │
00:00:09 #218 [Verbose] > │ │
00:00:09 #219 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #220 [Verbose] >
00:00:09 #221 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #222 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #223 [Verbose] > │ ## sort_result_list │
00:00:09 #224 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #225 [Verbose] >
00:00:09 #226 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #227 [Verbose] > inl sort_result_list results =
00:00:09 #228 [Verbose] > inl table =
00:00:09 #229 [Verbose] > inl rows =
00:00:09 #230 [Verbose] > results
00:00:09 #231 [Verbose] > |> am.map fun (result : test_case_result) =>
00:00:09 #232 [Verbose] > inl best =
00:00:09 #233 [Verbose] > result.TimeList
00:00:09 #234 [Verbose] > |> am'.indexed
00:00:09 #235 [Verbose] > |> am.map fun (i, time) =>
00:00:09 #236 [Verbose] > i + 1i64, time
00:00:09 #237 [Verbose] > |> am'_sort_by snd
00:00:09 #238 [Verbose] > |> fun array => index array 0i32
00:00:09 #239 [Verbose] > |> format_debug
00:00:09 #240 [Verbose] > inl row =
00:00:09 #241 [Verbose] > [[
00:00:09 #242 [Verbose] > result.Input
00:00:09 #243 [Verbose] > result.Expected
00:00:09 #244 [Verbose] > result.Result
00:00:09 #245 [Verbose] > best
00:00:09 #246 [Verbose] > ]]
00:00:09 #247 [Verbose] > inl color : option console_color =
00:00:09 #248 [Verbose] > match result.Expected = result.Result with
00:00:09 #249 [Verbose] > | true => Some $"`console_color.DarkGreen"
00:00:09 #250 [Verbose] > | false => Some $"`console_color.DarkRed"
00:00:09 #251 [Verbose] > row, color
00:00:09 #252 [Verbose] >
00:00:09 #253 [Verbose] > inl header =
00:00:09 #254 [Verbose] > [[
00:00:09 #255 [Verbose] > [[
00:00:09 #256 [Verbose] > "Input"
00:00:09 #257 [Verbose] > "Expected"
00:00:09 #258 [Verbose] > "Result"
00:00:09 #259 [Verbose] > "Best"
00:00:09 #260 [Verbose] > ]]
00:00:09 #261 [Verbose] > [[
00:00:09 #262 [Verbose] > "---"
00:00:09 #263 [Verbose] > "---"
00:00:09 #264 [Verbose] > "---"
00:00:09 #265 [Verbose] > "---"
00:00:09 #266 [Verbose] > ]]
00:00:09 #267 [Verbose] > ]]
00:00:09 #268 [Verbose] > |> listm.map fun row => row, None
00:00:09 #269 [Verbose] > |> listm.toArray
00:00:09 #270 [Verbose] > rows |> am.append header
00:00:09 #271 [Verbose] >
00:00:09 #272 [Verbose] > inl formattedTable =
00:00:09 #273 [Verbose] > inl lengthMap : map i32 i64 =
00:00:09 #274 [Verbose] > table
00:00:09 #275 [Verbose] > |> am.map (fst >> listm.toArray)
00:00:09 #276 [Verbose] > |> am'_transpose
00:00:09 #277 [Verbose] > |> am.map fun column =>
00:00:09 #278 [Verbose] > column
00:00:09 #279 [Verbose] > |> am.map sm.length
00:00:09 #280 [Verbose] > |> am'_sort_descending
00:00:09 #281 [Verbose] > |> am'_try_item 0i32
00:00:09 #282 [Verbose] > |> optionm'.default_value 0i64
00:00:09 #283 [Verbose] > |> am'.indexed
00:00:09 #284 [Verbose] > |> fun (x : a i32 _) => x
00:00:09 #285 [Verbose] > |> map_of_array
00:00:09 #286 [Verbose] > table
00:00:09 #287 [Verbose] > |> am.map fun (row, color) =>
00:00:09 #288 [Verbose] > inl newRow =
00:00:09 #289 [Verbose] > row
00:00:09 #290 [Verbose] > |> listm'.indexed
00:00:09 #291 [Verbose] > |> listm.map fun (i, cell) =>
00:00:09 #292 [Verbose] > cell |> string_pad_right (lengthMap |> map_item i |> conv)
00:00:09 #293 [Verbose] > |> listm.toArray
00:00:09 #294 [Verbose] > newRow, color
00:00:09 #295 [Verbose] >
00:00:09 #296 [Verbose] > printfn ""
00:00:09 #297 [Verbose] > formattedTable
00:00:09 #298 [Verbose] > |> am.iter fun ((row : a i32 string), color) =>
00:00:09 #299 [Verbose] > match color with
00:00:09 #300 [Verbose] > | Some color => color |> console_set_foreground_color
00:00:09 #301 [Verbose] > | None => console_reset_color ()
00:00:09 #302 [Verbose] >
00:00:09 #303 [Verbose] > printfn (row |> string_join "\t| ")
00:00:09 #304 [Verbose] >
00:00:09 #305 [Verbose] > console_reset_color ()
00:00:09 #306 [Verbose] >
00:00:09 #307 [Verbose] > inl averages : a u64 _ =
00:00:09 #308 [Verbose] > results
00:00:09 #309 [Verbose] > |> am.map fun result =>
00:00:09 #310 [Verbose] > result.TimeList
00:00:09 #311 [Verbose] > |> am.map ($"float" : i64 -> f64)
00:00:09 #312 [Verbose] > |> am'_transpose
00:00:09 #313 [Verbose] > |> am.map am'_average
00:00:09 #314 [Verbose] > |> am.map ($"int64" : f64 -> i64)
00:00:09 #315 [Verbose] > |> am'.indexed
00:00:09 #316 [Verbose] >
00:00:09 #317 [Verbose] > printfn ""
00:00:09 #318 [Verbose] > printfn "Average Ranking "
00:00:09 #319 [Verbose] > averages
00:00:09 #320 [Verbose] > |> am'_sort_by snd
00:00:09 #321 [Verbose] > |> am.iter fun ((i : i32), avg) =>
00:00:09 #322 [Verbose] > printfn ($"$\"Test case %d{!i + 1}. Average Time: %A{!avg} \"" :
00:00:09 #323 [Verbose] > string)
00:00:09 #324 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-1113-1302-17825544c4f8\main.spi
00:00:10 #325 [Verbose] >
00:00:10 #326 [Verbose] > ╭─[ 181.27ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #327 [Verbose] > │ () │
00:00:10 #328 [Verbose] > │ │
00:00:10 #329 [Verbose] > │ │
00:00:10 #330 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #331 [Verbose] >
00:00:10 #332 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #333 [Verbose] > // // test
00:00:10 #334 [Verbose] >
00:00:10 #335 [Verbose] > inl is_fast () =
00:00:10 #336 [Verbose] > false
00:00:10 #337 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-1131-3134-3357756719eb\main.spi
00:00:10 #338 [Verbose] >
00:00:10 #339 [Verbose] > ╭─[ 202.90ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #340 [Verbose] > │ () │
00:00:10 #341 [Verbose] > │ │
00:00:10 #342 [Verbose] > │ │
00:00:10 #343 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #344 [Verbose] >
00:00:10 #345 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:10 #346 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:10 #347 [Verbose] > │ ## empty2Tests │
00:00:10 #348 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #349 [Verbose] >
00:00:10 #350 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:10 #351 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:10 #352 [Verbose] > │ Test: Empty2 │
00:00:10 #353 [Verbose] > │ │
00:00:10 #354 [Verbose] > │ Solution: (a, a) │
00:00:10 #355 [Verbose] > │ Test case 1. A. Time: 59L │
00:00:10 #356 [Verbose] > │ │
00:00:10 #357 [Verbose] > │ Solution: (a, a) │
00:00:10 #358 [Verbose] > │ Test case 1. A. Time: 53L │
00:00:10 #359 [Verbose] > │ │
00:00:10 #360 [Verbose] > │ Input | Expected | Result | Best │
00:00:10 #361 [Verbose] > │ --- | --- | --- | --- │
00:00:10 #362 [Verbose] > │ (a, a) | a | a | (1, 59) │
00:00:10 #363 [Verbose] > │ (a, a) | a | a | (1, 53) │
00:00:10 #364 [Verbose] > │ │
00:00:10 #365 [Verbose] > │ Averages │
00:00:10 #366 [Verbose] > │ Test case 1. Average Time: 56L │
00:00:10 #367 [Verbose] > │ │
00:00:10 #368 [Verbose] > │ Ranking │
00:00:10 #369 [Verbose] > │ Test case 1. Average Time: 56L │
00:00:10 #370 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #371 [Verbose] >
00:00:10 #372 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #373 [Verbose] > // // test
00:00:10 #374 [Verbose] >
00:00:10 #375 [Verbose] > inl get_solutions () =
00:00:10 #376 [Verbose] > [[
00:00:10 #377 [Verbose] > "A",
00:00:10 #378 [Verbose] > fun (a, _b) =>
00:00:10 #379 [Verbose] > a
00:00:10 #380 [Verbose] >
00:00:10 #381 [Verbose] > "B",
00:00:10 #382 [Verbose] > fun (_a, b) =>
00:00:10 #383 [Verbose] > b
00:00:10 #384 [Verbose] > ]]
00:00:10 #385 [Verbose] >
00:00:10 #386 [Verbose] > inl rec empty_2_tests () =
00:00:10 #387 [Verbose] > inl test_cases = [[
00:00:10 #388 [Verbose] > ("a", "a"), "a"
00:00:10 #389 [Verbose] > ("b", "b"), "b"
00:00:10 #390 [Verbose] > ]]
00:00:10 #391 [Verbose] >
00:00:10 #392 [Verbose] > inl solutions = get_solutions ()
00:00:10 #393 [Verbose] >
00:00:10 #394 [Verbose] > // inl is_fast () = true
00:00:10 #395 [Verbose] >
00:00:10 #396 [Verbose] > inl count =
00:00:10 #397 [Verbose] > if is_fast ()
00:00:10 #398 [Verbose] > then 1000i32
00:00:10 #399 [Verbose] > else 2000000i32
00:00:10 #400 [Verbose] >
00:00:10 #401 [Verbose] > run_all (nameof empty_2_tests) count solutions test_cases
00:00:10 #402 [Verbose] > |> sort_result_list
00:00:10 #403 [Verbose] >
00:00:10 #404 [Verbose] > empty_2_tests ()
00:00:10 #405 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-1153-5313-5b65842ab27a\main.spi
00:00:20 #406 [Verbose] >
00:00:21 #407 [Verbose] > ╭─[ 10.65s - stdout ]──────────────────────────────────────────────────────────╮
00:00:21 #408 [Verbose] > │ type UH0 = │
00:00:21 #409 [Verbose] > │ | UH0_0 of string * string * string * UH0 │
00:00:21 #410 [Verbose] > │ | UH0_1 │
00:00:21 #411 [Verbose] > │ and Mut0 = {mutable l0 : uint64} │
00:00:21 #412 [Verbose] > │ and UH1 = │
00:00:21 #413 [Verbose] > │ | UH1_0 of int32 * string * (struct (string * string) -> string) * UH1 │
00:00:21 #414 [Verbose] > │ | UH1_1 │
00:00:21 #415 [Verbose] > │ and Mut1 = {mutable l0 : int32} │
00:00:21 #416 [Verbose] > │ and UH2 = │
00:00:21 #417 [Verbose] > │ | UH2_0 of string * UH2 │
00:00:21 #418 [Verbose] > │ | UH2_1 │
00:00:21 #419 [Verbose] > │ and [<Struct>] US0 = │
00:00:21 #420 [Verbose] > │ | US0_0 │
00:00:21 #421 [Verbose] > │ | US0_1 of f1_0 : System.ConsoleColor │
00:00:21 #422 [Verbose] > │ and UH3 = │
00:00:21 #423 [Verbose] > │ | UH3_0 of int64 * int64 * UH3 │
00:00:21 #424 [Verbose] > │ | UH3_1 │
00:00:21 #425 [Verbose] > │ and Mut2 = {mutable l0 : uint64; mutable l1 : UH3; mutable l2 : int64} │
00:00:21 #426 [Verbose] > │ and UH4 = │
00:00:21 #427 [Verbose] > │ | UH4_0 of UH2 * US0 * UH4 │
00:00:21 #428 [Verbose] > │ | UH4_1 │
00:00:21 #429 [Verbose] > │ and [<Struct>] US1 = │
00:00:21 #430 [Verbose] > │ | US1_0 │
00:00:21 #431 [Verbose] > │ | US1_1 of f1_0 : int64 │
00:00:21 #432 [Verbose] > │ and UH5 = │
00:00:21 #433 [Verbose] > │ | UH5_0 of int32 * int64 * UH5 │
00:00:21 #434 [Verbose] > │ | UH5_1 │
00:00:21 #435 [Verbose] > │ and Mut3 = {mutable l0 : uint64; mutable l1 : UH5; mutable l2 : int32} │
00:00:21 #436 [Verbose] > │ and UH6 = │
00:00:21 #437 [Verbose] > │ | UH6_0 of int32 * string * UH6 │
00:00:21 #438 [Verbose] > │ | UH6_1 │
00:00:21 #439 [Verbose] > │ let rec method2 (v0 : UH0, v1 : uint64) : uint64 = │
00:00:21 #440 [Verbose] > │ match v0 with │
00:00:21 #441 [Verbose] > │ | UH0_0(v2, v3, v4, v5) -> (* Cons *) │
00:00:21 #442 [Verbose] > │ let v6 : uint64 = v1 + 1UL │
00:00:21 #443 [Verbose] > │ method2(v5, v6) │
00:00:21 #444 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:21 #445 [Verbose] > │ v1 │
00:00:21 #446 [Verbose] > │ and method3 (v0 : (struct (string * string * string) []), v1 : UH0, v2 : │
00:00:21 #447 [Verbose] > │ uint64) : uint64 = │
00:00:21 #448 [Verbose] > │ match v1 with │
00:00:21 #449 [Verbose] > │ | UH0_0(v3, v4, v5, v6) -> (* Cons *) │
00:00:21 #450 [Verbose] > │ v0.[int v2] <- struct (v3, v4, v5) │
00:00:21 #451 [Verbose] > │ let v7 : uint64 = v2 + 1UL │
00:00:21 #452 [Verbose] > │ method3(v0, v6, v7) │
00:00:21 #453 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:21 #454 [Verbose] > │ v2 │
00:00:21 #455 [Verbose] > │ and method1 (v0 : UH0) : (struct (string * string * string) []) = │
00:00:21 #456 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:21 #457 [Verbose] > │ let v2 : uint64 = method2(v0, v1) │
00:00:21 #458 [Verbose] > │ let v3 : (struct (string * string * string) []) = │
00:00:21 #459 [Verbose] > │ Array.zeroCreate<struct (string * string * string)> │
00:00:21 #460 [Verbose] > │ (System.Convert.ToInt32(v2)) │
00:00:21 #461 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:21 #462 [Verbose] > │ let v5 : uint64 = method3(v3, v0, v4) │
00:00:21 #463 [Verbose] > │ v3 │
00:00:21 #464 [Verbose] > │ and method4 (v0 : uint64, v1 : Mut0) : bool = │
00:00:21 #465 [Verbose] > │ let v2 : uint64 = v1.l0 │
00:00:21 #466 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:21 #467 [Verbose] > │ v3 │
00:00:21 #468 [Verbose] > │ and closure1 () struct (v0 : string, v1 : string) : string = │
00:00:21 #469 [Verbose] > │ v0 │
00:00:21 #470 [Verbose] > │ and closure2 () struct (v0 : string, v1 : string) : string = │
00:00:21 #471 [Verbose] > │ v1 │
00:00:21 #472 [Verbose] > │ and method6 (v0 : UH1, v1 : uint64) : uint64 = │
00:00:21 #473 [Verbose] > │ match v0 with │
00:00:21 #474 [Verbose] > │ | UH1_0(v2, v3, v4, v5) -> (* Cons *) │
00:00:21 #475 [Verbose] > │ let v6 : uint64 = v1 + 1UL │
00:00:21 #476 [Verbose] > │ method6(v5, v6) │
00:00:21 #477 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:21 #478 [Verbose] > │ v1 │
00:00:21 #479 [Verbose] > │ and method7 (v0 : (struct (int32 * string * (struct (string * string) -> │
00:00:21 #480 [Verbose] > │ string)) []), v1 : UH1, v2 : uint64) : uint64 = │
00:00:21 #481 [Verbose] > │ match v1 with │
00:00:21 #482 [Verbose] > │ | UH1_0(v3, v4, v5, v6) -> (* Cons *) │
00:00:21 #483 [Verbose] > │ v0.[int v2] <- struct (v3, v4, v5) │
00:00:21 #484 [Verbose] > │ let v7 : uint64 = v2 + 1UL │
00:00:21 #485 [Verbose] > │ method7(v0, v6, v7) │
00:00:21 #486 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:21 #487 [Verbose] > │ v2 │
00:00:21 #488 [Verbose] > │ and method5 (v0 : UH1) : (struct (int32 * string * (struct (string * string) │
00:00:21 #489 [Verbose] > │ -> string)) []) = │
00:00:21 #490 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:21 #491 [Verbose] > │ let v2 : uint64 = method6(v0, v1) │
00:00:21 #492 [Verbose] > │ let v3 : (struct (int32 * string * (struct (string * string) -> string)) │
00:00:21 #493 [Verbose] > │ []) = Array.zeroCreate<struct (int32 * string * (struct (string * string) -> │
00:00:21 #494 [Verbose] > │ string))> (System.Convert.ToInt32(v2)) │
00:00:21 #495 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:21 #496 [Verbose] > │ let v5 : uint64 = method7(v3, v0, v4) │
00:00:21 #497 [Verbose] > │ v3 │
00:00:21 #498 [Verbose] > │ and closure3 () () : unit = │
00:00:21 #499 [Verbose] > │ () │
00:00:21 #500 [Verbose] > │ and closure4 () () : unit = │
00:00:21 #501 [Verbose] > │ System.GC.Collect () │
00:00:21 #502 [Verbose] > │ () │
00:00:21 #503 [Verbose] > │ and method8 (v0 : Mut1) : bool = │
00:00:21 #504 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:21 #505 [Verbose] > │ let v2 : bool = v1 < 2000001 │
00:00:21 #506 [Verbose] > │ v2 │
00:00:21 #507 [Verbose] > │ and closure5 (v0 : string, v1 : string, v2 : (struct (string * string) -> │
00:00:21 #508 [Verbose] > │ string)) (v3 : int32) : string = │
00:00:21 #509 [Verbose] > │ v2 struct (v0, v1) │
00:00:21 #510 [Verbose] > │ and method9 (v0 : string, v1 : (string []), v2 : uint64) : bool = │
00:00:21 #511 [Verbose] > │ let v3 : uint64 = System.Convert.ToUInt64 v1.Length │
00:00:21 #512 [Verbose] > │ let v4 : bool = v2 < v3 │
00:00:21 #513 [Verbose] > │ if v4 then │
00:00:21 #514 [Verbose] > │ let v5 : string = v1.[int v2] │
00:00:21 #515 [Verbose] > │ let v6 : bool = v0 = v5 │
00:00:21 #516 [Verbose] > │ if v6 then │
00:00:21 #517 [Verbose] > │ let v7 : uint64 = v2 + 1UL │
00:00:21 #518 [Verbose] > │ method9(v0, v1, v7) │
00:00:21 #519 [Verbose] > │ else │
00:00:21 #520 [Verbose] > │ false │
00:00:21 #521 [Verbose] > │ else │
00:00:21 #522 [Verbose] > │ true │
00:00:21 #523 [Verbose] > │ and method10 (v0 : uint64, v1 : Mut2) : bool = │
00:00:21 #524 [Verbose] > │ let v2 : uint64 = v1.l0 │
00:00:21 #525 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:21 #526 [Verbose] > │ v3 │
00:00:21 #527 [Verbose] > │ and method11 (v0 : UH3, v1 : UH3) : UH3 = │
00:00:21 #528 [Verbose] > │ match v0 with │
00:00:21 #529 [Verbose] > │ | UH3_0(v2, v3, v4) -> (* Cons *) │
00:00:21 #530 [Verbose] > │ let v5 : UH3 = UH3_0(v2, v3, v1) │
00:00:21 #531 [Verbose] > │ method11(v4, v5) │
00:00:21 #532 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:00:21 #533 [Verbose] > │ v1 │
00:00:21 #534 [Verbose] > │ and method13 (v0 : UH3, v1 : int32) : int32 = │
00:00:21 #535 [Verbose] > │ match v0 with │
00:00:21 #536 [Verbose] > │ | UH3_0(v2, v3, v4) -> (* Cons *) │
00:00:21 #537 [Verbose] > │ let v5 : int32 = v1 + 1 │
00:00:21 #538 [Verbose] > │ method13(v4, v5) │
00:00:21 #539 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:00:21 #540 [Verbose] > │ v1 │
00:00:21 #541 [Verbose] > │ and method14 (v0 : (struct (int64 * int64) []), v1 : UH3, v2 : int32) : │
00:00:21 #542 [Verbose] > │ int32 = │
00:00:21 #543 [Verbose] > │ match v1 with │
00:00:21 #544 [Verbose] > │ | UH3_0(v3, v4, v5) -> (* Cons *) │
00:00:21 #545 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:21 #546 [Verbose] > │ let v6 : int32 = v2 + 1 │
00:00:21 #547 [Verbose] > │ method14(v0, v5, v6) │
00:00:21 #548 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:00:21 #549 [Verbose] > │ v2 │
00:00:21 #550 [Verbose] > │ and method12 (v0 : UH3) : (struct (int64 * int64) []) = │
00:00:21 #551 [Verbose] > │ let v1 : int32 = 0 │
00:00:21 #552 [Verbose] > │ let v2 : int32 = method13(v0, v1) │
00:00:21 #553 [Verbose] > │ let v3 : (struct (int64 * int64) []) = Array.zeroCreate<struct (int64 * │
00:00:21 #554 [Verbose] > │ int64)> (v2) │
00:00:21 #555 [Verbose] > │ let v4 : int32 = 0 │
00:00:21 #556 [Verbose] > │ let v5 : int32 = method14(v3, v0, v4) │
00:00:21 #557 [Verbose] > │ v3 │
00:00:21 #558 [Verbose] > │ and method15 (v0 : int32, v1 : Mut1) : bool = │
00:00:21 #559 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:21 #560 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:21 #561 [Verbose] > │ v3 │
00:00:21 #562 [Verbose] > │ and closure6 () struct (v0 : int64, v1 : int64) : int64 = │
00:00:21 #563 [Verbose] > │ v1 │
00:00:21 #564 [Verbose] > │ and method17 (v0 : UH4, v1 : uint64) : uint64 = │
00:00:21 #565 [Verbose] > │ match v0 with │
00:00:21 #566 [Verbose] > │ | UH4_0(v2, v3, v4) -> (* Cons *) │
00:00:21 #567 [Verbose] > │ let v5 : uint64 = v1 + 1UL │
00:00:21 #568 [Verbose] > │ method17(v4, v5) │
00:00:21 #569 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:21 #570 [Verbose] > │ v1 │
00:00:21 #571 [Verbose] > │ and method18 (v0 : (struct (UH2 * US0) []), v1 : UH4, v2 : uint64) : uint64 │
00:00:21 #572 [Verbose] > │ = │
00:00:21 #573 [Verbose] > │ match v1 with │
00:00:21 #574 [Verbose] > │ | UH4_0(v3, v4, v5) -> (* Cons *) │
00:00:21 #575 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:21 #576 [Verbose] > │ let v6 : uint64 = v2 + 1UL │
00:00:21 #577 [Verbose] > │ method18(v0, v5, v6) │
00:00:21 #578 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:21 #579 [Verbose] > │ v2 │
00:00:21 #580 [Verbose] > │ and method16 (v0 : UH4) : (struct (UH2 * US0) []) = │
00:00:21 #581 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:21 #582 [Verbose] > │ let v2 : uint64 = method17(v0, v1) │
00:00:21 #583 [Verbose] > │ let v3 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:00:21 #584 [Verbose] > │ (System.Convert.ToInt32(v2)) │
00:00:21 #585 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:21 #586 [Verbose] > │ let v5 : uint64 = method18(v3, v0, v4) │
00:00:21 #587 [Verbose] > │ v3 │
00:00:21 #588 [Verbose] > │ and method20 (v0 : UH2, v1 : uint64) : uint64 = │
00:00:21 #589 [Verbose] > │ match v0 with │
00:00:21 #590 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:21 #591 [Verbose] > │ let v4 : uint64 = v1 + 1UL │
00:00:21 #592 [Verbose] > │ method20(v3, v4) │
00:00:21 #593 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:21 #594 [Verbose] > │ v1 │
00:00:21 #595 [Verbose] > │ and method21 (v0 : (string []), v1 : UH2, v2 : uint64) : uint64 = │
00:00:21 #596 [Verbose] > │ match v1 with │
00:00:21 #597 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:00:21 #598 [Verbose] > │ v0.[int v2] <- v3 │
00:00:21 #599 [Verbose] > │ let v5 : uint64 = v2 + 1UL │
00:00:21 #600 [Verbose] > │ method21(v0, v4, v5) │
00:00:21 #601 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:21 #602 [Verbose] > │ v2 │
00:00:21 #603 [Verbose] > │ and method19 (v0 : UH2) : (string []) = │
00:00:21 #604 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:21 #605 [Verbose] > │ let v2 : uint64 = method20(v0, v1) │
00:00:21 #606 [Verbose] > │ let v3 : (string []) = Array.zeroCreate<string> │
00:00:21 #607 [Verbose] > │ (System.Convert.ToInt32(v2)) │
00:00:21 #608 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:21 #609 [Verbose] > │ let v5 : uint64 = method21(v3, v0, v4) │
00:00:21 #610 [Verbose] > │ v3 │
00:00:21 #611 [Verbose] > │ and closure7 () (v0 : int64) : US1 = │
00:00:21 #612 [Verbose] > │ US1_1(v0) │
00:00:21 #613 [Verbose] > │ and method22 (v0 : uint64, v1 : Mut3) : bool = │
00:00:21 #614 [Verbose] > │ let v2 : uint64 = v1.l0 │
00:00:21 #615 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:21 #616 [Verbose] > │ v3 │
00:00:21 #617 [Verbose] > │ and method23 (v0 : UH5, v1 : UH5) : UH5 = │
00:00:21 #618 [Verbose] > │ match v0 with │
00:00:21 #619 [Verbose] > │ | UH5_0(v2, v3, v4) -> (* Cons *) │
00:00:21 #620 [Verbose] > │ let v5 : UH5 = UH5_0(v2, v3, v1) │
00:00:21 #621 [Verbose] > │ method23(v4, v5) │
00:00:21 #622 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:21 #623 [Verbose] > │ v1 │
00:00:21 #624 [Verbose] > │ and method25 (v0 : UH5, v1 : int32) : int32 = │
00:00:21 #625 [Verbose] > │ match v0 with │
00:00:21 #626 [Verbose] > │ | UH5_0(v2, v3, v4) -> (* Cons *) │
00:00:21 #627 [Verbose] > │ let v5 : int32 = v1 + 1 │
00:00:21 #628 [Verbose] > │ method25(v4, v5) │
00:00:21 #629 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:21 #630 [Verbose] > │ v1 │
00:00:21 #631 [Verbose] > │ and method26 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : int32) : │
00:00:21 #632 [Verbose] > │ int32 = │
00:00:21 #633 [Verbose] > │ match v1 with │
00:00:21 #634 [Verbose] > │ | UH5_0(v3, v4, v5) -> (* Cons *) │
00:00:21 #635 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:21 #636 [Verbose] > │ let v6 : int32 = v2 + 1 │
00:00:21 #637 [Verbose] > │ method26(v0, v5, v6) │
00:00:21 #638 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:21 #639 [Verbose] > │ v2 │
00:00:21 #640 [Verbose] > │ and method24 (v0 : UH5) : (struct (int32 * int64) []) = │
00:00:21 #641 [Verbose] > │ let v1 : int32 = 0 │
00:00:21 #642 [Verbose] > │ let v2 : int32 = method25(v0, v1) │
00:00:21 #643 [Verbose] > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:00:21 #644 [Verbose] > │ int64)> (v2) │
00:00:21 #645 [Verbose] > │ let v4 : int32 = 0 │
00:00:21 #646 [Verbose] > │ let v5 : int32 = method26(v3, v0, v4) │
00:00:21 #647 [Verbose] > │ v3 │
00:00:21 #648 [Verbose] > │ and method27 (v0 : UH2, v1 : UH6, v2 : int32) : struct (UH6 * int32) = │
00:00:21 #649 [Verbose] > │ match v0 with │
00:00:21 #650 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:00:21 #651 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:21 #652 [Verbose] > │ let v6 : UH6 = UH6_0(v2, v3, v1) │
00:00:21 #653 [Verbose] > │ method27(v4, v6, v5) │
00:00:21 #654 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:21 #655 [Verbose] > │ struct (v1, v2) │
00:00:21 #656 [Verbose] > │ and method28 (v0 : UH6, v1 : UH6) : UH6 = │
00:00:21 #657 [Verbose] > │ match v0 with │
00:00:21 #658 [Verbose] > │ | UH6_0(v2, v3, v4) -> (* Cons *) │
00:00:21 #659 [Verbose] > │ let v5 : UH6 = UH6_0(v2, v3, v1) │
00:00:21 #660 [Verbose] > │ method28(v4, v5) │
00:00:21 #661 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:21 #662 [Verbose] > │ v1 │
00:00:21 #663 [Verbose] > │ and method29 (v0 : Map<int32, int64>, v1 : UH6, v2 : UH2) : UH2 = │
00:00:21 #664 [Verbose] > │ match v1 with │
00:00:21 #665 [Verbose] > │ | UH6_0(v3, v4, v5) -> (* Cons *) │
00:00:21 #666 [Verbose] > │ let v6 : UH2 = method29(v0, v5, v2) │
00:00:21 #667 [Verbose] > │ let v7 : int64 = v0.[v3] │
00:00:21 #668 [Verbose] > │ let v8 : int32 = int32 v7 │
00:00:21 #669 [Verbose] > │ let v9 : string = v4.PadRight v8 │
00:00:21 #670 [Verbose] > │ UH2_0(v9, v6) │
00:00:21 #671 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:21 #672 [Verbose] > │ v2 │
00:00:21 #673 [Verbose] > │ and method31 (v0 : UH2, v1 : int32) : int32 = │
00:00:21 #674 [Verbose] > │ match v0 with │
00:00:21 #675 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:21 #676 [Verbose] > │ let v4 : int32 = v1 + 1 │
00:00:21 #677 [Verbose] > │ method31(v3, v4) │
00:00:21 #678 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:21 #679 [Verbose] > │ v1 │
00:00:21 #680 [Verbose] > │ and method32 (v0 : (string []), v1 : UH2, v2 : int32) : int32 = │
00:00:21 #681 [Verbose] > │ match v1 with │
00:00:21 #682 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:00:21 #683 [Verbose] > │ v0.[int v2] <- v3 │
00:00:21 #684 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:21 #685 [Verbose] > │ method32(v0, v4, v5) │
00:00:21 #686 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:21 #687 [Verbose] > │ v2 │
00:00:21 #688 [Verbose] > │ and method30 (v0 : UH2) : (string []) = │
00:00:21 #689 [Verbose] > │ let v1 : int32 = 0 │
00:00:21 #690 [Verbose] > │ let v2 : int32 = method31(v0, v1) │
00:00:21 #691 [Verbose] > │ let v3 : (string []) = Array.zeroCreate<string> (v2) │
00:00:21 #692 [Verbose] > │ let v4 : int32 = 0 │
00:00:21 #693 [Verbose] > │ let v5 : int32 = method32(v3, v0, v4) │
00:00:21 #694 [Verbose] > │ v3 │
00:00:21 #695 [Verbose] > │ and closure8 () () : unit = │
00:00:21 #696 [Verbose] > │ () │
00:00:21 #697 [Verbose] > │ and closure9 () () : unit = │
00:00:21 #698 [Verbose] > │ System.Console.ResetColor () │
00:00:21 #699 [Verbose] > │ () │
00:00:21 #700 [Verbose] > │ and closure10 () () : unit = │
00:00:21 #701 [Verbose] > │ () │
00:00:21 #702 [Verbose] > │ and closure11 (v0 : System.ConsoleColor) () : unit = │
00:00:21 #703 [Verbose] > │ System.Console.ForegroundColor <- v0 │
00:00:21 #704 [Verbose] > │ () │
00:00:21 #705 [Verbose] > │ and method34 (v0 : UH5, v1 : uint64) : uint64 = │
00:00:21 #706 [Verbose] > │ match v0 with │
00:00:21 #707 [Verbose] > │ | UH5_0(v2, v3, v4) -> (* Cons *) │
00:00:21 #708 [Verbose] > │ let v5 : uint64 = v1 + 1UL │
00:00:21 #709 [Verbose] > │ method34(v4, v5) │
00:00:21 #710 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:21 #711 [Verbose] > │ v1 │
00:00:21 #712 [Verbose] > │ and method35 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : uint64) : │
00:00:21 #713 [Verbose] > │ uint64 = │
00:00:21 #714 [Verbose] > │ match v1 with │
00:00:21 #715 [Verbose] > │ | UH5_0(v3, v4, v5) -> (* Cons *) │
00:00:21 #716 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:21 #717 [Verbose] > │ let v6 : uint64 = v2 + 1UL │
00:00:21 #718 [Verbose] > │ method35(v0, v5, v6) │
00:00:21 #719 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:21 #720 [Verbose] > │ v2 │
00:00:21 #721 [Verbose] > │ and method33 (v0 : UH5) : (struct (int32 * int64) []) = │
00:00:21 #722 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:21 #723 [Verbose] > │ let v2 : uint64 = method34(v0, v1) │
00:00:21 #724 [Verbose] > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:00:21 #725 [Verbose] > │ int64)> (System.Convert.ToInt32(v2)) │
00:00:21 #726 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:21 #727 [Verbose] > │ let v5 : uint64 = method35(v3, v0, v4) │
00:00:21 #728 [Verbose] > │ v3 │
00:00:21 #729 [Verbose] > │ and closure12 () struct (v0 : int32, v1 : int64) : int64 = │
00:00:21 #730 [Verbose] > │ v1 │
00:00:21 #731 [Verbose] > │ and closure0 () () : unit = │
00:00:21 #732 [Verbose] > │ let v0 : (unit -> unit) = closure0() │
00:00:21 #733 [Verbose] > │ let v1 : string = nameof v0 │
00:00:21 #734 [Verbose] > │ let v2 : string = "" │
00:00:21 #735 [Verbose] > │ System.Console.WriteLine v2 │
00:00:21 #736 [Verbose] > │ System.Console.WriteLine v2 │
00:00:21 #737 [Verbose] > │ let v3 : string = $"Test: {v1}" │
00:00:21 #738 [Verbose] > │ System.Console.WriteLine v3 │
00:00:21 #739 [Verbose] > │ let v4 : string = "a" │
00:00:21 #740 [Verbose] > │ let v5 : string = "b" │
00:00:21 #741 [Verbose] > │ let v6 : UH0 = UH0_1 │
00:00:21 #742 [Verbose] > │ let v7 : UH0 = UH0_0(v5, v5, v5, v6) │
00:00:21 #743 [Verbose] > │ let v8 : UH0 = UH0_0(v4, v4, v4, v7) │
00:00:21 #744 [Verbose] > │ let v9 : (struct (string * string * string) []) = method1(v8) │
00:00:21 #745 [Verbose] > │ let v10 : uint64 = System.Convert.ToUInt64 v9.Length │
00:00:21 #746 [Verbose] > │ let v11 : (struct (string * string * string * (int64 [])) []) = │
00:00:21 #747 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:00:21 #748 [Verbose] > │ (System.Convert.ToInt32(v10)) │
00:00:21 #749 [Verbose] > │ let v12 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #750 [Verbose] > │ while method4(v10, v12) do │
00:00:21 #751 [Verbose] > │ let v14 : uint64 = v12.l0 │
00:00:21 #752 [Verbose] > │ let struct (v15 : string, v16 : string, v17 : string) = v9.[int v14] │
00:00:21 #753 [Verbose] > │ let v18 : string = $"%A{struct (v15, v16)}" │
00:00:21 #754 [Verbose] > │ System.Console.WriteLine v2 │
00:00:21 #755 [Verbose] > │ let v19 : string = $"Solution: {v18} " │
00:00:21 #756 [Verbose] > │ System.Console.WriteLine v19 │
00:00:21 #757 [Verbose] > │ let v20 : int32 = 0 │
00:00:21 #758 [Verbose] > │ let v21 : string = "A" │
00:00:21 #759 [Verbose] > │ let v22 : (struct (string * string) -> string) = closure1() │
00:00:21 #760 [Verbose] > │ let v23 : int32 = 1 │
00:00:21 #761 [Verbose] > │ let v24 : string = "B" │
00:00:21 #762 [Verbose] > │ let v25 : (struct (string * string) -> string) = closure2() │
00:00:21 #763 [Verbose] > │ let v26 : UH1 = UH1_1 │
00:00:21 #764 [Verbose] > │ let v27 : UH1 = UH1_0(v23, v24, v25, v26) │
00:00:21 #765 [Verbose] > │ let v28 : UH1 = UH1_0(v20, v21, v22, v27) │
00:00:21 #766 [Verbose] > │ let v29 : (struct (int32 * string * (struct (string * string) -> │
00:00:21 #767 [Verbose] > │ string)) []) = method5(v28) │
00:00:21 #768 [Verbose] > │ let v30 : uint64 = System.Convert.ToUInt64 v29.Length │
00:00:21 #769 [Verbose] > │ let v31 : (struct (string * int64) []) = Array.zeroCreate<struct │
00:00:21 #770 [Verbose] > │ (string * int64)> (System.Convert.ToInt32(v30)) │
00:00:21 #771 [Verbose] > │ let v32 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #772 [Verbose] > │ while method4(v30, v32) do │
00:00:21 #773 [Verbose] > │ let v34 : uint64 = v32.l0 │
00:00:21 #774 [Verbose] > │ let struct (v35 : int32, v36 : string, v37 : (struct (string * │
00:00:21 #775 [Verbose] > │ string) -> string)) = v29.[int v34] │
00:00:21 #776 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:21 #777 [Verbose] > │ let v38 : (unit -> unit) = closure3() │
00:00:21 #778 [Verbose] > │ v38 () │
00:00:21 #779 [Verbose] > │ #else │
00:00:21 #780 [Verbose] > │ let v39 : (unit -> unit) = closure4() │
00:00:21 #781 [Verbose] > │ v39 () │
00:00:21 #782 [Verbose] > │ #endif │
00:00:21 #783 [Verbose] > │ let v40 : (unit -> System.Diagnostics.Stopwatch) = │
00:00:21 #784 [Verbose] > │ System.Diagnostics.Stopwatch │
00:00:21 #785 [Verbose] > │ let v41 : System.Diagnostics.Stopwatch = v40 () │
00:00:21 #786 [Verbose] > │ v41.Start () │
00:00:21 #787 [Verbose] > │ let v42 : int64 = v41.ElapsedMilliseconds │
00:00:21 #788 [Verbose] > │ let v43 : (int32 []) = Array.zeroCreate<int32> (2000001) │
00:00:21 #789 [Verbose] > │ let v44 : Mut1 = {l0 = 0} : Mut1 │
00:00:21 #790 [Verbose] > │ while method8(v44) do │
00:00:21 #791 [Verbose] > │ let v46 : int32 = v44.l0 │
00:00:21 #792 [Verbose] > │ v43.[int v46] <- v46 │
00:00:21 #793 [Verbose] > │ let v47 : int32 = v46 + 1 │
00:00:21 #794 [Verbose] > │ v44.l0 <- v47 │
00:00:21 #795 [Verbose] > │ () │
00:00:21 #796 [Verbose] > │ let v48 : (int32 -> string) = closure5(v15, v16, v37) │
00:00:21 #797 [Verbose] > │ let v49 : (string []) = v43 |> Array.Parallel.map v48 │
00:00:21 #798 [Verbose] > │ let v50 : int32 = v49.Length │
00:00:21 #799 [Verbose] > │ let v51 : int32 = v50 - 1 │
00:00:21 #800 [Verbose] > │ let v52 : string = v49.[int v51] │
00:00:21 #801 [Verbose] > │ let v53 : int64 = v41.ElapsedMilliseconds │
00:00:21 #802 [Verbose] > │ let v54 : int64 = v53 - v42 │
00:00:21 #803 [Verbose] > │ let v55 : string = $"Test case {v35 + 1}. {v36}. Time: {v54} " │
00:00:21 #804 [Verbose] > │ System.Console.WriteLine v55 │
00:00:21 #805 [Verbose] > │ v31.[int v34] <- struct (v52, v54) │
00:00:21 #806 [Verbose] > │ let v56 : uint64 = v34 + 1UL │
00:00:21 #807 [Verbose] > │ v32.l0 <- v56 │
00:00:21 #808 [Verbose] > │ () │
00:00:21 #809 [Verbose] > │ let v57 : uint64 = System.Convert.ToUInt64 v31.Length │
00:00:21 #810 [Verbose] > │ let v58 : (string []) = Array.zeroCreate<string> │
00:00:21 #811 [Verbose] > │ (System.Convert.ToInt32(v57)) │
00:00:21 #812 [Verbose] > │ let v59 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #813 [Verbose] > │ while method4(v57, v59) do │
00:00:21 #814 [Verbose] > │ let v61 : uint64 = v59.l0 │
00:00:21 #815 [Verbose] > │ let struct (v62 : string, v63 : int64) = v31.[int v61] │
00:00:21 #816 [Verbose] > │ v58.[int v61] <- v62 │
00:00:21 #817 [Verbose] > │ let v64 : uint64 = v61 + 1UL │
00:00:21 #818 [Verbose] > │ v59.l0 <- v64 │
00:00:21 #819 [Verbose] > │ () │
00:00:21 #820 [Verbose] > │ let v65 : uint64 = System.Convert.ToUInt64 v58.Length │
00:00:21 #821 [Verbose] > │ let v66 : bool = v65 <= 1UL │
00:00:21 #822 [Verbose] > │ if v66 then │
00:00:21 #823 [Verbose] > │ () │
00:00:21 #824 [Verbose] > │ else │
00:00:21 #825 [Verbose] > │ let v67 : string = v58.[int 0UL] │
00:00:21 #826 [Verbose] > │ let v68 : uint64 = 0UL │
00:00:21 #827 [Verbose] > │ let v69 : bool = method9(v67, v58, v68) │
00:00:21 #828 [Verbose] > │ if v69 then │
00:00:21 #829 [Verbose] > │ () │
00:00:21 #830 [Verbose] > │ else │
00:00:21 #831 [Verbose] > │ let v70 : string = $"Challenge error: {v58}" │
00:00:21 #832 [Verbose] > │ failwith<unit> v70 │
00:00:21 #833 [Verbose] > │ let v71 : string = $"%A{v17}" │
00:00:21 #834 [Verbose] > │ let v72 : (string []) = Array.zeroCreate<string> │
00:00:21 #835 [Verbose] > │ (System.Convert.ToInt32(v57)) │
00:00:21 #836 [Verbose] > │ let v73 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #837 [Verbose] > │ while method4(v57, v73) do │
00:00:21 #838 [Verbose] > │ let v75 : uint64 = v73.l0 │
00:00:21 #839 [Verbose] > │ let struct (v76 : string, v77 : int64) = v31.[int v75] │
00:00:21 #840 [Verbose] > │ v72.[int v75] <- v76 │
00:00:21 #841 [Verbose] > │ let v78 : uint64 = v75 + 1UL │
00:00:21 #842 [Verbose] > │ v73.l0 <- v78 │
00:00:21 #843 [Verbose] > │ () │
00:00:21 #844 [Verbose] > │ let v79 : string = v72.[int 0UL] │
00:00:21 #845 [Verbose] > │ let v80 : string = $"%A{v79}" │
00:00:21 #846 [Verbose] > │ let v81 : (int64 []) = Array.zeroCreate<int64> │
00:00:21 #847 [Verbose] > │ (System.Convert.ToInt32(v57)) │
00:00:21 #848 [Verbose] > │ let v82 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #849 [Verbose] > │ while method4(v57, v82) do │
00:00:21 #850 [Verbose] > │ let v84 : uint64 = v82.l0 │
00:00:21 #851 [Verbose] > │ let struct (v85 : string, v86 : int64) = v31.[int v84] │
00:00:21 #852 [Verbose] > │ v81.[int v84] <- v86 │
00:00:21 #853 [Verbose] > │ let v87 : uint64 = v84 + 1UL │
00:00:21 #854 [Verbose] > │ v82.l0 <- v87 │
00:00:21 #855 [Verbose] > │ () │
00:00:21 #856 [Verbose] > │ v11.[int v14] <- struct (v71, v18, v80, v81) │
00:00:21 #857 [Verbose] > │ let v88 : uint64 = v14 + 1UL │
00:00:21 #858 [Verbose] > │ v12.l0 <- v88 │
00:00:21 #859 [Verbose] > │ () │
00:00:21 #860 [Verbose] > │ let v89 : uint64 = System.Convert.ToUInt64 v11.Length │
00:00:21 #861 [Verbose] > │ let v90 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:00:21 #862 [Verbose] > │ (System.Convert.ToInt32(v89)) │
00:00:21 #863 [Verbose] > │ let v91 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #864 [Verbose] > │ while method4(v89, v91) do │
00:00:21 #865 [Verbose] > │ let v93 : uint64 = v91.l0 │
00:00:21 #866 [Verbose] > │ let struct (v94 : string, v95 : string, v96 : string, v97 : (int64 [ │
00:00:21 #867 [Verbose] > │ ])) = v11.[int v93] │
00:00:21 #868 [Verbose] > │ let v98 : uint64 = System.Convert.ToUInt64 v97.Length │
00:00:21 #869 [Verbose] > │ let v99 : UH3 = UH3_1 │
00:00:21 #870 [Verbose] > │ let v100 : Mut2 = {l0 = 0UL; l1 = v99; l2 = 0L} : Mut2 │
00:00:21 #871 [Verbose] > │ while method10(v98, v100) do │
00:00:21 #872 [Verbose] > │ let v102 : uint64 = v100.l0 │
00:00:21 #873 [Verbose] > │ let struct (v103 : UH3, v104 : int64) = v100.l1, v100.l2 │
00:00:21 #874 [Verbose] > │ let v105 : int64 = v97.[int v102] │
00:00:21 #875 [Verbose] > │ let v106 : int64 = v104 + 1L │
00:00:21 #876 [Verbose] > │ let v107 : uint64 = v102 + 1UL │
00:00:21 #877 [Verbose] > │ let v108 : UH3 = UH3_0(v104, v105, v103) │
00:00:21 #878 [Verbose] > │ v100.l0 <- v107 │
00:00:21 #879 [Verbose] > │ v100.l1 <- v108 │
00:00:21 #880 [Verbose] > │ v100.l2 <- v106 │
00:00:21 #881 [Verbose] > │ () │
00:00:21 #882 [Verbose] > │ let struct (v109 : UH3, v110 : int64) = v100.l1, v100.l2 │
00:00:21 #883 [Verbose] > │ let v111 : UH3 = UH3_1 │
00:00:21 #884 [Verbose] > │ let v112 : UH3 = method11(v109, v111) │
00:00:21 #885 [Verbose] > │ let v113 : (struct (int64 * int64) []) = method12(v112) │
00:00:21 #886 [Verbose] > │ let v114 : int32 = v113.Length │
00:00:21 #887 [Verbose] > │ let v115 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:00:21 #888 [Verbose] > │ (int64 * int64)> (v114) │
00:00:21 #889 [Verbose] > │ let v116 : Mut1 = {l0 = 0} : Mut1 │
00:00:21 #890 [Verbose] > │ while method15(v114, v116) do │
00:00:21 #891 [Verbose] > │ let v118 : int32 = v116.l0 │
00:00:21 #892 [Verbose] > │ let struct (v119 : int64, v120 : int64) = v113.[int v118] │
00:00:21 #893 [Verbose] > │ let v121 : int64 = v119 + 1L │
00:00:21 #894 [Verbose] > │ v115.[int v118] <- struct (v121, v120) │
00:00:21 #895 [Verbose] > │ let v122 : int32 = v118 + 1 │
00:00:21 #896 [Verbose] > │ v116.l0 <- v122 │
00:00:21 #897 [Verbose] > │ () │
00:00:21 #898 [Verbose] > │ let v123 : (struct (int64 * int64) -> int64) = closure6() │
00:00:21 #899 [Verbose] > │ let v124 : (struct (int64 * int64) []) = v115 |> Array.sortBy v123 │
00:00:21 #900 [Verbose] > │ let struct (v125 : int64, v126 : int64) = v124.[int 0] │
00:00:21 #901 [Verbose] > │ let v127 : string = $"%A{struct (v125, v126)}" │
00:00:21 #902 [Verbose] > │ let v128 : bool = v94 = v96 │
00:00:21 #903 [Verbose] > │ let v133 : US0 = │
00:00:21 #904 [Verbose] > │ if v128 then │
00:00:21 #905 [Verbose] > │ let v129 : System.ConsoleColor = │
00:00:21 #906 [Verbose] > │ System.ConsoleColor.DarkGreen │
00:00:21 #907 [Verbose] > │ US0_1(v129) │
00:00:21 #908 [Verbose] > │ else │
00:00:21 #909 [Verbose] > │ let v131 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:00:21 #910 [Verbose] > │ US0_1(v131) │
00:00:21 #911 [Verbose] > │ let v134 : UH2 = UH2_1 │
00:00:21 #912 [Verbose] > │ let v135 : UH2 = UH2_0(v127, v134) │
00:00:21 #913 [Verbose] > │ let v136 : UH2 = UH2_0(v96, v135) │
00:00:21 #914 [Verbose] > │ let v137 : UH2 = UH2_0(v94, v136) │
00:00:21 #915 [Verbose] > │ let v138 : UH2 = UH2_0(v95, v137) │
00:00:21 #916 [Verbose] > │ v90.[int v93] <- struct (v138, v133) │
00:00:21 #917 [Verbose] > │ let v139 : uint64 = v93 + 1UL │
00:00:21 #918 [Verbose] > │ v91.l0 <- v139 │
00:00:21 #919 [Verbose] > │ () │
00:00:21 #920 [Verbose] > │ let v140 : string = "Input" │
00:00:21 #921 [Verbose] > │ let v141 : string = "Expected" │
00:00:21 #922 [Verbose] > │ let v142 : string = "Result" │
00:00:21 #923 [Verbose] > │ let v143 : string = "Best" │
00:00:21 #924 [Verbose] > │ let v144 : UH2 = UH2_1 │
00:00:21 #925 [Verbose] > │ let v145 : UH2 = UH2_0(v143, v144) │
00:00:21 #926 [Verbose] > │ let v146 : UH2 = UH2_0(v142, v145) │
00:00:21 #927 [Verbose] > │ let v147 : UH2 = UH2_0(v141, v146) │
00:00:21 #928 [Verbose] > │ let v148 : UH2 = UH2_0(v140, v147) │
00:00:21 #929 [Verbose] > │ let v149 : US0 = US0_0 │
00:00:21 #930 [Verbose] > │ let v150 : string = "---" │
00:00:21 #931 [Verbose] > │ let v151 : UH2 = UH2_1 │
00:00:21 #932 [Verbose] > │ let v152 : UH2 = UH2_0(v150, v151) │
00:00:21 #933 [Verbose] > │ let v153 : UH2 = UH2_0(v150, v152) │
00:00:21 #934 [Verbose] > │ let v154 : UH2 = UH2_0(v150, v153) │
00:00:21 #935 [Verbose] > │ let v155 : UH2 = UH2_0(v150, v154) │
00:00:21 #936 [Verbose] > │ let v156 : US0 = US0_0 │
00:00:21 #937 [Verbose] > │ let v157 : UH4 = UH4_1 │
00:00:21 #938 [Verbose] > │ let v158 : UH4 = UH4_0(v155, v156, v157) │
00:00:21 #939 [Verbose] > │ let v159 : UH4 = UH4_0(v148, v149, v158) │
00:00:21 #940 [Verbose] > │ let v160 : (struct (UH2 * US0) []) = method16(v159) │
00:00:21 #941 [Verbose] > │ let v161 : uint64 = System.Convert.ToUInt64 v160.Length │
00:00:21 #942 [Verbose] > │ let v162 : uint64 = System.Convert.ToUInt64 v90.Length │
00:00:21 #943 [Verbose] > │ let v163 : uint64 = v161 + v162 │
00:00:21 #944 [Verbose] > │ let v164 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:00:21 #945 [Verbose] > │ US0)> (System.Convert.ToInt32(v163)) │
00:00:21 #946 [Verbose] > │ let v165 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #947 [Verbose] > │ while method4(v163, v165) do │
00:00:21 #948 [Verbose] > │ let v167 : uint64 = v165.l0 │
00:00:21 #949 [Verbose] > │ let v168 : bool = v167 < v161 │
00:00:21 #950 [Verbose] > │ let struct (v174 : UH2, v175 : US0) = │
00:00:21 #951 [Verbose] > │ if v168 then │
00:00:21 #952 [Verbose] > │ let struct (v169 : UH2, v170 : US0) = v160.[int v167] │
00:00:21 #953 [Verbose] > │ struct (v169, v170) │
00:00:21 #954 [Verbose] > │ else │
00:00:21 #955 [Verbose] > │ let v171 : uint64 = v167 - v161 │
00:00:21 #956 [Verbose] > │ let struct (v172 : UH2, v173 : US0) = v90.[int v171] │
00:00:21 #957 [Verbose] > │ struct (v172, v173) │
00:00:21 #958 [Verbose] > │ v164.[int v167] <- struct (v174, v175) │
00:00:21 #959 [Verbose] > │ let v176 : uint64 = v167 + 1UL │
00:00:21 #960 [Verbose] > │ v165.l0 <- v176 │
00:00:21 #961 [Verbose] > │ () │
00:00:21 #962 [Verbose] > │ let v177 : uint64 = System.Convert.ToUInt64 v164.Length │
00:00:21 #963 [Verbose] > │ let v178 : ((string []) []) = Array.zeroCreate<(string [])> │
00:00:21 #964 [Verbose] > │ (System.Convert.ToInt32(v177)) │
00:00:21 #965 [Verbose] > │ let v179 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #966 [Verbose] > │ while method4(v177, v179) do │
00:00:21 #967 [Verbose] > │ let v181 : uint64 = v179.l0 │
00:00:21 #968 [Verbose] > │ let struct (v182 : UH2, v183 : US0) = v164.[int v181] │
00:00:21 #969 [Verbose] > │ let v184 : (string []) = method19(v182) │
00:00:21 #970 [Verbose] > │ v178.[int v181] <- v184 │
00:00:21 #971 [Verbose] > │ let v185 : uint64 = v181 + 1UL │
00:00:21 #972 [Verbose] > │ v179.l0 <- v185 │
00:00:21 #973 [Verbose] > │ () │
00:00:21 #974 [Verbose] > │ let v186 : ((string []) []) = v178 |> Array.transpose │
00:00:21 #975 [Verbose] > │ let v187 : uint64 = System.Convert.ToUInt64 v186.Length │
00:00:21 #976 [Verbose] > │ let v188 : (int64 []) = Array.zeroCreate<int64> │
00:00:21 #977 [Verbose] > │ (System.Convert.ToInt32(v187)) │
00:00:21 #978 [Verbose] > │ let v189 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #979 [Verbose] > │ while method4(v187, v189) do │
00:00:21 #980 [Verbose] > │ let v191 : uint64 = v189.l0 │
00:00:21 #981 [Verbose] > │ let v192 : (string []) = v186.[int v191] │
00:00:21 #982 [Verbose] > │ let v193 : uint64 = System.Convert.ToUInt64 v192.Length │
00:00:21 #983 [Verbose] > │ let v194 : (int64 []) = Array.zeroCreate<int64> │
00:00:21 #984 [Verbose] > │ (System.Convert.ToInt32(v193)) │
00:00:21 #985 [Verbose] > │ let v195 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #986 [Verbose] > │ while method4(v193, v195) do │
00:00:21 #987 [Verbose] > │ let v197 : uint64 = v195.l0 │
00:00:21 #988 [Verbose] > │ let v198 : string = v192.[int v197] │
00:00:21 #989 [Verbose] > │ let v199 : int64 = System.Convert.ToInt64 v198.Length │
00:00:21 #990 [Verbose] > │ v194.[int v197] <- v199 │
00:00:21 #991 [Verbose] > │ let v200 : uint64 = v197 + 1UL │
00:00:21 #992 [Verbose] > │ v195.l0 <- v200 │
00:00:21 #993 [Verbose] > │ () │
00:00:21 #994 [Verbose] > │ let v201 : (int64 []) = v194 |> Array.sortDescending │
00:00:21 #995 [Verbose] > │ let v202 : int64 option = v201 |> Array.tryItem 0 │
00:00:21 #996 [Verbose] > │ let v203 : (int64 -> US1) = closure7() │
00:00:21 #997 [Verbose] > │ let v204 : US1 = US1_0 │
00:00:21 #998 [Verbose] > │ let v205 : US1 = v202 |> Option.map v203 |> Option.defaultValue v204 │
00:00:21 #999 [Verbose] > │ let v208 : int64 = │
00:00:21 #1000 [Verbose] > │ match v205 with │
00:00:21 #1001 [Verbose] > │ | US1_0 -> (* None *) │
00:00:21 #1002 [Verbose] > │ 0L │
00:00:21 #1003 [Verbose] > │ | US1_1(v206) -> (* Some *) │
00:00:21 #1004 [Verbose] > │ v206 │
00:00:21 #1005 [Verbose] > │ v188.[int v191] <- v208 │
00:00:21 #1006 [Verbose] > │ let v209 : uint64 = v191 + 1UL │
00:00:21 #1007 [Verbose] > │ v189.l0 <- v209 │
00:00:21 #1008 [Verbose] > │ () │
00:00:21 #1009 [Verbose] > │ let v210 : uint64 = System.Convert.ToUInt64 v188.Length │
00:00:21 #1010 [Verbose] > │ let v211 : UH5 = UH5_1 │
00:00:21 #1011 [Verbose] > │ let v212 : Mut3 = {l0 = 0UL; l1 = v211; l2 = 0} : Mut3 │
00:00:21 #1012 [Verbose] > │ while method22(v210, v212) do │
00:00:21 #1013 [Verbose] > │ let v214 : uint64 = v212.l0 │
00:00:21 #1014 [Verbose] > │ let struct (v215 : UH5, v216 : int32) = v212.l1, v212.l2 │
00:00:21 #1015 [Verbose] > │ let v217 : int64 = v188.[int v214] │
00:00:21 #1016 [Verbose] > │ let v218 : int32 = v216 + 1 │
00:00:21 #1017 [Verbose] > │ let v219 : uint64 = v214 + 1UL │
00:00:21 #1018 [Verbose] > │ let v220 : UH5 = UH5_0(v216, v217, v215) │
00:00:21 #1019 [Verbose] > │ v212.l0 <- v219 │
00:00:21 #1020 [Verbose] > │ v212.l1 <- v220 │
00:00:21 #1021 [Verbose] > │ v212.l2 <- v218 │
00:00:21 #1022 [Verbose] > │ () │
00:00:21 #1023 [Verbose] > │ let struct (v221 : UH5, v222 : int32) = v212.l1, v212.l2 │
00:00:21 #1024 [Verbose] > │ let v223 : UH5 = UH5_1 │
00:00:21 #1025 [Verbose] > │ let v224 : UH5 = method23(v221, v223) │
00:00:21 #1026 [Verbose] > │ let v225 : (struct (int32 * int64) []) = method24(v224) │
00:00:21 #1027 [Verbose] > │ let v226 : Map<int32, int64> = v225 |> Array.map (fun (struct (a, b)) -> │
00:00:21 #1028 [Verbose] > │ a, b) |> Map.ofArray │
00:00:21 #1029 [Verbose] > │ let v227 : (struct ((string []) * US0) []) = Array.zeroCreate<struct │
00:00:21 #1030 [Verbose] > │ ((string []) * US0)> (System.Convert.ToInt32(v177)) │
00:00:21 #1031 [Verbose] > │ let v228 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1032 [Verbose] > │ while method4(v177, v228) do │
00:00:21 #1033 [Verbose] > │ let v230 : uint64 = v228.l0 │
00:00:21 #1034 [Verbose] > │ let struct (v231 : UH2, v232 : US0) = v164.[int v230] │
00:00:21 #1035 [Verbose] > │ let v233 : UH6 = UH6_1 │
00:00:21 #1036 [Verbose] > │ let v234 : int32 = 0 │
00:00:21 #1037 [Verbose] > │ let struct (v235 : UH6, v236 : int32) = method27(v231, v233, v234) │
00:00:21 #1038 [Verbose] > │ let v237 : UH6 = UH6_1 │
00:00:21 #1039 [Verbose] > │ let v238 : UH6 = method28(v235, v237) │
00:00:21 #1040 [Verbose] > │ let v239 : UH2 = UH2_1 │
00:00:21 #1041 [Verbose] > │ let v240 : UH2 = method29(v226, v238, v239) │
00:00:21 #1042 [Verbose] > │ let v241 : (string []) = method30(v240) │
00:00:21 #1043 [Verbose] > │ v227.[int v230] <- struct (v241, v232) │
00:00:21 #1044 [Verbose] > │ let v242 : uint64 = v230 + 1UL │
00:00:21 #1045 [Verbose] > │ v228.l0 <- v242 │
00:00:21 #1046 [Verbose] > │ () │
00:00:21 #1047 [Verbose] > │ System.Console.WriteLine v2 │
00:00:21 #1048 [Verbose] > │ let v243 : uint64 = System.Convert.ToUInt64 v227.Length │
00:00:21 #1049 [Verbose] > │ let v244 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1050 [Verbose] > │ while method4(v243, v244) do │
00:00:21 #1051 [Verbose] > │ let v246 : uint64 = v244.l0 │
00:00:21 #1052 [Verbose] > │ let struct (v247 : (string []), v248 : US0) = v227.[int v246] │
00:00:21 #1053 [Verbose] > │ match v248 with │
00:00:21 #1054 [Verbose] > │ | US0_0 -> (* None *) │
00:00:21 #1055 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:21 #1056 [Verbose] > │ let v252 : (unit -> unit) = closure8() │
00:00:21 #1057 [Verbose] > │ v252 () │
00:00:21 #1058 [Verbose] > │ #else │
00:00:21 #1059 [Verbose] > │ let v253 : (unit -> unit) = closure9() │
00:00:21 #1060 [Verbose] > │ v253 () │
00:00:21 #1061 [Verbose] > │ #endif │
00:00:21 #1062 [Verbose] > │ () │
00:00:21 #1063 [Verbose] > │ | US0_1(v249) -> (* Some *) │
00:00:21 #1064 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:21 #1065 [Verbose] > │ let v250 : (unit -> unit) = closure10() │
00:00:21 #1066 [Verbose] > │ v250 () │
00:00:21 #1067 [Verbose] > │ #else │
00:00:21 #1068 [Verbose] > │ let v251 : (unit -> unit) = closure11(v249) │
00:00:21 #1069 [Verbose] > │ v251 () │
00:00:21 #1070 [Verbose] > │ #endif │
00:00:21 #1071 [Verbose] > │ () │
00:00:21 #1072 [Verbose] > │ let v254 : string = "\t| " │
00:00:21 #1073 [Verbose] > │ let v255 : string = System.String.Join (v254, v247) │
00:00:21 #1074 [Verbose] > │ System.Console.WriteLine v255 │
00:00:21 #1075 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:21 #1076 [Verbose] > │ let v256 : (unit -> unit) = closure8() │
00:00:21 #1077 [Verbose] > │ v256 () │
00:00:21 #1078 [Verbose] > │ #else │
00:00:21 #1079 [Verbose] > │ let v257 : (unit -> unit) = closure9() │
00:00:21 #1080 [Verbose] > │ v257 () │
00:00:21 #1081 [Verbose] > │ #endif │
00:00:21 #1082 [Verbose] > │ let v258 : uint64 = v246 + 1UL │
00:00:21 #1083 [Verbose] > │ v244.l0 <- v258 │
00:00:21 #1084 [Verbose] > │ () │
00:00:21 #1085 [Verbose] > │ let v259 : ((float []) []) = Array.zeroCreate<(float [])> │
00:00:21 #1086 [Verbose] > │ (System.Convert.ToInt32(v89)) │
00:00:21 #1087 [Verbose] > │ let v260 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1088 [Verbose] > │ while method4(v89, v260) do │
00:00:21 #1089 [Verbose] > │ let v262 : uint64 = v260.l0 │
00:00:21 #1090 [Verbose] > │ let struct (v263 : string, v264 : string, v265 : string, v266 : │
00:00:21 #1091 [Verbose] > │ (int64 [])) = v11.[int v262] │
00:00:21 #1092 [Verbose] > │ let v267 : (int64 -> float) = float │
00:00:21 #1093 [Verbose] > │ let v268 : uint64 = System.Convert.ToUInt64 v266.Length │
00:00:21 #1094 [Verbose] > │ let v269 : (float []) = Array.zeroCreate<float> │
00:00:21 #1095 [Verbose] > │ (System.Convert.ToInt32(v268)) │
00:00:21 #1096 [Verbose] > │ let v270 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1097 [Verbose] > │ while method4(v268, v270) do │
00:00:21 #1098 [Verbose] > │ let v272 : uint64 = v270.l0 │
00:00:21 #1099 [Verbose] > │ let v273 : int64 = v266.[int v272] │
00:00:21 #1100 [Verbose] > │ let v274 : float = v267 v273 │
00:00:21 #1101 [Verbose] > │ v269.[int v272] <- v274 │
00:00:21 #1102 [Verbose] > │ let v275 : uint64 = v272 + 1UL │
00:00:21 #1103 [Verbose] > │ v270.l0 <- v275 │
00:00:21 #1104 [Verbose] > │ () │
00:00:21 #1105 [Verbose] > │ v259.[int v262] <- v269 │
00:00:21 #1106 [Verbose] > │ let v276 : uint64 = v262 + 1UL │
00:00:21 #1107 [Verbose] > │ v260.l0 <- v276 │
00:00:21 #1108 [Verbose] > │ () │
00:00:21 #1109 [Verbose] > │ let v277 : ((float []) []) = v259 |> Array.transpose │
00:00:21 #1110 [Verbose] > │ let v278 : uint64 = System.Convert.ToUInt64 v277.Length │
00:00:21 #1111 [Verbose] > │ let v279 : (float []) = Array.zeroCreate<float> │
00:00:21 #1112 [Verbose] > │ (System.Convert.ToInt32(v278)) │
00:00:21 #1113 [Verbose] > │ let v280 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1114 [Verbose] > │ while method4(v278, v280) do │
00:00:21 #1115 [Verbose] > │ let v282 : uint64 = v280.l0 │
00:00:21 #1116 [Verbose] > │ let v283 : (float []) = v277.[int v282] │
00:00:21 #1117 [Verbose] > │ let v284 : float = v283 |> Array.average │
00:00:21 #1118 [Verbose] > │ v279.[int v282] <- v284 │
00:00:21 #1119 [Verbose] > │ let v285 : uint64 = v282 + 1UL │
00:00:21 #1120 [Verbose] > │ v280.l0 <- v285 │
00:00:21 #1121 [Verbose] > │ () │
00:00:21 #1122 [Verbose] > │ let v286 : (float -> int64) = int64 │
00:00:21 #1123 [Verbose] > │ let v287 : uint64 = System.Convert.ToUInt64 v279.Length │
00:00:21 #1124 [Verbose] > │ let v288 : (int64 []) = Array.zeroCreate<int64> │
00:00:21 #1125 [Verbose] > │ (System.Convert.ToInt32(v287)) │
00:00:21 #1126 [Verbose] > │ let v289 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1127 [Verbose] > │ while method4(v287, v289) do │
00:00:21 #1128 [Verbose] > │ let v291 : uint64 = v289.l0 │
00:00:21 #1129 [Verbose] > │ let v292 : float = v279.[int v291] │
00:00:21 #1130 [Verbose] > │ let v293 : int64 = v286 v292 │
00:00:21 #1131 [Verbose] > │ v288.[int v291] <- v293 │
00:00:21 #1132 [Verbose] > │ let v294 : uint64 = v291 + 1UL │
00:00:21 #1133 [Verbose] > │ v289.l0 <- v294 │
00:00:21 #1134 [Verbose] > │ () │
00:00:21 #1135 [Verbose] > │ let v295 : uint64 = System.Convert.ToUInt64 v288.Length │
00:00:21 #1136 [Verbose] > │ let v296 : UH5 = UH5_1 │
00:00:21 #1137 [Verbose] > │ let v297 : Mut3 = {l0 = 0UL; l1 = v296; l2 = 0} : Mut3 │
00:00:21 #1138 [Verbose] > │ while method22(v295, v297) do │
00:00:21 #1139 [Verbose] > │ let v299 : uint64 = v297.l0 │
00:00:21 #1140 [Verbose] > │ let struct (v300 : UH5, v301 : int32) = v297.l1, v297.l2 │
00:00:21 #1141 [Verbose] > │ let v302 : int64 = v288.[int v299] │
00:00:21 #1142 [Verbose] > │ let v303 : int32 = v301 + 1 │
00:00:21 #1143 [Verbose] > │ let v304 : uint64 = v299 + 1UL │
00:00:21 #1144 [Verbose] > │ let v305 : UH5 = UH5_0(v301, v302, v300) │
00:00:21 #1145 [Verbose] > │ v297.l0 <- v304 │
00:00:21 #1146 [Verbose] > │ v297.l1 <- v305 │
00:00:21 #1147 [Verbose] > │ v297.l2 <- v303 │
00:00:21 #1148 [Verbose] > │ () │
00:00:21 #1149 [Verbose] > │ let struct (v306 : UH5, v307 : int32) = v297.l1, v297.l2 │
00:00:21 #1150 [Verbose] > │ let v308 : UH5 = UH5_1 │
00:00:21 #1151 [Verbose] > │ let v309 : UH5 = method23(v306, v308) │
00:00:21 #1152 [Verbose] > │ let v310 : (struct (int32 * int64) []) = method33(v309) │
00:00:21 #1153 [Verbose] > │ System.Console.WriteLine v2 │
00:00:21 #1154 [Verbose] > │ let v311 : string = "Average Ranking " │
00:00:21 #1155 [Verbose] > │ System.Console.WriteLine v311 │
00:00:21 #1156 [Verbose] > │ let v312 : (struct (int32 * int64) -> int64) = closure12() │
00:00:21 #1157 [Verbose] > │ let v313 : (struct (int32 * int64) []) = v310 |> Array.sortBy v312 │
00:00:21 #1158 [Verbose] > │ let v314 : uint64 = System.Convert.ToUInt64 v313.Length │
00:00:21 #1159 [Verbose] > │ let v315 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1160 [Verbose] > │ while method4(v314, v315) do │
00:00:21 #1161 [Verbose] > │ let v317 : uint64 = v315.l0 │
00:00:21 #1162 [Verbose] > │ let struct (v318 : int32, v319 : int64) = v313.[int v317] │
00:00:21 #1163 [Verbose] > │ let v320 : string = $"Test case %d{v318 + 1}. Average Time: %A{v319} │
00:00:21 #1164 [Verbose] > │ " │
00:00:21 #1165 [Verbose] > │ System.Console.WriteLine v320 │
00:00:21 #1166 [Verbose] > │ let v321 : uint64 = v317 + 1UL │
00:00:21 #1167 [Verbose] > │ v315.l0 <- v321 │
00:00:21 #1168 [Verbose] > │ () │
00:00:21 #1169 [Verbose] > │ () │
00:00:21 #1170 [Verbose] > │ and method0 () : unit = │
00:00:21 #1171 [Verbose] > │ let v0 : (unit -> unit) = closure0() │
00:00:21 #1172 [Verbose] > │ let v1 : string = nameof v0 │
00:00:21 #1173 [Verbose] > │ let v2 : string = "" │
00:00:21 #1174 [Verbose] > │ System.Console.WriteLine v2 │
00:00:21 #1175 [Verbose] > │ System.Console.WriteLine v2 │
00:00:21 #1176 [Verbose] > │ let v3 : string = $"Test: {v1}" │
00:00:21 #1177 [Verbose] > │ System.Console.WriteLine v3 │
00:00:21 #1178 [Verbose] > │ let v4 : string = "a" │
00:00:21 #1179 [Verbose] > │ let v5 : string = "b" │
00:00:21 #1180 [Verbose] > │ let v6 : UH0 = UH0_1 │
00:00:21 #1181 [Verbose] > │ let v7 : UH0 = UH0_0(v5, v5, v5, v6) │
00:00:21 #1182 [Verbose] > │ let v8 : UH0 = UH0_0(v4, v4, v4, v7) │
00:00:21 #1183 [Verbose] > │ let v9 : (struct (string * string * string) []) = method1(v8) │
00:00:21 #1184 [Verbose] > │ let v10 : uint64 = System.Convert.ToUInt64 v9.Length │
00:00:21 #1185 [Verbose] > │ let v11 : (struct (string * string * string * (int64 [])) []) = │
00:00:21 #1186 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:00:21 #1187 [Verbose] > │ (System.Convert.ToInt32(v10)) │
00:00:21 #1188 [Verbose] > │ let v12 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1189 [Verbose] > │ while method4(v10, v12) do │
00:00:21 #1190 [Verbose] > │ let v14 : uint64 = v12.l0 │
00:00:21 #1191 [Verbose] > │ let struct (v15 : string, v16 : string, v17 : string) = v9.[int v14] │
00:00:21 #1192 [Verbose] > │ let v18 : string = $"%A{struct (v15, v16)}" │
00:00:21 #1193 [Verbose] > │ System.Console.WriteLine v2 │
00:00:21 #1194 [Verbose] > │ let v19 : string = $"Solution: {v18} " │
00:00:21 #1195 [Verbose] > │ System.Console.WriteLine v19 │
00:00:21 #1196 [Verbose] > │ let v20 : int32 = 0 │
00:00:21 #1197 [Verbose] > │ let v21 : string = "A" │
00:00:21 #1198 [Verbose] > │ let v22 : (struct (string * string) -> string) = closure1() │
00:00:21 #1199 [Verbose] > │ let v23 : int32 = 1 │
00:00:21 #1200 [Verbose] > │ let v24 : string = "B" │
00:00:21 #1201 [Verbose] > │ let v25 : (struct (string * string) -> string) = closure2() │
00:00:21 #1202 [Verbose] > │ let v26 : UH1 = UH1_1 │
00:00:21 #1203 [Verbose] > │ let v27 : UH1 = UH1_0(v23, v24, v25, v26) │
00:00:21 #1204 [Verbose] > │ let v28 : UH1 = UH1_0(v20, v21, v22, v27) │
00:00:21 #1205 [Verbose] > │ let v29 : (struct (int32 * string * (struct (string * string) -> │
00:00:21 #1206 [Verbose] > │ string)) []) = method5(v28) │
00:00:21 #1207 [Verbose] > │ let v30 : uint64 = System.Convert.ToUInt64 v29.Length │
00:00:21 #1208 [Verbose] > │ let v31 : (struct (string * int64) []) = Array.zeroCreate<struct │
00:00:21 #1209 [Verbose] > │ (string * int64)> (System.Convert.ToInt32(v30)) │
00:00:21 #1210 [Verbose] > │ let v32 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1211 [Verbose] > │ while method4(v30, v32) do │
00:00:21 #1212 [Verbose] > │ let v34 : uint64 = v32.l0 │
00:00:21 #1213 [Verbose] > │ let struct (v35 : int32, v36 : string, v37 : (struct (string * │
00:00:21 #1214 [Verbose] > │ string) -> string)) = v29.[int v34] │
00:00:21 #1215 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:21 #1216 [Verbose] > │ let v38 : (unit -> unit) = closure3() │
00:00:21 #1217 [Verbose] > │ v38 () │
00:00:21 #1218 [Verbose] > │ #else │
00:00:21 #1219 [Verbose] > │ let v39 : (unit -> unit) = closure4() │
00:00:21 #1220 [Verbose] > │ v39 () │
00:00:21 #1221 [Verbose] > │ #endif │
00:00:21 #1222 [Verbose] > │ let v40 : (unit -> System.Diagnostics.Stopwatch) = │
00:00:21 #1223 [Verbose] > │ System.Diagnostics.Stopwatch │
00:00:21 #1224 [Verbose] > │ let v41 : System.Diagnostics.Stopwatch = v40 () │
00:00:21 #1225 [Verbose] > │ v41.Start () │
00:00:21 #1226 [Verbose] > │ let v42 : int64 = v41.ElapsedMilliseconds │
00:00:21 #1227 [Verbose] > │ let v43 : (int32 []) = Array.zeroCreate<int32> (2000001) │
00:00:21 #1228 [Verbose] > │ let v44 : Mut1 = {l0 = 0} : Mut1 │
00:00:21 #1229 [Verbose] > │ while method8(v44) do │
00:00:21 #1230 [Verbose] > │ let v46 : int32 = v44.l0 │
00:00:21 #1231 [Verbose] > │ v43.[int v46] <- v46 │
00:00:21 #1232 [Verbose] > │ let v47 : int32 = v46 + 1 │
00:00:21 #1233 [Verbose] > │ v44.l0 <- v47 │
00:00:21 #1234 [Verbose] > │ () │
00:00:21 #1235 [Verbose] > │ let v48 : (int32 -> string) = closure5(v15, v16, v37) │
00:00:21 #1236 [Verbose] > │ let v49 : (string []) = v43 |> Array.Parallel.map v48 │
00:00:21 #1237 [Verbose] > │ let v50 : int32 = v49.Length │
00:00:21 #1238 [Verbose] > │ let v51 : int32 = v50 - 1 │
00:00:21 #1239 [Verbose] > │ let v52 : string = v49.[int v51] │
00:00:21 #1240 [Verbose] > │ let v53 : int64 = v41.ElapsedMilliseconds │
00:00:21 #1241 [Verbose] > │ let v54 : int64 = v53 - v42 │
00:00:21 #1242 [Verbose] > │ let v55 : string = $"Test case {v35 + 1}. {v36}. Time: {v54} " │
00:00:21 #1243 [Verbose] > │ System.Console.WriteLine v55 │
00:00:21 #1244 [Verbose] > │ v31.[int v34] <- struct (v52, v54) │
00:00:21 #1245 [Verbose] > │ let v56 : uint64 = v34 + 1UL │
00:00:21 #1246 [Verbose] > │ v32.l0 <- v56 │
00:00:21 #1247 [Verbose] > │ () │
00:00:21 #1248 [Verbose] > │ let v57 : uint64 = System.Convert.ToUInt64 v31.Length │
00:00:21 #1249 [Verbose] > │ let v58 : (string []) = Array.zeroCreate<string> │
00:00:21 #1250 [Verbose] > │ (System.Convert.ToInt32(v57)) │
00:00:21 #1251 [Verbose] > │ let v59 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1252 [Verbose] > │ while method4(v57, v59) do │
00:00:21 #1253 [Verbose] > │ let v61 : uint64 = v59.l0 │
00:00:21 #1254 [Verbose] > │ let struct (v62 : string, v63 : int64) = v31.[int v61] │
00:00:21 #1255 [Verbose] > │ v58.[int v61] <- v62 │
00:00:21 #1256 [Verbose] > │ let v64 : uint64 = v61 + 1UL │
00:00:21 #1257 [Verbose] > │ v59.l0 <- v64 │
00:00:21 #1258 [Verbose] > │ () │
00:00:21 #1259 [Verbose] > │ let v65 : uint64 = System.Convert.ToUInt64 v58.Length │
00:00:21 #1260 [Verbose] > │ let v66 : bool = v65 <= 1UL │
00:00:21 #1261 [Verbose] > │ if v66 then │
00:00:21 #1262 [Verbose] > │ () │
00:00:21 #1263 [Verbose] > │ else │
00:00:21 #1264 [Verbose] > │ let v67 : string = v58.[int 0UL] │
00:00:21 #1265 [Verbose] > │ let v68 : uint64 = 0UL │
00:00:21 #1266 [Verbose] > │ let v69 : bool = method9(v67, v58, v68) │
00:00:21 #1267 [Verbose] > │ if v69 then │
00:00:21 #1268 [Verbose] > │ () │
00:00:21 #1269 [Verbose] > │ else │
00:00:21 #1270 [Verbose] > │ let v70 : string = $"Challenge error: {v58}" │
00:00:21 #1271 [Verbose] > │ failwith<unit> v70 │
00:00:21 #1272 [Verbose] > │ let v71 : string = $"%A{v17}" │
00:00:21 #1273 [Verbose] > │ let v72 : (string []) = Array.zeroCreate<string> │
00:00:21 #1274 [Verbose] > │ (System.Convert.ToInt32(v57)) │
00:00:21 #1275 [Verbose] > │ let v73 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1276 [Verbose] > │ while method4(v57, v73) do │
00:00:21 #1277 [Verbose] > │ let v75 : uint64 = v73.l0 │
00:00:21 #1278 [Verbose] > │ let struct (v76 : string, v77 : int64) = v31.[int v75] │
00:00:21 #1279 [Verbose] > │ v72.[int v75] <- v76 │
00:00:21 #1280 [Verbose] > │ let v78 : uint64 = v75 + 1UL │
00:00:21 #1281 [Verbose] > │ v73.l0 <- v78 │
00:00:21 #1282 [Verbose] > │ () │
00:00:21 #1283 [Verbose] > │ let v79 : string = v72.[int 0UL] │
00:00:21 #1284 [Verbose] > │ let v80 : string = $"%A{v79}" │
00:00:21 #1285 [Verbose] > │ let v81 : (int64 []) = Array.zeroCreate<int64> │
00:00:21 #1286 [Verbose] > │ (System.Convert.ToInt32(v57)) │
00:00:21 #1287 [Verbose] > │ let v82 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1288 [Verbose] > │ while method4(v57, v82) do │
00:00:21 #1289 [Verbose] > │ let v84 : uint64 = v82.l0 │
00:00:21 #1290 [Verbose] > │ let struct (v85 : string, v86 : int64) = v31.[int v84] │
00:00:21 #1291 [Verbose] > │ v81.[int v84] <- v86 │
00:00:21 #1292 [Verbose] > │ let v87 : uint64 = v84 + 1UL │
00:00:21 #1293 [Verbose] > │ v82.l0 <- v87 │
00:00:21 #1294 [Verbose] > │ () │
00:00:21 #1295 [Verbose] > │ v11.[int v14] <- struct (v71, v18, v80, v81) │
00:00:21 #1296 [Verbose] > │ let v88 : uint64 = v14 + 1UL │
00:00:21 #1297 [Verbose] > │ v12.l0 <- v88 │
00:00:21 #1298 [Verbose] > │ () │
00:00:21 #1299 [Verbose] > │ let v89 : uint64 = System.Convert.ToUInt64 v11.Length │
00:00:21 #1300 [Verbose] > │ let v90 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:00:21 #1301 [Verbose] > │ (System.Convert.ToInt32(v89)) │
00:00:21 #1302 [Verbose] > │ let v91 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1303 [Verbose] > │ while method4(v89, v91) do │
00:00:21 #1304 [Verbose] > │ let v93 : uint64 = v91.l0 │
00:00:21 #1305 [Verbose] > │ let struct (v94 : string, v95 : string, v96 : string, v97 : (int64 [ │
00:00:21 #1306 [Verbose] > │ ])) = v11.[int v93] │
00:00:21 #1307 [Verbose] > │ let v98 : uint64 = System.Convert.ToUInt64 v97.Length │
00:00:21 #1308 [Verbose] > │ let v99 : UH3 = UH3_1 │
00:00:21 #1309 [Verbose] > │ let v100 : Mut2 = {l0 = 0UL; l1 = v99; l2 = 0L} : Mut2 │
00:00:21 #1310 [Verbose] > │ while method10(v98, v100) do │
00:00:21 #1311 [Verbose] > │ let v102 : uint64 = v100.l0 │
00:00:21 #1312 [Verbose] > │ let struct (v103 : UH3, v104 : int64) = v100.l1, v100.l2 │
00:00:21 #1313 [Verbose] > │ let v105 : int64 = v97.[int v102] │
00:00:21 #1314 [Verbose] > │ let v106 : int64 = v104 + 1L │
00:00:21 #1315 [Verbose] > │ let v107 : uint64 = v102 + 1UL │
00:00:21 #1316 [Verbose] > │ let v108 : UH3 = UH3_0(v104, v105, v103) │
00:00:21 #1317 [Verbose] > │ v100.l0 <- v107 │
00:00:21 #1318 [Verbose] > │ v100.l1 <- v108 │
00:00:21 #1319 [Verbose] > │ v100.l2 <- v106 │
00:00:21 #1320 [Verbose] > │ () │
00:00:21 #1321 [Verbose] > │ let struct (v109 : UH3, v110 : int64) = v100.l1, v100.l2 │
00:00:21 #1322 [Verbose] > │ let v111 : UH3 = UH3_1 │
00:00:21 #1323 [Verbose] > │ let v112 : UH3 = method11(v109, v111) │
00:00:21 #1324 [Verbose] > │ let v113 : (struct (int64 * int64) []) = method12(v112) │
00:00:21 #1325 [Verbose] > │ let v114 : int32 = v113.Length │
00:00:21 #1326 [Verbose] > │ let v115 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:00:21 #1327 [Verbose] > │ (int64 * int64)> (v114) │
00:00:21 #1328 [Verbose] > │ let v116 : Mut1 = {l0 = 0} : Mut1 │
00:00:21 #1329 [Verbose] > │ while method15(v114, v116) do │
00:00:21 #1330 [Verbose] > │ let v118 : int32 = v116.l0 │
00:00:21 #1331 [Verbose] > │ let struct (v119 : int64, v120 : int64) = v113.[int v118] │
00:00:21 #1332 [Verbose] > │ let v121 : int64 = v119 + 1L │
00:00:21 #1333 [Verbose] > │ v115.[int v118] <- struct (v121, v120) │
00:00:21 #1334 [Verbose] > │ let v122 : int32 = v118 + 1 │
00:00:21 #1335 [Verbose] > │ v116.l0 <- v122 │
00:00:21 #1336 [Verbose] > │ () │
00:00:21 #1337 [Verbose] > │ let v123 : (struct (int64 * int64) -> int64) = closure6() │
00:00:21 #1338 [Verbose] > │ let v124 : (struct (int64 * int64) []) = v115 |> Array.sortBy v123 │
00:00:21 #1339 [Verbose] > │ let struct (v125 : int64, v126 : int64) = v124.[int 0] │
00:00:21 #1340 [Verbose] > │ let v127 : string = $"%A{struct (v125, v126)}" │
00:00:21 #1341 [Verbose] > │ let v128 : bool = v94 = v96 │
00:00:21 #1342 [Verbose] > │ let v133 : US0 = │
00:00:21 #1343 [Verbose] > │ if v128 then │
00:00:21 #1344 [Verbose] > │ let v129 : System.ConsoleColor = │
00:00:21 #1345 [Verbose] > │ System.ConsoleColor.DarkGreen │
00:00:21 #1346 [Verbose] > │ US0_1(v129) │
00:00:21 #1347 [Verbose] > │ else │
00:00:21 #1348 [Verbose] > │ let v131 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:00:21 #1349 [Verbose] > │ US0_1(v131) │
00:00:21 #1350 [Verbose] > │ let v134 : UH2 = UH2_1 │
00:00:21 #1351 [Verbose] > │ let v135 : UH2 = UH2_0(v127, v134) │
00:00:21 #1352 [Verbose] > │ let v136 : UH2 = UH2_0(v96, v135) │
00:00:21 #1353 [Verbose] > │ let v137 : UH2 = UH2_0(v94, v136) │
00:00:21 #1354 [Verbose] > │ let v138 : UH2 = UH2_0(v95, v137) │
00:00:21 #1355 [Verbose] > │ v90.[int v93] <- struct (v138, v133) │
00:00:21 #1356 [Verbose] > │ let v139 : uint64 = v93 + 1UL │
00:00:21 #1357 [Verbose] > │ v91.l0 <- v139 │
00:00:21 #1358 [Verbose] > │ () │
00:00:21 #1359 [Verbose] > │ let v140 : string = "Input" │
00:00:21 #1360 [Verbose] > │ let v141 : string = "Expected" │
00:00:21 #1361 [Verbose] > │ let v142 : string = "Result" │
00:00:21 #1362 [Verbose] > │ let v143 : string = "Best" │
00:00:21 #1363 [Verbose] > │ let v144 : UH2 = UH2_1 │
00:00:21 #1364 [Verbose] > │ let v145 : UH2 = UH2_0(v143, v144) │
00:00:21 #1365 [Verbose] > │ let v146 : UH2 = UH2_0(v142, v145) │
00:00:21 #1366 [Verbose] > │ let v147 : UH2 = UH2_0(v141, v146) │
00:00:21 #1367 [Verbose] > │ let v148 : UH2 = UH2_0(v140, v147) │
00:00:21 #1368 [Verbose] > │ let v149 : US0 = US0_0 │
00:00:21 #1369 [Verbose] > │ let v150 : string = "---" │
00:00:21 #1370 [Verbose] > │ let v151 : UH2 = UH2_1 │
00:00:21 #1371 [Verbose] > │ let v152 : UH2 = UH2_0(v150, v151) │
00:00:21 #1372 [Verbose] > │ let v153 : UH2 = UH2_0(v150, v152) │
00:00:21 #1373 [Verbose] > │ let v154 : UH2 = UH2_0(v150, v153) │
00:00:21 #1374 [Verbose] > │ let v155 : UH2 = UH2_0(v150, v154) │
00:00:21 #1375 [Verbose] > │ let v156 : US0 = US0_0 │
00:00:21 #1376 [Verbose] > │ let v157 : UH4 = UH4_1 │
00:00:21 #1377 [Verbose] > │ let v158 : UH4 = UH4_0(v155, v156, v157) │
00:00:21 #1378 [Verbose] > │ let v159 : UH4 = UH4_0(v148, v149, v158) │
00:00:21 #1379 [Verbose] > │ let v160 : (struct (UH2 * US0) []) = method16(v159) │
00:00:21 #1380 [Verbose] > │ let v161 : uint64 = System.Convert.ToUInt64 v160.Length │
00:00:21 #1381 [Verbose] > │ let v162 : uint64 = System.Convert.ToUInt64 v90.Length │
00:00:21 #1382 [Verbose] > │ let v163 : uint64 = v161 + v162 │
00:00:21 #1383 [Verbose] > │ let v164 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:00:21 #1384 [Verbose] > │ US0)> (System.Convert.ToInt32(v163)) │
00:00:21 #1385 [Verbose] > │ let v165 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1386 [Verbose] > │ while method4(v163, v165) do │
00:00:21 #1387 [Verbose] > │ let v167 : uint64 = v165.l0 │
00:00:21 #1388 [Verbose] > │ let v168 : bool = v167 < v161 │
00:00:21 #1389 [Verbose] > │ let struct (v174 : UH2, v175 : US0) = │
00:00:21 #1390 [Verbose] > │ if v168 then │
00:00:21 #1391 [Verbose] > │ let struct (v169 : UH2, v170 : US0) = v160.[int v167] │
00:00:21 #1392 [Verbose] > │ struct (v169, v170) │
00:00:21 #1393 [Verbose] > │ else │
00:00:21 #1394 [Verbose] > │ let v171 : uint64 = v167 - v161 │
00:00:21 #1395 [Verbose] > │ let struct (v172 : UH2, v173 : US0) = v90.[int v171] │
00:00:21 #1396 [Verbose] > │ struct (v172, v173) │
00:00:21 #1397 [Verbose] > │ v164.[int v167] <- struct (v174, v175) │
00:00:21 #1398 [Verbose] > │ let v176 : uint64 = v167 + 1UL │
00:00:21 #1399 [Verbose] > │ v165.l0 <- v176 │
00:00:21 #1400 [Verbose] > │ () │
00:00:21 #1401 [Verbose] > │ let v177 : uint64 = System.Convert.ToUInt64 v164.Length │
00:00:21 #1402 [Verbose] > │ let v178 : ((string []) []) = Array.zeroCreate<(string [])> │
00:00:21 #1403 [Verbose] > │ (System.Convert.ToInt32(v177)) │
00:00:21 #1404 [Verbose] > │ let v179 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1405 [Verbose] > │ while method4(v177, v179) do │
00:00:21 #1406 [Verbose] > │ let v181 : uint64 = v179.l0 │
00:00:21 #1407 [Verbose] > │ let struct (v182 : UH2, v183 : US0) = v164.[int v181] │
00:00:21 #1408 [Verbose] > │ let v184 : (string []) = method19(v182) │
00:00:21 #1409 [Verbose] > │ v178.[int v181] <- v184 │
00:00:21 #1410 [Verbose] > │ let v185 : uint64 = v181 + 1UL │
00:00:21 #1411 [Verbose] > │ v179.l0 <- v185 │
00:00:21 #1412 [Verbose] > │ () │
00:00:21 #1413 [Verbose] > │ let v186 : ((string []) []) = v178 |> Array.transpose │
00:00:21 #1414 [Verbose] > │ let v187 : uint64 = System.Convert.ToUInt64 v186.Length │
00:00:21 #1415 [Verbose] > │ let v188 : (int64 []) = Array.zeroCreate<int64> │
00:00:21 #1416 [Verbose] > │ (System.Convert.ToInt32(v187)) │
00:00:21 #1417 [Verbose] > │ let v189 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1418 [Verbose] > │ while method4(v187, v189) do │
00:00:21 #1419 [Verbose] > │ let v191 : uint64 = v189.l0 │
00:00:21 #1420 [Verbose] > │ let v192 : (string []) = v186.[int v191] │
00:00:21 #1421 [Verbose] > │ let v193 : uint64 = System.Convert.ToUInt64 v192.Length │
00:00:21 #1422 [Verbose] > │ let v194 : (int64 []) = Array.zeroCreate<int64> │
00:00:21 #1423 [Verbose] > │ (System.Convert.ToInt32(v193)) │
00:00:21 #1424 [Verbose] > │ let v195 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1425 [Verbose] > │ while method4(v193, v195) do │
00:00:21 #1426 [Verbose] > │ let v197 : uint64 = v195.l0 │
00:00:21 #1427 [Verbose] > │ let v198 : string = v192.[int v197] │
00:00:21 #1428 [Verbose] > │ let v199 : int64 = System.Convert.ToInt64 v198.Length │
00:00:21 #1429 [Verbose] > │ v194.[int v197] <- v199 │
00:00:21 #1430 [Verbose] > │ let v200 : uint64 = v197 + 1UL │
00:00:21 #1431 [Verbose] > │ v195.l0 <- v200 │
00:00:21 #1432 [Verbose] > │ () │
00:00:21 #1433 [Verbose] > │ let v201 : (int64 []) = v194 |> Array.sortDescending │
00:00:21 #1434 [Verbose] > │ let v202 : int64 option = v201 |> Array.tryItem 0 │
00:00:21 #1435 [Verbose] > │ let v203 : (int64 -> US1) = closure7() │
00:00:21 #1436 [Verbose] > │ let v204 : US1 = US1_0 │
00:00:21 #1437 [Verbose] > │ let v205 : US1 = v202 |> Option.map v203 |> Option.defaultValue v204 │
00:00:21 #1438 [Verbose] > │ let v208 : int64 = │
00:00:21 #1439 [Verbose] > │ match v205 with │
00:00:21 #1440 [Verbose] > │ | US1_0 -> (* None *) │
00:00:21 #1441 [Verbose] > │ 0L │
00:00:21 #1442 [Verbose] > │ | US1_1(v206) -> (* Some *) │
00:00:21 #1443 [Verbose] > │ v206 │
00:00:21 #1444 [Verbose] > │ v188.[int v191] <- v208 │
00:00:21 #1445 [Verbose] > │ let v209 : uint64 = v191 + 1UL │
00:00:21 #1446 [Verbose] > │ v189.l0 <- v209 │
00:00:21 #1447 [Verbose] > │ () │
00:00:21 #1448 [Verbose] > │ let v210 : uint64 = System.Convert.ToUInt64 v188.Length │
00:00:21 #1449 [Verbose] > │ let v211 : UH5 = UH5_1 │
00:00:21 #1450 [Verbose] > │ let v212 : Mut3 = {l0 = 0UL; l1 = v211; l2 = 0} : Mut3 │
00:00:21 #1451 [Verbose] > │ while method22(v210, v212) do │
00:00:21 #1452 [Verbose] > │ let v214 : uint64 = v212.l0 │
00:00:21 #1453 [Verbose] > │ let struct (v215 : UH5, v216 : int32) = v212.l1, v212.l2 │
00:00:21 #1454 [Verbose] > │ let v217 : int64 = v188.[int v214] │
00:00:21 #1455 [Verbose] > │ let v218 : int32 = v216 + 1 │
00:00:21 #1456 [Verbose] > │ let v219 : uint64 = v214 + 1UL │
00:00:21 #1457 [Verbose] > │ let v220 : UH5 = UH5_0(v216, v217, v215) │
00:00:21 #1458 [Verbose] > │ v212.l0 <- v219 │
00:00:21 #1459 [Verbose] > │ v212.l1 <- v220 │
00:00:21 #1460 [Verbose] > │ v212.l2 <- v218 │
00:00:21 #1461 [Verbose] > │ () │
00:00:21 #1462 [Verbose] > │ let struct (v221 : UH5, v222 : int32) = v212.l1, v212.l2 │
00:00:21 #1463 [Verbose] > │ let v223 : UH5 = UH5_1 │
00:00:21 #1464 [Verbose] > │ let v224 : UH5 = method23(v221, v223) │
00:00:21 #1465 [Verbose] > │ let v225 : (struct (int32 * int64) []) = method24(v224) │
00:00:21 #1466 [Verbose] > │ let v226 : Map<int32, int64> = v225 |> Array.map (fun (struct (a, b)) -> │
00:00:21 #1467 [Verbose] > │ a, b) |> Map.ofArray │
00:00:21 #1468 [Verbose] > │ let v227 : (struct ((string []) * US0) []) = Array.zeroCreate<struct │
00:00:21 #1469 [Verbose] > │ ((string []) * US0)> (System.Convert.ToInt32(v177)) │
00:00:21 #1470 [Verbose] > │ let v228 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1471 [Verbose] > │ while method4(v177, v228) do │
00:00:21 #1472 [Verbose] > │ let v230 : uint64 = v228.l0 │
00:00:21 #1473 [Verbose] > │ let struct (v231 : UH2, v232 : US0) = v164.[int v230] │
00:00:21 #1474 [Verbose] > │ let v233 : UH6 = UH6_1 │
00:00:21 #1475 [Verbose] > │ let v234 : int32 = 0 │
00:00:21 #1476 [Verbose] > │ let struct (v235 : UH6, v236 : int32) = method27(v231, v233, v234) │
00:00:21 #1477 [Verbose] > │ let v237 : UH6 = UH6_1 │
00:00:21 #1478 [Verbose] > │ let v238 : UH6 = method28(v235, v237) │
00:00:21 #1479 [Verbose] > │ let v239 : UH2 = UH2_1 │
00:00:21 #1480 [Verbose] > │ let v240 : UH2 = method29(v226, v238, v239) │
00:00:21 #1481 [Verbose] > │ let v241 : (string []) = method30(v240) │
00:00:21 #1482 [Verbose] > │ v227.[int v230] <- struct (v241, v232) │
00:00:21 #1483 [Verbose] > │ let v242 : uint64 = v230 + 1UL │
00:00:21 #1484 [Verbose] > │ v228.l0 <- v242 │
00:00:21 #1485 [Verbose] > │ () │
00:00:21 #1486 [Verbose] > │ System.Console.WriteLine v2 │
00:00:21 #1487 [Verbose] > │ let v243 : uint64 = System.Convert.ToUInt64 v227.Length │
00:00:21 #1488 [Verbose] > │ let v244 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1489 [Verbose] > │ while method4(v243, v244) do │
00:00:21 #1490 [Verbose] > │ let v246 : uint64 = v244.l0 │
00:00:21 #1491 [Verbose] > │ let struct (v247 : (string []), v248 : US0) = v227.[int v246] │
00:00:21 #1492 [Verbose] > │ match v248 with │
00:00:21 #1493 [Verbose] > │ | US0_0 -> (* None *) │
00:00:21 #1494 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:21 #1495 [Verbose] > │ let v252 : (unit -> unit) = closure8() │
00:00:21 #1496 [Verbose] > │ v252 () │
00:00:21 #1497 [Verbose] > │ #else │
00:00:21 #1498 [Verbose] > │ let v253 : (unit -> unit) = closure9() │
00:00:21 #1499 [Verbose] > │ v253 () │
00:00:21 #1500 [Verbose] > │ #endif │
00:00:21 #1501 [Verbose] > │ () │
00:00:21 #1502 [Verbose] > │ | US0_1(v249) -> (* Some *) │
00:00:21 #1503 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:21 #1504 [Verbose] > │ let v250 : (unit -> unit) = closure10() │
00:00:21 #1505 [Verbose] > │ v250 () │
00:00:21 #1506 [Verbose] > │ #else │
00:00:21 #1507 [Verbose] > │ let v251 : (unit -> unit) = closure11(v249) │
00:00:21 #1508 [Verbose] > │ v251 () │
00:00:21 #1509 [Verbose] > │ #endif │
00:00:21 #1510 [Verbose] > │ () │
00:00:21 #1511 [Verbose] > │ let v254 : string = "\t| " │
00:00:21 #1512 [Verbose] > │ let v255 : string = System.String.Join (v254, v247) │
00:00:21 #1513 [Verbose] > │ System.Console.WriteLine v255 │
00:00:21 #1514 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:21 #1515 [Verbose] > │ let v256 : (unit -> unit) = closure8() │
00:00:21 #1516 [Verbose] > │ v256 () │
00:00:21 #1517 [Verbose] > │ #else │
00:00:21 #1518 [Verbose] > │ let v257 : (unit -> unit) = closure9() │
00:00:21 #1519 [Verbose] > │ v257 () │
00:00:21 #1520 [Verbose] > │ #endif │
00:00:21 #1521 [Verbose] > │ let v258 : uint64 = v246 + 1UL │
00:00:21 #1522 [Verbose] > │ v244.l0 <- v258 │
00:00:21 #1523 [Verbose] > │ () │
00:00:21 #1524 [Verbose] > │ let v259 : ((float []) []) = Array.zeroCreate<(float [])> │
00:00:21 #1525 [Verbose] > │ (System.Convert.ToInt32(v89)) │
00:00:21 #1526 [Verbose] > │ let v260 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1527 [Verbose] > │ while method4(v89, v260) do │
00:00:21 #1528 [Verbose] > │ let v262 : uint64 = v260.l0 │
00:00:21 #1529 [Verbose] > │ let struct (v263 : string, v264 : string, v265 : string, v266 : │
00:00:21 #1530 [Verbose] > │ (int64 [])) = v11.[int v262] │
00:00:21 #1531 [Verbose] > │ let v267 : (int64 -> float) = float │
00:00:21 #1532 [Verbose] > │ let v268 : uint64 = System.Convert.ToUInt64 v266.Length │
00:00:21 #1533 [Verbose] > │ let v269 : (float []) = Array.zeroCreate<float> │
00:00:21 #1534 [Verbose] > │ (System.Convert.ToInt32(v268)) │
00:00:21 #1535 [Verbose] > │ let v270 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1536 [Verbose] > │ while method4(v268, v270) do │
00:00:21 #1537 [Verbose] > │ let v272 : uint64 = v270.l0 │
00:00:21 #1538 [Verbose] > │ let v273 : int64 = v266.[int v272] │
00:00:21 #1539 [Verbose] > │ let v274 : float = v267 v273 │
00:00:21 #1540 [Verbose] > │ v269.[int v272] <- v274 │
00:00:21 #1541 [Verbose] > │ let v275 : uint64 = v272 + 1UL │
00:00:21 #1542 [Verbose] > │ v270.l0 <- v275 │
00:00:21 #1543 [Verbose] > │ () │
00:00:21 #1544 [Verbose] > │ v259.[int v262] <- v269 │
00:00:21 #1545 [Verbose] > │ let v276 : uint64 = v262 + 1UL │
00:00:21 #1546 [Verbose] > │ v260.l0 <- v276 │
00:00:21 #1547 [Verbose] > │ () │
00:00:21 #1548 [Verbose] > │ let v277 : ((float []) []) = v259 |> Array.transpose │
00:00:21 #1549 [Verbose] > │ let v278 : uint64 = System.Convert.ToUInt64 v277.Length │
00:00:21 #1550 [Verbose] > │ let v279 : (float []) = Array.zeroCreate<float> │
00:00:21 #1551 [Verbose] > │ (System.Convert.ToInt32(v278)) │
00:00:21 #1552 [Verbose] > │ let v280 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1553 [Verbose] > │ while method4(v278, v280) do │
00:00:21 #1554 [Verbose] > │ let v282 : uint64 = v280.l0 │
00:00:21 #1555 [Verbose] > │ let v283 : (float []) = v277.[int v282] │
00:00:21 #1556 [Verbose] > │ let v284 : float = v283 |> Array.average │
00:00:21 #1557 [Verbose] > │ v279.[int v282] <- v284 │
00:00:21 #1558 [Verbose] > │ let v285 : uint64 = v282 + 1UL │
00:00:21 #1559 [Verbose] > │ v280.l0 <- v285 │
00:00:21 #1560 [Verbose] > │ () │
00:00:21 #1561 [Verbose] > │ let v286 : (float -> int64) = int64 │
00:00:21 #1562 [Verbose] > │ let v287 : uint64 = System.Convert.ToUInt64 v279.Length │
00:00:21 #1563 [Verbose] > │ let v288 : (int64 []) = Array.zeroCreate<int64> │
00:00:21 #1564 [Verbose] > │ (System.Convert.ToInt32(v287)) │
00:00:21 #1565 [Verbose] > │ let v289 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1566 [Verbose] > │ while method4(v287, v289) do │
00:00:21 #1567 [Verbose] > │ let v291 : uint64 = v289.l0 │
00:00:21 #1568 [Verbose] > │ let v292 : float = v279.[int v291] │
00:00:21 #1569 [Verbose] > │ let v293 : int64 = v286 v292 │
00:00:21 #1570 [Verbose] > │ v288.[int v291] <- v293 │
00:00:21 #1571 [Verbose] > │ let v294 : uint64 = v291 + 1UL │
00:00:21 #1572 [Verbose] > │ v289.l0 <- v294 │
00:00:21 #1573 [Verbose] > │ () │
00:00:21 #1574 [Verbose] > │ let v295 : uint64 = System.Convert.ToUInt64 v288.Length │
00:00:21 #1575 [Verbose] > │ let v296 : UH5 = UH5_1 │
00:00:21 #1576 [Verbose] > │ let v297 : Mut3 = {l0 = 0UL; l1 = v296; l2 = 0} : Mut3 │
00:00:21 #1577 [Verbose] > │ while method22(v295, v297) do │
00:00:21 #1578 [Verbose] > │ let v299 : uint64 = v297.l0 │
00:00:21 #1579 [Verbose] > │ let struct (v300 : UH5, v301 : int32) = v297.l1, v297.l2 │
00:00:21 #1580 [Verbose] > │ let v302 : int64 = v288.[int v299] │
00:00:21 #1581 [Verbose] > │ let v303 : int32 = v301 + 1 │
00:00:21 #1582 [Verbose] > │ let v304 : uint64 = v299 + 1UL │
00:00:21 #1583 [Verbose] > │ let v305 : UH5 = UH5_0(v301, v302, v300) │
00:00:21 #1584 [Verbose] > │ v297.l0 <- v304 │
00:00:21 #1585 [Verbose] > │ v297.l1 <- v305 │
00:00:21 #1586 [Verbose] > │ v297.l2 <- v303 │
00:00:21 #1587 [Verbose] > │ () │
00:00:21 #1588 [Verbose] > │ let struct (v306 : UH5, v307 : int32) = v297.l1, v297.l2 │
00:00:21 #1589 [Verbose] > │ let v308 : UH5 = UH5_1 │
00:00:21 #1590 [Verbose] > │ let v309 : UH5 = method23(v306, v308) │
00:00:21 #1591 [Verbose] > │ let v310 : (struct (int32 * int64) []) = method33(v309) │
00:00:21 #1592 [Verbose] > │ System.Console.WriteLine v2 │
00:00:21 #1593 [Verbose] > │ let v311 : string = "Average Ranking " │
00:00:21 #1594 [Verbose] > │ System.Console.WriteLine v311 │
00:00:21 #1595 [Verbose] > │ let v312 : (struct (int32 * int64) -> int64) = closure12() │
00:00:21 #1596 [Verbose] > │ let v313 : (struct (int32 * int64) []) = v310 |> Array.sortBy v312 │
00:00:21 #1597 [Verbose] > │ let v314 : uint64 = System.Convert.ToUInt64 v313.Length │
00:00:21 #1598 [Verbose] > │ let v315 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:21 #1599 [Verbose] > │ while method4(v314, v315) do │
00:00:21 #1600 [Verbose] > │ let v317 : uint64 = v315.l0 │
00:00:21 #1601 [Verbose] > │ let struct (v318 : int32, v319 : int64) = v313.[int v317] │
00:00:21 #1602 [Verbose] > │ let v320 : string = $"Test case %d{v318 + 1}. Average Time: %A{v319} │
00:00:21 #1603 [Verbose] > │ " │
00:00:21 #1604 [Verbose] > │ System.Console.WriteLine v320 │
00:00:21 #1605 [Verbose] > │ let v321 : uint64 = v317 + 1UL │
00:00:21 #1606 [Verbose] > │ v315.l0 <- v321 │
00:00:21 #1607 [Verbose] > │ () │
00:00:21 #1608 [Verbose] > │ () │
00:00:21 #1609 [Verbose] > │ method0() │
00:00:21 #1610 [Verbose] > │ │
00:00:21 #1611 [Verbose] > │ │
00:00:21 #1612 [Verbose] > │ │
00:00:21 #1613 [Verbose] > │ Test: v0 │
00:00:21 #1614 [Verbose] > │ │
00:00:21 #1615 [Verbose] > │ Solution: struct ("a", "a") │
00:00:21 #1616 [Verbose] > │ Test case 1. A. Time: 117 │
00:00:21 #1617 [Verbose] > │ Test case 2. B. Time: 108 │
00:00:21 #1618 [Verbose] > │ │
00:00:21 #1619 [Verbose] > │ Solution: struct ("b", "b") │
00:00:21 #1620 [Verbose] > │ Test case 1. A. Time: 101 │
00:00:21 #1621 [Verbose] > │ Test case 2. B. Time: 109 │
00:00:21 #1622 [Verbose] > │ │
00:00:21 #1623 [Verbose] > │ Input | Expected | Result | Best │
00:00:21 #1624 [Verbose] > │ --- | --- | --- | --- │
00:00:21 #1625 [Verbose] > │ struct ("a", "a") | "a" | "a" | struct (2L, 108L) │
00:00:21 #1626 [Verbose] > │ struct ("b", "b") | "b" | "b" | struct (1L, 101L) │
00:00:21 #1627 [Verbose] > │ │
00:00:21 #1628 [Verbose] > │ Average Ranking │
00:00:21 #1629 [Verbose] > │ Test case 2. Average Time: 108L │
00:00:21 #1630 [Verbose] > │ Test case 1. Average Time: 109L │
00:00:21 #1631 [Verbose] > │ │
00:00:21 #1632 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #1633 [Verbose] >
00:00:21 #1634 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:21 #1635 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:21 #1636 [Verbose] > │ ## emptyTests │
00:00:21 #1637 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #1638 [Verbose] >
00:00:21 #1639 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:21 #1640 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:21 #1641 [Verbose] > │ Test: Empty │
00:00:21 #1642 [Verbose] > │ │
00:00:21 #1643 [Verbose] > │ Solution: 0 │
00:00:21 #1644 [Verbose] > │ Test case 1. A. Time: 61L │
00:00:21 #1645 [Verbose] > │ │
00:00:21 #1646 [Verbose] > │ Solution: 2 │
00:00:21 #1647 [Verbose] > │ Test case 1. A. Time: 62L │
00:00:21 #1648 [Verbose] > │ │
00:00:21 #1649 [Verbose] > │ Solution: 5 │
00:00:21 #1650 [Verbose] > │ Test case 1. A. Time: 70L │
00:00:21 #1651 [Verbose] > │ │
00:00:21 #1652 [Verbose] > │ Input | Expected | Result | Best │
00:00:21 #1653 [Verbose] > │ --- | --- | --- | --- │
00:00:21 #1654 [Verbose] > │ 0 | 0 | 0 | (1, 61) │
00:00:21 #1655 [Verbose] > │ 2 | 2 | 2 | (1, 62) │
00:00:21 #1656 [Verbose] > │ 5 | 5 | 5 | (1, 70) │
00:00:21 #1657 [Verbose] > │ │
00:00:21 #1658 [Verbose] > │ Averages │
00:00:21 #1659 [Verbose] > │ Test case 1. Average Time: 64L │
00:00:21 #1660 [Verbose] > │ │
00:00:21 #1661 [Verbose] > │ Ranking │
00:00:21 #1662 [Verbose] > │ Test case 1. Average Time: 64L │
00:00:21 #1663 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #1664 [Verbose] >
00:00:21 #1665 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:21 #1666 [Verbose] > // // test
00:00:21 #1667 [Verbose] >
00:00:21 #1668 [Verbose] > inl get_solutions () =
00:00:21 #1669 [Verbose] > [[
00:00:21 #1670 [Verbose] > "A",
00:00:21 #1671 [Verbose] > fun n =>
00:00:21 #1672 [Verbose] > n + 1f64
00:00:21 #1673 [Verbose] > ]]
00:00:21 #1674 [Verbose] >
00:00:21 #1675 [Verbose] > inl rec empty_1_tests () =
00:00:21 #1676 [Verbose] > inl test_cases = [[
00:00:21 #1677 [Verbose] > 0, 1
00:00:21 #1678 [Verbose] > 2, 3
00:00:21 #1679 [Verbose] > 5, 6
00:00:21 #1680 [Verbose] > ]]
00:00:21 #1681 [Verbose] >
00:00:21 #1682 [Verbose] > inl solutions = get_solutions ()
00:00:21 #1683 [Verbose] >
00:00:21 #1684 [Verbose] > // inl is_fast () = true
00:00:21 #1685 [Verbose] >
00:00:21 #1686 [Verbose] > inl count =
00:00:21 #1687 [Verbose] > if is_fast ()
00:00:21 #1688 [Verbose] > then 1000i32
00:00:21 #1689 [Verbose] > else 2000000i32
00:00:21 #1690 [Verbose] >
00:00:21 #1691 [Verbose] > run_all (nameof empty_1_tests) count solutions test_cases
00:00:21 #1692 [Verbose] > |> sort_result_list
00:00:21 #1693 [Verbose] >
00:00:21 #1694 [Verbose] > empty_1_tests ()
00:00:21 #1695 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-2279-7974-7caced9dd0a7\main.spi
00:00:26 #1696 [Verbose] >
00:00:26 #1697 [Verbose] > ╭─[ 5.03s - stdout ]───────────────────────────────────────────────────────────╮
00:00:26 #1698 [Verbose] > │ type UH0 = │
00:00:26 #1699 [Verbose] > │ | UH0_0 of float * float * UH0 │
00:00:26 #1700 [Verbose] > │ | UH0_1 │
00:00:26 #1701 [Verbose] > │ and Mut0 = {mutable l0 : uint64} │
00:00:26 #1702 [Verbose] > │ and UH1 = │
00:00:26 #1703 [Verbose] > │ | UH1_0 of int32 * string * (float -> float) * UH1 │
00:00:26 #1704 [Verbose] > │ | UH1_1 │
00:00:26 #1705 [Verbose] > │ and Mut1 = {mutable l0 : int32} │
00:00:26 #1706 [Verbose] > │ and UH2 = │
00:00:26 #1707 [Verbose] > │ | UH2_0 of string * UH2 │
00:00:26 #1708 [Verbose] > │ | UH2_1 │
00:00:26 #1709 [Verbose] > │ and [<Struct>] US0 = │
00:00:26 #1710 [Verbose] > │ | US0_0 │
00:00:26 #1711 [Verbose] > │ | US0_1 of f1_0 : System.ConsoleColor │
00:00:26 #1712 [Verbose] > │ and UH3 = │
00:00:26 #1713 [Verbose] > │ | UH3_0 of int64 * int64 * UH3 │
00:00:26 #1714 [Verbose] > │ | UH3_1 │
00:00:26 #1715 [Verbose] > │ and Mut2 = {mutable l0 : uint64; mutable l1 : UH3; mutable l2 : int64} │
00:00:26 #1716 [Verbose] > │ and UH4 = │
00:00:26 #1717 [Verbose] > │ | UH4_0 of UH2 * US0 * UH4 │
00:00:26 #1718 [Verbose] > │ | UH4_1 │
00:00:26 #1719 [Verbose] > │ and [<Struct>] US1 = │
00:00:26 #1720 [Verbose] > │ | US1_0 │
00:00:26 #1721 [Verbose] > │ | US1_1 of f1_0 : int64 │
00:00:26 #1722 [Verbose] > │ and UH5 = │
00:00:26 #1723 [Verbose] > │ | UH5_0 of int32 * int64 * UH5 │
00:00:26 #1724 [Verbose] > │ | UH5_1 │
00:00:26 #1725 [Verbose] > │ and Mut3 = {mutable l0 : uint64; mutable l1 : UH5; mutable l2 : int32} │
00:00:26 #1726 [Verbose] > │ and UH6 = │
00:00:26 #1727 [Verbose] > │ | UH6_0 of int32 * string * UH6 │
00:00:26 #1728 [Verbose] > │ | UH6_1 │
00:00:26 #1729 [Verbose] > │ let rec method2 (v0 : UH0, v1 : uint64) : uint64 = │
00:00:26 #1730 [Verbose] > │ match v0 with │
00:00:26 #1731 [Verbose] > │ | UH0_0(v2, v3, v4) -> (* Cons *) │
00:00:26 #1732 [Verbose] > │ let v5 : uint64 = v1 + 1UL │
00:00:26 #1733 [Verbose] > │ method2(v4, v5) │
00:00:26 #1734 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:26 #1735 [Verbose] > │ v1 │
00:00:26 #1736 [Verbose] > │ and method3 (v0 : (struct (float * float) []), v1 : UH0, v2 : uint64) : │
00:00:26 #1737 [Verbose] > │ uint64 = │
00:00:26 #1738 [Verbose] > │ match v1 with │
00:00:26 #1739 [Verbose] > │ | UH0_0(v3, v4, v5) -> (* Cons *) │
00:00:26 #1740 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:26 #1741 [Verbose] > │ let v6 : uint64 = v2 + 1UL │
00:00:26 #1742 [Verbose] > │ method3(v0, v5, v6) │
00:00:26 #1743 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:26 #1744 [Verbose] > │ v2 │
00:00:26 #1745 [Verbose] > │ and method1 (v0 : UH0) : (struct (float * float) []) = │
00:00:26 #1746 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:26 #1747 [Verbose] > │ let v2 : uint64 = method2(v0, v1) │
00:00:26 #1748 [Verbose] > │ let v3 : (struct (float * float) []) = Array.zeroCreate<struct (float * │
00:00:26 #1749 [Verbose] > │ float)> (System.Convert.ToInt32(v2)) │
00:00:26 #1750 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:26 #1751 [Verbose] > │ let v5 : uint64 = method3(v3, v0, v4) │
00:00:26 #1752 [Verbose] > │ v3 │
00:00:26 #1753 [Verbose] > │ and method4 (v0 : uint64, v1 : Mut0) : bool = │
00:00:26 #1754 [Verbose] > │ let v2 : uint64 = v1.l0 │
00:00:26 #1755 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:26 #1756 [Verbose] > │ v3 │
00:00:26 #1757 [Verbose] > │ and closure1 () (v0 : float) : float = │
00:00:26 #1758 [Verbose] > │ let v1 : float = v0 + 1.0 │
00:00:26 #1759 [Verbose] > │ v1 │
00:00:26 #1760 [Verbose] > │ and method6 (v0 : UH1, v1 : uint64) : uint64 = │
00:00:26 #1761 [Verbose] > │ match v0 with │
00:00:26 #1762 [Verbose] > │ | UH1_0(v2, v3, v4, v5) -> (* Cons *) │
00:00:26 #1763 [Verbose] > │ let v6 : uint64 = v1 + 1UL │
00:00:26 #1764 [Verbose] > │ method6(v5, v6) │
00:00:26 #1765 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:26 #1766 [Verbose] > │ v1 │
00:00:26 #1767 [Verbose] > │ and method7 (v0 : (struct (int32 * string * (float -> float)) []), v1 : UH1, │
00:00:26 #1768 [Verbose] > │ v2 : uint64) : uint64 = │
00:00:26 #1769 [Verbose] > │ match v1 with │
00:00:26 #1770 [Verbose] > │ | UH1_0(v3, v4, v5, v6) -> (* Cons *) │
00:00:26 #1771 [Verbose] > │ v0.[int v2] <- struct (v3, v4, v5) │
00:00:26 #1772 [Verbose] > │ let v7 : uint64 = v2 + 1UL │
00:00:26 #1773 [Verbose] > │ method7(v0, v6, v7) │
00:00:26 #1774 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:26 #1775 [Verbose] > │ v2 │
00:00:26 #1776 [Verbose] > │ and method5 (v0 : UH1) : (struct (int32 * string * (float -> float)) []) = │
00:00:26 #1777 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:26 #1778 [Verbose] > │ let v2 : uint64 = method6(v0, v1) │
00:00:26 #1779 [Verbose] > │ let v3 : (struct (int32 * string * (float -> float)) []) = │
00:00:26 #1780 [Verbose] > │ Array.zeroCreate<struct (int32 * string * (float -> float))> │
00:00:26 #1781 [Verbose] > │ (System.Convert.ToInt32(v2)) │
00:00:26 #1782 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:26 #1783 [Verbose] > │ let v5 : uint64 = method7(v3, v0, v4) │
00:00:26 #1784 [Verbose] > │ v3 │
00:00:26 #1785 [Verbose] > │ and closure2 () () : unit = │
00:00:26 #1786 [Verbose] > │ () │
00:00:26 #1787 [Verbose] > │ and closure3 () () : unit = │
00:00:26 #1788 [Verbose] > │ System.GC.Collect () │
00:00:26 #1789 [Verbose] > │ () │
00:00:26 #1790 [Verbose] > │ and method8 (v0 : Mut1) : bool = │
00:00:26 #1791 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:26 #1792 [Verbose] > │ let v2 : bool = v1 < 2000001 │
00:00:26 #1793 [Verbose] > │ v2 │
00:00:26 #1794 [Verbose] > │ and closure4 (v0 : float, v1 : (float -> float)) (v2 : int32) : float = │
00:00:26 #1795 [Verbose] > │ v1 v0 │
00:00:26 #1796 [Verbose] > │ and method9 (v0 : float, v1 : (float []), v2 : uint64) : bool = │
00:00:26 #1797 [Verbose] > │ let v3 : uint64 = System.Convert.ToUInt64 v1.Length │
00:00:26 #1798 [Verbose] > │ let v4 : bool = v2 < v3 │
00:00:26 #1799 [Verbose] > │ if v4 then │
00:00:26 #1800 [Verbose] > │ let v5 : float = v1.[int v2] │
00:00:26 #1801 [Verbose] > │ let v6 : bool = v0 = v5 │
00:00:26 #1802 [Verbose] > │ if v6 then │
00:00:26 #1803 [Verbose] > │ let v7 : uint64 = v2 + 1UL │
00:00:26 #1804 [Verbose] > │ method9(v0, v1, v7) │
00:00:26 #1805 [Verbose] > │ else │
00:00:26 #1806 [Verbose] > │ false │
00:00:26 #1807 [Verbose] > │ else │
00:00:26 #1808 [Verbose] > │ true │
00:00:26 #1809 [Verbose] > │ and method10 (v0 : uint64, v1 : Mut2) : bool = │
00:00:26 #1810 [Verbose] > │ let v2 : uint64 = v1.l0 │
00:00:26 #1811 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:26 #1812 [Verbose] > │ v3 │
00:00:26 #1813 [Verbose] > │ and method11 (v0 : UH3, v1 : UH3) : UH3 = │
00:00:26 #1814 [Verbose] > │ match v0 with │
00:00:26 #1815 [Verbose] > │ | UH3_0(v2, v3, v4) -> (* Cons *) │
00:00:26 #1816 [Verbose] > │ let v5 : UH3 = UH3_0(v2, v3, v1) │
00:00:26 #1817 [Verbose] > │ method11(v4, v5) │
00:00:26 #1818 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:00:26 #1819 [Verbose] > │ v1 │
00:00:26 #1820 [Verbose] > │ and method13 (v0 : UH3, v1 : int32) : int32 = │
00:00:26 #1821 [Verbose] > │ match v0 with │
00:00:26 #1822 [Verbose] > │ | UH3_0(v2, v3, v4) -> (* Cons *) │
00:00:26 #1823 [Verbose] > │ let v5 : int32 = v1 + 1 │
00:00:26 #1824 [Verbose] > │ method13(v4, v5) │
00:00:26 #1825 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:00:26 #1826 [Verbose] > │ v1 │
00:00:26 #1827 [Verbose] > │ and method14 (v0 : (struct (int64 * int64) []), v1 : UH3, v2 : int32) : │
00:00:26 #1828 [Verbose] > │ int32 = │
00:00:26 #1829 [Verbose] > │ match v1 with │
00:00:26 #1830 [Verbose] > │ | UH3_0(v3, v4, v5) -> (* Cons *) │
00:00:26 #1831 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:26 #1832 [Verbose] > │ let v6 : int32 = v2 + 1 │
00:00:26 #1833 [Verbose] > │ method14(v0, v5, v6) │
00:00:26 #1834 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:00:26 #1835 [Verbose] > │ v2 │
00:00:26 #1836 [Verbose] > │ and method12 (v0 : UH3) : (struct (int64 * int64) []) = │
00:00:26 #1837 [Verbose] > │ let v1 : int32 = 0 │
00:00:26 #1838 [Verbose] > │ let v2 : int32 = method13(v0, v1) │
00:00:26 #1839 [Verbose] > │ let v3 : (struct (int64 * int64) []) = Array.zeroCreate<struct (int64 * │
00:00:26 #1840 [Verbose] > │ int64)> (v2) │
00:00:26 #1841 [Verbose] > │ let v4 : int32 = 0 │
00:00:26 #1842 [Verbose] > │ let v5 : int32 = method14(v3, v0, v4) │
00:00:26 #1843 [Verbose] > │ v3 │
00:00:26 #1844 [Verbose] > │ and method15 (v0 : int32, v1 : Mut1) : bool = │
00:00:26 #1845 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:26 #1846 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:26 #1847 [Verbose] > │ v3 │
00:00:26 #1848 [Verbose] > │ and closure5 () struct (v0 : int64, v1 : int64) : int64 = │
00:00:26 #1849 [Verbose] > │ v1 │
00:00:26 #1850 [Verbose] > │ and method17 (v0 : UH4, v1 : uint64) : uint64 = │
00:00:26 #1851 [Verbose] > │ match v0 with │
00:00:26 #1852 [Verbose] > │ | UH4_0(v2, v3, v4) -> (* Cons *) │
00:00:26 #1853 [Verbose] > │ let v5 : uint64 = v1 + 1UL │
00:00:26 #1854 [Verbose] > │ method17(v4, v5) │
00:00:26 #1855 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:26 #1856 [Verbose] > │ v1 │
00:00:26 #1857 [Verbose] > │ and method18 (v0 : (struct (UH2 * US0) []), v1 : UH4, v2 : uint64) : uint64 │
00:00:26 #1858 [Verbose] > │ = │
00:00:26 #1859 [Verbose] > │ match v1 with │
00:00:26 #1860 [Verbose] > │ | UH4_0(v3, v4, v5) -> (* Cons *) │
00:00:26 #1861 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:26 #1862 [Verbose] > │ let v6 : uint64 = v2 + 1UL │
00:00:26 #1863 [Verbose] > │ method18(v0, v5, v6) │
00:00:26 #1864 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:26 #1865 [Verbose] > │ v2 │
00:00:26 #1866 [Verbose] > │ and method16 (v0 : UH4) : (struct (UH2 * US0) []) = │
00:00:26 #1867 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:26 #1868 [Verbose] > │ let v2 : uint64 = method17(v0, v1) │
00:00:26 #1869 [Verbose] > │ let v3 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:00:26 #1870 [Verbose] > │ (System.Convert.ToInt32(v2)) │
00:00:26 #1871 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:26 #1872 [Verbose] > │ let v5 : uint64 = method18(v3, v0, v4) │
00:00:26 #1873 [Verbose] > │ v3 │
00:00:26 #1874 [Verbose] > │ and method20 (v0 : UH2, v1 : uint64) : uint64 = │
00:00:26 #1875 [Verbose] > │ match v0 with │
00:00:26 #1876 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:26 #1877 [Verbose] > │ let v4 : uint64 = v1 + 1UL │
00:00:26 #1878 [Verbose] > │ method20(v3, v4) │
00:00:26 #1879 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:26 #1880 [Verbose] > │ v1 │
00:00:26 #1881 [Verbose] > │ and method21 (v0 : (string []), v1 : UH2, v2 : uint64) : uint64 = │
00:00:26 #1882 [Verbose] > │ match v1 with │
00:00:26 #1883 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:00:26 #1884 [Verbose] > │ v0.[int v2] <- v3 │
00:00:26 #1885 [Verbose] > │ let v5 : uint64 = v2 + 1UL │
00:00:26 #1886 [Verbose] > │ method21(v0, v4, v5) │
00:00:26 #1887 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:26 #1888 [Verbose] > │ v2 │
00:00:26 #1889 [Verbose] > │ and method19 (v0 : UH2) : (string []) = │
00:00:26 #1890 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:26 #1891 [Verbose] > │ let v2 : uint64 = method20(v0, v1) │
00:00:26 #1892 [Verbose] > │ let v3 : (string []) = Array.zeroCreate<string> │
00:00:26 #1893 [Verbose] > │ (System.Convert.ToInt32(v2)) │
00:00:26 #1894 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:26 #1895 [Verbose] > │ let v5 : uint64 = method21(v3, v0, v4) │
00:00:26 #1896 [Verbose] > │ v3 │
00:00:26 #1897 [Verbose] > │ and closure6 () (v0 : int64) : US1 = │
00:00:26 #1898 [Verbose] > │ US1_1(v0) │
00:00:26 #1899 [Verbose] > │ and method22 (v0 : uint64, v1 : Mut3) : bool = │
00:00:26 #1900 [Verbose] > │ let v2 : uint64 = v1.l0 │
00:00:26 #1901 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:26 #1902 [Verbose] > │ v3 │
00:00:26 #1903 [Verbose] > │ and method23 (v0 : UH5, v1 : UH5) : UH5 = │
00:00:26 #1904 [Verbose] > │ match v0 with │
00:00:26 #1905 [Verbose] > │ | UH5_0(v2, v3, v4) -> (* Cons *) │
00:00:26 #1906 [Verbose] > │ let v5 : UH5 = UH5_0(v2, v3, v1) │
00:00:26 #1907 [Verbose] > │ method23(v4, v5) │
00:00:26 #1908 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:26 #1909 [Verbose] > │ v1 │
00:00:26 #1910 [Verbose] > │ and method25 (v0 : UH5, v1 : int32) : int32 = │
00:00:26 #1911 [Verbose] > │ match v0 with │
00:00:26 #1912 [Verbose] > │ | UH5_0(v2, v3, v4) -> (* Cons *) │
00:00:26 #1913 [Verbose] > │ let v5 : int32 = v1 + 1 │
00:00:26 #1914 [Verbose] > │ method25(v4, v5) │
00:00:26 #1915 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:26 #1916 [Verbose] > │ v1 │
00:00:26 #1917 [Verbose] > │ and method26 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : int32) : │
00:00:26 #1918 [Verbose] > │ int32 = │
00:00:26 #1919 [Verbose] > │ match v1 with │
00:00:26 #1920 [Verbose] > │ | UH5_0(v3, v4, v5) -> (* Cons *) │
00:00:26 #1921 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:26 #1922 [Verbose] > │ let v6 : int32 = v2 + 1 │
00:00:26 #1923 [Verbose] > │ method26(v0, v5, v6) │
00:00:26 #1924 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:26 #1925 [Verbose] > │ v2 │
00:00:26 #1926 [Verbose] > │ and method24 (v0 : UH5) : (struct (int32 * int64) []) = │
00:00:26 #1927 [Verbose] > │ let v1 : int32 = 0 │
00:00:26 #1928 [Verbose] > │ let v2 : int32 = method25(v0, v1) │
00:00:26 #1929 [Verbose] > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:00:26 #1930 [Verbose] > │ int64)> (v2) │
00:00:26 #1931 [Verbose] > │ let v4 : int32 = 0 │
00:00:26 #1932 [Verbose] > │ let v5 : int32 = method26(v3, v0, v4) │
00:00:26 #1933 [Verbose] > │ v3 │
00:00:26 #1934 [Verbose] > │ and method27 (v0 : UH2, v1 : UH6, v2 : int32) : struct (UH6 * int32) = │
00:00:26 #1935 [Verbose] > │ match v0 with │
00:00:26 #1936 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:00:26 #1937 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:26 #1938 [Verbose] > │ let v6 : UH6 = UH6_0(v2, v3, v1) │
00:00:26 #1939 [Verbose] > │ method27(v4, v6, v5) │
00:00:26 #1940 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:26 #1941 [Verbose] > │ struct (v1, v2) │
00:00:26 #1942 [Verbose] > │ and method28 (v0 : UH6, v1 : UH6) : UH6 = │
00:00:26 #1943 [Verbose] > │ match v0 with │
00:00:26 #1944 [Verbose] > │ | UH6_0(v2, v3, v4) -> (* Cons *) │
00:00:26 #1945 [Verbose] > │ let v5 : UH6 = UH6_0(v2, v3, v1) │
00:00:26 #1946 [Verbose] > │ method28(v4, v5) │
00:00:26 #1947 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:26 #1948 [Verbose] > │ v1 │
00:00:26 #1949 [Verbose] > │ and method29 (v0 : Map<int32, int64>, v1 : UH6, v2 : UH2) : UH2 = │
00:00:26 #1950 [Verbose] > │ match v1 with │
00:00:26 #1951 [Verbose] > │ | UH6_0(v3, v4, v5) -> (* Cons *) │
00:00:26 #1952 [Verbose] > │ let v6 : UH2 = method29(v0, v5, v2) │
00:00:26 #1953 [Verbose] > │ let v7 : int64 = v0.[v3] │
00:00:26 #1954 [Verbose] > │ let v8 : int32 = int32 v7 │
00:00:26 #1955 [Verbose] > │ let v9 : string = v4.PadRight v8 │
00:00:26 #1956 [Verbose] > │ UH2_0(v9, v6) │
00:00:26 #1957 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:26 #1958 [Verbose] > │ v2 │
00:00:26 #1959 [Verbose] > │ and method31 (v0 : UH2, v1 : int32) : int32 = │
00:00:26 #1960 [Verbose] > │ match v0 with │
00:00:26 #1961 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:26 #1962 [Verbose] > │ let v4 : int32 = v1 + 1 │
00:00:26 #1963 [Verbose] > │ method31(v3, v4) │
00:00:26 #1964 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:26 #1965 [Verbose] > │ v1 │
00:00:26 #1966 [Verbose] > │ and method32 (v0 : (string []), v1 : UH2, v2 : int32) : int32 = │
00:00:26 #1967 [Verbose] > │ match v1 with │
00:00:26 #1968 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:00:26 #1969 [Verbose] > │ v0.[int v2] <- v3 │
00:00:26 #1970 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:26 #1971 [Verbose] > │ method32(v0, v4, v5) │
00:00:26 #1972 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:26 #1973 [Verbose] > │ v2 │
00:00:26 #1974 [Verbose] > │ and method30 (v0 : UH2) : (string []) = │
00:00:26 #1975 [Verbose] > │ let v1 : int32 = 0 │
00:00:26 #1976 [Verbose] > │ let v2 : int32 = method31(v0, v1) │
00:00:26 #1977 [Verbose] > │ let v3 : (string []) = Array.zeroCreate<string> (v2) │
00:00:26 #1978 [Verbose] > │ let v4 : int32 = 0 │
00:00:26 #1979 [Verbose] > │ let v5 : int32 = method32(v3, v0, v4) │
00:00:26 #1980 [Verbose] > │ v3 │
00:00:26 #1981 [Verbose] > │ and closure7 () () : unit = │
00:00:26 #1982 [Verbose] > │ () │
00:00:26 #1983 [Verbose] > │ and closure8 () () : unit = │
00:00:26 #1984 [Verbose] > │ System.Console.ResetColor () │
00:00:26 #1985 [Verbose] > │ () │
00:00:26 #1986 [Verbose] > │ and closure9 () () : unit = │
00:00:26 #1987 [Verbose] > │ () │
00:00:26 #1988 [Verbose] > │ and closure10 (v0 : System.ConsoleColor) () : unit = │
00:00:26 #1989 [Verbose] > │ System.Console.ForegroundColor <- v0 │
00:00:26 #1990 [Verbose] > │ () │
00:00:26 #1991 [Verbose] > │ and method34 (v0 : UH5, v1 : uint64) : uint64 = │
00:00:26 #1992 [Verbose] > │ match v0 with │
00:00:26 #1993 [Verbose] > │ | UH5_0(v2, v3, v4) -> (* Cons *) │
00:00:26 #1994 [Verbose] > │ let v5 : uint64 = v1 + 1UL │
00:00:26 #1995 [Verbose] > │ method34(v4, v5) │
00:00:26 #1996 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:26 #1997 [Verbose] > │ v1 │
00:00:26 #1998 [Verbose] > │ and method35 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : uint64) : │
00:00:26 #1999 [Verbose] > │ uint64 = │
00:00:26 #2000 [Verbose] > │ match v1 with │
00:00:26 #2001 [Verbose] > │ | UH5_0(v3, v4, v5) -> (* Cons *) │
00:00:26 #2002 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:26 #2003 [Verbose] > │ let v6 : uint64 = v2 + 1UL │
00:00:26 #2004 [Verbose] > │ method35(v0, v5, v6) │
00:00:26 #2005 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:26 #2006 [Verbose] > │ v2 │
00:00:26 #2007 [Verbose] > │ and method33 (v0 : UH5) : (struct (int32 * int64) []) = │
00:00:26 #2008 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:26 #2009 [Verbose] > │ let v2 : uint64 = method34(v0, v1) │
00:00:26 #2010 [Verbose] > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:00:26 #2011 [Verbose] > │ int64)> (System.Convert.ToInt32(v2)) │
00:00:26 #2012 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:26 #2013 [Verbose] > │ let v5 : uint64 = method35(v3, v0, v4) │
00:00:26 #2014 [Verbose] > │ v3 │
00:00:26 #2015 [Verbose] > │ and closure11 () struct (v0 : int32, v1 : int64) : int64 = │
00:00:26 #2016 [Verbose] > │ v1 │
00:00:26 #2017 [Verbose] > │ and closure0 () () : unit = │
00:00:26 #2018 [Verbose] > │ let v0 : (unit -> unit) = closure0() │
00:00:26 #2019 [Verbose] > │ let v1 : string = nameof v0 │
00:00:26 #2020 [Verbose] > │ let v2 : string = "" │
00:00:26 #2021 [Verbose] > │ System.Console.WriteLine v2 │
00:00:26 #2022 [Verbose] > │ System.Console.WriteLine v2 │
00:00:26 #2023 [Verbose] > │ let v3 : string = $"Test: {v1}" │
00:00:26 #2024 [Verbose] > │ System.Console.WriteLine v3 │
00:00:26 #2025 [Verbose] > │ let v4 : float = 0.0 │
00:00:26 #2026 [Verbose] > │ let v5 : float = 1.0 │
00:00:26 #2027 [Verbose] > │ let v6 : float = 2.0 │
00:00:26 #2028 [Verbose] > │ let v7 : float = 3.0 │
00:00:26 #2029 [Verbose] > │ let v8 : float = 5.0 │
00:00:26 #2030 [Verbose] > │ let v9 : float = 6.0 │
00:00:26 #2031 [Verbose] > │ let v10 : UH0 = UH0_1 │
00:00:26 #2032 [Verbose] > │ let v11 : UH0 = UH0_0(v8, v9, v10) │
00:00:26 #2033 [Verbose] > │ let v12 : UH0 = UH0_0(v6, v7, v11) │
00:00:26 #2034 [Verbose] > │ let v13 : UH0 = UH0_0(v4, v5, v12) │
00:00:26 #2035 [Verbose] > │ let v14 : (struct (float * float) []) = method1(v13) │
00:00:26 #2036 [Verbose] > │ let v15 : uint64 = System.Convert.ToUInt64 v14.Length │
00:00:26 #2037 [Verbose] > │ let v16 : (struct (string * string * string * (int64 [])) []) = │
00:00:26 #2038 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:00:26 #2039 [Verbose] > │ (System.Convert.ToInt32(v15)) │
00:00:26 #2040 [Verbose] > │ let v17 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2041 [Verbose] > │ while method4(v15, v17) do │
00:00:26 #2042 [Verbose] > │ let v19 : uint64 = v17.l0 │
00:00:26 #2043 [Verbose] > │ let struct (v20 : float, v21 : float) = v14.[int v19] │
00:00:26 #2044 [Verbose] > │ let v22 : string = $"%A{v20}" │
00:00:26 #2045 [Verbose] > │ System.Console.WriteLine v2 │
00:00:26 #2046 [Verbose] > │ let v23 : string = $"Solution: {v22} " │
00:00:26 #2047 [Verbose] > │ System.Console.WriteLine v23 │
00:00:26 #2048 [Verbose] > │ let v24 : int32 = 0 │
00:00:26 #2049 [Verbose] > │ let v25 : string = "A" │
00:00:26 #2050 [Verbose] > │ let v26 : (float -> float) = closure1() │
00:00:26 #2051 [Verbose] > │ let v27 : UH1 = UH1_1 │
00:00:26 #2052 [Verbose] > │ let v28 : UH1 = UH1_0(v24, v25, v26, v27) │
00:00:26 #2053 [Verbose] > │ let v29 : (struct (int32 * string * (float -> float)) []) = │
00:00:26 #2054 [Verbose] > │ method5(v28) │
00:00:26 #2055 [Verbose] > │ let v30 : uint64 = System.Convert.ToUInt64 v29.Length │
00:00:26 #2056 [Verbose] > │ let v31 : (struct (float * int64) []) = Array.zeroCreate<struct │
00:00:26 #2057 [Verbose] > │ (float * int64)> (System.Convert.ToInt32(v30)) │
00:00:26 #2058 [Verbose] > │ let v32 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2059 [Verbose] > │ while method4(v30, v32) do │
00:00:26 #2060 [Verbose] > │ let v34 : uint64 = v32.l0 │
00:00:26 #2061 [Verbose] > │ let struct (v35 : int32, v36 : string, v37 : (float -> float)) = │
00:00:26 #2062 [Verbose] > │ v29.[int v34] │
00:00:26 #2063 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:26 #2064 [Verbose] > │ let v38 : (unit -> unit) = closure2() │
00:00:26 #2065 [Verbose] > │ v38 () │
00:00:26 #2066 [Verbose] > │ #else │
00:00:26 #2067 [Verbose] > │ let v39 : (unit -> unit) = closure3() │
00:00:26 #2068 [Verbose] > │ v39 () │
00:00:26 #2069 [Verbose] > │ #endif │
00:00:26 #2070 [Verbose] > │ let v40 : (unit -> System.Diagnostics.Stopwatch) = │
00:00:26 #2071 [Verbose] > │ System.Diagnostics.Stopwatch │
00:00:26 #2072 [Verbose] > │ let v41 : System.Diagnostics.Stopwatch = v40 () │
00:00:26 #2073 [Verbose] > │ v41.Start () │
00:00:26 #2074 [Verbose] > │ let v42 : int64 = v41.ElapsedMilliseconds │
00:00:26 #2075 [Verbose] > │ let v43 : (int32 []) = Array.zeroCreate<int32> (2000001) │
00:00:26 #2076 [Verbose] > │ let v44 : Mut1 = {l0 = 0} : Mut1 │
00:00:26 #2077 [Verbose] > │ while method8(v44) do │
00:00:26 #2078 [Verbose] > │ let v46 : int32 = v44.l0 │
00:00:26 #2079 [Verbose] > │ v43.[int v46] <- v46 │
00:00:26 #2080 [Verbose] > │ let v47 : int32 = v46 + 1 │
00:00:26 #2081 [Verbose] > │ v44.l0 <- v47 │
00:00:26 #2082 [Verbose] > │ () │
00:00:26 #2083 [Verbose] > │ let v48 : (int32 -> float) = closure4(v20, v37) │
00:00:26 #2084 [Verbose] > │ let v49 : (float []) = v43 |> Array.Parallel.map v48 │
00:00:26 #2085 [Verbose] > │ let v50 : int32 = v49.Length │
00:00:26 #2086 [Verbose] > │ let v51 : int32 = v50 - 1 │
00:00:26 #2087 [Verbose] > │ let v52 : float = v49.[int v51] │
00:00:26 #2088 [Verbose] > │ let v53 : int64 = v41.ElapsedMilliseconds │
00:00:26 #2089 [Verbose] > │ let v54 : int64 = v53 - v42 │
00:00:26 #2090 [Verbose] > │ let v55 : string = $"Test case {v35 + 1}. {v36}. Time: {v54} " │
00:00:26 #2091 [Verbose] > │ System.Console.WriteLine v55 │
00:00:26 #2092 [Verbose] > │ v31.[int v34] <- struct (v52, v54) │
00:00:26 #2093 [Verbose] > │ let v56 : uint64 = v34 + 1UL │
00:00:26 #2094 [Verbose] > │ v32.l0 <- v56 │
00:00:26 #2095 [Verbose] > │ () │
00:00:26 #2096 [Verbose] > │ let v57 : uint64 = System.Convert.ToUInt64 v31.Length │
00:00:26 #2097 [Verbose] > │ let v58 : (float []) = Array.zeroCreate<float> │
00:00:26 #2098 [Verbose] > │ (System.Convert.ToInt32(v57)) │
00:00:26 #2099 [Verbose] > │ let v59 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2100 [Verbose] > │ while method4(v57, v59) do │
00:00:26 #2101 [Verbose] > │ let v61 : uint64 = v59.l0 │
00:00:26 #2102 [Verbose] > │ let struct (v62 : float, v63 : int64) = v31.[int v61] │
00:00:26 #2103 [Verbose] > │ v58.[int v61] <- v62 │
00:00:26 #2104 [Verbose] > │ let v64 : uint64 = v61 + 1UL │
00:00:26 #2105 [Verbose] > │ v59.l0 <- v64 │
00:00:26 #2106 [Verbose] > │ () │
00:00:26 #2107 [Verbose] > │ let v65 : uint64 = System.Convert.ToUInt64 v58.Length │
00:00:26 #2108 [Verbose] > │ let v66 : bool = v65 <= 1UL │
00:00:26 #2109 [Verbose] > │ if v66 then │
00:00:26 #2110 [Verbose] > │ () │
00:00:26 #2111 [Verbose] > │ else │
00:00:26 #2112 [Verbose] > │ let v67 : float = v58.[int 0UL] │
00:00:26 #2113 [Verbose] > │ let v68 : uint64 = 0UL │
00:00:26 #2114 [Verbose] > │ let v69 : bool = method9(v67, v58, v68) │
00:00:26 #2115 [Verbose] > │ if v69 then │
00:00:26 #2116 [Verbose] > │ () │
00:00:26 #2117 [Verbose] > │ else │
00:00:26 #2118 [Verbose] > │ let v70 : string = $"Challenge error: {v58}" │
00:00:26 #2119 [Verbose] > │ failwith<unit> v70 │
00:00:26 #2120 [Verbose] > │ let v71 : string = $"%A{v21}" │
00:00:26 #2121 [Verbose] > │ let v72 : (float []) = Array.zeroCreate<float> │
00:00:26 #2122 [Verbose] > │ (System.Convert.ToInt32(v57)) │
00:00:26 #2123 [Verbose] > │ let v73 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2124 [Verbose] > │ while method4(v57, v73) do │
00:00:26 #2125 [Verbose] > │ let v75 : uint64 = v73.l0 │
00:00:26 #2126 [Verbose] > │ let struct (v76 : float, v77 : int64) = v31.[int v75] │
00:00:26 #2127 [Verbose] > │ v72.[int v75] <- v76 │
00:00:26 #2128 [Verbose] > │ let v78 : uint64 = v75 + 1UL │
00:00:26 #2129 [Verbose] > │ v73.l0 <- v78 │
00:00:26 #2130 [Verbose] > │ () │
00:00:26 #2131 [Verbose] > │ let v79 : float = v72.[int 0UL] │
00:00:26 #2132 [Verbose] > │ let v80 : string = $"%A{v79}" │
00:00:26 #2133 [Verbose] > │ let v81 : (int64 []) = Array.zeroCreate<int64> │
00:00:26 #2134 [Verbose] > │ (System.Convert.ToInt32(v57)) │
00:00:26 #2135 [Verbose] > │ let v82 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2136 [Verbose] > │ while method4(v57, v82) do │
00:00:26 #2137 [Verbose] > │ let v84 : uint64 = v82.l0 │
00:00:26 #2138 [Verbose] > │ let struct (v85 : float, v86 : int64) = v31.[int v84] │
00:00:26 #2139 [Verbose] > │ v81.[int v84] <- v86 │
00:00:26 #2140 [Verbose] > │ let v87 : uint64 = v84 + 1UL │
00:00:26 #2141 [Verbose] > │ v82.l0 <- v87 │
00:00:26 #2142 [Verbose] > │ () │
00:00:26 #2143 [Verbose] > │ v16.[int v19] <- struct (v71, v22, v80, v81) │
00:00:26 #2144 [Verbose] > │ let v88 : uint64 = v19 + 1UL │
00:00:26 #2145 [Verbose] > │ v17.l0 <- v88 │
00:00:26 #2146 [Verbose] > │ () │
00:00:26 #2147 [Verbose] > │ let v89 : uint64 = System.Convert.ToUInt64 v16.Length │
00:00:26 #2148 [Verbose] > │ let v90 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:00:26 #2149 [Verbose] > │ (System.Convert.ToInt32(v89)) │
00:00:26 #2150 [Verbose] > │ let v91 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2151 [Verbose] > │ while method4(v89, v91) do │
00:00:26 #2152 [Verbose] > │ let v93 : uint64 = v91.l0 │
00:00:26 #2153 [Verbose] > │ let struct (v94 : string, v95 : string, v96 : string, v97 : (int64 [ │
00:00:26 #2154 [Verbose] > │ ])) = v16.[int v93] │
00:00:26 #2155 [Verbose] > │ let v98 : uint64 = System.Convert.ToUInt64 v97.Length │
00:00:26 #2156 [Verbose] > │ let v99 : UH3 = UH3_1 │
00:00:26 #2157 [Verbose] > │ let v100 : Mut2 = {l0 = 0UL; l1 = v99; l2 = 0L} : Mut2 │
00:00:26 #2158 [Verbose] > │ while method10(v98, v100) do │
00:00:26 #2159 [Verbose] > │ let v102 : uint64 = v100.l0 │
00:00:26 #2160 [Verbose] > │ let struct (v103 : UH3, v104 : int64) = v100.l1, v100.l2 │
00:00:26 #2161 [Verbose] > │ let v105 : int64 = v97.[int v102] │
00:00:26 #2162 [Verbose] > │ let v106 : int64 = v104 + 1L │
00:00:26 #2163 [Verbose] > │ let v107 : uint64 = v102 + 1UL │
00:00:26 #2164 [Verbose] > │ let v108 : UH3 = UH3_0(v104, v105, v103) │
00:00:26 #2165 [Verbose] > │ v100.l0 <- v107 │
00:00:26 #2166 [Verbose] > │ v100.l1 <- v108 │
00:00:26 #2167 [Verbose] > │ v100.l2 <- v106 │
00:00:26 #2168 [Verbose] > │ () │
00:00:26 #2169 [Verbose] > │ let struct (v109 : UH3, v110 : int64) = v100.l1, v100.l2 │
00:00:26 #2170 [Verbose] > │ let v111 : UH3 = UH3_1 │
00:00:26 #2171 [Verbose] > │ let v112 : UH3 = method11(v109, v111) │
00:00:26 #2172 [Verbose] > │ let v113 : (struct (int64 * int64) []) = method12(v112) │
00:00:26 #2173 [Verbose] > │ let v114 : int32 = v113.Length │
00:00:26 #2174 [Verbose] > │ let v115 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:00:26 #2175 [Verbose] > │ (int64 * int64)> (v114) │
00:00:26 #2176 [Verbose] > │ let v116 : Mut1 = {l0 = 0} : Mut1 │
00:00:26 #2177 [Verbose] > │ while method15(v114, v116) do │
00:00:26 #2178 [Verbose] > │ let v118 : int32 = v116.l0 │
00:00:26 #2179 [Verbose] > │ let struct (v119 : int64, v120 : int64) = v113.[int v118] │
00:00:26 #2180 [Verbose] > │ let v121 : int64 = v119 + 1L │
00:00:26 #2181 [Verbose] > │ v115.[int v118] <- struct (v121, v120) │
00:00:26 #2182 [Verbose] > │ let v122 : int32 = v118 + 1 │
00:00:26 #2183 [Verbose] > │ v116.l0 <- v122 │
00:00:26 #2184 [Verbose] > │ () │
00:00:26 #2185 [Verbose] > │ let v123 : (struct (int64 * int64) -> int64) = closure5() │
00:00:26 #2186 [Verbose] > │ let v124 : (struct (int64 * int64) []) = v115 |> Array.sortBy v123 │
00:00:26 #2187 [Verbose] > │ let struct (v125 : int64, v126 : int64) = v124.[int 0] │
00:00:26 #2188 [Verbose] > │ let v127 : string = $"%A{struct (v125, v126)}" │
00:00:26 #2189 [Verbose] > │ let v128 : bool = v94 = v96 │
00:00:26 #2190 [Verbose] > │ let v133 : US0 = │
00:00:26 #2191 [Verbose] > │ if v128 then │
00:00:26 #2192 [Verbose] > │ let v129 : System.ConsoleColor = │
00:00:26 #2193 [Verbose] > │ System.ConsoleColor.DarkGreen │
00:00:26 #2194 [Verbose] > │ US0_1(v129) │
00:00:26 #2195 [Verbose] > │ else │
00:00:26 #2196 [Verbose] > │ let v131 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:00:26 #2197 [Verbose] > │ US0_1(v131) │
00:00:26 #2198 [Verbose] > │ let v134 : UH2 = UH2_1 │
00:00:26 #2199 [Verbose] > │ let v135 : UH2 = UH2_0(v127, v134) │
00:00:26 #2200 [Verbose] > │ let v136 : UH2 = UH2_0(v96, v135) │
00:00:26 #2201 [Verbose] > │ let v137 : UH2 = UH2_0(v94, v136) │
00:00:26 #2202 [Verbose] > │ let v138 : UH2 = UH2_0(v95, v137) │
00:00:26 #2203 [Verbose] > │ v90.[int v93] <- struct (v138, v133) │
00:00:26 #2204 [Verbose] > │ let v139 : uint64 = v93 + 1UL │
00:00:26 #2205 [Verbose] > │ v91.l0 <- v139 │
00:00:26 #2206 [Verbose] > │ () │
00:00:26 #2207 [Verbose] > │ let v140 : string = "Input" │
00:00:26 #2208 [Verbose] > │ let v141 : string = "Expected" │
00:00:26 #2209 [Verbose] > │ let v142 : string = "Result" │
00:00:26 #2210 [Verbose] > │ let v143 : string = "Best" │
00:00:26 #2211 [Verbose] > │ let v144 : UH2 = UH2_1 │
00:00:26 #2212 [Verbose] > │ let v145 : UH2 = UH2_0(v143, v144) │
00:00:26 #2213 [Verbose] > │ let v146 : UH2 = UH2_0(v142, v145) │
00:00:26 #2214 [Verbose] > │ let v147 : UH2 = UH2_0(v141, v146) │
00:00:26 #2215 [Verbose] > │ let v148 : UH2 = UH2_0(v140, v147) │
00:00:26 #2216 [Verbose] > │ let v149 : US0 = US0_0 │
00:00:26 #2217 [Verbose] > │ let v150 : string = "---" │
00:00:26 #2218 [Verbose] > │ let v151 : UH2 = UH2_1 │
00:00:26 #2219 [Verbose] > │ let v152 : UH2 = UH2_0(v150, v151) │
00:00:26 #2220 [Verbose] > │ let v153 : UH2 = UH2_0(v150, v152) │
00:00:26 #2221 [Verbose] > │ let v154 : UH2 = UH2_0(v150, v153) │
00:00:26 #2222 [Verbose] > │ let v155 : UH2 = UH2_0(v150, v154) │
00:00:26 #2223 [Verbose] > │ let v156 : US0 = US0_0 │
00:00:26 #2224 [Verbose] > │ let v157 : UH4 = UH4_1 │
00:00:26 #2225 [Verbose] > │ let v158 : UH4 = UH4_0(v155, v156, v157) │
00:00:26 #2226 [Verbose] > │ let v159 : UH4 = UH4_0(v148, v149, v158) │
00:00:26 #2227 [Verbose] > │ let v160 : (struct (UH2 * US0) []) = method16(v159) │
00:00:26 #2228 [Verbose] > │ let v161 : uint64 = System.Convert.ToUInt64 v160.Length │
00:00:26 #2229 [Verbose] > │ let v162 : uint64 = System.Convert.ToUInt64 v90.Length │
00:00:26 #2230 [Verbose] > │ let v163 : uint64 = v161 + v162 │
00:00:26 #2231 [Verbose] > │ let v164 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:00:26 #2232 [Verbose] > │ US0)> (System.Convert.ToInt32(v163)) │
00:00:26 #2233 [Verbose] > │ let v165 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2234 [Verbose] > │ while method4(v163, v165) do │
00:00:26 #2235 [Verbose] > │ let v167 : uint64 = v165.l0 │
00:00:26 #2236 [Verbose] > │ let v168 : bool = v167 < v161 │
00:00:26 #2237 [Verbose] > │ let struct (v174 : UH2, v175 : US0) = │
00:00:26 #2238 [Verbose] > │ if v168 then │
00:00:26 #2239 [Verbose] > │ let struct (v169 : UH2, v170 : US0) = v160.[int v167] │
00:00:26 #2240 [Verbose] > │ struct (v169, v170) │
00:00:26 #2241 [Verbose] > │ else │
00:00:26 #2242 [Verbose] > │ let v171 : uint64 = v167 - v161 │
00:00:26 #2243 [Verbose] > │ let struct (v172 : UH2, v173 : US0) = v90.[int v171] │
00:00:26 #2244 [Verbose] > │ struct (v172, v173) │
00:00:26 #2245 [Verbose] > │ v164.[int v167] <- struct (v174, v175) │
00:00:26 #2246 [Verbose] > │ let v176 : uint64 = v167 + 1UL │
00:00:26 #2247 [Verbose] > │ v165.l0 <- v176 │
00:00:26 #2248 [Verbose] > │ () │
00:00:26 #2249 [Verbose] > │ let v177 : uint64 = System.Convert.ToUInt64 v164.Length │
00:00:26 #2250 [Verbose] > │ let v178 : ((string []) []) = Array.zeroCreate<(string [])> │
00:00:26 #2251 [Verbose] > │ (System.Convert.ToInt32(v177)) │
00:00:26 #2252 [Verbose] > │ let v179 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2253 [Verbose] > │ while method4(v177, v179) do │
00:00:26 #2254 [Verbose] > │ let v181 : uint64 = v179.l0 │
00:00:26 #2255 [Verbose] > │ let struct (v182 : UH2, v183 : US0) = v164.[int v181] │
00:00:26 #2256 [Verbose] > │ let v184 : (string []) = method19(v182) │
00:00:26 #2257 [Verbose] > │ v178.[int v181] <- v184 │
00:00:26 #2258 [Verbose] > │ let v185 : uint64 = v181 + 1UL │
00:00:26 #2259 [Verbose] > │ v179.l0 <- v185 │
00:00:26 #2260 [Verbose] > │ () │
00:00:26 #2261 [Verbose] > │ let v186 : ((string []) []) = v178 |> Array.transpose │
00:00:26 #2262 [Verbose] > │ let v187 : uint64 = System.Convert.ToUInt64 v186.Length │
00:00:26 #2263 [Verbose] > │ let v188 : (int64 []) = Array.zeroCreate<int64> │
00:00:26 #2264 [Verbose] > │ (System.Convert.ToInt32(v187)) │
00:00:26 #2265 [Verbose] > │ let v189 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2266 [Verbose] > │ while method4(v187, v189) do │
00:00:26 #2267 [Verbose] > │ let v191 : uint64 = v189.l0 │
00:00:26 #2268 [Verbose] > │ let v192 : (string []) = v186.[int v191] │
00:00:26 #2269 [Verbose] > │ let v193 : uint64 = System.Convert.ToUInt64 v192.Length │
00:00:26 #2270 [Verbose] > │ let v194 : (int64 []) = Array.zeroCreate<int64> │
00:00:26 #2271 [Verbose] > │ (System.Convert.ToInt32(v193)) │
00:00:26 #2272 [Verbose] > │ let v195 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2273 [Verbose] > │ while method4(v193, v195) do │
00:00:26 #2274 [Verbose] > │ let v197 : uint64 = v195.l0 │
00:00:26 #2275 [Verbose] > │ let v198 : string = v192.[int v197] │
00:00:26 #2276 [Verbose] > │ let v199 : int64 = System.Convert.ToInt64 v198.Length │
00:00:26 #2277 [Verbose] > │ v194.[int v197] <- v199 │
00:00:26 #2278 [Verbose] > │ let v200 : uint64 = v197 + 1UL │
00:00:26 #2279 [Verbose] > │ v195.l0 <- v200 │
00:00:26 #2280 [Verbose] > │ () │
00:00:26 #2281 [Verbose] > │ let v201 : (int64 []) = v194 |> Array.sortDescending │
00:00:26 #2282 [Verbose] > │ let v202 : int64 option = v201 |> Array.tryItem 0 │
00:00:26 #2283 [Verbose] > │ let v203 : (int64 -> US1) = closure6() │
00:00:26 #2284 [Verbose] > │ let v204 : US1 = US1_0 │
00:00:26 #2285 [Verbose] > │ let v205 : US1 = v202 |> Option.map v203 |> Option.defaultValue v204 │
00:00:26 #2286 [Verbose] > │ let v208 : int64 = │
00:00:26 #2287 [Verbose] > │ match v205 with │
00:00:26 #2288 [Verbose] > │ | US1_0 -> (* None *) │
00:00:26 #2289 [Verbose] > │ 0L │
00:00:26 #2290 [Verbose] > │ | US1_1(v206) -> (* Some *) │
00:00:26 #2291 [Verbose] > │ v206 │
00:00:26 #2292 [Verbose] > │ v188.[int v191] <- v208 │
00:00:26 #2293 [Verbose] > │ let v209 : uint64 = v191 + 1UL │
00:00:26 #2294 [Verbose] > │ v189.l0 <- v209 │
00:00:26 #2295 [Verbose] > │ () │
00:00:26 #2296 [Verbose] > │ let v210 : uint64 = System.Convert.ToUInt64 v188.Length │
00:00:26 #2297 [Verbose] > │ let v211 : UH5 = UH5_1 │
00:00:26 #2298 [Verbose] > │ let v212 : Mut3 = {l0 = 0UL; l1 = v211; l2 = 0} : Mut3 │
00:00:26 #2299 [Verbose] > │ while method22(v210, v212) do │
00:00:26 #2300 [Verbose] > │ let v214 : uint64 = v212.l0 │
00:00:26 #2301 [Verbose] > │ let struct (v215 : UH5, v216 : int32) = v212.l1, v212.l2 │
00:00:26 #2302 [Verbose] > │ let v217 : int64 = v188.[int v214] │
00:00:26 #2303 [Verbose] > │ let v218 : int32 = v216 + 1 │
00:00:26 #2304 [Verbose] > │ let v219 : uint64 = v214 + 1UL │
00:00:26 #2305 [Verbose] > │ let v220 : UH5 = UH5_0(v216, v217, v215) │
00:00:26 #2306 [Verbose] > │ v212.l0 <- v219 │
00:00:26 #2307 [Verbose] > │ v212.l1 <- v220 │
00:00:26 #2308 [Verbose] > │ v212.l2 <- v218 │
00:00:26 #2309 [Verbose] > │ () │
00:00:26 #2310 [Verbose] > │ let struct (v221 : UH5, v222 : int32) = v212.l1, v212.l2 │
00:00:26 #2311 [Verbose] > │ let v223 : UH5 = UH5_1 │
00:00:26 #2312 [Verbose] > │ let v224 : UH5 = method23(v221, v223) │
00:00:26 #2313 [Verbose] > │ let v225 : (struct (int32 * int64) []) = method24(v224) │
00:00:26 #2314 [Verbose] > │ let v226 : Map<int32, int64> = v225 |> Array.map (fun (struct (a, b)) -> │
00:00:26 #2315 [Verbose] > │ a, b) |> Map.ofArray │
00:00:26 #2316 [Verbose] > │ let v227 : (struct ((string []) * US0) []) = Array.zeroCreate<struct │
00:00:26 #2317 [Verbose] > │ ((string []) * US0)> (System.Convert.ToInt32(v177)) │
00:00:26 #2318 [Verbose] > │ let v228 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2319 [Verbose] > │ while method4(v177, v228) do │
00:00:26 #2320 [Verbose] > │ let v230 : uint64 = v228.l0 │
00:00:26 #2321 [Verbose] > │ let struct (v231 : UH2, v232 : US0) = v164.[int v230] │
00:00:26 #2322 [Verbose] > │ let v233 : UH6 = UH6_1 │
00:00:26 #2323 [Verbose] > │ let v234 : int32 = 0 │
00:00:26 #2324 [Verbose] > │ let struct (v235 : UH6, v236 : int32) = method27(v231, v233, v234) │
00:00:26 #2325 [Verbose] > │ let v237 : UH6 = UH6_1 │
00:00:26 #2326 [Verbose] > │ let v238 : UH6 = method28(v235, v237) │
00:00:26 #2327 [Verbose] > │ let v239 : UH2 = UH2_1 │
00:00:26 #2328 [Verbose] > │ let v240 : UH2 = method29(v226, v238, v239) │
00:00:26 #2329 [Verbose] > │ let v241 : (string []) = method30(v240) │
00:00:26 #2330 [Verbose] > │ v227.[int v230] <- struct (v241, v232) │
00:00:26 #2331 [Verbose] > │ let v242 : uint64 = v230 + 1UL │
00:00:26 #2332 [Verbose] > │ v228.l0 <- v242 │
00:00:26 #2333 [Verbose] > │ () │
00:00:26 #2334 [Verbose] > │ System.Console.WriteLine v2 │
00:00:26 #2335 [Verbose] > │ let v243 : uint64 = System.Convert.ToUInt64 v227.Length │
00:00:26 #2336 [Verbose] > │ let v244 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2337 [Verbose] > │ while method4(v243, v244) do │
00:00:26 #2338 [Verbose] > │ let v246 : uint64 = v244.l0 │
00:00:26 #2339 [Verbose] > │ let struct (v247 : (string []), v248 : US0) = v227.[int v246] │
00:00:26 #2340 [Verbose] > │ match v248 with │
00:00:26 #2341 [Verbose] > │ | US0_0 -> (* None *) │
00:00:26 #2342 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:26 #2343 [Verbose] > │ let v252 : (unit -> unit) = closure7() │
00:00:26 #2344 [Verbose] > │ v252 () │
00:00:26 #2345 [Verbose] > │ #else │
00:00:26 #2346 [Verbose] > │ let v253 : (unit -> unit) = closure8() │
00:00:26 #2347 [Verbose] > │ v253 () │
00:00:26 #2348 [Verbose] > │ #endif │
00:00:26 #2349 [Verbose] > │ () │
00:00:26 #2350 [Verbose] > │ | US0_1(v249) -> (* Some *) │
00:00:26 #2351 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:26 #2352 [Verbose] > │ let v250 : (unit -> unit) = closure9() │
00:00:26 #2353 [Verbose] > │ v250 () │
00:00:26 #2354 [Verbose] > │ #else │
00:00:26 #2355 [Verbose] > │ let v251 : (unit -> unit) = closure10(v249) │
00:00:26 #2356 [Verbose] > │ v251 () │
00:00:26 #2357 [Verbose] > │ #endif │
00:00:26 #2358 [Verbose] > │ () │
00:00:26 #2359 [Verbose] > │ let v254 : string = "\t| " │
00:00:26 #2360 [Verbose] > │ let v255 : string = System.String.Join (v254, v247) │
00:00:26 #2361 [Verbose] > │ System.Console.WriteLine v255 │
00:00:26 #2362 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:26 #2363 [Verbose] > │ let v256 : (unit -> unit) = closure7() │
00:00:26 #2364 [Verbose] > │ v256 () │
00:00:26 #2365 [Verbose] > │ #else │
00:00:26 #2366 [Verbose] > │ let v257 : (unit -> unit) = closure8() │
00:00:26 #2367 [Verbose] > │ v257 () │
00:00:26 #2368 [Verbose] > │ #endif │
00:00:26 #2369 [Verbose] > │ let v258 : uint64 = v246 + 1UL │
00:00:26 #2370 [Verbose] > │ v244.l0 <- v258 │
00:00:26 #2371 [Verbose] > │ () │
00:00:26 #2372 [Verbose] > │ let v259 : ((float []) []) = Array.zeroCreate<(float [])> │
00:00:26 #2373 [Verbose] > │ (System.Convert.ToInt32(v89)) │
00:00:26 #2374 [Verbose] > │ let v260 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2375 [Verbose] > │ while method4(v89, v260) do │
00:00:26 #2376 [Verbose] > │ let v262 : uint64 = v260.l0 │
00:00:26 #2377 [Verbose] > │ let struct (v263 : string, v264 : string, v265 : string, v266 : │
00:00:26 #2378 [Verbose] > │ (int64 [])) = v16.[int v262] │
00:00:26 #2379 [Verbose] > │ let v267 : (int64 -> float) = float │
00:00:26 #2380 [Verbose] > │ let v268 : uint64 = System.Convert.ToUInt64 v266.Length │
00:00:26 #2381 [Verbose] > │ let v269 : (float []) = Array.zeroCreate<float> │
00:00:26 #2382 [Verbose] > │ (System.Convert.ToInt32(v268)) │
00:00:26 #2383 [Verbose] > │ let v270 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2384 [Verbose] > │ while method4(v268, v270) do │
00:00:26 #2385 [Verbose] > │ let v272 : uint64 = v270.l0 │
00:00:26 #2386 [Verbose] > │ let v273 : int64 = v266.[int v272] │
00:00:26 #2387 [Verbose] > │ let v274 : float = v267 v273 │
00:00:26 #2388 [Verbose] > │ v269.[int v272] <- v274 │
00:00:26 #2389 [Verbose] > │ let v275 : uint64 = v272 + 1UL │
00:00:26 #2390 [Verbose] > │ v270.l0 <- v275 │
00:00:26 #2391 [Verbose] > │ () │
00:00:26 #2392 [Verbose] > │ v259.[int v262] <- v269 │
00:00:26 #2393 [Verbose] > │ let v276 : uint64 = v262 + 1UL │
00:00:26 #2394 [Verbose] > │ v260.l0 <- v276 │
00:00:26 #2395 [Verbose] > │ () │
00:00:26 #2396 [Verbose] > │ let v277 : ((float []) []) = v259 |> Array.transpose │
00:00:26 #2397 [Verbose] > │ let v278 : uint64 = System.Convert.ToUInt64 v277.Length │
00:00:26 #2398 [Verbose] > │ let v279 : (float []) = Array.zeroCreate<float> │
00:00:26 #2399 [Verbose] > │ (System.Convert.ToInt32(v278)) │
00:00:26 #2400 [Verbose] > │ let v280 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2401 [Verbose] > │ while method4(v278, v280) do │
00:00:26 #2402 [Verbose] > │ let v282 : uint64 = v280.l0 │
00:00:26 #2403 [Verbose] > │ let v283 : (float []) = v277.[int v282] │
00:00:26 #2404 [Verbose] > │ let v284 : float = v283 |> Array.average │
00:00:26 #2405 [Verbose] > │ v279.[int v282] <- v284 │
00:00:26 #2406 [Verbose] > │ let v285 : uint64 = v282 + 1UL │
00:00:26 #2407 [Verbose] > │ v280.l0 <- v285 │
00:00:26 #2408 [Verbose] > │ () │
00:00:26 #2409 [Verbose] > │ let v286 : (float -> int64) = int64 │
00:00:26 #2410 [Verbose] > │ let v287 : uint64 = System.Convert.ToUInt64 v279.Length │
00:00:26 #2411 [Verbose] > │ let v288 : (int64 []) = Array.zeroCreate<int64> │
00:00:26 #2412 [Verbose] > │ (System.Convert.ToInt32(v287)) │
00:00:26 #2413 [Verbose] > │ let v289 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2414 [Verbose] > │ while method4(v287, v289) do │
00:00:26 #2415 [Verbose] > │ let v291 : uint64 = v289.l0 │
00:00:26 #2416 [Verbose] > │ let v292 : float = v279.[int v291] │
00:00:26 #2417 [Verbose] > │ let v293 : int64 = v286 v292 │
00:00:26 #2418 [Verbose] > │ v288.[int v291] <- v293 │
00:00:26 #2419 [Verbose] > │ let v294 : uint64 = v291 + 1UL │
00:00:26 #2420 [Verbose] > │ v289.l0 <- v294 │
00:00:26 #2421 [Verbose] > │ () │
00:00:26 #2422 [Verbose] > │ let v295 : uint64 = System.Convert.ToUInt64 v288.Length │
00:00:26 #2423 [Verbose] > │ let v296 : UH5 = UH5_1 │
00:00:26 #2424 [Verbose] > │ let v297 : Mut3 = {l0 = 0UL; l1 = v296; l2 = 0} : Mut3 │
00:00:26 #2425 [Verbose] > │ while method22(v295, v297) do │
00:00:26 #2426 [Verbose] > │ let v299 : uint64 = v297.l0 │
00:00:26 #2427 [Verbose] > │ let struct (v300 : UH5, v301 : int32) = v297.l1, v297.l2 │
00:00:26 #2428 [Verbose] > │ let v302 : int64 = v288.[int v299] │
00:00:26 #2429 [Verbose] > │ let v303 : int32 = v301 + 1 │
00:00:26 #2430 [Verbose] > │ let v304 : uint64 = v299 + 1UL │
00:00:26 #2431 [Verbose] > │ let v305 : UH5 = UH5_0(v301, v302, v300) │
00:00:26 #2432 [Verbose] > │ v297.l0 <- v304 │
00:00:26 #2433 [Verbose] > │ v297.l1 <- v305 │
00:00:26 #2434 [Verbose] > │ v297.l2 <- v303 │
00:00:26 #2435 [Verbose] > │ () │
00:00:26 #2436 [Verbose] > │ let struct (v306 : UH5, v307 : int32) = v297.l1, v297.l2 │
00:00:26 #2437 [Verbose] > │ let v308 : UH5 = UH5_1 │
00:00:26 #2438 [Verbose] > │ let v309 : UH5 = method23(v306, v308) │
00:00:26 #2439 [Verbose] > │ let v310 : (struct (int32 * int64) []) = method33(v309) │
00:00:26 #2440 [Verbose] > │ System.Console.WriteLine v2 │
00:00:26 #2441 [Verbose] > │ let v311 : string = "Average Ranking " │
00:00:26 #2442 [Verbose] > │ System.Console.WriteLine v311 │
00:00:26 #2443 [Verbose] > │ let v312 : (struct (int32 * int64) -> int64) = closure11() │
00:00:26 #2444 [Verbose] > │ let v313 : (struct (int32 * int64) []) = v310 |> Array.sortBy v312 │
00:00:26 #2445 [Verbose] > │ let v314 : uint64 = System.Convert.ToUInt64 v313.Length │
00:00:26 #2446 [Verbose] > │ let v315 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2447 [Verbose] > │ while method4(v314, v315) do │
00:00:26 #2448 [Verbose] > │ let v317 : uint64 = v315.l0 │
00:00:26 #2449 [Verbose] > │ let struct (v318 : int32, v319 : int64) = v313.[int v317] │
00:00:26 #2450 [Verbose] > │ let v320 : string = $"Test case %d{v318 + 1}. Average Time: %A{v319} │
00:00:26 #2451 [Verbose] > │ " │
00:00:26 #2452 [Verbose] > │ System.Console.WriteLine v320 │
00:00:26 #2453 [Verbose] > │ let v321 : uint64 = v317 + 1UL │
00:00:26 #2454 [Verbose] > │ v315.l0 <- v321 │
00:00:26 #2455 [Verbose] > │ () │
00:00:26 #2456 [Verbose] > │ () │
00:00:26 #2457 [Verbose] > │ and method0 () : unit = │
00:00:26 #2458 [Verbose] > │ let v0 : (unit -> unit) = closure0() │
00:00:26 #2459 [Verbose] > │ let v1 : string = nameof v0 │
00:00:26 #2460 [Verbose] > │ let v2 : string = "" │
00:00:26 #2461 [Verbose] > │ System.Console.WriteLine v2 │
00:00:26 #2462 [Verbose] > │ System.Console.WriteLine v2 │
00:00:26 #2463 [Verbose] > │ let v3 : string = $"Test: {v1}" │
00:00:26 #2464 [Verbose] > │ System.Console.WriteLine v3 │
00:00:26 #2465 [Verbose] > │ let v4 : float = 0.0 │
00:00:26 #2466 [Verbose] > │ let v5 : float = 1.0 │
00:00:26 #2467 [Verbose] > │ let v6 : float = 2.0 │
00:00:26 #2468 [Verbose] > │ let v7 : float = 3.0 │
00:00:26 #2469 [Verbose] > │ let v8 : float = 5.0 │
00:00:26 #2470 [Verbose] > │ let v9 : float = 6.0 │
00:00:26 #2471 [Verbose] > │ let v10 : UH0 = UH0_1 │
00:00:26 #2472 [Verbose] > │ let v11 : UH0 = UH0_0(v8, v9, v10) │
00:00:26 #2473 [Verbose] > │ let v12 : UH0 = UH0_0(v6, v7, v11) │
00:00:26 #2474 [Verbose] > │ let v13 : UH0 = UH0_0(v4, v5, v12) │
00:00:26 #2475 [Verbose] > │ let v14 : (struct (float * float) []) = method1(v13) │
00:00:26 #2476 [Verbose] > │ let v15 : uint64 = System.Convert.ToUInt64 v14.Length │
00:00:26 #2477 [Verbose] > │ let v16 : (struct (string * string * string * (int64 [])) []) = │
00:00:26 #2478 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:00:26 #2479 [Verbose] > │ (System.Convert.ToInt32(v15)) │
00:00:26 #2480 [Verbose] > │ let v17 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2481 [Verbose] > │ while method4(v15, v17) do │
00:00:26 #2482 [Verbose] > │ let v19 : uint64 = v17.l0 │
00:00:26 #2483 [Verbose] > │ let struct (v20 : float, v21 : float) = v14.[int v19] │
00:00:26 #2484 [Verbose] > │ let v22 : string = $"%A{v20}" │
00:00:26 #2485 [Verbose] > │ System.Console.WriteLine v2 │
00:00:26 #2486 [Verbose] > │ let v23 : string = $"Solution: {v22} " │
00:00:26 #2487 [Verbose] > │ System.Console.WriteLine v23 │
00:00:26 #2488 [Verbose] > │ let v24 : int32 = 0 │
00:00:26 #2489 [Verbose] > │ let v25 : string = "A" │
00:00:26 #2490 [Verbose] > │ let v26 : (float -> float) = closure1() │
00:00:26 #2491 [Verbose] > │ let v27 : UH1 = UH1_1 │
00:00:26 #2492 [Verbose] > │ let v28 : UH1 = UH1_0(v24, v25, v26, v27) │
00:00:26 #2493 [Verbose] > │ let v29 : (struct (int32 * string * (float -> float)) []) = │
00:00:26 #2494 [Verbose] > │ method5(v28) │
00:00:26 #2495 [Verbose] > │ let v30 : uint64 = System.Convert.ToUInt64 v29.Length │
00:00:26 #2496 [Verbose] > │ let v31 : (struct (float * int64) []) = Array.zeroCreate<struct │
00:00:26 #2497 [Verbose] > │ (float * int64)> (System.Convert.ToInt32(v30)) │
00:00:26 #2498 [Verbose] > │ let v32 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2499 [Verbose] > │ while method4(v30, v32) do │
00:00:26 #2500 [Verbose] > │ let v34 : uint64 = v32.l0 │
00:00:26 #2501 [Verbose] > │ let struct (v35 : int32, v36 : string, v37 : (float -> float)) = │
00:00:26 #2502 [Verbose] > │ v29.[int v34] │
00:00:26 #2503 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:26 #2504 [Verbose] > │ let v38 : (unit -> unit) = closure2() │
00:00:26 #2505 [Verbose] > │ v38 () │
00:00:26 #2506 [Verbose] > │ #else │
00:00:26 #2507 [Verbose] > │ let v39 : (unit -> unit) = closure3() │
00:00:26 #2508 [Verbose] > │ v39 () │
00:00:26 #2509 [Verbose] > │ #endif │
00:00:26 #2510 [Verbose] > │ let v40 : (unit -> System.Diagnostics.Stopwatch) = │
00:00:26 #2511 [Verbose] > │ System.Diagnostics.Stopwatch │
00:00:26 #2512 [Verbose] > │ let v41 : System.Diagnostics.Stopwatch = v40 () │
00:00:26 #2513 [Verbose] > │ v41.Start () │
00:00:26 #2514 [Verbose] > │ let v42 : int64 = v41.ElapsedMilliseconds │
00:00:26 #2515 [Verbose] > │ let v43 : (int32 []) = Array.zeroCreate<int32> (2000001) │
00:00:26 #2516 [Verbose] > │ let v44 : Mut1 = {l0 = 0} : Mut1 │
00:00:26 #2517 [Verbose] > │ while method8(v44) do │
00:00:26 #2518 [Verbose] > │ let v46 : int32 = v44.l0 │
00:00:26 #2519 [Verbose] > │ v43.[int v46] <- v46 │
00:00:26 #2520 [Verbose] > │ let v47 : int32 = v46 + 1 │
00:00:26 #2521 [Verbose] > │ v44.l0 <- v47 │
00:00:26 #2522 [Verbose] > │ () │
00:00:26 #2523 [Verbose] > │ let v48 : (int32 -> float) = closure4(v20, v37) │
00:00:26 #2524 [Verbose] > │ let v49 : (float []) = v43 |> Array.Parallel.map v48 │
00:00:26 #2525 [Verbose] > │ let v50 : int32 = v49.Length │
00:00:26 #2526 [Verbose] > │ let v51 : int32 = v50 - 1 │
00:00:26 #2527 [Verbose] > │ let v52 : float = v49.[int v51] │
00:00:26 #2528 [Verbose] > │ let v53 : int64 = v41.ElapsedMilliseconds │
00:00:26 #2529 [Verbose] > │ let v54 : int64 = v53 - v42 │
00:00:26 #2530 [Verbose] > │ let v55 : string = $"Test case {v35 + 1}. {v36}. Time: {v54} " │
00:00:26 #2531 [Verbose] > │ System.Console.WriteLine v55 │
00:00:26 #2532 [Verbose] > │ v31.[int v34] <- struct (v52, v54) │
00:00:26 #2533 [Verbose] > │ let v56 : uint64 = v34 + 1UL │
00:00:26 #2534 [Verbose] > │ v32.l0 <- v56 │
00:00:26 #2535 [Verbose] > │ () │
00:00:26 #2536 [Verbose] > │ let v57 : uint64 = System.Convert.ToUInt64 v31.Length │
00:00:26 #2537 [Verbose] > │ let v58 : (float []) = Array.zeroCreate<float> │
00:00:26 #2538 [Verbose] > │ (System.Convert.ToInt32(v57)) │
00:00:26 #2539 [Verbose] > │ let v59 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2540 [Verbose] > │ while method4(v57, v59) do │
00:00:26 #2541 [Verbose] > │ let v61 : uint64 = v59.l0 │
00:00:26 #2542 [Verbose] > │ let struct (v62 : float, v63 : int64) = v31.[int v61] │
00:00:26 #2543 [Verbose] > │ v58.[int v61] <- v62 │
00:00:26 #2544 [Verbose] > │ let v64 : uint64 = v61 + 1UL │
00:00:26 #2545 [Verbose] > │ v59.l0 <- v64 │
00:00:26 #2546 [Verbose] > │ () │
00:00:26 #2547 [Verbose] > │ let v65 : uint64 = System.Convert.ToUInt64 v58.Length │
00:00:26 #2548 [Verbose] > │ let v66 : bool = v65 <= 1UL │
00:00:26 #2549 [Verbose] > │ if v66 then │
00:00:26 #2550 [Verbose] > │ () │
00:00:26 #2551 [Verbose] > │ else │
00:00:26 #2552 [Verbose] > │ let v67 : float = v58.[int 0UL] │
00:00:26 #2553 [Verbose] > │ let v68 : uint64 = 0UL │
00:00:26 #2554 [Verbose] > │ let v69 : bool = method9(v67, v58, v68) │
00:00:26 #2555 [Verbose] > │ if v69 then │
00:00:26 #2556 [Verbose] > │ () │
00:00:26 #2557 [Verbose] > │ else │
00:00:26 #2558 [Verbose] > │ let v70 : string = $"Challenge error: {v58}" │
00:00:26 #2559 [Verbose] > │ failwith<unit> v70 │
00:00:26 #2560 [Verbose] > │ let v71 : string = $"%A{v21}" │
00:00:26 #2561 [Verbose] > │ let v72 : (float []) = Array.zeroCreate<float> │
00:00:26 #2562 [Verbose] > │ (System.Convert.ToInt32(v57)) │
00:00:26 #2563 [Verbose] > │ let v73 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2564 [Verbose] > │ while method4(v57, v73) do │
00:00:26 #2565 [Verbose] > │ let v75 : uint64 = v73.l0 │
00:00:26 #2566 [Verbose] > │ let struct (v76 : float, v77 : int64) = v31.[int v75] │
00:00:26 #2567 [Verbose] > │ v72.[int v75] <- v76 │
00:00:26 #2568 [Verbose] > │ let v78 : uint64 = v75 + 1UL │
00:00:26 #2569 [Verbose] > │ v73.l0 <- v78 │
00:00:26 #2570 [Verbose] > │ () │
00:00:26 #2571 [Verbose] > │ let v79 : float = v72.[int 0UL] │
00:00:26 #2572 [Verbose] > │ let v80 : string = $"%A{v79}" │
00:00:26 #2573 [Verbose] > │ let v81 : (int64 []) = Array.zeroCreate<int64> │
00:00:26 #2574 [Verbose] > │ (System.Convert.ToInt32(v57)) │
00:00:26 #2575 [Verbose] > │ let v82 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2576 [Verbose] > │ while method4(v57, v82) do │
00:00:26 #2577 [Verbose] > │ let v84 : uint64 = v82.l0 │
00:00:26 #2578 [Verbose] > │ let struct (v85 : float, v86 : int64) = v31.[int v84] │
00:00:26 #2579 [Verbose] > │ v81.[int v84] <- v86 │
00:00:26 #2580 [Verbose] > │ let v87 : uint64 = v84 + 1UL │
00:00:26 #2581 [Verbose] > │ v82.l0 <- v87 │
00:00:26 #2582 [Verbose] > │ () │
00:00:26 #2583 [Verbose] > │ v16.[int v19] <- struct (v71, v22, v80, v81) │
00:00:26 #2584 [Verbose] > │ let v88 : uint64 = v19 + 1UL │
00:00:26 #2585 [Verbose] > │ v17.l0 <- v88 │
00:00:26 #2586 [Verbose] > │ () │
00:00:26 #2587 [Verbose] > │ let v89 : uint64 = System.Convert.ToUInt64 v16.Length │
00:00:26 #2588 [Verbose] > │ let v90 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:00:26 #2589 [Verbose] > │ (System.Convert.ToInt32(v89)) │
00:00:26 #2590 [Verbose] > │ let v91 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2591 [Verbose] > │ while method4(v89, v91) do │
00:00:26 #2592 [Verbose] > │ let v93 : uint64 = v91.l0 │
00:00:26 #2593 [Verbose] > │ let struct (v94 : string, v95 : string, v96 : string, v97 : (int64 [ │
00:00:26 #2594 [Verbose] > │ ])) = v16.[int v93] │
00:00:26 #2595 [Verbose] > │ let v98 : uint64 = System.Convert.ToUInt64 v97.Length │
00:00:26 #2596 [Verbose] > │ let v99 : UH3 = UH3_1 │
00:00:26 #2597 [Verbose] > │ let v100 : Mut2 = {l0 = 0UL; l1 = v99; l2 = 0L} : Mut2 │
00:00:26 #2598 [Verbose] > │ while method10(v98, v100) do │
00:00:26 #2599 [Verbose] > │ let v102 : uint64 = v100.l0 │
00:00:26 #2600 [Verbose] > │ let struct (v103 : UH3, v104 : int64) = v100.l1, v100.l2 │
00:00:26 #2601 [Verbose] > │ let v105 : int64 = v97.[int v102] │
00:00:26 #2602 [Verbose] > │ let v106 : int64 = v104 + 1L │
00:00:26 #2603 [Verbose] > │ let v107 : uint64 = v102 + 1UL │
00:00:26 #2604 [Verbose] > │ let v108 : UH3 = UH3_0(v104, v105, v103) │
00:00:26 #2605 [Verbose] > │ v100.l0 <- v107 │
00:00:26 #2606 [Verbose] > │ v100.l1 <- v108 │
00:00:26 #2607 [Verbose] > │ v100.l2 <- v106 │
00:00:26 #2608 [Verbose] > │ () │
00:00:26 #2609 [Verbose] > │ let struct (v109 : UH3, v110 : int64) = v100.l1, v100.l2 │
00:00:26 #2610 [Verbose] > │ let v111 : UH3 = UH3_1 │
00:00:26 #2611 [Verbose] > │ let v112 : UH3 = method11(v109, v111) │
00:00:26 #2612 [Verbose] > │ let v113 : (struct (int64 * int64) []) = method12(v112) │
00:00:26 #2613 [Verbose] > │ let v114 : int32 = v113.Length │
00:00:26 #2614 [Verbose] > │ let v115 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:00:26 #2615 [Verbose] > │ (int64 * int64)> (v114) │
00:00:26 #2616 [Verbose] > │ let v116 : Mut1 = {l0 = 0} : Mut1 │
00:00:26 #2617 [Verbose] > │ while method15(v114, v116) do │
00:00:26 #2618 [Verbose] > │ let v118 : int32 = v116.l0 │
00:00:26 #2619 [Verbose] > │ let struct (v119 : int64, v120 : int64) = v113.[int v118] │
00:00:26 #2620 [Verbose] > │ let v121 : int64 = v119 + 1L │
00:00:26 #2621 [Verbose] > │ v115.[int v118] <- struct (v121, v120) │
00:00:26 #2622 [Verbose] > │ let v122 : int32 = v118 + 1 │
00:00:26 #2623 [Verbose] > │ v116.l0 <- v122 │
00:00:26 #2624 [Verbose] > │ () │
00:00:26 #2625 [Verbose] > │ let v123 : (struct (int64 * int64) -> int64) = closure5() │
00:00:26 #2626 [Verbose] > │ let v124 : (struct (int64 * int64) []) = v115 |> Array.sortBy v123 │
00:00:26 #2627 [Verbose] > │ let struct (v125 : int64, v126 : int64) = v124.[int 0] │
00:00:26 #2628 [Verbose] > │ let v127 : string = $"%A{struct (v125, v126)}" │
00:00:26 #2629 [Verbose] > │ let v128 : bool = v94 = v96 │
00:00:26 #2630 [Verbose] > │ let v133 : US0 = │
00:00:26 #2631 [Verbose] > │ if v128 then │
00:00:26 #2632 [Verbose] > │ let v129 : System.ConsoleColor = │
00:00:26 #2633 [Verbose] > │ System.ConsoleColor.DarkGreen │
00:00:26 #2634 [Verbose] > │ US0_1(v129) │
00:00:26 #2635 [Verbose] > │ else │
00:00:26 #2636 [Verbose] > │ let v131 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:00:26 #2637 [Verbose] > │ US0_1(v131) │
00:00:26 #2638 [Verbose] > │ let v134 : UH2 = UH2_1 │
00:00:26 #2639 [Verbose] > │ let v135 : UH2 = UH2_0(v127, v134) │
00:00:26 #2640 [Verbose] > │ let v136 : UH2 = UH2_0(v96, v135) │
00:00:26 #2641 [Verbose] > │ let v137 : UH2 = UH2_0(v94, v136) │
00:00:26 #2642 [Verbose] > │ let v138 : UH2 = UH2_0(v95, v137) │
00:00:26 #2643 [Verbose] > │ v90.[int v93] <- struct (v138, v133) │
00:00:26 #2644 [Verbose] > │ let v139 : uint64 = v93 + 1UL │
00:00:26 #2645 [Verbose] > │ v91.l0 <- v139 │
00:00:26 #2646 [Verbose] > │ () │
00:00:26 #2647 [Verbose] > │ let v140 : string = "Input" │
00:00:26 #2648 [Verbose] > │ let v141 : string = "Expected" │
00:00:26 #2649 [Verbose] > │ let v142 : string = "Result" │
00:00:26 #2650 [Verbose] > │ let v143 : string = "Best" │
00:00:26 #2651 [Verbose] > │ let v144 : UH2 = UH2_1 │
00:00:26 #2652 [Verbose] > │ let v145 : UH2 = UH2_0(v143, v144) │
00:00:26 #2653 [Verbose] > │ let v146 : UH2 = UH2_0(v142, v145) │
00:00:26 #2654 [Verbose] > │ let v147 : UH2 = UH2_0(v141, v146) │
00:00:26 #2655 [Verbose] > │ let v148 : UH2 = UH2_0(v140, v147) │
00:00:26 #2656 [Verbose] > │ let v149 : US0 = US0_0 │
00:00:26 #2657 [Verbose] > │ let v150 : string = "---" │
00:00:26 #2658 [Verbose] > │ let v151 : UH2 = UH2_1 │
00:00:26 #2659 [Verbose] > │ let v152 : UH2 = UH2_0(v150, v151) │
00:00:26 #2660 [Verbose] > │ let v153 : UH2 = UH2_0(v150, v152) │
00:00:26 #2661 [Verbose] > │ let v154 : UH2 = UH2_0(v150, v153) │
00:00:26 #2662 [Verbose] > │ let v155 : UH2 = UH2_0(v150, v154) │
00:00:26 #2663 [Verbose] > │ let v156 : US0 = US0_0 │
00:00:26 #2664 [Verbose] > │ let v157 : UH4 = UH4_1 │
00:00:26 #2665 [Verbose] > │ let v158 : UH4 = UH4_0(v155, v156, v157) │
00:00:26 #2666 [Verbose] > │ let v159 : UH4 = UH4_0(v148, v149, v158) │
00:00:26 #2667 [Verbose] > │ let v160 : (struct (UH2 * US0) []) = method16(v159) │
00:00:26 #2668 [Verbose] > │ let v161 : uint64 = System.Convert.ToUInt64 v160.Length │
00:00:26 #2669 [Verbose] > │ let v162 : uint64 = System.Convert.ToUInt64 v90.Length │
00:00:26 #2670 [Verbose] > │ let v163 : uint64 = v161 + v162 │
00:00:26 #2671 [Verbose] > │ let v164 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:00:26 #2672 [Verbose] > │ US0)> (System.Convert.ToInt32(v163)) │
00:00:26 #2673 [Verbose] > │ let v165 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2674 [Verbose] > │ while method4(v163, v165) do │
00:00:26 #2675 [Verbose] > │ let v167 : uint64 = v165.l0 │
00:00:26 #2676 [Verbose] > │ let v168 : bool = v167 < v161 │
00:00:26 #2677 [Verbose] > │ let struct (v174 : UH2, v175 : US0) = │
00:00:26 #2678 [Verbose] > │ if v168 then │
00:00:26 #2679 [Verbose] > │ let struct (v169 : UH2, v170 : US0) = v160.[int v167] │
00:00:26 #2680 [Verbose] > │ struct (v169, v170) │
00:00:26 #2681 [Verbose] > │ else │
00:00:26 #2682 [Verbose] > │ let v171 : uint64 = v167 - v161 │
00:00:26 #2683 [Verbose] > │ let struct (v172 : UH2, v173 : US0) = v90.[int v171] │
00:00:26 #2684 [Verbose] > │ struct (v172, v173) │
00:00:26 #2685 [Verbose] > │ v164.[int v167] <- struct (v174, v175) │
00:00:26 #2686 [Verbose] > │ let v176 : uint64 = v167 + 1UL │
00:00:26 #2687 [Verbose] > │ v165.l0 <- v176 │
00:00:26 #2688 [Verbose] > │ () │
00:00:26 #2689 [Verbose] > │ let v177 : uint64 = System.Convert.ToUInt64 v164.Length │
00:00:26 #2690 [Verbose] > │ let v178 : ((string []) []) = Array.zeroCreate<(string [])> │
00:00:26 #2691 [Verbose] > │ (System.Convert.ToInt32(v177)) │
00:00:26 #2692 [Verbose] > │ let v179 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2693 [Verbose] > │ while method4(v177, v179) do │
00:00:26 #2694 [Verbose] > │ let v181 : uint64 = v179.l0 │
00:00:26 #2695 [Verbose] > │ let struct (v182 : UH2, v183 : US0) = v164.[int v181] │
00:00:26 #2696 [Verbose] > │ let v184 : (string []) = method19(v182) │
00:00:26 #2697 [Verbose] > │ v178.[int v181] <- v184 │
00:00:26 #2698 [Verbose] > │ let v185 : uint64 = v181 + 1UL │
00:00:26 #2699 [Verbose] > │ v179.l0 <- v185 │
00:00:26 #2700 [Verbose] > │ () │
00:00:26 #2701 [Verbose] > │ let v186 : ((string []) []) = v178 |> Array.transpose │
00:00:26 #2702 [Verbose] > │ let v187 : uint64 = System.Convert.ToUInt64 v186.Length │
00:00:26 #2703 [Verbose] > │ let v188 : (int64 []) = Array.zeroCreate<int64> │
00:00:26 #2704 [Verbose] > │ (System.Convert.ToInt32(v187)) │
00:00:26 #2705 [Verbose] > │ let v189 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2706 [Verbose] > │ while method4(v187, v189) do │
00:00:26 #2707 [Verbose] > │ let v191 : uint64 = v189.l0 │
00:00:26 #2708 [Verbose] > │ let v192 : (string []) = v186.[int v191] │
00:00:26 #2709 [Verbose] > │ let v193 : uint64 = System.Convert.ToUInt64 v192.Length │
00:00:26 #2710 [Verbose] > │ let v194 : (int64 []) = Array.zeroCreate<int64> │
00:00:26 #2711 [Verbose] > │ (System.Convert.ToInt32(v193)) │
00:00:26 #2712 [Verbose] > │ let v195 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2713 [Verbose] > │ while method4(v193, v195) do │
00:00:26 #2714 [Verbose] > │ let v197 : uint64 = v195.l0 │
00:00:26 #2715 [Verbose] > │ let v198 : string = v192.[int v197] │
00:00:26 #2716 [Verbose] > │ let v199 : int64 = System.Convert.ToInt64 v198.Length │
00:00:26 #2717 [Verbose] > │ v194.[int v197] <- v199 │
00:00:26 #2718 [Verbose] > │ let v200 : uint64 = v197 + 1UL │
00:00:26 #2719 [Verbose] > │ v195.l0 <- v200 │
00:00:26 #2720 [Verbose] > │ () │
00:00:26 #2721 [Verbose] > │ let v201 : (int64 []) = v194 |> Array.sortDescending │
00:00:26 #2722 [Verbose] > │ let v202 : int64 option = v201 |> Array.tryItem 0 │
00:00:26 #2723 [Verbose] > │ let v203 : (int64 -> US1) = closure6() │
00:00:26 #2724 [Verbose] > │ let v204 : US1 = US1_0 │
00:00:26 #2725 [Verbose] > │ let v205 : US1 = v202 |> Option.map v203 |> Option.defaultValue v204 │
00:00:26 #2726 [Verbose] > │ let v208 : int64 = │
00:00:26 #2727 [Verbose] > │ match v205 with │
00:00:26 #2728 [Verbose] > │ | US1_0 -> (* None *) │
00:00:26 #2729 [Verbose] > │ 0L │
00:00:26 #2730 [Verbose] > │ | US1_1(v206) -> (* Some *) │
00:00:26 #2731 [Verbose] > │ v206 │
00:00:26 #2732 [Verbose] > │ v188.[int v191] <- v208 │
00:00:26 #2733 [Verbose] > │ let v209 : uint64 = v191 + 1UL │
00:00:26 #2734 [Verbose] > │ v189.l0 <- v209 │
00:00:26 #2735 [Verbose] > │ () │
00:00:26 #2736 [Verbose] > │ let v210 : uint64 = System.Convert.ToUInt64 v188.Length │
00:00:26 #2737 [Verbose] > │ let v211 : UH5 = UH5_1 │
00:00:26 #2738 [Verbose] > │ let v212 : Mut3 = {l0 = 0UL; l1 = v211; l2 = 0} : Mut3 │
00:00:26 #2739 [Verbose] > │ while method22(v210, v212) do │
00:00:26 #2740 [Verbose] > │ let v214 : uint64 = v212.l0 │
00:00:26 #2741 [Verbose] > │ let struct (v215 : UH5, v216 : int32) = v212.l1, v212.l2 │
00:00:26 #2742 [Verbose] > │ let v217 : int64 = v188.[int v214] │
00:00:26 #2743 [Verbose] > │ let v218 : int32 = v216 + 1 │
00:00:26 #2744 [Verbose] > │ let v219 : uint64 = v214 + 1UL │
00:00:26 #2745 [Verbose] > │ let v220 : UH5 = UH5_0(v216, v217, v215) │
00:00:26 #2746 [Verbose] > │ v212.l0 <- v219 │
00:00:26 #2747 [Verbose] > │ v212.l1 <- v220 │
00:00:26 #2748 [Verbose] > │ v212.l2 <- v218 │
00:00:26 #2749 [Verbose] > │ () │
00:00:26 #2750 [Verbose] > │ let struct (v221 : UH5, v222 : int32) = v212.l1, v212.l2 │
00:00:26 #2751 [Verbose] > │ let v223 : UH5 = UH5_1 │
00:00:26 #2752 [Verbose] > │ let v224 : UH5 = method23(v221, v223) │
00:00:26 #2753 [Verbose] > │ let v225 : (struct (int32 * int64) []) = method24(v224) │
00:00:26 #2754 [Verbose] > │ let v226 : Map<int32, int64> = v225 |> Array.map (fun (struct (a, b)) -> │
00:00:26 #2755 [Verbose] > │ a, b) |> Map.ofArray │
00:00:26 #2756 [Verbose] > │ let v227 : (struct ((string []) * US0) []) = Array.zeroCreate<struct │
00:00:26 #2757 [Verbose] > │ ((string []) * US0)> (System.Convert.ToInt32(v177)) │
00:00:26 #2758 [Verbose] > │ let v228 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2759 [Verbose] > │ while method4(v177, v228) do │
00:00:26 #2760 [Verbose] > │ let v230 : uint64 = v228.l0 │
00:00:26 #2761 [Verbose] > │ let struct (v231 : UH2, v232 : US0) = v164.[int v230] │
00:00:26 #2762 [Verbose] > │ let v233 : UH6 = UH6_1 │
00:00:26 #2763 [Verbose] > │ let v234 : int32 = 0 │
00:00:26 #2764 [Verbose] > │ let struct (v235 : UH6, v236 : int32) = method27(v231, v233, v234) │
00:00:26 #2765 [Verbose] > │ let v237 : UH6 = UH6_1 │
00:00:26 #2766 [Verbose] > │ let v238 : UH6 = method28(v235, v237) │
00:00:26 #2767 [Verbose] > │ let v239 : UH2 = UH2_1 │
00:00:26 #2768 [Verbose] > │ let v240 : UH2 = method29(v226, v238, v239) │
00:00:26 #2769 [Verbose] > │ let v241 : (string []) = method30(v240) │
00:00:26 #2770 [Verbose] > │ v227.[int v230] <- struct (v241, v232) │
00:00:26 #2771 [Verbose] > │ let v242 : uint64 = v230 + 1UL │
00:00:26 #2772 [Verbose] > │ v228.l0 <- v242 │
00:00:26 #2773 [Verbose] > │ () │
00:00:26 #2774 [Verbose] > │ System.Console.WriteLine v2 │
00:00:26 #2775 [Verbose] > │ let v243 : uint64 = System.Convert.ToUInt64 v227.Length │
00:00:26 #2776 [Verbose] > │ let v244 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2777 [Verbose] > │ while method4(v243, v244) do │
00:00:26 #2778 [Verbose] > │ let v246 : uint64 = v244.l0 │
00:00:26 #2779 [Verbose] > │ let struct (v247 : (string []), v248 : US0) = v227.[int v246] │
00:00:26 #2780 [Verbose] > │ match v248 with │
00:00:26 #2781 [Verbose] > │ | US0_0 -> (* None *) │
00:00:26 #2782 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:26 #2783 [Verbose] > │ let v252 : (unit -> unit) = closure7() │
00:00:26 #2784 [Verbose] > │ v252 () │
00:00:26 #2785 [Verbose] > │ #else │
00:00:26 #2786 [Verbose] > │ let v253 : (unit -> unit) = closure8() │
00:00:26 #2787 [Verbose] > │ v253 () │
00:00:26 #2788 [Verbose] > │ #endif │
00:00:26 #2789 [Verbose] > │ () │
00:00:26 #2790 [Verbose] > │ | US0_1(v249) -> (* Some *) │
00:00:26 #2791 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:26 #2792 [Verbose] > │ let v250 : (unit -> unit) = closure9() │
00:00:26 #2793 [Verbose] > │ v250 () │
00:00:26 #2794 [Verbose] > │ #else │
00:00:26 #2795 [Verbose] > │ let v251 : (unit -> unit) = closure10(v249) │
00:00:26 #2796 [Verbose] > │ v251 () │
00:00:26 #2797 [Verbose] > │ #endif │
00:00:26 #2798 [Verbose] > │ () │
00:00:26 #2799 [Verbose] > │ let v254 : string = "\t| " │
00:00:26 #2800 [Verbose] > │ let v255 : string = System.String.Join (v254, v247) │
00:00:26 #2801 [Verbose] > │ System.Console.WriteLine v255 │
00:00:26 #2802 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:26 #2803 [Verbose] > │ let v256 : (unit -> unit) = closure7() │
00:00:26 #2804 [Verbose] > │ v256 () │
00:00:26 #2805 [Verbose] > │ #else │
00:00:26 #2806 [Verbose] > │ let v257 : (unit -> unit) = closure8() │
00:00:26 #2807 [Verbose] > │ v257 () │
00:00:26 #2808 [Verbose] > │ #endif │
00:00:26 #2809 [Verbose] > │ let v258 : uint64 = v246 + 1UL │
00:00:26 #2810 [Verbose] > │ v244.l0 <- v258 │
00:00:26 #2811 [Verbose] > │ () │
00:00:26 #2812 [Verbose] > │ let v259 : ((float []) []) = Array.zeroCreate<(float [])> │
00:00:26 #2813 [Verbose] > │ (System.Convert.ToInt32(v89)) │
00:00:26 #2814 [Verbose] > │ let v260 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:26 #2815 [Verbose] > │ while method4(v89, v260) do │
00:00:26 #2816 [Verbose] > │ let v262 : uint64 = v260.l0 │
00:00:26 #2817 [Verbose] > │ let struct (v263 : string, v264 : string, v265 : string, v266 : │
00:00:27 #2818 [Verbose] > │ (int64 [])) = v16.[int v262] │
00:00:27 #2819 [Verbose] > │ let v267 : (int64 -> float) = float │
00:00:27 #2820 [Verbose] > │ let v268 : uint64 = System.Convert.ToUInt64 v266.Length │
00:00:27 #2821 [Verbose] > │ let v269 : (float []) = Array.zeroCreate<float> │
00:00:27 #2822 [Verbose] > │ (System.Convert.ToInt32(v268)) │
00:00:27 #2823 [Verbose] > │ let v270 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:27 #2824 [Verbose] > │ while method4(v268, v270) do │
00:00:27 #2825 [Verbose] > │ let v272 : uint64 = v270.l0 │
00:00:27 #2826 [Verbose] > │ let v273 : int64 = v266.[int v272] │
00:00:27 #2827 [Verbose] > │ let v274 : float = v267 v273 │
00:00:27 #2828 [Verbose] > │ v269.[int v272] <- v274 │
00:00:27 #2829 [Verbose] > │ let v275 : uint64 = v272 + 1UL │
00:00:27 #2830 [Verbose] > │ v270.l0 <- v275 │
00:00:27 #2831 [Verbose] > │ () │
00:00:27 #2832 [Verbose] > │ v259.[int v262] <- v269 │
00:00:27 #2833 [Verbose] > │ let v276 : uint64 = v262 + 1UL │
00:00:27 #2834 [Verbose] > │ v260.l0 <- v276 │
00:00:27 #2835 [Verbose] > │ () │
00:00:27 #2836 [Verbose] > │ let v277 : ((float []) []) = v259 |> Array.transpose │
00:00:27 #2837 [Verbose] > │ let v278 : uint64 = System.Convert.ToUInt64 v277.Length │
00:00:27 #2838 [Verbose] > │ let v279 : (float []) = Array.zeroCreate<float> │
00:00:27 #2839 [Verbose] > │ (System.Convert.ToInt32(v278)) │
00:00:27 #2840 [Verbose] > │ let v280 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:27 #2841 [Verbose] > │ while method4(v278, v280) do │
00:00:27 #2842 [Verbose] > │ let v282 : uint64 = v280.l0 │
00:00:27 #2843 [Verbose] > │ let v283 : (float []) = v277.[int v282] │
00:00:27 #2844 [Verbose] > │ let v284 : float = v283 |> Array.average │
00:00:27 #2845 [Verbose] > │ v279.[int v282] <- v284 │
00:00:27 #2846 [Verbose] > │ let v285 : uint64 = v282 + 1UL │
00:00:27 #2847 [Verbose] > │ v280.l0 <- v285 │
00:00:27 #2848 [Verbose] > │ () │
00:00:27 #2849 [Verbose] > │ let v286 : (float -> int64) = int64 │
00:00:27 #2850 [Verbose] > │ let v287 : uint64 = System.Convert.ToUInt64 v279.Length │
00:00:27 #2851 [Verbose] > │ let v288 : (int64 []) = Array.zeroCreate<int64> │
00:00:27 #2852 [Verbose] > │ (System.Convert.ToInt32(v287)) │
00:00:27 #2853 [Verbose] > │ let v289 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:27 #2854 [Verbose] > │ while method4(v287, v289) do │
00:00:27 #2855 [Verbose] > │ let v291 : uint64 = v289.l0 │
00:00:27 #2856 [Verbose] > │ let v292 : float = v279.[int v291] │
00:00:27 #2857 [Verbose] > │ let v293 : int64 = v286 v292 │
00:00:27 #2858 [Verbose] > │ v288.[int v291] <- v293 │
00:00:27 #2859 [Verbose] > │ let v294 : uint64 = v291 + 1UL │
00:00:27 #2860 [Verbose] > │ v289.l0 <- v294 │
00:00:27 #2861 [Verbose] > │ () │
00:00:27 #2862 [Verbose] > │ let v295 : uint64 = System.Convert.ToUInt64 v288.Length │
00:00:27 #2863 [Verbose] > │ let v296 : UH5 = UH5_1 │
00:00:27 #2864 [Verbose] > │ let v297 : Mut3 = {l0 = 0UL; l1 = v296; l2 = 0} : Mut3 │
00:00:27 #2865 [Verbose] > │ while method22(v295, v297) do │
00:00:27 #2866 [Verbose] > │ let v299 : uint64 = v297.l0 │
00:00:27 #2867 [Verbose] > │ let struct (v300 : UH5, v301 : int32) = v297.l1, v297.l2 │
00:00:27 #2868 [Verbose] > │ let v302 : int64 = v288.[int v299] │
00:00:27 #2869 [Verbose] > │ let v303 : int32 = v301 + 1 │
00:00:27 #2870 [Verbose] > │ let v304 : uint64 = v299 + 1UL │
00:00:27 #2871 [Verbose] > │ let v305 : UH5 = UH5_0(v301, v302, v300) │
00:00:27 #2872 [Verbose] > │ v297.l0 <- v304 │
00:00:27 #2873 [Verbose] > │ v297.l1 <- v305 │
00:00:27 #2874 [Verbose] > │ v297.l2 <- v303 │
00:00:27 #2875 [Verbose] > │ () │
00:00:27 #2876 [Verbose] > │ let struct (v306 : UH5, v307 : int32) = v297.l1, v297.l2 │
00:00:27 #2877 [Verbose] > │ let v308 : UH5 = UH5_1 │
00:00:27 #2878 [Verbose] > │ let v309 : UH5 = method23(v306, v308) │
00:00:27 #2879 [Verbose] > │ let v310 : (struct (int32 * int64) []) = method33(v309) │
00:00:27 #2880 [Verbose] > │ System.Console.WriteLine v2 │
00:00:27 #2881 [Verbose] > │ let v311 : string = "Average Ranking " │
00:00:27 #2882 [Verbose] > │ System.Console.WriteLine v311 │
00:00:27 #2883 [Verbose] > │ let v312 : (struct (int32 * int64) -> int64) = closure11() │
00:00:27 #2884 [Verbose] > │ let v313 : (struct (int32 * int64) []) = v310 |> Array.sortBy v312 │
00:00:27 #2885 [Verbose] > │ let v314 : uint64 = System.Convert.ToUInt64 v313.Length │
00:00:27 #2886 [Verbose] > │ let v315 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:27 #2887 [Verbose] > │ while method4(v314, v315) do │
00:00:27 #2888 [Verbose] > │ let v317 : uint64 = v315.l0 │
00:00:27 #2889 [Verbose] > │ let struct (v318 : int32, v319 : int64) = v313.[int v317] │
00:00:27 #2890 [Verbose] > │ let v320 : string = $"Test case %d{v318 + 1}. Average Time: %A{v319} │
00:00:27 #2891 [Verbose] > │ " │
00:00:27 #2892 [Verbose] > │ System.Console.WriteLine v320 │
00:00:27 #2893 [Verbose] > │ let v321 : uint64 = v317 + 1UL │
00:00:27 #2894 [Verbose] > │ v315.l0 <- v321 │
00:00:27 #2895 [Verbose] > │ () │
00:00:27 #2896 [Verbose] > │ () │
00:00:27 #2897 [Verbose] > │ method0() │
00:00:27 #2898 [Verbose] > │ │
00:00:27 #2899 [Verbose] > │ │
00:00:27 #2900 [Verbose] > │ │
00:00:27 #2901 [Verbose] > │ Test: v0 │
00:00:27 #2902 [Verbose] > │ │
00:00:27 #2903 [Verbose] > │ Solution: 0.0 │
00:00:27 #2904 [Verbose] > │ Test case 1. A. Time: 23 │
00:00:27 #2905 [Verbose] > │ │
00:00:27 #2906 [Verbose] > │ Solution: 2.0 │
00:00:27 #2907 [Verbose] > │ Test case 1. A. Time: 10 │
00:00:27 #2908 [Verbose] > │ │
00:00:27 #2909 [Verbose] > │ Solution: 5.0 │
00:00:27 #2910 [Verbose] > │ Test case 1. A. Time: 11 │
00:00:27 #2911 [Verbose] > │ │
00:00:27 #2912 [Verbose] > │ Input | Expected | Result | Best │
00:00:27 #2913 [Verbose] > │ --- | --- | --- | --- │
00:00:27 #2914 [Verbose] > │ 0.0 | 1.0 | 1.0 | struct (1L, 23L) │
00:00:27 #2915 [Verbose] > │ 2.0 | 3.0 | 3.0 | struct (1L, 10L) │
00:00:27 #2916 [Verbose] > │ 5.0 | 6.0 | 6.0 | struct (1L, 11L) │
00:00:27 #2917 [Verbose] > │ │
00:00:27 #2918 [Verbose] > │ Average Ranking │
00:00:27 #2919 [Verbose] > │ Test case 1. Average Time: 14L │
00:00:27 #2920 [Verbose] > │ │
00:00:27 #2921 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2922 [Verbose] > [NbConvertApp] Converting notebook benchmark.dib.ipynb to html
00:00:28 #2923 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:28 #2924 [Verbose] > validate(nb)
00:00:29 #2925 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:00:29 #2926 [Verbose] > return _pygments_highlight(
00:00:29 #2927 [Verbose] > [NbConvertApp] Writing 410211 bytes to benchmark.dib.html
00:00:30 #2928 [Debug] executeAsync / exitCode: 0 / output.Length: 217442
00:00:30 #2929 [Debug] main / executeCommand / exitCode: 0
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 stream.dib""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ # stream │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > // // test
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > open testing
00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-3818-1820-159078800bfc\main.spi
00:00:08 #22 [Verbose] >
00:00:08 #23 [Verbose] > ╭─[ 5.13s - stdout ]───────────────────────────────────────────────────────────╮
00:00:08 #24 [Verbose] > │ () │
00:00:08 #25 [Verbose] > │ │
00:00:08 #26 [Verbose] > │ │
00:00:08 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #28 [Verbose] >
00:00:08 #29 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:08 #30 [Verbose] > union rec stream t =
00:00:08 #31 [Verbose] > | StreamCons : t * (() -> stream t)
00:00:08 #32 [Verbose] > | StreamNil
00:00:08 #33 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4103-0393-0fd1fefff49b\main.spi
00:00:08 #34 [Verbose] >
00:00:08 #35 [Verbose] > ╭─[ 174.65ms - stdout ]────────────────────────────────────────────────────────╮
00:00:08 #36 [Verbose] > │ () │
00:00:08 #37 [Verbose] > │ │
00:00:08 #38 [Verbose] > │ │
00:00:08 #39 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:08 #40 [Verbose] >
00:00:08 #41 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #42 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #43 [Verbose] > │ ## fold │
00:00:09 #44 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #45 [Verbose] >
00:00:09 #46 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #47 [Verbose] > inl fold fn init s =
00:00:09 #48 [Verbose] > inl rec body acc = function
00:00:09 #49 [Verbose] > | StreamCons (st, fn') => loop (fn acc st) (fn' ())
00:00:09 #50 [Verbose] > | StreamNil => acc
00:00:09 #51 [Verbose] > and inl loop acc = join_body body acc
00:00:09 #52 [Verbose] > loop init s
00:00:09 #53 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4121-2180-21c92e9a17dd\main.spi
00:00:09 #54 [Verbose] >
00:00:09 #55 [Verbose] > ╭─[ 209.26ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #56 [Verbose] > │ () │
00:00:09 #57 [Verbose] > │ │
00:00:09 #58 [Verbose] > │ │
00:00:09 #59 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #60 [Verbose] >
00:00:09 #61 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #62 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #63 [Verbose] > │ ## fold_back │
00:00:09 #64 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #65 [Verbose] >
00:00:09 #66 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #67 [Verbose] > inl fold_back fn s init =
00:00:09 #68 [Verbose] > inl rec body acc = function
00:00:09 #69 [Verbose] > | StreamCons (st, fn') => fn st (loop acc (fn' ()))
00:00:09 #70 [Verbose] > | StreamNil => acc
00:00:09 #71 [Verbose] > and inl loop acc = join_body body acc
00:00:09 #72 [Verbose] > loop init s
00:00:09 #73 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4143-4316-4918b12d55f5\main.spi
00:00:09 #74 [Verbose] >
00:00:09 #75 [Verbose] > ╭─[ 136.32ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #76 [Verbose] > │ () │
00:00:09 #77 [Verbose] > │ │
00:00:09 #78 [Verbose] > │ │
00:00:09 #79 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #80 [Verbose] >
00:00:09 #81 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #82 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #83 [Verbose] > │ ## to_list │
00:00:09 #84 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #85 [Verbose] >
00:00:09 #86 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #87 [Verbose] > inl to_list s =
00:00:09 #88 [Verbose] > (s, [[]])
00:00:09 #89 [Verbose] > ||> fold_back fun x acc =>
00:00:09 #90 [Verbose] > x :: acc
00:00:09 #91 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4157-5717-517849477544\main.spi
00:00:09 #92 [Verbose] >
00:00:09 #93 [Verbose] > ╭─[ 179.49ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #94 [Verbose] > │ () │
00:00:09 #95 [Verbose] > │ │
00:00:09 #96 [Verbose] > │ │
00:00:09 #97 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #98 [Verbose] >
00:00:09 #99 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #100 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #101 [Verbose] > │ ## rev │
00:00:09 #102 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #103 [Verbose] >
00:00:09 #104 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #105 [Verbose] > inl rev s =
00:00:09 #106 [Verbose] > (StreamNil, s)
00:00:09 #107 [Verbose] > ||> fold fun s x =>
00:00:09 #108 [Verbose] > StreamCons (x, fun () => s)
00:00:09 #109 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4175-7588-76281f4bcc10\main.spi
00:00:09 #110 [Verbose] >
00:00:09 #111 [Verbose] > ╭─[ 153.43ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #112 [Verbose] > │ () │
00:00:09 #113 [Verbose] > │ │
00:00:09 #114 [Verbose] > │ │
00:00:09 #115 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #116 [Verbose] >
00:00:09 #117 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #118 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #119 [Verbose] > │ ## from_list │
00:00:09 #120 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #121 [Verbose] >
00:00:09 #122 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #123 [Verbose] > inl from_list list =
00:00:09 #124 [Verbose] > (list, StreamNil)
00:00:09 #125 [Verbose] > ||> listm.foldBack fun x acc =>
00:00:09 #126 [Verbose] > StreamCons (x, fun () => acc)
00:00:09 #127 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4191-9147-939cc74a7da5\main.spi
00:00:09 #128 [Verbose] >
00:00:09 #129 [Verbose] > ╭─[ 168.87ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #130 [Verbose] > │ () │
00:00:09 #131 [Verbose] > │ │
00:00:09 #132 [Verbose] > │ │
00:00:09 #133 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #134 [Verbose] >
00:00:09 #135 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #136 [Verbose] > // // test
00:00:09 #137 [Verbose] >
00:00:09 #138 [Verbose] > listm.init 3i32 id
00:00:09 #139 [Verbose] > |> from_list
00:00:09 #140 [Verbose] > |> rev
00:00:09 #141 [Verbose] > |> to_list
00:00:09 #142 [Verbose] > |> _equal [[ 2; 1; 0 ]]
00:00:09 #143 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4208-0870-0ddac958c1c2\main.spi
00:00:11 #144 [Verbose] >
00:00:11 #145 [Verbose] > ╭─[ 1.23s - stdout ]───────────────────────────────────────────────────────────╮
00:00:11 #146 [Verbose] > │ type UH0 = │
00:00:11 #147 [Verbose] > │ | UH0_0 of int32 * UH0 │
00:00:11 #148 [Verbose] > │ | UH0_1 │
00:00:11 #149 [Verbose] > │ let rec method0 () : unit = │
00:00:11 #150 [Verbose] > │ let v18 : UH0 = UH0_1 │
00:00:11 #151 [Verbose] > │ let v19 : UH0 = UH0_0(0, v18) │
00:00:11 #152 [Verbose] > │ let v20 : UH0 = UH0_0(1, v19) │
00:00:11 #153 [Verbose] > │ let v21 : UH0 = UH0_0(2, v20) │
00:00:11 #154 [Verbose] > │ let v22 : UH0 = UH0_1 │
00:00:11 #155 [Verbose] > │ let v23 : UH0 = UH0_0(0, v22) │
00:00:11 #156 [Verbose] > │ let v24 : UH0 = UH0_0(1, v23) │
00:00:11 #157 [Verbose] > │ let v25 : UH0 = UH0_0(2, v24) │
00:00:11 #158 [Verbose] > │ let v26 : string = $"_equal / actual: %A{v21} / expected: %A{v25}" │
00:00:11 #159 [Verbose] > │ () │
00:00:11 #160 [Verbose] > │ method0() │
00:00:11 #161 [Verbose] > │ │
00:00:11 #162 [Verbose] > │ │
00:00:11 #163 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #164 [Verbose] >
00:00:11 #165 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #166 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #167 [Verbose] > │ ## try_item │
00:00:11 #168 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #169 [Verbose] >
00:00:11 #170 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #171 [Verbose] > inl try_item i s =
00:00:11 #172 [Verbose] > inl rec body i = function
00:00:11 #173 [Verbose] > | StreamCons (x, _) when i <= 0 => Some x
00:00:11 #174 [Verbose] > | StreamCons (_, fn) => loop (i - 1) (fn ())
00:00:11 #175 [Verbose] > | StreamNil => None
00:00:11 #176 [Verbose] > and inl loop acc s' =
00:00:11 #177 [Verbose] > match var_is acc, var_is s' with
00:00:11 #178 [Verbose] > | false, false => body acc s'
00:00:11 #179 [Verbose] > | _ =>
00:00:11 #180 [Verbose] > inl acc = dyn acc
00:00:11 #181 [Verbose] > inl s' = dyn s'
00:00:11 #182 [Verbose] > join body acc s'
00:00:11 #183 [Verbose] > loop i s
00:00:11 #184 [Verbose] >
00:00:11 #185 [Verbose] > inl item i =
00:00:11 #186 [Verbose] > try_item i >> optionm.value
00:00:11 #187 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4332-3291-313681f87566\main.spi
00:00:11 #188 [Verbose] >
00:00:11 #189 [Verbose] > ╭─[ 183.10ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #190 [Verbose] > │ () │
00:00:11 #191 [Verbose] > │ │
00:00:11 #192 [Verbose] > │ │
00:00:11 #193 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #194 [Verbose] >
00:00:11 #195 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #196 [Verbose] > // // test
00:00:11 #197 [Verbose] >
00:00:11 #198 [Verbose] > listm.init 10i32 id
00:00:11 #199 [Verbose] > |> from_list
00:00:11 #200 [Verbose] > |> item 9i32
00:00:11 #201 [Verbose] > |> _equal 9
00:00:11 #202 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4351-5122-5646965bd87a\main.spi
00:00:11 #203 [Verbose] >
00:00:11 #204 [Verbose] > ╭─[ 159.40ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #205 [Verbose] > │ let rec method0 () : unit = │
00:00:11 #206 [Verbose] > │ let v0 : string = $"_equal / actual: %A{9} / expected: %A{9}" │
00:00:11 #207 [Verbose] > │ () │
00:00:11 #208 [Verbose] > │ method0() │
00:00:11 #209 [Verbose] > │ │
00:00:11 #210 [Verbose] > │ │
00:00:11 #211 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #212 [Verbose] >
00:00:11 #213 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #214 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #215 [Verbose] > │ ## new_infinite_stream │
00:00:11 #216 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #217 [Verbose] >
00:00:11 #218 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #219 [Verbose] > inl new_infinite_stream fn =
00:00:11 #220 [Verbose] > inl rec loop n =
00:00:11 #221 [Verbose] > StreamCons (fn n, fun () => loop (n + 1))
00:00:11 #222 [Verbose] > loop 0
00:00:11 #223 [Verbose] >
00:00:11 #224 [Verbose] > inl new_infinite_stream_ fn =
00:00:11 #225 [Verbose] > let rec loop n =
00:00:11 #226 [Verbose] > StreamCons (fn n, fun () => loop (n + 1))
00:00:11 #227 [Verbose] > loop 0
00:00:11 #228 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4367-6777-61a378d08a12\main.spi
00:00:11 #229 [Verbose] >
00:00:11 #230 [Verbose] > ╭─[ 195.17ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #231 [Verbose] > │ () │
00:00:11 #232 [Verbose] > │ │
00:00:11 #233 [Verbose] > │ │
00:00:11 #234 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #235 [Verbose] >
00:00:11 #236 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #237 [Verbose] > // // test
00:00:11 #238 [Verbose] >
00:00:11 #239 [Verbose] > new_infinite_stream print_and_return
00:00:11 #240 [Verbose] > |> item 4i32
00:00:11 #241 [Verbose] > |> _equal 4i32
00:00:11 #242 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4388-8824-8b9ad623d394\main.spi
00:00:11 #243 [Verbose] >
00:00:11 #244 [Verbose] > ╭─[ 217.74ms - stdout ]────────────────────────────────────────────────────────╮
00:00:11 #245 [Verbose] > │ let rec method0 () : unit = │
00:00:11 #246 [Verbose] > │ printfn $"print_and_return / x: {0}" │
00:00:11 #247 [Verbose] > │ printfn $"print_and_return / x: {1}" │
00:00:11 #248 [Verbose] > │ printfn $"print_and_return / x: {2}" │
00:00:11 #249 [Verbose] > │ printfn $"print_and_return / x: {3}" │
00:00:11 #250 [Verbose] > │ printfn $"print_and_return / x: {4}" │
00:00:11 #251 [Verbose] > │ let v0 : string = $"_equal / actual: %A{4} / expected: %A{4}" │
00:00:11 #252 [Verbose] > │ () │
00:00:11 #253 [Verbose] > │ method0() │
00:00:11 #254 [Verbose] > │ │
00:00:11 #255 [Verbose] > │ print_and_return / x: 0 │
00:00:11 #256 [Verbose] > │ print_and_return / x: 1 │
00:00:11 #257 [Verbose] > │ print_and_return / x: 2 │
00:00:11 #258 [Verbose] > │ print_and_return / x: 3 │
00:00:11 #259 [Verbose] > │ print_and_return / x: 4 │
00:00:11 #260 [Verbose] > │ │
00:00:11 #261 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #262 [Verbose] >
00:00:11 #263 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #264 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #265 [Verbose] > │ ## new_finite_stream │
00:00:11 #266 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #267 [Verbose] >
00:00:11 #268 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #269 [Verbose] > inl new_finite_stream fn max =
00:00:11 #270 [Verbose] > inl rec loop n =
00:00:11 #271 [Verbose] > if n >= max
00:00:11 #272 [Verbose] > then StreamNil
00:00:11 #273 [Verbose] > else StreamCons (fn n, fun () => loop (n + 1))
00:00:11 #274 [Verbose] > loop 0
00:00:11 #275 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4410-1049-147b8962f970\main.spi
00:00:12 #276 [Verbose] >
00:00:12 #277 [Verbose] > ╭─[ 143.06ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #278 [Verbose] > │ () │
00:00:12 #279 [Verbose] > │ │
00:00:12 #280 [Verbose] > │ │
00:00:12 #281 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #282 [Verbose] >
00:00:12 #283 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #284 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #285 [Verbose] > │ ## memoize │
00:00:12 #286 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #287 [Verbose] >
00:00:12 #288 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #289 [Verbose] > union memoized_stream t =
00:00:12 #290 [Verbose] > | NotComputed : () -> stream t
00:00:12 #291 [Verbose] > | Computed : stream t
00:00:12 #292 [Verbose] >
00:00:12 #293 [Verbose] > inl memoize s =
00:00:12 #294 [Verbose] > inl rec body s =
00:00:12 #295 [Verbose] > inl state = mut (NotComputed s)
00:00:12 #296 [Verbose] > fun () =>
00:00:12 #297 [Verbose] > match *state with
00:00:12 #298 [Verbose] > | Computed x => x
00:00:12 #299 [Verbose] > | NotComputed fn =>
00:00:12 #300 [Verbose] > inl new_state =
00:00:12 #301 [Verbose] > match fn () with
00:00:12 #302 [Verbose] > | StreamNil => StreamNil
00:00:12 #303 [Verbose] > | StreamCons (x, fn) => StreamCons (x, loop fn)
00:00:12 #304 [Verbose] > state <- Computed new_state
00:00:12 #305 [Verbose] > new_state
00:00:12 #306 [Verbose] > and inl loop s' = join_body_unit body s s'
00:00:12 #307 [Verbose] > loop (fun () => s)
00:00:12 #308 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4425-2528-2e4006ecdc87\main.spi
00:00:12 #309 [Verbose] >
00:00:12 #310 [Verbose] > ╭─[ 151.38ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #311 [Verbose] > │ () │
00:00:12 #312 [Verbose] > │ │
00:00:12 #313 [Verbose] > │ │
00:00:12 #314 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #315 [Verbose] >
00:00:12 #316 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #317 [Verbose] > // // test
00:00:12 #318 [Verbose] >
00:00:12 #319 [Verbose] > inl memo_stream = new_finite_stream print_and_return 10 |> memoize
00:00:12 #320 [Verbose] >
00:00:12 #321 [Verbose] > memo_stream ()
00:00:12 #322 [Verbose] > |> item 3i32
00:00:12 #323 [Verbose] > |> _equal 3i32
00:00:12 #324 [Verbose] >
00:00:12 #325 [Verbose] > memo_stream ()
00:00:12 #326 [Verbose] > |> item 5i32
00:00:12 #327 [Verbose] > |> _equal 5i32
00:00:12 #328 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4440-4069-43d5c6db3299\main.spi
00:00:12 #329 [Verbose] >
00:00:12 #330 [Verbose] > ╭─[ 726.42ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #331 [Verbose] > │ type UH0 = │
00:00:12 #332 [Verbose] > │ | UH0_0 of int32 * (unit -> UH0) │
00:00:12 #333 [Verbose] > │ | UH0_1 │
00:00:12 #334 [Verbose] > │ and [<Struct>] US0 = │
00:00:12 #335 [Verbose] > │ | US0_0 of f0_0 : UH0 │
00:00:12 #336 [Verbose] > │ | US0_1 of f1_0 : (unit -> UH0) │
00:00:12 #337 [Verbose] > │ and Mut0 = {mutable l0 : US0} │
00:00:12 #338 [Verbose] > │ and [<Struct>] US1 = │
00:00:12 #339 [Verbose] > │ | US1_0 │
00:00:12 #340 [Verbose] > │ | US1_1 of f1_0 : int32 │
00:00:12 #341 [Verbose] > │ let rec closure10 () () : UH0 = │
00:00:12 #342 [Verbose] > │ UH0_1 │
00:00:12 #343 [Verbose] > │ and closure9 () () : UH0 = │
00:00:12 #344 [Verbose] > │ printfn $"print_and_return / x: {9}" │
00:00:12 #345 [Verbose] > │ let v0 : (unit -> UH0) = closure10() │
00:00:12 #346 [Verbose] > │ UH0_0(9, v0) │
00:00:12 #347 [Verbose] > │ and closure8 () () : UH0 = │
00:00:12 #348 [Verbose] > │ printfn $"print_and_return / x: {8}" │
00:00:12 #349 [Verbose] > │ let v0 : (unit -> UH0) = closure9() │
00:00:12 #350 [Verbose] > │ UH0_0(8, v0) │
00:00:12 #351 [Verbose] > │ and closure7 () () : UH0 = │
00:00:12 #352 [Verbose] > │ printfn $"print_and_return / x: {7}" │
00:00:12 #353 [Verbose] > │ let v0 : (unit -> UH0) = closure8() │
00:00:12 #354 [Verbose] > │ UH0_0(7, v0) │
00:00:12 #355 [Verbose] > │ and closure6 () () : UH0 = │
00:00:12 #356 [Verbose] > │ printfn $"print_and_return / x: {6}" │
00:00:12 #357 [Verbose] > │ let v0 : (unit -> UH0) = closure7() │
00:00:12 #358 [Verbose] > │ UH0_0(6, v0) │
00:00:12 #359 [Verbose] > │ and closure5 () () : UH0 = │
00:00:12 #360 [Verbose] > │ printfn $"print_and_return / x: {5}" │
00:00:12 #361 [Verbose] > │ let v0 : (unit -> UH0) = closure6() │
00:00:12 #362 [Verbose] > │ UH0_0(5, v0) │
00:00:12 #363 [Verbose] > │ and closure4 () () : UH0 = │
00:00:12 #364 [Verbose] > │ printfn $"print_and_return / x: {4}" │
00:00:12 #365 [Verbose] > │ let v0 : (unit -> UH0) = closure5() │
00:00:12 #366 [Verbose] > │ UH0_0(4, v0) │
00:00:12 #367 [Verbose] > │ and closure3 () () : UH0 = │
00:00:12 #368 [Verbose] > │ printfn $"print_and_return / x: {3}" │
00:00:12 #369 [Verbose] > │ let v0 : (unit -> UH0) = closure4() │
00:00:12 #370 [Verbose] > │ UH0_0(3, v0) │
00:00:12 #371 [Verbose] > │ and closure2 () () : UH0 = │
00:00:12 #372 [Verbose] > │ printfn $"print_and_return / x: {2}" │
00:00:12 #373 [Verbose] > │ let v0 : (unit -> UH0) = closure3() │
00:00:12 #374 [Verbose] > │ UH0_0(2, v0) │
00:00:12 #375 [Verbose] > │ and closure1 () () : UH0 = │
00:00:12 #376 [Verbose] > │ printfn $"print_and_return / x: {1}" │
00:00:12 #377 [Verbose] > │ let v0 : (unit -> UH0) = closure2() │
00:00:12 #378 [Verbose] > │ UH0_0(1, v0) │
00:00:12 #379 [Verbose] > │ and closure0 () () : UH0 = │
00:00:12 #380 [Verbose] > │ let v0 : (unit -> UH0) = closure1() │
00:00:12 #381 [Verbose] > │ UH0_0(0, v0) │
00:00:12 #382 [Verbose] > │ and closure11 (v0 : Mut0) () : UH0 = │
00:00:12 #383 [Verbose] > │ let v1 : US0 = v0.l0 │
00:00:12 #384 [Verbose] > │ match v1 with │
00:00:12 #385 [Verbose] > │ | US0_0(v2) -> (* Computed *) │
00:00:12 #386 [Verbose] > │ v2 │
00:00:12 #387 [Verbose] > │ | US0_1(v3) -> (* NotComputed *) │
00:00:12 #388 [Verbose] > │ let v4 : UH0 = v3 () │
00:00:12 #389 [Verbose] > │ let v13 : UH0 = │
00:00:12 #390 [Verbose] > │ match v4 with │
00:00:12 #391 [Verbose] > │ | UH0_0(v6, v7) -> (* StreamCons *) │
00:00:12 #392 [Verbose] > │ let v8 : US0 = US0_1(v7) │
00:00:12 #393 [Verbose] > │ let v9 : Mut0 = {l0 = v8} : Mut0 │
00:00:12 #394 [Verbose] > │ let v10 : (unit -> UH0) = closure11(v9) │
00:00:12 #395 [Verbose] > │ UH0_0(v6, v10) │
00:00:12 #396 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:12 #397 [Verbose] > │ UH0_1 │
00:00:12 #398 [Verbose] > │ let v14 : US0 = US0_0(v13) │
00:00:12 #399 [Verbose] > │ v0.l0 <- v14 │
00:00:12 #400 [Verbose] > │ v13 │
00:00:12 #401 [Verbose] > │ and method1 (v0 : int32, v1 : UH0) : US1 = │
00:00:12 #402 [Verbose] > │ match v1 with │
00:00:12 #403 [Verbose] > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:00:12 #404 [Verbose] > │ let v4 : bool = v0 <= 0 │
00:00:12 #405 [Verbose] > │ if v4 then │
00:00:12 #406 [Verbose] > │ US1_1(v2) │
00:00:12 #407 [Verbose] > │ else │
00:00:12 #408 [Verbose] > │ let v6 : int32 = v0 - 1 │
00:00:12 #409 [Verbose] > │ let v7 : UH0 = v3 () │
00:00:12 #410 [Verbose] > │ method1(v6, v7) │
00:00:12 #411 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:12 #412 [Verbose] > │ US1_0 │
00:00:12 #413 [Verbose] > │ and method0 () : unit = │
00:00:12 #414 [Verbose] > │ printfn $"print_and_return / x: {0}" │
00:00:12 #415 [Verbose] > │ let v0 : (unit -> UH0) = closure0() │
00:00:12 #416 [Verbose] > │ let v1 : US0 = US0_1(v0) │
00:00:12 #417 [Verbose] > │ let v2 : Mut0 = {l0 = v1} : Mut0 │
00:00:12 #418 [Verbose] > │ let v3 : US0 = v2.l0 │
00:00:12 #419 [Verbose] > │ let v18 : UH0 = │
00:00:12 #420 [Verbose] > │ match v3 with │
00:00:12 #421 [Verbose] > │ | US0_0(v4) -> (* Computed *) │
00:00:12 #422 [Verbose] > │ v4 │
00:00:12 #423 [Verbose] > │ | US0_1(v5) -> (* NotComputed *) │
00:00:12 #424 [Verbose] > │ let v6 : UH0 = v5 () │
00:00:12 #425 [Verbose] > │ let v15 : UH0 = │
00:00:12 #426 [Verbose] > │ match v6 with │
00:00:12 #427 [Verbose] > │ | UH0_0(v8, v9) -> (* StreamCons *) │
00:00:12 #428 [Verbose] > │ let v10 : US0 = US0_1(v9) │
00:00:12 #429 [Verbose] > │ let v11 : Mut0 = {l0 = v10} : Mut0 │
00:00:12 #430 [Verbose] > │ let v12 : (unit -> UH0) = closure11(v11) │
00:00:12 #431 [Verbose] > │ UH0_0(v8, v12) │
00:00:12 #432 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:12 #433 [Verbose] > │ UH0_1 │
00:00:12 #434 [Verbose] > │ let v16 : US0 = US0_0(v15) │
00:00:12 #435 [Verbose] > │ v2.l0 <- v16 │
00:00:12 #436 [Verbose] > │ v15 │
00:00:12 #437 [Verbose] > │ let v19 : int32 = 3 │
00:00:12 #438 [Verbose] > │ let v20 : US1 = method1(v19, v18) │
00:00:12 #439 [Verbose] > │ let v24 : int32 = │
00:00:12 #440 [Verbose] > │ match v20 with │
00:00:12 #441 [Verbose] > │ | US1_0 -> (* None *) │
00:00:12 #442 [Verbose] > │ failwith<int32> "Option does not have a value." │
00:00:12 #443 [Verbose] > │ | US1_1(v21) -> (* Some *) │
00:00:12 #444 [Verbose] > │ v21 │
00:00:12 #445 [Verbose] > │ let v25 : bool = v24 = 3 │
00:00:12 #446 [Verbose] > │ let v26 : string = $"_equal / actual: %A{v24} / expected: %A{3}" │
00:00:12 #447 [Verbose] > │ let v27 : bool = v25 = false │
00:00:12 #448 [Verbose] > │ if v27 then │
00:00:12 #449 [Verbose] > │ failwith<unit> v26 │
00:00:12 #450 [Verbose] > │ let v28 : US0 = v2.l0 │
00:00:12 #451 [Verbose] > │ let v43 : UH0 = │
00:00:12 #452 [Verbose] > │ match v28 with │
00:00:12 #453 [Verbose] > │ | US0_0(v29) -> (* Computed *) │
00:00:12 #454 [Verbose] > │ v29 │
00:00:12 #455 [Verbose] > │ | US0_1(v30) -> (* NotComputed *) │
00:00:12 #456 [Verbose] > │ let v31 : UH0 = v30 () │
00:00:12 #457 [Verbose] > │ let v40 : UH0 = │
00:00:12 #458 [Verbose] > │ match v31 with │
00:00:12 #459 [Verbose] > │ | UH0_0(v33, v34) -> (* StreamCons *) │
00:00:12 #460 [Verbose] > │ let v35 : US0 = US0_1(v34) │
00:00:12 #461 [Verbose] > │ let v36 : Mut0 = {l0 = v35} : Mut0 │
00:00:12 #462 [Verbose] > │ let v37 : (unit -> UH0) = closure11(v36) │
00:00:12 #463 [Verbose] > │ UH0_0(v33, v37) │
00:00:12 #464 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:12 #465 [Verbose] > │ UH0_1 │
00:00:12 #466 [Verbose] > │ let v41 : US0 = US0_0(v40) │
00:00:12 #467 [Verbose] > │ v2.l0 <- v41 │
00:00:12 #468 [Verbose] > │ v40 │
00:00:12 #469 [Verbose] > │ let v44 : int32 = 5 │
00:00:12 #470 [Verbose] > │ let v45 : US1 = method1(v44, v43) │
00:00:12 #471 [Verbose] > │ let v49 : int32 = │
00:00:12 #472 [Verbose] > │ match v45 with │
00:00:12 #473 [Verbose] > │ | US1_0 -> (* None *) │
00:00:12 #474 [Verbose] > │ failwith<int32> "Option does not have a value." │
00:00:12 #475 [Verbose] > │ | US1_1(v46) -> (* Some *) │
00:00:12 #476 [Verbose] > │ v46 │
00:00:12 #477 [Verbose] > │ let v50 : bool = v49 = 5 │
00:00:12 #478 [Verbose] > │ let v51 : string = $"_equal / actual: %A{v49} / expected: %A{5}" │
00:00:13 #479 [Verbose] > │ let v52 : bool = v50 = false │
00:00:13 #480 [Verbose] > │ if v52 then │
00:00:13 #481 [Verbose] > │ failwith<unit> v51 │
00:00:13 #482 [Verbose] > │ method0() │
00:00:13 #483 [Verbose] > │ │
00:00:13 #484 [Verbose] > │ print_and_return / x: 0 │
00:00:13 #485 [Verbose] > │ print_and_return / x: 1 │
00:00:13 #486 [Verbose] > │ print_and_return / x: 2 │
00:00:13 #487 [Verbose] > │ print_and_return / x: 3 │
00:00:13 #488 [Verbose] > │ print_and_return / x: 4 │
00:00:13 #489 [Verbose] > │ print_and_return / x: 5 │
00:00:13 #490 [Verbose] > │ │
00:00:13 #491 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #492 [Verbose] >
00:00:13 #493 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #494 [Verbose] > // // test
00:00:13 #495 [Verbose] >
00:00:13 #496 [Verbose] > inl memo_stream = new_infinite_stream_ print_and_return |> memoize
00:00:13 #497 [Verbose] >
00:00:13 #498 [Verbose] > memo_stream ()
00:00:13 #499 [Verbose] > |> item 3i32
00:00:13 #500 [Verbose] > |> _equal 3i32
00:00:13 #501 [Verbose] >
00:00:13 #502 [Verbose] > memo_stream ()
00:00:13 #503 [Verbose] > |> item 5i32
00:00:13 #504 [Verbose] > |> _equal 5i32
00:00:13 #505 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4522-2233-2debabda4d89\main.spi
00:00:13 #506 [Verbose] >
00:00:13 #507 [Verbose] > ╭─[ 253.18ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #508 [Verbose] > │ type UH0 = │
00:00:13 #509 [Verbose] > │ | UH0_0 of int32 * (unit -> UH0) │
00:00:13 #510 [Verbose] > │ | UH0_1 │
00:00:13 #511 [Verbose] > │ and [<Struct>] US0 = │
00:00:13 #512 [Verbose] > │ | US0_0 of f0_0 : UH0 │
00:00:13 #513 [Verbose] > │ | US0_1 of f1_0 : (unit -> UH0) │
00:00:13 #514 [Verbose] > │ and Mut0 = {mutable l0 : US0} │
00:00:13 #515 [Verbose] > │ and [<Struct>] US1 = │
00:00:13 #516 [Verbose] > │ | US1_0 │
00:00:13 #517 [Verbose] > │ | US1_1 of f1_0 : int32 │
00:00:13 #518 [Verbose] > │ let rec closure0 (v0 : int32) () : UH0 = │
00:00:13 #519 [Verbose] > │ let v1 : int32 = v0 + 1 │
00:00:13 #520 [Verbose] > │ method1(v1) │
00:00:13 #521 [Verbose] > │ and method1 (v0 : int32) : UH0 = │
00:00:13 #522 [Verbose] > │ printfn $"print_and_return / x: {v0}" │
00:00:13 #523 [Verbose] > │ let v1 : (unit -> UH0) = closure0(v0) │
00:00:13 #524 [Verbose] > │ UH0_0(v0, v1) │
00:00:13 #525 [Verbose] > │ and closure1 (v0 : UH0) () : UH0 = │
00:00:13 #526 [Verbose] > │ v0 │
00:00:13 #527 [Verbose] > │ and closure2 (v0 : UH0, v1 : Mut0) () : UH0 = │
00:00:13 #528 [Verbose] > │ let v2 : US0 = v1.l0 │
00:00:13 #529 [Verbose] > │ match v2 with │
00:00:13 #530 [Verbose] > │ | US0_0(v3) -> (* Computed *) │
00:00:13 #531 [Verbose] > │ v3 │
00:00:13 #532 [Verbose] > │ | US0_1(v4) -> (* NotComputed *) │
00:00:13 #533 [Verbose] > │ let v5 : UH0 = v4 () │
00:00:13 #534 [Verbose] > │ let v12 : UH0 = │
00:00:13 #535 [Verbose] > │ match v5 with │
00:00:13 #536 [Verbose] > │ | UH0_0(v7, v8) -> (* StreamCons *) │
00:00:13 #537 [Verbose] > │ let v9 : (unit -> UH0) = method2(v0, v8) │
00:00:13 #538 [Verbose] > │ UH0_0(v7, v9) │
00:00:13 #539 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:13 #540 [Verbose] > │ UH0_1 │
00:00:13 #541 [Verbose] > │ let v13 : US0 = US0_0(v12) │
00:00:13 #542 [Verbose] > │ v1.l0 <- v13 │
00:00:13 #543 [Verbose] > │ v12 │
00:00:13 #544 [Verbose] > │ and method2 (v0 : UH0, v1 : (unit -> UH0)) : (unit -> UH0) = │
00:00:13 #545 [Verbose] > │ let v2 : US0 = US0_1(v1) │
00:00:13 #546 [Verbose] > │ let v3 : Mut0 = {l0 = v2} : Mut0 │
00:00:13 #547 [Verbose] > │ closure2(v0, v3) │
00:00:13 #548 [Verbose] > │ and method3 (v0 : int32, v1 : UH0) : US1 = │
00:00:13 #549 [Verbose] > │ match v1 with │
00:00:13 #550 [Verbose] > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:00:13 #551 [Verbose] > │ let v4 : bool = v0 <= 0 │
00:00:13 #552 [Verbose] > │ if v4 then │
00:00:13 #553 [Verbose] > │ US1_1(v2) │
00:00:13 #554 [Verbose] > │ else │
00:00:13 #555 [Verbose] > │ let v6 : int32 = v0 - 1 │
00:00:13 #556 [Verbose] > │ let v7 : UH0 = v3 () │
00:00:13 #557 [Verbose] > │ method3(v6, v7) │
00:00:13 #558 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:13 #559 [Verbose] > │ US1_0 │
00:00:13 #560 [Verbose] > │ and method0 () : unit = │
00:00:13 #561 [Verbose] > │ let v0 : int32 = 0 │
00:00:13 #562 [Verbose] > │ let v1 : UH0 = method1(v0) │
00:00:13 #563 [Verbose] > │ let v2 : (unit -> UH0) = closure1(v1) │
00:00:13 #564 [Verbose] > │ let v3 : (unit -> UH0) = method2(v1, v2) │
00:00:13 #565 [Verbose] > │ let v4 : UH0 = v3 () │
00:00:13 #566 [Verbose] > │ let v5 : int32 = 3 │
00:00:13 #567 [Verbose] > │ let v6 : US1 = method3(v5, v4) │
00:00:13 #568 [Verbose] > │ let v10 : int32 = │
00:00:13 #569 [Verbose] > │ match v6 with │
00:00:13 #570 [Verbose] > │ | US1_0 -> (* None *) │
00:00:13 #571 [Verbose] > │ failwith<int32> "Option does not have a value." │
00:00:13 #572 [Verbose] > │ | US1_1(v7) -> (* Some *) │
00:00:13 #573 [Verbose] > │ v7 │
00:00:13 #574 [Verbose] > │ let v11 : bool = v10 = 3 │
00:00:13 #575 [Verbose] > │ let v12 : string = $"_equal / actual: %A{v10} / expected: %A{3}" │
00:00:13 #576 [Verbose] > │ let v13 : bool = v11 = false │
00:00:13 #577 [Verbose] > │ if v13 then │
00:00:13 #578 [Verbose] > │ failwith<unit> v12 │
00:00:13 #579 [Verbose] > │ let v14 : UH0 = v3 () │
00:00:13 #580 [Verbose] > │ let v15 : int32 = 5 │
00:00:13 #581 [Verbose] > │ let v16 : US1 = method3(v15, v14) │
00:00:13 #582 [Verbose] > │ let v20 : int32 = │
00:00:13 #583 [Verbose] > │ match v16 with │
00:00:13 #584 [Verbose] > │ | US1_0 -> (* None *) │
00:00:13 #585 [Verbose] > │ failwith<int32> "Option does not have a value." │
00:00:13 #586 [Verbose] > │ | US1_1(v17) -> (* Some *) │
00:00:13 #587 [Verbose] > │ v17 │
00:00:13 #588 [Verbose] > │ let v21 : bool = v20 = 5 │
00:00:13 #589 [Verbose] > │ let v22 : string = $"_equal / actual: %A{v20} / expected: %A{5}" │
00:00:13 #590 [Verbose] > │ let v23 : bool = v21 = false │
00:00:13 #591 [Verbose] > │ if v23 then │
00:00:13 #592 [Verbose] > │ failwith<unit> v22 │
00:00:13 #593 [Verbose] > │ method0() │
00:00:13 #594 [Verbose] > │ │
00:00:13 #595 [Verbose] > │ print_and_return / x: 0 │
00:00:13 #596 [Verbose] > │ print_and_return / x: 1 │
00:00:13 #597 [Verbose] > │ print_and_return / x: 2 │
00:00:13 #598 [Verbose] > │ print_and_return / x: 3 │
00:00:13 #599 [Verbose] > │ print_and_return / x: 4 │
00:00:13 #600 [Verbose] > │ print_and_return / x: 5 │
00:00:13 #601 [Verbose] > │ │
00:00:13 #602 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #603 [Verbose] >
00:00:13 #604 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #605 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #606 [Verbose] > │ ## unfold │
00:00:13 #607 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #608 [Verbose] >
00:00:13 #609 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #610 [Verbose] > inl unfold f x0 =
00:00:13 #611 [Verbose] > inl rec body x =
00:00:13 #612 [Verbose] > match f x with
00:00:13 #613 [Verbose] > | Some (x', y) => StreamCons (x', fun () => loop y)
00:00:13 #614 [Verbose] > | None => StreamNil
00:00:13 #615 [Verbose] > and inl loop x = join_body_unit body x0 x
00:00:13 #616 [Verbose] > loop x0
00:00:13 #617 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4551-5134-5ffc1dd72847\main.spi
00:00:13 #618 [Verbose] >
00:00:13 #619 [Verbose] > ╭─[ 150.46ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #620 [Verbose] > │ () │
00:00:13 #621 [Verbose] > │ │
00:00:13 #622 [Verbose] > │ │
00:00:13 #623 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #624 [Verbose] >
00:00:13 #625 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #626 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #627 [Verbose] > │ ## iterate │
00:00:13 #628 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #629 [Verbose] >
00:00:13 #630 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #631 [Verbose] > inl iterate f =
00:00:13 #632 [Verbose] > unfold (fun x => Some (x, f x))
00:00:13 #633 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4566-6688-6efa254e4e1d\main.spi
00:00:13 #634 [Verbose] >
00:00:13 #635 [Verbose] > ╭─[ 228.39ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #636 [Verbose] > │ () │
00:00:13 #637 [Verbose] > │ │
00:00:13 #638 [Verbose] > │ │
00:00:13 #639 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #640 [Verbose] >
00:00:13 #641 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #642 [Verbose] > // // test
00:00:13 #643 [Verbose] >
00:00:13 #644 [Verbose] > iterate ((*) 2) 1i32
00:00:13 #645 [Verbose] > |> item 10i32
00:00:13 #646 [Verbose] > |> _equal 1024
00:00:13 #647 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4589-8988-8647fc6dcb35\main.spi
00:00:13 #648 [Verbose] >
00:00:13 #649 [Verbose] > ╭─[ 158.92ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #650 [Verbose] > │ let rec method0 () : unit = │
00:00:13 #651 [Verbose] > │ let v0 : string = $"_equal / actual: %A{1024} / expected: %A{1024}" │
00:00:13 #652 [Verbose] > │ () │
00:00:13 #653 [Verbose] > │ method0() │
00:00:13 #654 [Verbose] > │ │
00:00:13 #655 [Verbose] > │ │
00:00:13 #656 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #657 [Verbose] >
00:00:13 #658 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #659 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #660 [Verbose] > │ ## take_while │
00:00:13 #661 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #662 [Verbose] >
00:00:13 #663 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #664 [Verbose] > inl take_while cond s =
00:00:13 #665 [Verbose] > inl rec body i = function
00:00:13 #666 [Verbose] > | StreamCons (st, fn) when cond st i => StreamCons (st, fun () => loop
00:00:13 #667 [Verbose] > (i + 1) (fn ()))
00:00:13 #668 [Verbose] > | _ => StreamNil
00:00:13 #669 [Verbose] > and inl loop i = join_body body i
00:00:13 #670 [Verbose] > loop 0 s
00:00:13 #671 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4606-0640-008f80d82efb\main.spi
00:00:13 #672 [Verbose] >
00:00:13 #673 [Verbose] > ╭─[ 129.90ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #674 [Verbose] > │ () │
00:00:13 #675 [Verbose] > │ │
00:00:13 #676 [Verbose] > │ │
00:00:13 #677 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #678 [Verbose] >
00:00:13 #679 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #680 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #681 [Verbose] > │ ## sum │
00:00:13 #682 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #683 [Verbose] >
00:00:13 #684 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #685 [Verbose] > inl sum seq =
00:00:13 #686 [Verbose] > seq |> fold (+) 0
00:00:14 #687 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4619-1985-1227f37d0c64\main.spi
00:00:14 #688 [Verbose] >
00:00:14 #689 [Verbose] > ╭─[ 120.36ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #690 [Verbose] > │ () │
00:00:14 #691 [Verbose] > │ │
00:00:14 #692 [Verbose] > │ │
00:00:14 #693 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #694 [Verbose] >
00:00:14 #695 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #696 [Verbose] > // // test
00:00:14 #697 [Verbose] >
00:00:14 #698 [Verbose] > listm.init 10i32 id
00:00:14 #699 [Verbose] > |> from_list
00:00:14 #700 [Verbose] > |> sum
00:00:14 #701 [Verbose] > |> _equal 45
00:00:14 #702 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4632-3217-38effac22c23\main.spi
00:00:14 #703 [Verbose] >
00:00:14 #704 [Verbose] > ╭─[ 300.47ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #705 [Verbose] > │ let rec method0 () : unit = │
00:00:14 #706 [Verbose] > │ let v0 : string = $"_equal / actual: %A{45} / expected: %A{45}" │
00:00:14 #707 [Verbose] > │ () │
00:00:14 #708 [Verbose] > │ method0() │
00:00:14 #709 [Verbose] > │ │
00:00:14 #710 [Verbose] > │ │
00:00:14 #711 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #712 [Verbose] >
00:00:14 #713 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #714 [Verbose] > // // test
00:00:14 #715 [Verbose] >
00:00:14 #716 [Verbose] > new_finite_stream print_and_return 10i32
00:00:14 #717 [Verbose] > |> take_while (fun n (_ : i32) => n < 5)
00:00:14 #718 [Verbose] > |> sum
00:00:14 #719 [Verbose] > |> _equal 10
00:00:14 #720 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4662-6245-60661916a989\main.spi
00:00:14 #721 [Verbose] >
00:00:14 #722 [Verbose] > ╭─[ 151.57ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #723 [Verbose] > │ let rec method0 () : unit = │
00:00:14 #724 [Verbose] > │ printfn $"print_and_return / x: {0}" │
00:00:14 #725 [Verbose] > │ printfn $"print_and_return / x: {1}" │
00:00:14 #726 [Verbose] > │ printfn $"print_and_return / x: {2}" │
00:00:14 #727 [Verbose] > │ printfn $"print_and_return / x: {3}" │
00:00:14 #728 [Verbose] > │ printfn $"print_and_return / x: {4}" │
00:00:14 #729 [Verbose] > │ printfn $"print_and_return / x: {5}" │
00:00:14 #730 [Verbose] > │ let v0 : string = $"_equal / actual: %A{10} / expected: %A{10}" │
00:00:14 #731 [Verbose] > │ () │
00:00:14 #732 [Verbose] > │ method0() │
00:00:14 #733 [Verbose] > │ │
00:00:14 #734 [Verbose] > │ print_and_return / x: 0 │
00:00:14 #735 [Verbose] > │ print_and_return / x: 1 │
00:00:14 #736 [Verbose] > │ print_and_return / x: 2 │
00:00:14 #737 [Verbose] > │ print_and_return / x: 3 │
00:00:14 #738 [Verbose] > │ print_and_return / x: 4 │
00:00:14 #739 [Verbose] > │ print_and_return / x: 5 │
00:00:14 #740 [Verbose] > │ │
00:00:14 #741 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #742 [Verbose] >
00:00:14 #743 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #744 [Verbose] > // // test
00:00:14 #745 [Verbose] >
00:00:14 #746 [Verbose] > new_infinite_stream print_and_return
00:00:14 #747 [Verbose] > |> take_while (fun n (_ : i32) => n < 5i32)
00:00:14 #748 [Verbose] > |> sum
00:00:14 #749 [Verbose] > |> _equal 10
00:00:14 #750 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4678-7854-7ed5b14bca8b\main.spi
00:00:14 #751 [Verbose] >
00:00:14 #752 [Verbose] > ╭─[ 160.77ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #753 [Verbose] > │ let rec method0 () : unit = │
00:00:14 #754 [Verbose] > │ printfn $"print_and_return / x: {0}" │
00:00:14 #755 [Verbose] > │ printfn $"print_and_return / x: {1}" │
00:00:14 #756 [Verbose] > │ printfn $"print_and_return / x: {2}" │
00:00:14 #757 [Verbose] > │ printfn $"print_and_return / x: {3}" │
00:00:14 #758 [Verbose] > │ printfn $"print_and_return / x: {4}" │
00:00:14 #759 [Verbose] > │ printfn $"print_and_return / x: {5}" │
00:00:14 #760 [Verbose] > │ let v0 : string = $"_equal / actual: %A{10} / expected: %A{10}" │
00:00:14 #761 [Verbose] > │ () │
00:00:14 #762 [Verbose] > │ method0() │
00:00:14 #763 [Verbose] > │ │
00:00:14 #764 [Verbose] > │ print_and_return / x: 0 │
00:00:14 #765 [Verbose] > │ print_and_return / x: 1 │
00:00:14 #766 [Verbose] > │ print_and_return / x: 2 │
00:00:14 #767 [Verbose] > │ print_and_return / x: 3 │
00:00:14 #768 [Verbose] > │ print_and_return / x: 4 │
00:00:14 #769 [Verbose] > │ print_and_return / x: 5 │
00:00:14 #770 [Verbose] > │ │
00:00:14 #771 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #772 [Verbose] >
00:00:14 #773 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #774 [Verbose] > // // test
00:00:14 #775 [Verbose] >
00:00:14 #776 [Verbose] > iterate ((*) 6) 1i32
00:00:14 #777 [Verbose] > |> take_while (fun _ i => i <= 7i32)
00:00:14 #778 [Verbose] > |> to_list
00:00:14 #779 [Verbose] > |> _equal [[ 1i32; 6; 36; 216; 1296; 7776; 46656; 279936 ]]
00:00:14 #780 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4695-9537-9c7d5316703d\main.spi
00:00:14 #781 [Verbose] >
00:00:14 #782 [Verbose] > ╭─[ 210.42ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #783 [Verbose] > │ type UH0 = │
00:00:14 #784 [Verbose] > │ | UH0_0 of int32 * UH0 │
00:00:14 #785 [Verbose] > │ | UH0_1 │
00:00:14 #786 [Verbose] > │ let rec method0 () : unit = │
00:00:14 #787 [Verbose] > │ let v63 : UH0 = UH0_1 │
00:00:14 #788 [Verbose] > │ let v64 : UH0 = UH0_0(279936, v63) │
00:00:14 #789 [Verbose] > │ let v65 : UH0 = UH0_0(46656, v64) │
00:00:14 #790 [Verbose] > │ let v66 : UH0 = UH0_0(7776, v65) │
00:00:14 #791 [Verbose] > │ let v67 : UH0 = UH0_0(1296, v66) │
00:00:14 #792 [Verbose] > │ let v68 : UH0 = UH0_0(216, v67) │
00:00:14 #793 [Verbose] > │ let v69 : UH0 = UH0_0(36, v68) │
00:00:14 #794 [Verbose] > │ let v70 : UH0 = UH0_0(6, v69) │
00:00:14 #795 [Verbose] > │ let v71 : UH0 = UH0_0(1, v70) │
00:00:14 #796 [Verbose] > │ let v72 : UH0 = UH0_1 │
00:00:14 #797 [Verbose] > │ let v73 : UH0 = UH0_0(279936, v72) │
00:00:14 #798 [Verbose] > │ let v74 : UH0 = UH0_0(46656, v73) │
00:00:14 #799 [Verbose] > │ let v75 : UH0 = UH0_0(7776, v74) │
00:00:14 #800 [Verbose] > │ let v76 : UH0 = UH0_0(1296, v75) │
00:00:14 #801 [Verbose] > │ let v77 : UH0 = UH0_0(216, v76) │
00:00:14 #802 [Verbose] > │ let v78 : UH0 = UH0_0(36, v77) │
00:00:14 #803 [Verbose] > │ let v79 : UH0 = UH0_0(6, v78) │
00:00:14 #804 [Verbose] > │ let v80 : UH0 = UH0_0(1, v79) │
00:00:14 #805 [Verbose] > │ let v81 : string = $"_equal / actual: %A{v71} / expected: %A{v80}" │
00:00:14 #806 [Verbose] > │ () │
00:00:14 #807 [Verbose] > │ method0() │
00:00:14 #808 [Verbose] > │ │
00:00:14 #809 [Verbose] > │ │
00:00:14 #810 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #811 [Verbose] >
00:00:14 #812 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:14 #813 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:14 #814 [Verbose] > │ ## indexed │
00:00:14 #815 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #816 [Verbose] >
00:00:14 #817 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #818 [Verbose] > inl indexed s =
00:00:14 #819 [Verbose] > ((StreamNil, 0), s)
00:00:14 #820 [Verbose] > ||> fold fun (acc, i) x =>
00:00:14 #821 [Verbose] > StreamCons ((i, x), fun () => acc), i + 1
00:00:14 #822 [Verbose] > |> fst
00:00:14 #823 [Verbose] > |> rev
00:00:15 #824 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4717-1799-1a4761eedfcb\main.spi
00:00:15 #825 [Verbose] >
00:00:15 #826 [Verbose] > ╭─[ 129.87ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #827 [Verbose] > │ () │
00:00:15 #828 [Verbose] > │ │
00:00:15 #829 [Verbose] > │ │
00:00:15 #830 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #831 [Verbose] >
00:00:15 #832 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #833 [Verbose] > // // test
00:00:15 #834 [Verbose] >
00:00:15 #835 [Verbose] > listm.init 10i32 ((*) 2)
00:00:15 #836 [Verbose] > |> from_list
00:00:15 #837 [Verbose] > |> indexed
00:00:15 #838 [Verbose] > |> item 5i32
00:00:15 #839 [Verbose] > |> _equal (5i32, 10i32)
00:00:15 #840 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4731-3110-3c32fa8e5520\main.spi
00:00:15 #841 [Verbose] >
00:00:15 #842 [Verbose] > ╭─[ 161.99ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #843 [Verbose] > │ let rec method0 () : unit = │
00:00:15 #844 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (5, 10)} / expected: │
00:00:15 #845 [Verbose] > │ %A{struct (5, 10)}" │
00:00:15 #846 [Verbose] > │ () │
00:00:15 #847 [Verbose] > │ method0() │
00:00:15 #848 [Verbose] > │ │
00:00:15 #849 [Verbose] > │ │
00:00:15 #850 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #851 [Verbose] >
00:00:15 #852 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:15 #853 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:15 #854 [Verbose] > │ ## map │
00:00:15 #855 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #856 [Verbose] >
00:00:15 #857 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #858 [Verbose] > inl map fn s =
00:00:15 #859 [Verbose] > (s, StreamNil)
00:00:15 #860 [Verbose] > ||> fold_back fun x acc =>
00:00:15 #861 [Verbose] > StreamCons (fn x, fun () => acc)
00:00:15 #862 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4748-4821-457aec9d7057\main.spi
00:00:15 #863 [Verbose] >
00:00:15 #864 [Verbose] > ╭─[ 131.44ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #865 [Verbose] > │ () │
00:00:15 #866 [Verbose] > │ │
00:00:15 #867 [Verbose] > │ │
00:00:15 #868 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #869 [Verbose] >
00:00:15 #870 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #871 [Verbose] > // // test
00:00:15 #872 [Verbose] >
00:00:15 #873 [Verbose] > listm.init 10i32 id
00:00:15 #874 [Verbose] > |> from_list
00:00:15 #875 [Verbose] > |> map ((*) 2)
00:00:15 #876 [Verbose] > |> item 5i32
00:00:15 #877 [Verbose] > |> _equal 10i32
00:00:15 #878 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4761-6151-6cda839e5bd4\main.spi
00:00:15 #879 [Verbose] >
00:00:15 #880 [Verbose] > ╭─[ 141.40ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #881 [Verbose] > │ let rec method0 () : unit = │
00:00:15 #882 [Verbose] > │ let v0 : string = $"_equal / actual: %A{10} / expected: %A{10}" │
00:00:15 #883 [Verbose] > │ () │
00:00:15 #884 [Verbose] > │ method0() │
00:00:15 #885 [Verbose] > │ │
00:00:15 #886 [Verbose] > │ │
00:00:15 #887 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #888 [Verbose] >
00:00:15 #889 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:15 #890 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:15 #891 [Verbose] > │ ## zip_with │
00:00:15 #892 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #893 [Verbose] >
00:00:15 #894 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #895 [Verbose] > inl zip_with fn s1 s2 =
00:00:15 #896 [Verbose] > inl rec loop s1 s2 =
00:00:15 #897 [Verbose] > match s1, s2 with
00:00:15 #898 [Verbose] > | StreamCons (st1, fn1), StreamCons (st2, fn2) =>
00:00:15 #899 [Verbose] > StreamCons (fn st1 st2, fun () => loop (fn1 ()) (fn2 ()))
00:00:15 #900 [Verbose] > | StreamNil, _ | _, StreamNil => StreamNil
00:00:15 #901 [Verbose] > loop s1 s2
00:00:15 #902 [Verbose] >
00:00:15 #903 [Verbose] > inl zip_with_ fn s1 s2 =
00:00:15 #904 [Verbose] > let rec loop s1 s2 =
00:00:15 #905 [Verbose] > match s1, s2 with
00:00:15 #906 [Verbose] > | StreamCons (st1, fn1), StreamCons (st2, fn2) =>
00:00:15 #907 [Verbose] > StreamCons (fn st1 st2, fun () => loop (fn1 ()) (fn2 ()))
00:00:15 #908 [Verbose] > | StreamNil, _ | _, StreamNil => StreamNil
00:00:15 #909 [Verbose] > loop s1 s2
00:00:15 #910 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4776-7625-7036ffe5a0bf\main.spi
00:00:15 #911 [Verbose] >
00:00:15 #912 [Verbose] > ╭─[ 153.06ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #913 [Verbose] > │ () │
00:00:15 #914 [Verbose] > │ │
00:00:15 #915 [Verbose] > │ │
00:00:15 #916 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #917 [Verbose] >
00:00:15 #918 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #919 [Verbose] > // // test
00:00:15 #920 [Verbose] >
00:00:15 #921 [Verbose] > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))
00:00:15 #922 [Verbose] > ||> zip_with (+)
00:00:15 #923 [Verbose] > |> item 2i32
00:00:15 #924 [Verbose] > |> _equal 6
00:00:15 #925 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4792-9208-922300029ed7\main.spi
00:00:15 #926 [Verbose] >
00:00:15 #927 [Verbose] > ╭─[ 171.19ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #928 [Verbose] > │ let rec method0 () : unit = │
00:00:15 #929 [Verbose] > │ let v0 : string = $"_equal / actual: %A{6} / expected: %A{6}" │
00:00:15 #930 [Verbose] > │ () │
00:00:15 #931 [Verbose] > │ method0() │
00:00:15 #932 [Verbose] > │ │
00:00:15 #933 [Verbose] > │ │
00:00:15 #934 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #935 [Verbose] >
00:00:15 #936 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:15 #937 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:15 #938 [Verbose] > │ ## zip │
00:00:15 #939 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #940 [Verbose] >
00:00:15 #941 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #942 [Verbose] > inl zip s1 s2 =
00:00:15 #943 [Verbose] > zip_with pair s1 s2
00:00:15 #944 [Verbose] >
00:00:15 #945 [Verbose] > inl zip_ s1 s2 =
00:00:15 #946 [Verbose] > zip_with_ pair s1 s2
00:00:15 #947 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4809-0966-08b535b2b9a3\main.spi
00:00:16 #948 [Verbose] >
00:00:16 #949 [Verbose] > ╭─[ 126.78ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #950 [Verbose] > │ () │
00:00:16 #951 [Verbose] > │ │
00:00:16 #952 [Verbose] > │ │
00:00:16 #953 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #954 [Verbose] >
00:00:16 #955 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 #956 [Verbose] > // // test
00:00:16 #957 [Verbose] >
00:00:16 #958 [Verbose] > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))
00:00:16 #959 [Verbose] > ||> zip
00:00:16 #960 [Verbose] > |> item 5i32
00:00:16 #961 [Verbose] > |> _equal (5, 10)
00:00:16 #962 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4822-2258-28230a70a57c\main.spi
00:00:16 #963 [Verbose] >
00:00:16 #964 [Verbose] > ╭─[ 221.75ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #965 [Verbose] > │ let rec method0 () : unit = │
00:00:16 #966 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (5, 10)} / expected: │
00:00:16 #967 [Verbose] > │ %A{struct (5, 10)}" │
00:00:16 #968 [Verbose] > │ () │
00:00:16 #969 [Verbose] > │ method0() │
00:00:16 #970 [Verbose] > │ │
00:00:16 #971 [Verbose] > │ │
00:00:16 #972 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #973 [Verbose] >
00:00:16 #974 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:16 #975 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:16 #976 [Verbose] > │ ## unzip │
00:00:16 #977 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #978 [Verbose] >
00:00:16 #979 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 #980 [Verbose] > inl unzip s =
00:00:16 #981 [Verbose] > inl rec body s =
00:00:16 #982 [Verbose] > match s with
00:00:16 #983 [Verbose] > | StreamCons ((x, y), fn) =>
00:00:16 #984 [Verbose] > inl xs, ys = loop (fn ())
00:00:16 #985 [Verbose] > StreamCons (x, fun () => xs), StreamCons (y, fun () => ys)
00:00:16 #986 [Verbose] > | StreamNil => pair StreamNil StreamNil
00:00:16 #987 [Verbose] > and inl loop x =
00:00:16 #988 [Verbose] > if var_is x |> not
00:00:16 #989 [Verbose] > then body x
00:00:16 #990 [Verbose] > else
00:00:16 #991 [Verbose] > inl x = dyn x
00:00:16 #992 [Verbose] > join body x
00:00:16 #993 [Verbose] > loop s
00:00:16 #994 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4845-4543-45eabbae2abb\main.spi
00:00:16 #995 [Verbose] >
00:00:16 #996 [Verbose] > ╭─[ 161.35ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #997 [Verbose] > │ () │
00:00:16 #998 [Verbose] > │ │
00:00:16 #999 [Verbose] > │ │
00:00:16 #1000 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #1001 [Verbose] >
00:00:16 #1002 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 #1003 [Verbose] > // // test
00:00:16 #1004 [Verbose] >
00:00:16 #1005 [Verbose] > listm.init 10i32 id
00:00:16 #1006 [Verbose] > |> listm.map (fun x => x, x)
00:00:16 #1007 [Verbose] > |> from_list
00:00:16 #1008 [Verbose] > |> unzip
00:00:16 #1009 [Verbose] > |> fun x, y =>
00:00:16 #1010 [Verbose] > x |> sum
00:00:16 #1011 [Verbose] > |> _equal 45
00:00:16 #1012 [Verbose] >
00:00:16 #1013 [Verbose] > y |> sum
00:00:16 #1014 [Verbose] > |> _equal 45
00:00:16 #1015 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-4861-6181-6e4b05df2ca7\main.spi
00:00:16 #1016 [Verbose] >
00:00:16 #1017 [Verbose] > ╭─[ 174.08ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #1018 [Verbose] > │ let rec method0 () : unit = │
00:00:16 #1019 [Verbose] > │ let v0 : string = $"_equal / actual: %A{45} / expected: %A{45}" │
00:00:16 #1020 [Verbose] > │ let v1 : string = $"_equal / actual: %A{45} / expected: %A{45}" │
00:00:16 #1021 [Verbose] > │ () │
00:00:16 #1022 [Verbose] > │ method0() │
00:00:16 #1023 [Verbose] > │ │
00:00:16 #1024 [Verbose] > │ │
00:00:16 #1025 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #1026 [Verbose] > [NbConvertApp] Converting notebook stream.dib.ipynb to html
00:00:18 #1027 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:18 #1028 [Verbose] > validate(nb)
00:00:19 #1029 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:00:19 #1030 [Verbose] > return _pygments_highlight(
00:00:19 #1031 [Verbose] > [NbConvertApp] Writing 357092 bytes to stream.dib.html
00:00:20 #1032 [Debug] executeAsync / exitCode: 0 / output.Length: 58505
00:00:20 #1033 [Debug] main / executeCommand / exitCode: 0
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 seq.dib""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ # seq │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > // // test
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > open testing
00:00:07 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1544-5919-1945-1d670871cc8f\main.spi
00:00:09 #22 [Verbose] >
00:00:09 #23 [Verbose] > ╭─[ 5.91s - stdout ]───────────────────────────────────────────────────────────╮
00:00:09 #24 [Verbose] > │ () │
00:00:09 #25 [Verbose] > │ │
00:00:09 #26 [Verbose] > │ │
00:00:09 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #28 [Verbose] >
00:00:09 #29 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #30 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #31 [Verbose] > │ ## seq │
00:00:09 #32 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #33 [Verbose] >
00:00:09 #34 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #35 [Verbose] > type seq dim el = dim -> option el
00:00:09 #36 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0262-6272-6e149d1fec3c\main.spi
00:00:09 #37 [Verbose] >
00:00:09 #38 [Verbose] > ╭─[ 227.73ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #39 [Verbose] > │ () │
00:00:09 #40 [Verbose] > │ │
00:00:09 #41 [Verbose] > │ │
00:00:09 #42 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #43 [Verbose] >
00:00:09 #44 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #45 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #46 [Verbose] > │ ## item │
00:00:09 #47 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #48 [Verbose] >
00:00:09 #49 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #50 [Verbose] > inl item n seq =
00:00:09 #51 [Verbose] > seq n
00:00:10 #52 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0285-8586-8f8b4db302a4\main.spi
00:00:10 #53 [Verbose] >
00:00:10 #54 [Verbose] > ╭─[ 178.55ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #55 [Verbose] > │ () │
00:00:10 #56 [Verbose] > │ │
00:00:10 #57 [Verbose] > │ │
00:00:10 #58 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #59 [Verbose] >
00:00:10 #60 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:10 #61 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:10 #62 [Verbose] > │ ## from_list │
00:00:10 #63 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #64 [Verbose] >
00:00:10 #65 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #66 [Verbose] > inl from_list list =
00:00:10 #67 [Verbose] > fun n =>
00:00:10 #68 [Verbose] > list |> listm'.try_item n
00:00:10 #69 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0304-0401-00b6d952c317\main.spi
00:00:10 #70 [Verbose] >
00:00:10 #71 [Verbose] > ╭─[ 172.23ms - stdout ]────────────────────────────────────────────────────────╮
00:00:10 #72 [Verbose] > │ () │
00:00:10 #73 [Verbose] > │ │
00:00:10 #74 [Verbose] > │ │
00:00:10 #75 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:10 #76 [Verbose] >
00:00:10 #77 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:10 #78 [Verbose] > // // test
00:00:10 #79 [Verbose] >
00:00:10 #80 [Verbose] > listm.init 10i32 print_and_return
00:00:10 #81 [Verbose] > |> from_list
00:00:10 #82 [Verbose] > |> item 5i32
00:00:10 #83 [Verbose] > |> _equal (Some 5i32)
00:00:10 #84 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0321-2167-2031e5f3eea9\main.spi
00:00:11 #85 [Verbose] >
00:00:11 #86 [Verbose] > ╭─[ 1.53s - stdout ]───────────────────────────────────────────────────────────╮
00:00:11 #87 [Verbose] > │ type [<Struct>] US0 = │
00:00:11 #88 [Verbose] > │ | US0_0 │
00:00:11 #89 [Verbose] > │ | US0_1 of f1_0 : int32 │
00:00:11 #90 [Verbose] > │ let rec method0 () : unit = │
00:00:11 #91 [Verbose] > │ printfn $"print_and_return / x: {0}" │
00:00:11 #92 [Verbose] > │ printfn $"print_and_return / x: {1}" │
00:00:11 #93 [Verbose] > │ printfn $"print_and_return / x: {2}" │
00:00:11 #94 [Verbose] > │ printfn $"print_and_return / x: {3}" │
00:00:11 #95 [Verbose] > │ printfn $"print_and_return / x: {4}" │
00:00:11 #96 [Verbose] > │ printfn $"print_and_return / x: {5}" │
00:00:11 #97 [Verbose] > │ printfn $"print_and_return / x: {6}" │
00:00:11 #98 [Verbose] > │ printfn $"print_and_return / x: {7}" │
00:00:11 #99 [Verbose] > │ printfn $"print_and_return / x: {8}" │
00:00:11 #100 [Verbose] > │ printfn $"print_and_return / x: {9}" │
00:00:11 #101 [Verbose] > │ let v3 : US0 = US0_1(5) │
00:00:11 #102 [Verbose] > │ let v4 : US0 = US0_1(5) │
00:00:11 #103 [Verbose] > │ let v5 : string = $"_equal / actual: %A{v3} / expected: %A{v4}" │
00:00:11 #104 [Verbose] > │ () │
00:00:11 #105 [Verbose] > │ method0() │
00:00:11 #106 [Verbose] > │ │
00:00:11 #107 [Verbose] > │ print_and_return / x: 0 │
00:00:11 #108 [Verbose] > │ print_and_return / x: 1 │
00:00:11 #109 [Verbose] > │ print_and_return / x: 2 │
00:00:11 #110 [Verbose] > │ print_and_return / x: 3 │
00:00:11 #111 [Verbose] > │ print_and_return / x: 4 │
00:00:11 #112 [Verbose] > │ print_and_return / x: 5 │
00:00:11 #113 [Verbose] > │ print_and_return / x: 6 │
00:00:11 #114 [Verbose] > │ print_and_return / x: 7 │
00:00:11 #115 [Verbose] > │ print_and_return / x: 8 │
00:00:11 #116 [Verbose] > │ print_and_return / x: 9 │
00:00:11 #117 [Verbose] > │ │
00:00:11 #118 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #119 [Verbose] >
00:00:11 #120 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #121 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #122 [Verbose] > │ ## indexed │
00:00:11 #123 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #124 [Verbose] >
00:00:11 #125 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:11 #126 [Verbose] > inl indexed s =
00:00:11 #127 [Verbose] > fun n =>
00:00:11 #128 [Verbose] > s |> item n |> optionm.map (fun x => n, x)
00:00:11 #129 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0477-7746-7eaf7c7f0e8c\main.spi
00:00:12 #130 [Verbose] >
00:00:12 #131 [Verbose] > ╭─[ 150.78ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #132 [Verbose] > │ () │
00:00:12 #133 [Verbose] > │ │
00:00:12 #134 [Verbose] > │ │
00:00:12 #135 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #136 [Verbose] >
00:00:12 #137 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #138 [Verbose] > // // test
00:00:12 #139 [Verbose] >
00:00:12 #140 [Verbose] > listm.init 10i32 ((*) 2)
00:00:12 #141 [Verbose] > |> from_list
00:00:12 #142 [Verbose] > |> indexed
00:00:12 #143 [Verbose] > |> item 5i32
00:00:12 #144 [Verbose] > |> _equal (Some (5i32, 10i32))
00:00:12 #145 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0492-9241-906c1d82c754\main.spi
00:00:12 #146 [Verbose] >
00:00:12 #147 [Verbose] > ╭─[ 177.17ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #148 [Verbose] > │ type [<Struct>] US0 = │
00:00:12 #149 [Verbose] > │ | US0_0 │
00:00:12 #150 [Verbose] > │ | US0_1 of f1_0 : int32 * f1_1 : int32 │
00:00:12 #151 [Verbose] > │ let rec method0 () : unit = │
00:00:12 #152 [Verbose] > │ let v3 : US0 = US0_1(5, 10) │
00:00:12 #153 [Verbose] > │ let v4 : US0 = US0_1(5, 10) │
00:00:12 #154 [Verbose] > │ let v5 : string = $"_equal / actual: %A{v3} / expected: %A{v4}" │
00:00:12 #155 [Verbose] > │ () │
00:00:12 #156 [Verbose] > │ method0() │
00:00:12 #157 [Verbose] > │ │
00:00:12 #158 [Verbose] > │ │
00:00:12 #159 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #160 [Verbose] >
00:00:12 #161 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #162 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #163 [Verbose] > │ ## zip │
00:00:12 #164 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #165 [Verbose] >
00:00:12 #166 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #167 [Verbose] > inl zip n seq1 seq2 =
00:00:12 #168 [Verbose] > seq1 n, seq2 n
00:00:12 #169 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0510-1090-1f914af25552\main.spi
00:00:12 #170 [Verbose] >
00:00:12 #171 [Verbose] > ╭─[ 171.98ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #172 [Verbose] > │ () │
00:00:12 #173 [Verbose] > │ │
00:00:12 #174 [Verbose] > │ │
00:00:12 #175 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #176 [Verbose] >
00:00:12 #177 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #178 [Verbose] > // // test
00:00:12 #179 [Verbose] >
00:00:12 #180 [Verbose] > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))
00:00:12 #181 [Verbose] > ||> zip 5i32
00:00:12 #182 [Verbose] > |> _equal (Some 5, Some 10)
00:00:12 #183 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0528-2828-2a5ed245c817\main.spi
00:00:12 #184 [Verbose] >
00:00:12 #185 [Verbose] > ╭─[ 190.13ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #186 [Verbose] > │ type [<Struct>] US0 = │
00:00:12 #187 [Verbose] > │ | US0_0 │
00:00:12 #188 [Verbose] > │ | US0_1 of f1_0 : int32 │
00:00:12 #189 [Verbose] > │ let rec method0 () : unit = │
00:00:12 #190 [Verbose] > │ let v6 : US0 = US0_1(5) │
00:00:12 #191 [Verbose] > │ let v7 : US0 = US0_1(10) │
00:00:12 #192 [Verbose] > │ let v8 : US0 = US0_1(5) │
00:00:12 #193 [Verbose] > │ let v9 : US0 = US0_1(10) │
00:00:12 #194 [Verbose] > │ let v10 : string = $"_equal / actual: %A{struct (v6, v7)} / expected: │
00:00:12 #195 [Verbose] > │ %A{struct (v8, v9)}" │
00:00:12 #196 [Verbose] > │ () │
00:00:12 #197 [Verbose] > │ method0() │
00:00:12 #198 [Verbose] > │ │
00:00:12 #199 [Verbose] > │ │
00:00:12 #200 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #201 [Verbose] >
00:00:12 #202 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #203 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #204 [Verbose] > │ ## zip_with │
00:00:12 #205 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #206 [Verbose] >
00:00:12 #207 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #208 [Verbose] > inl zip_with fn seq1 seq2 =
00:00:12 #209 [Verbose] > fun n =>
00:00:12 #210 [Verbose] > fn (seq1 n) (seq2 n)
00:00:12 #211 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0548-4842-455072526f9e\main.spi
00:00:12 #212 [Verbose] >
00:00:12 #213 [Verbose] > ╭─[ 175.26ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #214 [Verbose] > │ () │
00:00:12 #215 [Verbose] > │ │
00:00:12 #216 [Verbose] > │ │
00:00:12 #217 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #218 [Verbose] >
00:00:12 #219 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #220 [Verbose] > // // test
00:00:12 #221 [Verbose] >
00:00:12 #222 [Verbose] > ((listm.init 10i32 id |> from_list), (listm.init 10i32 ((*) 2) |> from_list))
00:00:12 #223 [Verbose] > ||> zip_with (optionm'.choose (+))
00:00:12 #224 [Verbose] > |> item 2i32
00:00:12 #225 [Verbose] > |> _equal (Some 6)
00:00:12 #226 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0566-6621-692cc6053d53\main.spi
00:00:12 #227 [Verbose] >
00:00:12 #228 [Verbose] > ╭─[ 199.43ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #229 [Verbose] > │ type [<Struct>] US0 = │
00:00:12 #230 [Verbose] > │ | US0_0 │
00:00:12 #231 [Verbose] > │ | US0_1 of f1_0 : int32 │
00:00:12 #232 [Verbose] > │ let rec method0 () : unit = │
00:00:12 #233 [Verbose] > │ let v3 : US0 = US0_1(6) │
00:00:12 #234 [Verbose] > │ let v4 : US0 = US0_1(6) │
00:00:12 #235 [Verbose] > │ let v5 : string = $"_equal / actual: %A{v3} / expected: %A{v4}" │
00:00:12 #236 [Verbose] > │ () │
00:00:12 #237 [Verbose] > │ method0() │
00:00:12 #238 [Verbose] > │ │
00:00:12 #239 [Verbose] > │ │
00:00:12 #240 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #241 [Verbose] >
00:00:12 #242 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #243 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #244 [Verbose] > │ ## fold │
00:00:12 #245 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #246 [Verbose] >
00:00:12 #247 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #248 [Verbose] > inl fold fn init seq =
00:00:12 #249 [Verbose] > inl rec loop acc n =
00:00:12 #250 [Verbose] > match seq n with
00:00:12 #251 [Verbose] > | Some x => loop (fn acc x) (n + 1)
00:00:12 #252 [Verbose] > | None => acc
00:00:12 #253 [Verbose] > loop init 0
00:00:12 #254 [Verbose] >
00:00:12 #255 [Verbose] > inl fold_ fn init seq =
00:00:12 #256 [Verbose] > let rec loop acc n =
00:00:12 #257 [Verbose] > match seq n with
00:00:12 #258 [Verbose] > | Some x => loop (fn acc x) (n + 1)
00:00:12 #259 [Verbose] > | None => acc
00:00:12 #260 [Verbose] > loop init 0
00:00:13 #261 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0586-8699-88683a9c5450\main.spi
00:00:13 #262 [Verbose] >
00:00:13 #263 [Verbose] > ╭─[ 134.28ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #264 [Verbose] > │ () │
00:00:13 #265 [Verbose] > │ │
00:00:13 #266 [Verbose] > │ │
00:00:13 #267 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #268 [Verbose] >
00:00:13 #269 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #270 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #271 [Verbose] > │ ## sum │
00:00:13 #272 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #273 [Verbose] >
00:00:13 #274 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #275 [Verbose] > inl sum seq =
00:00:13 #276 [Verbose] > seq |> fold (+) 0
00:00:13 #277 [Verbose] >
00:00:13 #278 [Verbose] > inl sum_ seq =
00:00:13 #279 [Verbose] > seq |> fold_ (+) 0
00:00:13 #280 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0600-0082-0612c5169046\main.spi
00:00:13 #281 [Verbose] >
00:00:13 #282 [Verbose] > ╭─[ 151.57ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #283 [Verbose] > │ () │
00:00:13 #284 [Verbose] > │ │
00:00:13 #285 [Verbose] > │ │
00:00:13 #286 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #287 [Verbose] >
00:00:13 #288 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #289 [Verbose] > // // test
00:00:13 #290 [Verbose] >
00:00:13 #291 [Verbose] > listm.init 10i32 id
00:00:13 #292 [Verbose] > |> from_list
00:00:13 #293 [Verbose] > |> fun f (n : i32) => f n
00:00:13 #294 [Verbose] > |> sum
00:00:13 #295 [Verbose] > |> _equal 45
00:00:13 #296 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0616-1624-1bf369308f1c\main.spi
00:00:13 #297 [Verbose] >
00:00:13 #298 [Verbose] > ╭─[ 142.67ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #299 [Verbose] > │ let rec method0 () : unit = │
00:00:13 #300 [Verbose] > │ let v0 : string = $"_equal / actual: %A{45} / expected: %A{45}" │
00:00:13 #301 [Verbose] > │ () │
00:00:13 #302 [Verbose] > │ method0() │
00:00:13 #303 [Verbose] > │ │
00:00:13 #304 [Verbose] > │ │
00:00:13 #305 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #306 [Verbose] >
00:00:13 #307 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #308 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #309 [Verbose] > │ ## to_list │
00:00:13 #310 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #311 [Verbose] >
00:00:13 #312 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #313 [Verbose] > inl to_list seq =
00:00:13 #314 [Verbose] > seq
00:00:13 #315 [Verbose] > |> fold (fun acc x => x :: acc) [[]]
00:00:13 #316 [Verbose] > |> listm.rev
00:00:13 #317 [Verbose] >
00:00:13 #318 [Verbose] > inl to_list_ seq =
00:00:13 #319 [Verbose] > seq
00:00:13 #320 [Verbose] > |> fold_ (fun acc x => x :: acc) [[]]
00:00:13 #321 [Verbose] > |> listm.rev
00:00:13 #322 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0631-3108-31cd1bee4f7f\main.spi
00:00:13 #323 [Verbose] >
00:00:13 #324 [Verbose] > ╭─[ 165.26ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #325 [Verbose] > │ () │
00:00:13 #326 [Verbose] > │ │
00:00:13 #327 [Verbose] > │ │
00:00:13 #328 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #329 [Verbose] >
00:00:13 #330 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #331 [Verbose] > // // test
00:00:13 #332 [Verbose] >
00:00:13 #333 [Verbose] > listm.init 10i32 id
00:00:13 #334 [Verbose] > |> from_list
00:00:13 #335 [Verbose] > |> fun f (n : i32) => f n
00:00:13 #336 [Verbose] > |> to_list
00:00:13 #337 [Verbose] > |> _equal (listm.init 10i32 id)
00:00:13 #338 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0647-4790-4fc49d1552ed\main.spi
00:00:13 #339 [Verbose] >
00:00:13 #340 [Verbose] > ╭─[ 216.28ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #341 [Verbose] > │ type UH0 = │
00:00:13 #342 [Verbose] > │ | UH0_0 of int32 * UH0 │
00:00:13 #343 [Verbose] > │ | UH0_1 │
00:00:13 #344 [Verbose] > │ let rec method0 () : unit = │
00:00:13 #345 [Verbose] > │ let v88 : UH0 = UH0_1 │
00:00:13 #346 [Verbose] > │ let v89 : UH0 = UH0_0(9, v88) │
00:00:13 #347 [Verbose] > │ let v90 : UH0 = UH0_0(8, v89) │
00:00:13 #348 [Verbose] > │ let v91 : UH0 = UH0_0(7, v90) │
00:00:13 #349 [Verbose] > │ let v92 : UH0 = UH0_0(6, v91) │
00:00:13 #350 [Verbose] > │ let v93 : UH0 = UH0_0(5, v92) │
00:00:13 #351 [Verbose] > │ let v94 : UH0 = UH0_0(4, v93) │
00:00:13 #352 [Verbose] > │ let v95 : UH0 = UH0_0(3, v94) │
00:00:13 #353 [Verbose] > │ let v96 : UH0 = UH0_0(2, v95) │
00:00:13 #354 [Verbose] > │ let v97 : UH0 = UH0_0(1, v96) │
00:00:13 #355 [Verbose] > │ let v98 : UH0 = UH0_0(0, v97) │
00:00:13 #356 [Verbose] > │ let v99 : UH0 = UH0_1 │
00:00:13 #357 [Verbose] > │ let v100 : UH0 = UH0_0(9, v99) │
00:00:13 #358 [Verbose] > │ let v101 : UH0 = UH0_0(8, v100) │
00:00:13 #359 [Verbose] > │ let v102 : UH0 = UH0_0(7, v101) │
00:00:13 #360 [Verbose] > │ let v103 : UH0 = UH0_0(6, v102) │
00:00:13 #361 [Verbose] > │ let v104 : UH0 = UH0_0(5, v103) │
00:00:13 #362 [Verbose] > │ let v105 : UH0 = UH0_0(4, v104) │
00:00:13 #363 [Verbose] > │ let v106 : UH0 = UH0_0(3, v105) │
00:00:13 #364 [Verbose] > │ let v107 : UH0 = UH0_0(2, v106) │
00:00:13 #365 [Verbose] > │ let v108 : UH0 = UH0_0(1, v107) │
00:00:13 #366 [Verbose] > │ let v109 : UH0 = UH0_0(0, v108) │
00:00:13 #367 [Verbose] > │ let v110 : string = $"_equal / actual: %A{v98} / expected: %A{v109}" │
00:00:13 #368 [Verbose] > │ () │
00:00:13 #369 [Verbose] > │ method0() │
00:00:13 #370 [Verbose] > │ │
00:00:13 #371 [Verbose] > │ │
00:00:13 #372 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #373 [Verbose] >
00:00:13 #374 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #375 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #376 [Verbose] > │ ## take_while │
00:00:13 #377 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #378 [Verbose] >
00:00:13 #379 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #380 [Verbose] > inl take_while cond seq =
00:00:13 #381 [Verbose] > inl rec loop acc i =
00:00:13 #382 [Verbose] > match seq i with
00:00:13 #383 [Verbose] > | Some st when cond st i => loop (st :: acc) (i + 1)
00:00:13 #384 [Verbose] > | _ => acc |> listm.rev
00:00:13 #385 [Verbose] > loop [[]] 0
00:00:13 #386 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0670-7089-77740962c301\main.spi
00:00:13 #387 [Verbose] >
00:00:13 #388 [Verbose] > ╭─[ 141.50ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #389 [Verbose] > │ () │
00:00:13 #390 [Verbose] > │ │
00:00:13 #391 [Verbose] > │ │
00:00:13 #392 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #393 [Verbose] >
00:00:13 #394 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:13 #395 [Verbose] > // // test
00:00:13 #396 [Verbose] >
00:00:13 #397 [Verbose] > listm.init 10i32 id
00:00:13 #398 [Verbose] > |> from_list
00:00:13 #399 [Verbose] > |> take_while (fun n (_ : i32) => n < 5)
00:00:13 #400 [Verbose] > |> listm'.sum
00:00:13 #401 [Verbose] > |> _equal 10
00:00:14 #402 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0685-8525-8e98fbf85711\main.spi
00:00:14 #403 [Verbose] >
00:00:14 #404 [Verbose] > ╭─[ 157.94ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #405 [Verbose] > │ let rec method0 () : unit = │
00:00:14 #406 [Verbose] > │ let v0 : string = $"_equal / actual: %A{10} / expected: %A{10}" │
00:00:14 #407 [Verbose] > │ () │
00:00:14 #408 [Verbose] > │ method0() │
00:00:14 #409 [Verbose] > │ │
00:00:14 #410 [Verbose] > │ │
00:00:14 #411 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #412 [Verbose] >
00:00:14 #413 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #414 [Verbose] > // // test
00:00:14 #415 [Verbose] >
00:00:14 #416 [Verbose] > stream.new_finite_stream print_and_return 10i32
00:00:14 #417 [Verbose] > |> flip stream.try_item
00:00:14 #418 [Verbose] > |> take_while (fun n (_ : i32) => n < 5)
00:00:14 #419 [Verbose] > |> listm'.sum
00:00:14 #420 [Verbose] > |> _equal 10
00:00:14 #421 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0701-0138-08a722cb1174\main.spi
00:00:14 #422 [Verbose] >
00:00:14 #423 [Verbose] > ╭─[ 206.39ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #424 [Verbose] > │ let rec method0 () : unit = │
00:00:14 #425 [Verbose] > │ printfn $"print_and_return / x: {0}" │
00:00:14 #426 [Verbose] > │ printfn $"print_and_return / x: {1}" │
00:00:14 #427 [Verbose] > │ printfn $"print_and_return / x: {1}" │
00:00:14 #428 [Verbose] > │ printfn $"print_and_return / x: {2}" │
00:00:14 #429 [Verbose] > │ printfn $"print_and_return / x: {1}" │
00:00:14 #430 [Verbose] > │ printfn $"print_and_return / x: {2}" │
00:00:14 #431 [Verbose] > │ printfn $"print_and_return / x: {3}" │
00:00:14 #432 [Verbose] > │ printfn $"print_and_return / x: {1}" │
00:00:14 #433 [Verbose] > │ printfn $"print_and_return / x: {2}" │
00:00:14 #434 [Verbose] > │ printfn $"print_and_return / x: {3}" │
00:00:14 #435 [Verbose] > │ printfn $"print_and_return / x: {4}" │
00:00:14 #436 [Verbose] > │ printfn $"print_and_return / x: {1}" │
00:00:14 #437 [Verbose] > │ printfn $"print_and_return / x: {2}" │
00:00:14 #438 [Verbose] > │ printfn $"print_and_return / x: {3}" │
00:00:14 #439 [Verbose] > │ printfn $"print_and_return / x: {4}" │
00:00:14 #440 [Verbose] > │ printfn $"print_and_return / x: {5}" │
00:00:14 #441 [Verbose] > │ let v0 : string = $"_equal / actual: %A{10} / expected: %A{10}" │
00:00:14 #442 [Verbose] > │ () │
00:00:14 #443 [Verbose] > │ method0() │
00:00:14 #444 [Verbose] > │ │
00:00:14 #445 [Verbose] > │ print_and_return / x: 0 │
00:00:14 #446 [Verbose] > │ print_and_return / x: 1 │
00:00:14 #447 [Verbose] > │ print_and_return / x: 1 │
00:00:14 #448 [Verbose] > │ print_and_return / x: 2 │
00:00:14 #449 [Verbose] > │ print_and_return / x: 1 │
00:00:14 #450 [Verbose] > │ print_and_return / x: 2 │
00:00:14 #451 [Verbose] > │ print_and_return / x: 3 │
00:00:14 #452 [Verbose] > │ print_and_return / x: 1 │
00:00:14 #453 [Verbose] > │ print_and_return / x: 2 │
00:00:14 #454 [Verbose] > │ print_and_return / x: 3 │
00:00:14 #455 [Verbose] > │ print_and_return / x: 4 │
00:00:14 #456 [Verbose] > │ print_and_return / x: 1 │
00:00:14 #457 [Verbose] > │ print_and_return / x: 2 │
00:00:14 #458 [Verbose] > │ print_and_return / x: 3 │
00:00:14 #459 [Verbose] > │ print_and_return / x: 4 │
00:00:14 #460 [Verbose] > │ print_and_return / x: 5 │
00:00:14 #461 [Verbose] > │ │
00:00:14 #462 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #463 [Verbose] >
00:00:14 #464 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:14 #465 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:14 #466 [Verbose] > │ ## take_while_ │
00:00:14 #467 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #468 [Verbose] >
00:00:14 #469 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #470 [Verbose] > inl take_while_ cond seq =
00:00:14 #471 [Verbose] > let rec loop acc i =
00:00:14 #472 [Verbose] > match seq i with
00:00:14 #473 [Verbose] > | Some st when cond st i => loop (st :: acc) (i + 1)
00:00:14 #474 [Verbose] > | _ => acc |> listm.rev
00:00:14 #475 [Verbose] > loop [[]] 0
00:00:14 #476 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0724-2421-23157c64d539\main.spi
00:00:14 #477 [Verbose] >
00:00:14 #478 [Verbose] > ╭─[ 126.65ms - stdout ]────────────────────────────────────────────────────────╮
00:00:14 #479 [Verbose] > │ () │
00:00:14 #480 [Verbose] > │ │
00:00:14 #481 [Verbose] > │ │
00:00:14 #482 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:14 #483 [Verbose] >
00:00:14 #484 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #485 [Verbose] > // // test
00:00:14 #486 [Verbose] >
00:00:14 #487 [Verbose] > stream.new_infinite_stream_ print_and_return
00:00:14 #488 [Verbose] > |> flip stream.try_item
00:00:14 #489 [Verbose] > |> take_while_ (fun n (_ : i32) => n < 5i32)
00:00:14 #490 [Verbose] > |> listm'.sum
00:00:14 #491 [Verbose] > |> _equal 10
00:00:14 #492 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0737-3704-3298ecd9a563\main.spi
00:00:15 #493 [Verbose] >
00:00:15 #494 [Verbose] > ╭─[ 568.31ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #495 [Verbose] > │ type UH0 = │
00:00:15 #496 [Verbose] > │ | UH0_0 of int32 * (unit -> UH0) │
00:00:15 #497 [Verbose] > │ | UH0_1 │
00:00:15 #498 [Verbose] > │ and UH1 = │
00:00:15 #499 [Verbose] > │ | UH1_0 of int32 * UH1 │
00:00:15 #500 [Verbose] > │ | UH1_1 │
00:00:15 #501 [Verbose] > │ and [<Struct>] US0 = │
00:00:15 #502 [Verbose] > │ | US0_0 │
00:00:15 #503 [Verbose] > │ | US0_1 of f1_0 : int32 │
00:00:15 #504 [Verbose] > │ let rec closure0 (v0 : int32) () : UH0 = │
00:00:15 #505 [Verbose] > │ let v1 : int32 = v0 + 1 │
00:00:15 #506 [Verbose] > │ method1(v1) │
00:00:15 #507 [Verbose] > │ and method1 (v0 : int32) : UH0 = │
00:00:15 #508 [Verbose] > │ printfn $"print_and_return / x: {v0}" │
00:00:15 #509 [Verbose] > │ let v1 : (unit -> UH0) = closure0(v0) │
00:00:15 #510 [Verbose] > │ UH0_0(v0, v1) │
00:00:15 #511 [Verbose] > │ and method3 (v0 : int32, v1 : UH0) : US0 = │
00:00:15 #512 [Verbose] > │ match v1 with │
00:00:15 #513 [Verbose] > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:00:15 #514 [Verbose] > │ let v4 : bool = v0 <= 0 │
00:00:15 #515 [Verbose] > │ if v4 then │
00:00:15 #516 [Verbose] > │ US0_1(v2) │
00:00:15 #517 [Verbose] > │ else │
00:00:15 #518 [Verbose] > │ let v6 : int32 = v0 - 1 │
00:00:15 #519 [Verbose] > │ let v7 : UH0 = v3 () │
00:00:15 #520 [Verbose] > │ method3(v6, v7) │
00:00:15 #521 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:15 #522 [Verbose] > │ US0_0 │
00:00:15 #523 [Verbose] > │ and method4 (v0 : UH1, v1 : UH1) : UH1 = │
00:00:15 #524 [Verbose] > │ match v0 with │
00:00:15 #525 [Verbose] > │ | UH1_0(v2, v3) -> (* Cons *) │
00:00:15 #526 [Verbose] > │ let v4 : UH1 = UH1_0(v2, v1) │
00:00:15 #527 [Verbose] > │ method4(v3, v4) │
00:00:15 #528 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:15 #529 [Verbose] > │ v1 │
00:00:15 #530 [Verbose] > │ and method2 (v0 : UH0, v1 : UH1, v2 : int32) : UH1 = │
00:00:15 #531 [Verbose] > │ let v3 : US0 = method3(v2, v0) │
00:00:15 #532 [Verbose] > │ match v3 with │
00:00:15 #533 [Verbose] > │ | US0_1(v4) -> (* Some *) │
00:00:15 #534 [Verbose] > │ let v5 : bool = v4 < 5 │
00:00:15 #535 [Verbose] > │ if v5 then │
00:00:15 #536 [Verbose] > │ let v6 : UH1 = UH1_0(v4, v1) │
00:00:15 #537 [Verbose] > │ let v7 : int32 = v2 + 1 │
00:00:15 #538 [Verbose] > │ method2(v0, v6, v7) │
00:00:15 #539 [Verbose] > │ else │
00:00:15 #540 [Verbose] > │ let v9 : UH1 = UH1_1 │
00:00:15 #541 [Verbose] > │ method4(v1, v9) │
00:00:15 #542 [Verbose] > │ | _ -> │
00:00:15 #543 [Verbose] > │ let v12 : UH1 = UH1_1 │
00:00:15 #544 [Verbose] > │ method4(v1, v12) │
00:00:15 #545 [Verbose] > │ and method5 (v0 : UH1, v1 : int32) : int32 = │
00:00:15 #546 [Verbose] > │ match v0 with │
00:00:15 #547 [Verbose] > │ | UH1_0(v2, v3) -> (* Cons *) │
00:00:15 #548 [Verbose] > │ let v4 : int32 = v1 + v2 │
00:00:15 #549 [Verbose] > │ method5(v3, v4) │
00:00:15 #550 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:15 #551 [Verbose] > │ v1 │
00:00:15 #552 [Verbose] > │ and method0 () : unit = │
00:00:15 #553 [Verbose] > │ let v0 : int32 = 0 │
00:00:15 #554 [Verbose] > │ let v1 : UH0 = method1(v0) │
00:00:15 #555 [Verbose] > │ let v2 : UH1 = UH1_1 │
00:00:15 #556 [Verbose] > │ let v3 : int32 = 0 │
00:00:15 #557 [Verbose] > │ let v4 : UH1 = method2(v1, v2, v3) │
00:00:15 #558 [Verbose] > │ let v5 : int32 = 0 │
00:00:15 #559 [Verbose] > │ let v6 : int32 = method5(v4, v5) │
00:00:15 #560 [Verbose] > │ let v7 : bool = v6 = 10 │
00:00:15 #561 [Verbose] > │ let v8 : string = $"_equal / actual: %A{v6} / expected: %A{10}" │
00:00:15 #562 [Verbose] > │ let v9 : bool = v7 = false │
00:00:15 #563 [Verbose] > │ if v9 then │
00:00:15 #564 [Verbose] > │ failwith<unit> v8 │
00:00:15 #565 [Verbose] > │ method0() │
00:00:15 #566 [Verbose] > │ │
00:00:15 #567 [Verbose] > │ print_and_return / x: 0 │
00:00:15 #568 [Verbose] > │ print_and_return / x: 1 │
00:00:15 #569 [Verbose] > │ print_and_return / x: 1 │
00:00:15 #570 [Verbose] > │ print_and_return / x: 2 │
00:00:15 #571 [Verbose] > │ print_and_return / x: 1 │
00:00:15 #572 [Verbose] > │ print_and_return / x: 2 │
00:00:15 #573 [Verbose] > │ print_and_return / x: 3 │
00:00:15 #574 [Verbose] > │ print_and_return / x: 1 │
00:00:15 #575 [Verbose] > │ print_and_return / x: 2 │
00:00:15 #576 [Verbose] > │ print_and_return / x: 3 │
00:00:15 #577 [Verbose] > │ print_and_return / x: 4 │
00:00:15 #578 [Verbose] > │ print_and_return / x: 1 │
00:00:15 #579 [Verbose] > │ print_and_return / x: 2 │
00:00:15 #580 [Verbose] > │ print_and_return / x: 3 │
00:00:15 #581 [Verbose] > │ print_and_return / x: 4 │
00:00:15 #582 [Verbose] > │ print_and_return / x: 5 │
00:00:15 #583 [Verbose] > │ │
00:00:15 #584 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #585 [Verbose] >
00:00:15 #586 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #587 [Verbose] > // // test
00:00:15 #588 [Verbose] >
00:00:15 #589 [Verbose] > stream.new_infinite_stream_ print_and_return
00:00:15 #590 [Verbose] > |> stream.memoize
00:00:15 #591 [Verbose] > |> fun list =>
00:00:15 #592 [Verbose] > inl list = list ()
00:00:15 #593 [Verbose] > fun n =>
00:00:15 #594 [Verbose] > list |> stream.try_item n
00:00:15 #595 [Verbose] > |> take_while_ (fun n (_ : i32) => n < 5i32)
00:00:15 #596 [Verbose] > |> listm'.sum
00:00:15 #597 [Verbose] > |> _equal 10
00:00:15 #598 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0798-9861-97bdb8e415cc\main.spi
00:00:15 #599 [Verbose] >
00:00:15 #600 [Verbose] > ╭─[ 327.12ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #601 [Verbose] > │ type UH0 = │
00:00:15 #602 [Verbose] > │ | UH0_0 of int32 * (unit -> UH0) │
00:00:15 #603 [Verbose] > │ | UH0_1 │
00:00:15 #604 [Verbose] > │ and [<Struct>] US0 = │
00:00:15 #605 [Verbose] > │ | US0_0 of f0_0 : UH0 │
00:00:15 #606 [Verbose] > │ | US0_1 of f1_0 : (unit -> UH0) │
00:00:15 #607 [Verbose] > │ and Mut0 = {mutable l0 : US0} │
00:00:15 #608 [Verbose] > │ and UH1 = │
00:00:15 #609 [Verbose] > │ | UH1_0 of int32 * UH1 │
00:00:15 #610 [Verbose] > │ | UH1_1 │
00:00:15 #611 [Verbose] > │ and [<Struct>] US1 = │
00:00:15 #612 [Verbose] > │ | US1_0 │
00:00:15 #613 [Verbose] > │ | US1_1 of f1_0 : int32 │
00:00:15 #614 [Verbose] > │ let rec closure0 (v0 : int32) () : UH0 = │
00:00:15 #615 [Verbose] > │ let v1 : int32 = v0 + 1 │
00:00:15 #616 [Verbose] > │ method1(v1) │
00:00:15 #617 [Verbose] > │ and method1 (v0 : int32) : UH0 = │
00:00:15 #618 [Verbose] > │ printfn $"print_and_return / x: {v0}" │
00:00:15 #619 [Verbose] > │ let v1 : (unit -> UH0) = closure0(v0) │
00:00:15 #620 [Verbose] > │ UH0_0(v0, v1) │
00:00:15 #621 [Verbose] > │ and closure1 (v0 : UH0) () : UH0 = │
00:00:15 #622 [Verbose] > │ v0 │
00:00:15 #623 [Verbose] > │ and closure2 (v0 : UH0, v1 : Mut0) () : UH0 = │
00:00:15 #624 [Verbose] > │ let v2 : US0 = v1.l0 │
00:00:15 #625 [Verbose] > │ match v2 with │
00:00:15 #626 [Verbose] > │ | US0_0(v3) -> (* Computed *) │
00:00:15 #627 [Verbose] > │ v3 │
00:00:15 #628 [Verbose] > │ | US0_1(v4) -> (* NotComputed *) │
00:00:15 #629 [Verbose] > │ let v5 : UH0 = v4 () │
00:00:15 #630 [Verbose] > │ let v12 : UH0 = │
00:00:15 #631 [Verbose] > │ match v5 with │
00:00:15 #632 [Verbose] > │ | UH0_0(v7, v8) -> (* StreamCons *) │
00:00:15 #633 [Verbose] > │ let v9 : (unit -> UH0) = method2(v0, v8) │
00:00:15 #634 [Verbose] > │ UH0_0(v7, v9) │
00:00:15 #635 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:15 #636 [Verbose] > │ UH0_1 │
00:00:15 #637 [Verbose] > │ let v13 : US0 = US0_0(v12) │
00:00:15 #638 [Verbose] > │ v1.l0 <- v13 │
00:00:15 #639 [Verbose] > │ v12 │
00:00:15 #640 [Verbose] > │ and method2 (v0 : UH0, v1 : (unit -> UH0)) : (unit -> UH0) = │
00:00:15 #641 [Verbose] > │ let v2 : US0 = US0_1(v1) │
00:00:15 #642 [Verbose] > │ let v3 : Mut0 = {l0 = v2} : Mut0 │
00:00:15 #643 [Verbose] > │ closure2(v0, v3) │
00:00:15 #644 [Verbose] > │ and method4 (v0 : int32, v1 : UH0) : US1 = │
00:00:15 #645 [Verbose] > │ match v1 with │
00:00:15 #646 [Verbose] > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:00:15 #647 [Verbose] > │ let v4 : bool = v0 <= 0 │
00:00:15 #648 [Verbose] > │ if v4 then │
00:00:15 #649 [Verbose] > │ US1_1(v2) │
00:00:15 #650 [Verbose] > │ else │
00:00:15 #651 [Verbose] > │ let v6 : int32 = v0 - 1 │
00:00:15 #652 [Verbose] > │ let v7 : UH0 = v3 () │
00:00:15 #653 [Verbose] > │ method4(v6, v7) │
00:00:15 #654 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:15 #655 [Verbose] > │ US1_0 │
00:00:15 #656 [Verbose] > │ and method5 (v0 : UH1, v1 : UH1) : UH1 = │
00:00:15 #657 [Verbose] > │ match v0 with │
00:00:15 #658 [Verbose] > │ | UH1_0(v2, v3) -> (* Cons *) │
00:00:15 #659 [Verbose] > │ let v4 : UH1 = UH1_0(v2, v1) │
00:00:15 #660 [Verbose] > │ method5(v3, v4) │
00:00:15 #661 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:15 #662 [Verbose] > │ v1 │
00:00:15 #663 [Verbose] > │ and method3 (v0 : UH0, v1 : UH1, v2 : int32) : UH1 = │
00:00:15 #664 [Verbose] > │ let v3 : US1 = method4(v2, v0) │
00:00:15 #665 [Verbose] > │ match v3 with │
00:00:15 #666 [Verbose] > │ | US1_1(v4) -> (* Some *) │
00:00:15 #667 [Verbose] > │ let v5 : bool = v4 < 5 │
00:00:15 #668 [Verbose] > │ if v5 then │
00:00:15 #669 [Verbose] > │ let v6 : UH1 = UH1_0(v4, v1) │
00:00:15 #670 [Verbose] > │ let v7 : int32 = v2 + 1 │
00:00:15 #671 [Verbose] > │ method3(v0, v6, v7) │
00:00:15 #672 [Verbose] > │ else │
00:00:15 #673 [Verbose] > │ let v9 : UH1 = UH1_1 │
00:00:15 #674 [Verbose] > │ method5(v1, v9) │
00:00:15 #675 [Verbose] > │ | _ -> │
00:00:15 #676 [Verbose] > │ let v12 : UH1 = UH1_1 │
00:00:15 #677 [Verbose] > │ method5(v1, v12) │
00:00:15 #678 [Verbose] > │ and method6 (v0 : UH1, v1 : int32) : int32 = │
00:00:15 #679 [Verbose] > │ match v0 with │
00:00:15 #680 [Verbose] > │ | UH1_0(v2, v3) -> (* Cons *) │
00:00:15 #681 [Verbose] > │ let v4 : int32 = v1 + v2 │
00:00:15 #682 [Verbose] > │ method6(v3, v4) │
00:00:15 #683 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:15 #684 [Verbose] > │ v1 │
00:00:15 #685 [Verbose] > │ and method0 () : unit = │
00:00:15 #686 [Verbose] > │ let v0 : int32 = 0 │
00:00:15 #687 [Verbose] > │ let v1 : UH0 = method1(v0) │
00:00:15 #688 [Verbose] > │ let v2 : (unit -> UH0) = closure1(v1) │
00:00:15 #689 [Verbose] > │ let v3 : (unit -> UH0) = method2(v1, v2) │
00:00:15 #690 [Verbose] > │ let v4 : UH0 = v3 () │
00:00:15 #691 [Verbose] > │ let v5 : UH1 = UH1_1 │
00:00:15 #692 [Verbose] > │ let v6 : int32 = 0 │
00:00:15 #693 [Verbose] > │ let v7 : UH1 = method3(v4, v5, v6) │
00:00:15 #694 [Verbose] > │ let v8 : int32 = 0 │
00:00:15 #695 [Verbose] > │ let v9 : int32 = method6(v7, v8) │
00:00:15 #696 [Verbose] > │ let v10 : bool = v9 = 10 │
00:00:15 #697 [Verbose] > │ let v11 : string = $"_equal / actual: %A{v9} / expected: %A{10}" │
00:00:15 #698 [Verbose] > │ let v12 : bool = v10 = false │
00:00:15 #699 [Verbose] > │ if v12 then │
00:00:15 #700 [Verbose] > │ failwith<unit> v11 │
00:00:15 #701 [Verbose] > │ method0() │
00:00:15 #702 [Verbose] > │ │
00:00:15 #703 [Verbose] > │ print_and_return / x: 0 │
00:00:15 #704 [Verbose] > │ print_and_return / x: 1 │
00:00:15 #705 [Verbose] > │ print_and_return / x: 2 │
00:00:15 #706 [Verbose] > │ print_and_return / x: 3 │
00:00:15 #707 [Verbose] > │ print_and_return / x: 4 │
00:00:15 #708 [Verbose] > │ print_and_return / x: 5 │
00:00:15 #709 [Verbose] > │ │
00:00:15 #710 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #711 [Verbose] >
00:00:15 #712 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #713 [Verbose] > // // test
00:00:15 #714 [Verbose] >
00:00:15 #715 [Verbose] > stream.new_finite_stream print_and_return 10i32
00:00:15 #716 [Verbose] > |> stream.memoize
00:00:15 #717 [Verbose] > |> fun list =>
00:00:15 #718 [Verbose] > inl list = list ()
00:00:15 #719 [Verbose] > fun n =>
00:00:15 #720 [Verbose] > list |> stream.try_item n
00:00:15 #721 [Verbose] > |> take_while_ (fun n (_ : i32) => n < 5)
00:00:15 #722 [Verbose] > |> listm'.sum
00:00:15 #723 [Verbose] > |> _equal 10
00:00:15 #724 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0836-3612-395c063439a1\main.spi
00:00:15 #725 [Verbose] >
00:00:15 #726 [Verbose] > ╭─[ 282.53ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #727 [Verbose] > │ type UH0 = │
00:00:15 #728 [Verbose] > │ | UH0_0 of int32 * (unit -> UH0) │
00:00:15 #729 [Verbose] > │ | UH0_1 │
00:00:15 #730 [Verbose] > │ and [<Struct>] US0 = │
00:00:15 #731 [Verbose] > │ | US0_0 of f0_0 : UH0 │
00:00:15 #732 [Verbose] > │ | US0_1 of f1_0 : (unit -> UH0) │
00:00:15 #733 [Verbose] > │ and Mut0 = {mutable l0 : US0} │
00:00:15 #734 [Verbose] > │ and UH1 = │
00:00:15 #735 [Verbose] > │ | UH1_0 of int32 * UH1 │
00:00:15 #736 [Verbose] > │ | UH1_1 │
00:00:15 #737 [Verbose] > │ and [<Struct>] US1 = │
00:00:15 #738 [Verbose] > │ | US1_0 │
00:00:15 #739 [Verbose] > │ | US1_1 of f1_0 : int32 │
00:00:15 #740 [Verbose] > │ let rec closure10 () () : UH0 = │
00:00:15 #741 [Verbose] > │ UH0_1 │
00:00:15 #742 [Verbose] > │ and closure9 () () : UH0 = │
00:00:15 #743 [Verbose] > │ printfn $"print_and_return / x: {9}" │
00:00:15 #744 [Verbose] > │ let v0 : (unit -> UH0) = closure10() │
00:00:15 #745 [Verbose] > │ UH0_0(9, v0) │
00:00:15 #746 [Verbose] > │ and closure8 () () : UH0 = │
00:00:15 #747 [Verbose] > │ printfn $"print_and_return / x: {8}" │
00:00:15 #748 [Verbose] > │ let v0 : (unit -> UH0) = closure9() │
00:00:15 #749 [Verbose] > │ UH0_0(8, v0) │
00:00:15 #750 [Verbose] > │ and closure7 () () : UH0 = │
00:00:15 #751 [Verbose] > │ printfn $"print_and_return / x: {7}" │
00:00:15 #752 [Verbose] > │ let v0 : (unit -> UH0) = closure8() │
00:00:15 #753 [Verbose] > │ UH0_0(7, v0) │
00:00:15 #754 [Verbose] > │ and closure6 () () : UH0 = │
00:00:15 #755 [Verbose] > │ printfn $"print_and_return / x: {6}" │
00:00:15 #756 [Verbose] > │ let v0 : (unit -> UH0) = closure7() │
00:00:15 #757 [Verbose] > │ UH0_0(6, v0) │
00:00:15 #758 [Verbose] > │ and closure5 () () : UH0 = │
00:00:15 #759 [Verbose] > │ printfn $"print_and_return / x: {5}" │
00:00:15 #760 [Verbose] > │ let v0 : (unit -> UH0) = closure6() │
00:00:15 #761 [Verbose] > │ UH0_0(5, v0) │
00:00:15 #762 [Verbose] > │ and closure4 () () : UH0 = │
00:00:15 #763 [Verbose] > │ printfn $"print_and_return / x: {4}" │
00:00:15 #764 [Verbose] > │ let v0 : (unit -> UH0) = closure5() │
00:00:15 #765 [Verbose] > │ UH0_0(4, v0) │
00:00:15 #766 [Verbose] > │ and closure3 () () : UH0 = │
00:00:15 #767 [Verbose] > │ printfn $"print_and_return / x: {3}" │
00:00:15 #768 [Verbose] > │ let v0 : (unit -> UH0) = closure4() │
00:00:15 #769 [Verbose] > │ UH0_0(3, v0) │
00:00:15 #770 [Verbose] > │ and closure2 () () : UH0 = │
00:00:15 #771 [Verbose] > │ printfn $"print_and_return / x: {2}" │
00:00:15 #772 [Verbose] > │ let v0 : (unit -> UH0) = closure3() │
00:00:15 #773 [Verbose] > │ UH0_0(2, v0) │
00:00:15 #774 [Verbose] > │ and closure1 () () : UH0 = │
00:00:15 #775 [Verbose] > │ printfn $"print_and_return / x: {1}" │
00:00:15 #776 [Verbose] > │ let v0 : (unit -> UH0) = closure2() │
00:00:15 #777 [Verbose] > │ UH0_0(1, v0) │
00:00:15 #778 [Verbose] > │ and closure0 () () : UH0 = │
00:00:15 #779 [Verbose] > │ let v0 : (unit -> UH0) = closure1() │
00:00:15 #780 [Verbose] > │ UH0_0(0, v0) │
00:00:15 #781 [Verbose] > │ and closure11 (v0 : Mut0) () : UH0 = │
00:00:15 #782 [Verbose] > │ let v1 : US0 = v0.l0 │
00:00:15 #783 [Verbose] > │ match v1 with │
00:00:15 #784 [Verbose] > │ | US0_0(v2) -> (* Computed *) │
00:00:15 #785 [Verbose] > │ v2 │
00:00:15 #786 [Verbose] > │ | US0_1(v3) -> (* NotComputed *) │
00:00:15 #787 [Verbose] > │ let v4 : UH0 = v3 () │
00:00:15 #788 [Verbose] > │ let v13 : UH0 = │
00:00:15 #789 [Verbose] > │ match v4 with │
00:00:15 #790 [Verbose] > │ | UH0_0(v6, v7) -> (* StreamCons *) │
00:00:15 #791 [Verbose] > │ let v8 : US0 = US0_1(v7) │
00:00:15 #792 [Verbose] > │ let v9 : Mut0 = {l0 = v8} : Mut0 │
00:00:15 #793 [Verbose] > │ let v10 : (unit -> UH0) = closure11(v9) │
00:00:15 #794 [Verbose] > │ UH0_0(v6, v10) │
00:00:15 #795 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:15 #796 [Verbose] > │ UH0_1 │
00:00:15 #797 [Verbose] > │ let v14 : US0 = US0_0(v13) │
00:00:15 #798 [Verbose] > │ v0.l0 <- v14 │
00:00:15 #799 [Verbose] > │ v13 │
00:00:15 #800 [Verbose] > │ and method2 (v0 : int32, v1 : UH0) : US1 = │
00:00:15 #801 [Verbose] > │ match v1 with │
00:00:15 #802 [Verbose] > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:00:15 #803 [Verbose] > │ let v4 : bool = v0 <= 0 │
00:00:15 #804 [Verbose] > │ if v4 then │
00:00:15 #805 [Verbose] > │ US1_1(v2) │
00:00:15 #806 [Verbose] > │ else │
00:00:15 #807 [Verbose] > │ let v6 : int32 = v0 - 1 │
00:00:15 #808 [Verbose] > │ let v7 : UH0 = v3 () │
00:00:15 #809 [Verbose] > │ method2(v6, v7) │
00:00:15 #810 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:15 #811 [Verbose] > │ US1_0 │
00:00:15 #812 [Verbose] > │ and method3 (v0 : UH1, v1 : UH1) : UH1 = │
00:00:15 #813 [Verbose] > │ match v0 with │
00:00:15 #814 [Verbose] > │ | UH1_0(v2, v3) -> (* Cons *) │
00:00:15 #815 [Verbose] > │ let v4 : UH1 = UH1_0(v2, v1) │
00:00:15 #816 [Verbose] > │ method3(v3, v4) │
00:00:15 #817 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:15 #818 [Verbose] > │ v1 │
00:00:15 #819 [Verbose] > │ and method1 (v0 : UH0, v1 : UH1, v2 : int32) : UH1 = │
00:00:15 #820 [Verbose] > │ let v3 : US1 = method2(v2, v0) │
00:00:15 #821 [Verbose] > │ match v3 with │
00:00:15 #822 [Verbose] > │ | US1_1(v4) -> (* Some *) │
00:00:15 #823 [Verbose] > │ let v5 : bool = v4 < 5 │
00:00:15 #824 [Verbose] > │ if v5 then │
00:00:15 #825 [Verbose] > │ let v6 : UH1 = UH1_0(v4, v1) │
00:00:15 #826 [Verbose] > │ let v7 : int32 = v2 + 1 │
00:00:15 #827 [Verbose] > │ method1(v0, v6, v7) │
00:00:15 #828 [Verbose] > │ else │
00:00:15 #829 [Verbose] > │ let v9 : UH1 = UH1_1 │
00:00:15 #830 [Verbose] > │ method3(v1, v9) │
00:00:15 #831 [Verbose] > │ | _ -> │
00:00:15 #832 [Verbose] > │ let v12 : UH1 = UH1_1 │
00:00:15 #833 [Verbose] > │ method3(v1, v12) │
00:00:15 #834 [Verbose] > │ and method4 (v0 : UH1, v1 : int32) : int32 = │
00:00:15 #835 [Verbose] > │ match v0 with │
00:00:15 #836 [Verbose] > │ | UH1_0(v2, v3) -> (* Cons *) │
00:00:15 #837 [Verbose] > │ let v4 : int32 = v1 + v2 │
00:00:15 #838 [Verbose] > │ method4(v3, v4) │
00:00:15 #839 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:15 #840 [Verbose] > │ v1 │
00:00:15 #841 [Verbose] > │ and method0 () : unit = │
00:00:15 #842 [Verbose] > │ printfn $"print_and_return / x: {0}" │
00:00:15 #843 [Verbose] > │ let v0 : (unit -> UH0) = closure0() │
00:00:15 #844 [Verbose] > │ let v1 : US0 = US0_1(v0) │
00:00:15 #845 [Verbose] > │ let v2 : Mut0 = {l0 = v1} : Mut0 │
00:00:15 #846 [Verbose] > │ let v3 : US0 = v2.l0 │
00:00:15 #847 [Verbose] > │ let v18 : UH0 = │
00:00:15 #848 [Verbose] > │ match v3 with │
00:00:15 #849 [Verbose] > │ | US0_0(v4) -> (* Computed *) │
00:00:15 #850 [Verbose] > │ v4 │
00:00:15 #851 [Verbose] > │ | US0_1(v5) -> (* NotComputed *) │
00:00:15 #852 [Verbose] > │ let v6 : UH0 = v5 () │
00:00:15 #853 [Verbose] > │ let v15 : UH0 = │
00:00:15 #854 [Verbose] > │ match v6 with │
00:00:15 #855 [Verbose] > │ | UH0_0(v8, v9) -> (* StreamCons *) │
00:00:15 #856 [Verbose] > │ let v10 : US0 = US0_1(v9) │
00:00:15 #857 [Verbose] > │ let v11 : Mut0 = {l0 = v10} : Mut0 │
00:00:15 #858 [Verbose] > │ let v12 : (unit -> UH0) = closure11(v11) │
00:00:15 #859 [Verbose] > │ UH0_0(v8, v12) │
00:00:15 #860 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:15 #861 [Verbose] > │ UH0_1 │
00:00:15 #862 [Verbose] > │ let v16 : US0 = US0_0(v15) │
00:00:15 #863 [Verbose] > │ v2.l0 <- v16 │
00:00:15 #864 [Verbose] > │ v15 │
00:00:15 #865 [Verbose] > │ let v19 : UH1 = UH1_1 │
00:00:15 #866 [Verbose] > │ let v20 : int32 = 0 │
00:00:15 #867 [Verbose] > │ let v21 : UH1 = method1(v18, v19, v20) │
00:00:15 #868 [Verbose] > │ let v22 : int32 = 0 │
00:00:15 #869 [Verbose] > │ let v23 : int32 = method4(v21, v22) │
00:00:15 #870 [Verbose] > │ let v24 : bool = v23 = 10 │
00:00:15 #871 [Verbose] > │ let v25 : string = $"_equal / actual: %A{v23} / expected: %A{10}" │
00:00:15 #872 [Verbose] > │ let v26 : bool = v24 = false │
00:00:15 #873 [Verbose] > │ if v26 then │
00:00:15 #874 [Verbose] > │ failwith<unit> v25 │
00:00:15 #875 [Verbose] > │ method0() │
00:00:15 #876 [Verbose] > │ │
00:00:15 #877 [Verbose] > │ print_and_return / x: 0 │
00:00:15 #878 [Verbose] > │ print_and_return / x: 1 │
00:00:15 #879 [Verbose] > │ print_and_return / x: 2 │
00:00:15 #880 [Verbose] > │ print_and_return / x: 3 │
00:00:15 #881 [Verbose] > │ print_and_return / x: 4 │
00:00:15 #882 [Verbose] > │ print_and_return / x: 5 │
00:00:15 #883 [Verbose] > │ │
00:00:15 #884 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #885 [Verbose] >
00:00:15 #886 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:15 #887 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:15 #888 [Verbose] > │ ## memoize │
00:00:15 #889 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #890 [Verbose] >
00:00:15 #891 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #892 [Verbose] > inl memoize seq =
00:00:15 #893 [Verbose] > inl state = mut [[]]
00:00:15 #894 [Verbose] > fun n =>
00:00:15 #895 [Verbose] > match *state |> listm'.try_find (fun (n', _) => n' = n) with
00:00:15 #896 [Verbose] > | Some (_, v) => v
00:00:15 #897 [Verbose] > | None =>
00:00:15 #898 [Verbose] > inl new_state = seq n
00:00:15 #899 [Verbose] > state <- (n, new_state) :: *state
00:00:15 #900 [Verbose] > new_state
00:00:15 #901 [Verbose] >
00:00:15 #902 [Verbose] > inl memoize_ seq =
00:00:15 #903 [Verbose] > inl state = mut [[]]
00:00:15 #904 [Verbose] > fun n =>
00:00:15 #905 [Verbose] > match *state |> listm'.try_find_ (fun (n', _) => n' = n) with
00:00:15 #906 [Verbose] > | Some (_, v) => v
00:00:15 #907 [Verbose] > | None =>
00:00:15 #908 [Verbose] > inl new_state = seq n
00:00:15 #909 [Verbose] > state <- (n, new_state) :: *state
00:00:15 #910 [Verbose] > new_state
00:00:15 #911 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0871-7117-784534a65f9b\main.spi
00:00:15 #912 [Verbose] >
00:00:15 #913 [Verbose] > ╭─[ 149.56ms - stdout ]────────────────────────────────────────────────────────╮
00:00:15 #914 [Verbose] > │ () │
00:00:15 #915 [Verbose] > │ │
00:00:15 #916 [Verbose] > │ │
00:00:15 #917 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:15 #918 [Verbose] >
00:00:15 #919 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:15 #920 [Verbose] > // // test
00:00:15 #921 [Verbose] >
00:00:15 #922 [Verbose] > inl seq =
00:00:15 #923 [Verbose] > fun n =>
00:00:15 #924 [Verbose] > n |> print_and_return |> Some
00:00:15 #925 [Verbose] > |> memoize_
00:00:15 #926 [Verbose] >
00:00:15 #927 [Verbose] > seq
00:00:15 #928 [Verbose] > |> take_while_ (fun n (_ : i32) => n < 5)
00:00:15 #929 [Verbose] > |> listm'.sum
00:00:15 #930 [Verbose] > |> _equal 10
00:00:15 #931 [Verbose] >
00:00:15 #932 [Verbose] > seq
00:00:15 #933 [Verbose] > |> take_while_ (fun n _ => n < 5)
00:00:15 #934 [Verbose] > |> listm'.sum
00:00:15 #935 [Verbose] > |> _equal 10
00:00:16 #936 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0886-8635-8291b98aef62\main.spi
00:00:16 #937 [Verbose] >
00:00:16 #938 [Verbose] > ╭─[ 332.48ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #939 [Verbose] > │ type [<Struct>] US0 = │
00:00:16 #940 [Verbose] > │ | US0_0 │
00:00:16 #941 [Verbose] > │ | US0_1 of f1_0 : int32 │
00:00:16 #942 [Verbose] > │ and UH0 = │
00:00:16 #943 [Verbose] > │ | UH0_0 of int32 * US0 * UH0 │
00:00:16 #944 [Verbose] > │ | UH0_1 │
00:00:16 #945 [Verbose] > │ and Mut0 = {mutable l0 : UH0} │
00:00:16 #946 [Verbose] > │ and UH1 = │
00:00:16 #947 [Verbose] > │ | UH1_0 of int32 * UH1 │
00:00:16 #948 [Verbose] > │ | UH1_1 │
00:00:16 #949 [Verbose] > │ and [<Struct>] US1 = │
00:00:16 #950 [Verbose] > │ | US1_0 │
00:00:16 #951 [Verbose] > │ | US1_1 of f1_0 : int32 * f1_1 : US0 │
00:00:16 #952 [Verbose] > │ let rec method2 (v0 : int32, v1 : UH0) : US1 = │
00:00:16 #953 [Verbose] > │ match v1 with │
00:00:16 #954 [Verbose] > │ | UH0_0(v3, v4, v5) -> (* Cons *) │
00:00:16 #955 [Verbose] > │ let v6 : bool = v3 = v0 │
00:00:16 #956 [Verbose] > │ if v6 then │
00:00:16 #957 [Verbose] > │ US1_1(v3, v4) │
00:00:16 #958 [Verbose] > │ else │
00:00:16 #959 [Verbose] > │ method2(v0, v5) │
00:00:16 #960 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:16 #961 [Verbose] > │ US1_0 │
00:00:16 #962 [Verbose] > │ and method3 (v0 : UH1, v1 : UH1) : UH1 = │
00:00:16 #963 [Verbose] > │ match v0 with │
00:00:16 #964 [Verbose] > │ | UH1_0(v2, v3) -> (* Cons *) │
00:00:16 #965 [Verbose] > │ let v4 : UH1 = UH1_0(v2, v1) │
00:00:16 #966 [Verbose] > │ method3(v3, v4) │
00:00:16 #967 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:16 #968 [Verbose] > │ v1 │
00:00:16 #969 [Verbose] > │ and method1 (v0 : Mut0, v1 : UH1, v2 : int32) : UH1 = │
00:00:16 #970 [Verbose] > │ let v3 : UH0 = v0.l0 │
00:00:16 #971 [Verbose] > │ let v4 : US1 = method2(v2, v3) │
00:00:16 #972 [Verbose] > │ let v12 : US0 = │
00:00:16 #973 [Verbose] > │ match v4 with │
00:00:16 #974 [Verbose] > │ | US1_0 -> (* None *) │
00:00:16 #975 [Verbose] > │ printfn $"print_and_return / x: {v2}" │
00:00:16 #976 [Verbose] > │ let v7 : UH0 = v0.l0 │
00:00:16 #977 [Verbose] > │ let v8 : US0 = US0_1(v2) │
00:00:16 #978 [Verbose] > │ let v9 : UH0 = UH0_0(v2, v8, v7) │
00:00:16 #979 [Verbose] > │ v0.l0 <- v9 │
00:00:16 #980 [Verbose] > │ US0_1(v2) │
00:00:16 #981 [Verbose] > │ | US1_1(v5, v6) -> (* Some *) │
00:00:16 #982 [Verbose] > │ v6 │
00:00:16 #983 [Verbose] > │ match v12 with │
00:00:16 #984 [Verbose] > │ | US0_1(v13) -> (* Some *) │
00:00:16 #985 [Verbose] > │ let v14 : bool = v13 < 5 │
00:00:16 #986 [Verbose] > │ if v14 then │
00:00:16 #987 [Verbose] > │ let v15 : UH1 = UH1_0(v13, v1) │
00:00:16 #988 [Verbose] > │ let v16 : int32 = v2 + 1 │
00:00:16 #989 [Verbose] > │ method1(v0, v15, v16) │
00:00:16 #990 [Verbose] > │ else │
00:00:16 #991 [Verbose] > │ let v18 : UH1 = UH1_1 │
00:00:16 #992 [Verbose] > │ method3(v1, v18) │
00:00:16 #993 [Verbose] > │ | _ -> │
00:00:16 #994 [Verbose] > │ let v21 : UH1 = UH1_1 │
00:00:16 #995 [Verbose] > │ method3(v1, v21) │
00:00:16 #996 [Verbose] > │ and method4 (v0 : UH1, v1 : int32) : int32 = │
00:00:16 #997 [Verbose] > │ match v0 with │
00:00:16 #998 [Verbose] > │ | UH1_0(v2, v3) -> (* Cons *) │
00:00:16 #999 [Verbose] > │ let v4 : int32 = v1 + v2 │
00:00:16 #1000 [Verbose] > │ method4(v3, v4) │
00:00:16 #1001 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:16 #1002 [Verbose] > │ v1 │
00:00:16 #1003 [Verbose] > │ and method5 (v0 : Mut0, v1 : UH1, v2 : int32) : UH1 = │
00:00:16 #1004 [Verbose] > │ let v3 : UH0 = v0.l0 │
00:00:16 #1005 [Verbose] > │ let v4 : US1 = method2(v2, v3) │
00:00:16 #1006 [Verbose] > │ let v12 : US0 = │
00:00:16 #1007 [Verbose] > │ match v4 with │
00:00:16 #1008 [Verbose] > │ | US1_0 -> (* None *) │
00:00:16 #1009 [Verbose] > │ printfn $"print_and_return / x: {v2}" │
00:00:16 #1010 [Verbose] > │ let v7 : UH0 = v0.l0 │
00:00:16 #1011 [Verbose] > │ let v8 : US0 = US0_1(v2) │
00:00:16 #1012 [Verbose] > │ let v9 : UH0 = UH0_0(v2, v8, v7) │
00:00:16 #1013 [Verbose] > │ v0.l0 <- v9 │
00:00:16 #1014 [Verbose] > │ US0_1(v2) │
00:00:16 #1015 [Verbose] > │ | US1_1(v5, v6) -> (* Some *) │
00:00:16 #1016 [Verbose] > │ v6 │
00:00:16 #1017 [Verbose] > │ match v12 with │
00:00:16 #1018 [Verbose] > │ | US0_1(v13) -> (* Some *) │
00:00:16 #1019 [Verbose] > │ let v14 : bool = v13 < 5 │
00:00:16 #1020 [Verbose] > │ if v14 then │
00:00:16 #1021 [Verbose] > │ let v15 : UH1 = UH1_0(v13, v1) │
00:00:16 #1022 [Verbose] > │ let v16 : int32 = v2 + 1 │
00:00:16 #1023 [Verbose] > │ method5(v0, v15, v16) │
00:00:16 #1024 [Verbose] > │ else │
00:00:16 #1025 [Verbose] > │ let v18 : UH1 = UH1_1 │
00:00:16 #1026 [Verbose] > │ method3(v1, v18) │
00:00:16 #1027 [Verbose] > │ | _ -> │
00:00:16 #1028 [Verbose] > │ let v21 : UH1 = UH1_1 │
00:00:16 #1029 [Verbose] > │ method3(v1, v21) │
00:00:16 #1030 [Verbose] > │ and method0 () : unit = │
00:00:16 #1031 [Verbose] > │ let v0 : UH0 = UH0_1 │
00:00:16 #1032 [Verbose] > │ let v1 : Mut0 = {l0 = v0} : Mut0 │
00:00:16 #1033 [Verbose] > │ let v2 : UH1 = UH1_1 │
00:00:16 #1034 [Verbose] > │ let v3 : int32 = 0 │
00:00:16 #1035 [Verbose] > │ let v4 : UH1 = method1(v1, v2, v3) │
00:00:16 #1036 [Verbose] > │ let v5 : int32 = 0 │
00:00:16 #1037 [Verbose] > │ let v6 : int32 = method4(v4, v5) │
00:00:16 #1038 [Verbose] > │ let v7 : bool = v6 = 10 │
00:00:16 #1039 [Verbose] > │ let v8 : string = $"_equal / actual: %A{v6} / expected: %A{10}" │
00:00:16 #1040 [Verbose] > │ let v9 : bool = v7 = false │
00:00:16 #1041 [Verbose] > │ if v9 then │
00:00:16 #1042 [Verbose] > │ failwith<unit> v8 │
00:00:16 #1043 [Verbose] > │ let v10 : UH1 = UH1_1 │
00:00:16 #1044 [Verbose] > │ let v11 : int32 = 0 │
00:00:16 #1045 [Verbose] > │ let v12 : UH1 = method5(v1, v10, v11) │
00:00:16 #1046 [Verbose] > │ let v13 : int32 = 0 │
00:00:16 #1047 [Verbose] > │ let v14 : int32 = method4(v12, v13) │
00:00:16 #1048 [Verbose] > │ let v15 : bool = v14 = 10 │
00:00:16 #1049 [Verbose] > │ let v16 : string = $"_equal / actual: %A{v14} / expected: %A{10}" │
00:00:16 #1050 [Verbose] > │ let v17 : bool = v15 = false │
00:00:16 #1051 [Verbose] > │ if v17 then │
00:00:16 #1052 [Verbose] > │ failwith<unit> v16 │
00:00:16 #1053 [Verbose] > │ method0() │
00:00:16 #1054 [Verbose] > │ │
00:00:16 #1055 [Verbose] > │ print_and_return / x: 0 │
00:00:16 #1056 [Verbose] > │ print_and_return / x: 1 │
00:00:16 #1057 [Verbose] > │ print_and_return / x: 2 │
00:00:16 #1058 [Verbose] > │ print_and_return / x: 3 │
00:00:16 #1059 [Verbose] > │ print_and_return / x: 4 │
00:00:16 #1060 [Verbose] > │ print_and_return / x: 5 │
00:00:16 #1061 [Verbose] > │ │
00:00:16 #1062 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #1063 [Verbose] >
00:00:16 #1064 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:16 #1065 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:16 #1066 [Verbose] > │ ## iterate │
00:00:16 #1067 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #1068 [Verbose] >
00:00:16 #1069 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 #1070 [Verbose] > inl iterate f x0 num_steps =
00:00:16 #1071 [Verbose] > inl rec loop x n =
00:00:16 #1072 [Verbose] > if n <= 0
00:00:16 #1073 [Verbose] > then x
00:00:16 #1074 [Verbose] > else loop (f x) (n - 1)
00:00:16 #1075 [Verbose] > loop x0 num_steps
00:00:16 #1076 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0924-2499-236fd64149fb\main.spi
00:00:16 #1077 [Verbose] >
00:00:16 #1078 [Verbose] > ╭─[ 129.22ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #1079 [Verbose] > │ () │
00:00:16 #1080 [Verbose] > │ │
00:00:16 #1081 [Verbose] > │ │
00:00:16 #1082 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #1083 [Verbose] >
00:00:16 #1084 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 #1085 [Verbose] > // // test
00:00:16 #1086 [Verbose] >
00:00:16 #1087 [Verbose] > 10i32 |> iterate ((*) 2) 1i32
00:00:16 #1088 [Verbose] > |> _equal 1024
00:00:16 #1089 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0937-3799-325c87d3cf3f\main.spi
00:00:16 #1090 [Verbose] >
00:00:16 #1091 [Verbose] > ╭─[ 143.32ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #1092 [Verbose] > │ let rec method0 () : unit = │
00:00:16 #1093 [Verbose] > │ let v0 : string = $"_equal / actual: %A{1024} / expected: %A{1024}" │
00:00:16 #1094 [Verbose] > │ () │
00:00:16 #1095 [Verbose] > │ method0() │
00:00:16 #1096 [Verbose] > │ │
00:00:16 #1097 [Verbose] > │ │
00:00:16 #1098 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #1099 [Verbose] >
00:00:16 #1100 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 #1101 [Verbose] > inl iterate_ f x0 num_steps =
00:00:16 #1102 [Verbose] > let rec loop x n =
00:00:16 #1103 [Verbose] > if n <= 0
00:00:16 #1104 [Verbose] > then x
00:00:16 #1105 [Verbose] > else loop (f x) (n - 1)
00:00:16 #1106 [Verbose] > loop x0 num_steps
00:00:16 #1107 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0952-5283-5d56de7348d7\main.spi
00:00:16 #1108 [Verbose] >
00:00:16 #1109 [Verbose] > ╭─[ 132.25ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #1110 [Verbose] > │ () │
00:00:16 #1111 [Verbose] > │ │
00:00:16 #1112 [Verbose] > │ │
00:00:16 #1113 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #1114 [Verbose] >
00:00:16 #1115 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 #1116 [Verbose] > // // test
00:00:16 #1117 [Verbose] >
00:00:16 #1118 [Verbose] > 10i32 |> iterate_ ((*) 2) 1i32
00:00:16 #1119 [Verbose] > |> _equal 1024
00:00:16 #1120 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0966-6626-6d2c3f21ec7f\main.spi
00:00:16 #1121 [Verbose] >
00:00:16 #1122 [Verbose] > ╭─[ 165.59ms - stdout ]────────────────────────────────────────────────────────╮
00:00:16 #1123 [Verbose] > │ let rec method1 (v0 : int32, v1 : int32) : int32 = │
00:00:16 #1124 [Verbose] > │ let v2 : bool = v1 <= 0 │
00:00:16 #1125 [Verbose] > │ if v2 then │
00:00:16 #1126 [Verbose] > │ v0 │
00:00:16 #1127 [Verbose] > │ else │
00:00:16 #1128 [Verbose] > │ let v3 : int32 = 2 * v0 │
00:00:16 #1129 [Verbose] > │ let v4 : int32 = v1 - 1 │
00:00:16 #1130 [Verbose] > │ method1(v3, v4) │
00:00:16 #1131 [Verbose] > │ and method0 () : unit = │
00:00:16 #1132 [Verbose] > │ let v0 : int32 = 1 │
00:00:16 #1133 [Verbose] > │ let v1 : int32 = 10 │
00:00:16 #1134 [Verbose] > │ let v2 : int32 = method1(v0, v1) │
00:00:16 #1135 [Verbose] > │ let v3 : bool = v2 = 1024 │
00:00:16 #1136 [Verbose] > │ let v4 : string = $"_equal / actual: %A{v2} / expected: %A{1024}" │
00:00:16 #1137 [Verbose] > │ let v5 : bool = v3 = false │
00:00:16 #1138 [Verbose] > │ if v5 then │
00:00:16 #1139 [Verbose] > │ failwith<unit> v4 │
00:00:16 #1140 [Verbose] > │ method0() │
00:00:16 #1141 [Verbose] > │ │
00:00:16 #1142 [Verbose] > │ │
00:00:16 #1143 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:16 #1144 [Verbose] >
00:00:16 #1145 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:16 #1146 [Verbose] > inl iterate' f x0 num_steps =
00:00:16 #1147 [Verbose] > listm.init num_steps id
00:00:16 #1148 [Verbose] > |> listm.fold (fun x _ => f x) x0
00:00:17 #1149 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0983-8359-89ec4a38db96\main.spi
00:00:17 #1150 [Verbose] >
00:00:17 #1151 [Verbose] > ╭─[ 155.44ms - stdout ]────────────────────────────────────────────────────────╮
00:00:17 #1152 [Verbose] > │ () │
00:00:17 #1153 [Verbose] > │ │
00:00:17 #1154 [Verbose] > │ │
00:00:17 #1155 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 #1156 [Verbose] >
00:00:17 #1157 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 #1158 [Verbose] > // // test
00:00:17 #1159 [Verbose] >
00:00:17 #1160 [Verbose] > 10i32 |> iterate' ((*) 2) 1i32
00:00:17 #1161 [Verbose] > |> _equal 1024
00:00:17 #1162 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-0999-9944-9f9963ee2193\main.spi
00:00:17 #1163 [Verbose] >
00:00:17 #1164 [Verbose] > ╭─[ 156.27ms - stdout ]────────────────────────────────────────────────────────╮
00:00:17 #1165 [Verbose] > │ let rec method0 () : unit = │
00:00:17 #1166 [Verbose] > │ let v0 : string = $"_equal / actual: %A{1024} / expected: %A{1024}" │
00:00:17 #1167 [Verbose] > │ () │
00:00:17 #1168 [Verbose] > │ method0() │
00:00:17 #1169 [Verbose] > │ │
00:00:17 #1170 [Verbose] > │ │
00:00:17 #1171 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #1172 [Verbose] > [NbConvertApp] Converting notebook seq.dib.ipynb to html
00:00:18 #1173 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:18 #1174 [Verbose] > validate(nb)
00:00:19 #1175 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:00:19 #1176 [Verbose] > return _pygments_highlight(
00:00:19 #1177 [Verbose] > [NbConvertApp] Writing 350375 bytes to seq.dib.html
00:00:20 #1178 [Debug] executeAsync / exitCode: 0 / output.Length: 74239
00:00:20 #1179 [Debug] main / executeCommand / exitCode: 0
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 util.dib""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ # util │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > // // test
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > open testing
00:00:06 #21 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-2007-0789-0b1bc088fb02\main.spi
00:00:09 #22 [Verbose] >
00:00:09 #23 [Verbose] > ╭─[ 5.41s - stdout ]───────────────────────────────────────────────────────────╮
00:00:09 #24 [Verbose] > │ () │
00:00:09 #25 [Verbose] > │ │
00:00:09 #26 [Verbose] > │ │
00:00:09 #27 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #28 [Verbose] >
00:00:09 #29 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #30 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #31 [Verbose] > │ ## ski │
00:00:09 #32 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #33 [Verbose] >
00:00:09 #34 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #35 [Verbose] > union rec ski =
00:00:09 #36 [Verbose] > | I
00:00:09 #37 [Verbose] > | K
00:00:09 #38 [Verbose] > | S
00:00:09 #39 [Verbose] > | App : ski * ski
00:00:09 #40 [Verbose] >
00:00:09 #41 [Verbose] > inl rec eval ski =
00:00:09 #42 [Verbose] > match ski with
00:00:09 #43 [Verbose] > | App (App (K, x), y) => eval x
00:00:09 #44 [Verbose] > | App (App (App (S, x), y), z) => eval (App (App (x, z), App (y, z)))
00:00:09 #45 [Verbose] > | App (I, x) => eval x
00:00:09 #46 [Verbose] > | App (K, x) => App (K, eval x)
00:00:09 #47 [Verbose] > | App (f, x) => eval (App (eval f, x))
00:00:09 #48 [Verbose] > | _ => ski
00:00:09 #49 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-2313-1396-1d786c76120d\main.spi
00:00:09 #50 [Verbose] >
00:00:09 #51 [Verbose] > ╭─[ 213.06ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #52 [Verbose] > │ () │
00:00:09 #53 [Verbose] > │ │
00:00:09 #54 [Verbose] > │ │
00:00:09 #55 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #56 [Verbose] >
00:00:09 #57 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #58 [Verbose] > // // test
00:00:09 #59 [Verbose] >
00:00:09 #60 [Verbose] > eval I
00:00:09 #61 [Verbose] > |> _equal I
00:00:09 #62 [Verbose] >
00:00:09 #63 [Verbose] > eval (App (I, I))
00:00:09 #64 [Verbose] > |> _equal I
00:00:09 #65 [Verbose] >
00:00:09 #66 [Verbose] > eval (App (I, App (I, I)))
00:00:09 #67 [Verbose] > |> _equal I
00:00:09 #68 [Verbose] >
00:00:09 #69 [Verbose] > eval (App (App (I, I), I))
00:00:09 #70 [Verbose] > |> _equal I
00:00:09 #71 [Verbose] >
00:00:09 #72 [Verbose] > eval (App (App (App (I, I), I), I))
00:00:09 #73 [Verbose] > |> _equal I
00:00:09 #74 [Verbose] >
00:00:09 #75 [Verbose] > eval K
00:00:09 #76 [Verbose] > |> _equal K
00:00:09 #77 [Verbose] >
00:00:09 #78 [Verbose] > eval (App (K, I))
00:00:09 #79 [Verbose] > |> _equal (App (K, I))
00:00:09 #80 [Verbose] >
00:00:09 #81 [Verbose] > eval (App (K, K))
00:00:09 #82 [Verbose] > |> _equal (App (K, K))
00:00:09 #83 [Verbose] >
00:00:09 #84 [Verbose] > eval (App (App (K, I), K))
00:00:09 #85 [Verbose] > |> _equal I
00:00:09 #86 [Verbose] >
00:00:09 #87 [Verbose] > eval (App (App (K, K), I))
00:00:09 #88 [Verbose] > |> _equal K
00:00:09 #89 [Verbose] >
00:00:09 #90 [Verbose] > eval (App (App (App (App (K, K), I), S), K))
00:00:09 #91 [Verbose] > |> _equal S
00:00:09 #92 [Verbose] >
00:00:09 #93 [Verbose] > eval S
00:00:09 #94 [Verbose] > |> _equal S
00:00:09 #95 [Verbose] >
00:00:09 #96 [Verbose] > eval (App (App (App (S, I), I), I))
00:00:09 #97 [Verbose] > |> _equal I
00:00:09 #98 [Verbose] >
00:00:09 #99 [Verbose] > eval (App (App (App (S, K), K), I))
00:00:09 #100 [Verbose] > |> _equal I
00:00:09 #101 [Verbose] >
00:00:09 #102 [Verbose] > eval (App (App (App (S, K), I), (App (App (K, I), S))))
00:00:09 #103 [Verbose] > |> _equal I
00:00:09 #104 [Verbose] >
00:00:09 #105 [Verbose] > eval (App (App (K, S), App (I, App (App (App (S, K), S), I))))
00:00:09 #106 [Verbose] > |> _equal S
00:00:09 #107 [Verbose] >
00:00:09 #108 [Verbose] > eval (App (App (App (S, K), I), K))
00:00:09 #109 [Verbose] > |> _equal K
00:00:09 #110 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-2335-3509-37ef9551a43c\main.spi
00:00:10 #111 [Verbose] >
00:00:10 #112 [Verbose] > ╭─[ 1.29s - stdout ]───────────────────────────────────────────────────────────╮
00:00:10 #113 [Verbose] > │ type UH0 = │
00:00:10 #114 [Verbose] > │ | UH0_0 of UH0 * UH0 │
00:00:10 #115 [Verbose] > │ | UH0_1 │
00:00:10 #116 [Verbose] > │ | UH0_2 │
00:00:10 #117 [Verbose] > │ | UH0_3 │
00:00:10 #118 [Verbose] > │ let rec method0 () : unit = │
00:00:10 #119 [Verbose] > │ let v3 : UH0 = UH0_1 │
00:00:10 #120 [Verbose] > │ let v4 : UH0 = UH0_1 │
00:00:10 #121 [Verbose] > │ let v5 : string = $"_equal / actual: %A{v3} / expected: %A{v4}" │
00:00:10 #122 [Verbose] > │ let v9 : UH0 = UH0_1 │
00:00:10 #123 [Verbose] > │ let v10 : UH0 = UH0_1 │
00:00:10 #124 [Verbose] > │ let v11 : string = $"_equal / actual: %A{v9} / expected: %A{v10}" │
00:00:10 #125 [Verbose] > │ let v15 : UH0 = UH0_1 │
00:00:10 #126 [Verbose] > │ let v16 : UH0 = UH0_1 │
00:00:10 #127 [Verbose] > │ let v17 : string = $"_equal / actual: %A{v15} / expected: %A{v16}" │
00:00:10 #128 [Verbose] > │ let v21 : UH0 = UH0_1 │
00:00:10 #129 [Verbose] > │ let v22 : UH0 = UH0_1 │
00:00:10 #130 [Verbose] > │ let v23 : string = $"_equal / actual: %A{v21} / expected: %A{v22}" │
00:00:10 #131 [Verbose] > │ let v27 : UH0 = UH0_1 │
00:00:10 #132 [Verbose] > │ let v28 : UH0 = UH0_1 │
00:00:10 #133 [Verbose] > │ let v29 : string = $"_equal / actual: %A{v27} / expected: %A{v28}" │
00:00:10 #134 [Verbose] > │ let v33 : UH0 = UH0_2 │
00:00:10 #135 [Verbose] > │ let v34 : UH0 = UH0_2 │
00:00:10 #136 [Verbose] > │ let v35 : string = $"_equal / actual: %A{v33} / expected: %A{v34}" │
00:00:10 #137 [Verbose] > │ let v47 : UH0 = UH0_2 │
00:00:10 #138 [Verbose] > │ let v48 : UH0 = UH0_1 │
00:00:10 #139 [Verbose] > │ let v49 : UH0 = UH0_0(v47, v48) │
00:00:10 #140 [Verbose] > │ let v50 : UH0 = UH0_2 │
00:00:10 #141 [Verbose] > │ let v51 : UH0 = UH0_1 │
00:00:10 #142 [Verbose] > │ let v52 : UH0 = UH0_0(v50, v51) │
00:00:10 #143 [Verbose] > │ let v53 : string = $"_equal / actual: %A{v49} / expected: %A{v52}" │
00:00:10 #144 [Verbose] > │ let v65 : UH0 = UH0_2 │
00:00:10 #145 [Verbose] > │ let v66 : UH0 = UH0_2 │
00:00:10 #146 [Verbose] > │ let v67 : UH0 = UH0_0(v65, v66) │
00:00:10 #147 [Verbose] > │ let v68 : UH0 = UH0_2 │
00:00:10 #148 [Verbose] > │ let v69 : UH0 = UH0_2 │
00:00:10 #149 [Verbose] > │ let v70 : UH0 = UH0_0(v68, v69) │
00:00:10 #150 [Verbose] > │ let v71 : string = $"_equal / actual: %A{v67} / expected: %A{v70}" │
00:00:10 #151 [Verbose] > │ let v75 : UH0 = UH0_1 │
00:00:10 #152 [Verbose] > │ let v76 : UH0 = UH0_1 │
00:00:10 #153 [Verbose] > │ let v77 : string = $"_equal / actual: %A{v75} / expected: %A{v76}" │
00:00:10 #154 [Verbose] > │ let v81 : UH0 = UH0_2 │
00:00:10 #155 [Verbose] > │ let v82 : UH0 = UH0_2 │
00:00:10 #156 [Verbose] > │ let v83 : string = $"_equal / actual: %A{v81} / expected: %A{v82}" │
00:00:10 #157 [Verbose] > │ let v87 : UH0 = UH0_3 │
00:00:10 #158 [Verbose] > │ let v88 : UH0 = UH0_3 │
00:00:10 #159 [Verbose] > │ let v89 : string = $"_equal / actual: %A{v87} / expected: %A{v88}" │
00:00:10 #160 [Verbose] > │ let v93 : UH0 = UH0_3 │
00:00:10 #161 [Verbose] > │ let v94 : UH0 = UH0_3 │
00:00:10 #162 [Verbose] > │ let v95 : string = $"_equal / actual: %A{v93} / expected: %A{v94}" │
00:00:10 #163 [Verbose] > │ let v99 : UH0 = UH0_1 │
00:00:10 #164 [Verbose] > │ let v100 : UH0 = UH0_1 │
00:00:10 #165 [Verbose] > │ let v101 : string = $"_equal / actual: %A{v99} / expected: %A{v100}" │
00:00:10 #166 [Verbose] > │ let v105 : UH0 = UH0_1 │
00:00:10 #167 [Verbose] > │ let v106 : UH0 = UH0_1 │
00:00:10 #168 [Verbose] > │ let v107 : string = $"_equal / actual: %A{v105} / expected: %A{v106}" │
00:00:10 #169 [Verbose] > │ let v111 : UH0 = UH0_1 │
00:00:10 #170 [Verbose] > │ let v112 : UH0 = UH0_1 │
00:00:10 #171 [Verbose] > │ let v113 : string = $"_equal / actual: %A{v111} / expected: %A{v112}" │
00:00:10 #172 [Verbose] > │ let v117 : UH0 = UH0_3 │
00:00:10 #173 [Verbose] > │ let v118 : UH0 = UH0_3 │
00:00:10 #174 [Verbose] > │ let v119 : string = $"_equal / actual: %A{v117} / expected: %A{v118}" │
00:00:10 #175 [Verbose] > │ let v123 : UH0 = UH0_2 │
00:00:10 #176 [Verbose] > │ let v124 : UH0 = UH0_2 │
00:00:10 #177 [Verbose] > │ let v125 : string = $"_equal / actual: %A{v123} / expected: %A{v124}" │
00:00:10 #178 [Verbose] > │ () │
00:00:10 #179 [Verbose] > │ method0() │
00:00:10 #180 [Verbose] > │ │
00:00:10 #181 [Verbose] > │ │
00:00:10 #182 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #183 [Verbose] > [NbConvertApp] Converting notebook util.dib.ipynb to html
00:00:12 #184 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:12 #185 [Verbose] > validate(nb)
00:00:12 #186 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:00:12 #187 [Verbose] > return _pygments_highlight(
00:00:12 #188 [Verbose] > [NbConvertApp] Writing 285538 bytes to util.dib.html
00:00:13 #189 [Debug] executeAsync / exitCode: 0 / output.Length: 9299
00:00:13 #190 [Debug] main / executeCommand / exitCode: 0
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 physics.dib""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ # physics │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > #!import ../nbs/Plotting.dib
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:03 #21 [Verbose] > #r
00:00:03 #22 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
00:00:03 #23 [Verbose] > spNetCore.Html.Abstractions.dll"
00:00:03 #24 [Verbose] > #r
00:00:03 #25 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:03 #26 [Verbose] > otNet.Interactive.dll"
00:00:03 #27 [Verbose] > #r
00:00:03 #28 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:03 #29 [Verbose] > otNet.Interactive.FSharp.dll"
00:00:03 #30 [Verbose] > #r
00:00:03 #31 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:03 #32 [Verbose] > otNet.Interactive.Formatting.dll"
00:00:03 #33 [Verbose] > open System
00:00:03 #34 [Verbose] > open System.IO
00:00:03 #35 [Verbose] > open System.Text
00:00:03 #36 [Verbose] > open Microsoft.DotNet.Interactive.Formatting
00:00:07 #37 [Verbose] >
00:00:07 #38 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:07 #39 [Verbose] > #r
00:00:07 #40 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:07 #41 [Verbose] > otNet.Interactive.FSharp.dll"
00:00:07 #42 [Verbose] > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
00:00:07 #43 [Verbose] > #r
00:00:07 #44 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:07 #45 [Verbose] > otNet.Interactive.dll"
00:00:07 #46 [Verbose] > open type Microsoft.DotNet.Interactive.Kernel
00:00:07 #47 [Verbose] >
00:00:07 #48 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:07 #49 [Verbose] > //// test
00:00:07 #50 [Verbose] >
00:00:07 #51 [Verbose] > Formatter.ListExpansionLimit <- 100
00:00:07 #52 [Verbose] >
00:00:07 #53 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:07 #54 [Verbose] > #r
00:00:07 #55 [Verbose] > @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
00:00:07 #56 [Verbose] > dard2.1/FSharp.Control.AsyncSeq.dll"
00:00:07 #57 [Verbose] > #r
00:00:07 #58 [Verbose] > @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
00:00:07 #59 [Verbose] > 0/System.Reactive.dll"
00:00:07 #60 [Verbose] > #r
00:00:07 #61 [Verbose] > @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib
00:00:07 #62 [Verbose] > netstandard2.0/System.Reactive.Linq.dll"
00:00:07 #63 [Verbose] > #r
00:00:07 #64 [Verbose] > @"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"
00:00:07 #65 [Verbose] > #r
00:00:07 #66 [Verbose] > @"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li
00:00:07 #67 [Verbose] > b/net6.0/System.CommandLine.dll"
00:00:07 #68 [Verbose] > #r
00:00:07 #69 [Verbose] > @"../../../../../../../.nuget/packages/fsharp.json/0.4.1/lib/netstandard2.0/FSha
00:00:07 #70 [Verbose] > rp.Json.dll"
00:00:07 #71 [Verbose] >
00:00:07 #72 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:07 #73 [Verbose] > #if !INTERACTIVE
00:00:07 #74 [Verbose] > namespace Polyglot
00:00:07 #75 [Verbose] > #endif
00:00:07 #76 [Verbose] >
00:00:07 #77 [Verbose] > module Common =
00:00:07 #78 [Verbose] >
00:00:07 #79 [Verbose] > let nl = System.Environment.NewLine
00:00:07 #80 [Verbose] > let q = @""""
00:00:07 #81 [Verbose] >
00:00:07 #82 [Verbose] > let inline cons head tail = head :: tail
00:00:07 #83 [Verbose] >
00:00:07 #84 [Verbose] > module String =
00:00:07 #85 [Verbose] > let inline contains (value : string) (input : string) =
00:00:07 #86 [Verbose] > input.Contains value
00:00:07 #87 [Verbose] >
00:00:07 #88 [Verbose] > let inline endsWith (value : string) (input : string) =
00:00:07 #89 [Verbose] > input.EndsWith value
00:00:07 #90 [Verbose] >
00:00:07 #91 [Verbose] > let inline padLeft totalWidth paddingChar (input : string) =
00:00:07 #92 [Verbose] > input.PadLeft (totalWidth, paddingChar)
00:00:07 #93 [Verbose] >
00:00:07 #94 [Verbose] > let inline replace (oldValue : string) (newValue : string) (input :
00:00:07 #95 [Verbose] > string) =
00:00:07 #96 [Verbose] > input.Replace (oldValue, newValue)
00:00:07 #97 [Verbose] >
00:00:07 #98 [Verbose] > let inline split separator (input : string) =
00:00:07 #99 [Verbose] > input.Split separator
00:00:07 #100 [Verbose] >
00:00:07 #101 [Verbose] > let inline spli...
00:00:09 #102 [Verbose] >
00:00:09 #103 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:09 #104 [Verbose] > #if !INTERACTIVE
00:00:09 #105 [Verbose] > namespace Polyglot
00:00:09 #106 [Verbose] > #endif
00:00:09 #107 [Verbose] >
00:00:09 #108 [Verbose] > module CommonFSharp =
00:00:09 #109 [Verbose] >
00:00:09 #110 [Verbose] > open Common
00:00:09 #111 [Verbose] >
00:00:09 #112 [Verbose] > /// ## getUnionCaseName
00:00:09 #113 [Verbose] >
00:00:09 #114 [Verbose] > let inline getUnionCaseName<'T> (x: 'T) =
00:00:09 #115 [Verbose] > match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
00:00:09 #116 [Verbose] > | case, _ -> case.Name
00:00:09 #117 [Verbose] >
00:00:09 #118 [Verbose] >
00:00:09 #119 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:09 #120 [Verbose] > #if !INTERACTIVE
00:00:09 #121 [Verbose] > namespace Polyglot
00:00:09 #122 [Verbose] > #endif
00:00:09 #123 [Verbose] >
00:00:09 #124 [Verbose] > module Crypto =
00:00:09 #125 [Verbose] >
00:00:09 #126 [Verbose] > open Common
00:00:09 #127 [Verbose] >
00:00:09 #128 [Verbose] > /// ## hashText
00:00:09 #129 [Verbose] >
00:00:09 #130 [Verbose] > let hashText (input : string) =
00:00:09 #131 [Verbose] > use sha256 = System.Security.Cryptography.SHA256.Create ()
00:00:09 #132 [Verbose] > input
00:00:09 #133 [Verbose] > |> System.Text.Encoding.UTF8.GetBytes
00:00:09 #134 [Verbose] > |> sha256.ComputeHash
00:00:09 #135 [Verbose] > |> Array.map (fun b -> b.ToString "x2")
00:00:09 #136 [Verbose] > |> String.concat ""
00:00:09 #137 [Verbose] >
00:00:09 #138 [Verbose] >
00:00:09 #139 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:09 #140 [Verbose] > #if !INTERACTIVE
00:00:09 #141 [Verbose] > namespace Polyglot
00:00:09 #142 [Verbose] > #endif
00:00:09 #143 [Verbose] >
00:00:09 #144 [Verbose] > module Async =
00:00:09 #145 [Verbose] >
00:00:09 #146 [Verbose] > open Common
00:00:09 #147 [Verbose] >
00:00:09 #148 [Verbose] > /// ## choice
00:00:09 #149 [Verbose] >
00:00:09 #150 [Verbose] > let inline choice asyncs = async {
00:00:09 #151 [Verbose] > let e = Event<_> ()
00:00:09 #152 [Verbose] > use cts = new System.Threading.CancellationTokenSource ()
00:00:09 #153 [Verbose] > let fn =
00:00:09 #154 [Verbose] > asyncs
00:00:09 #155 [Verbose] > |> Seq.map (fun a -> async {
00:00:09 #156 [Verbose] > let! x = a
00:00:09 #157 [Verbose] > e.Trigger x
00:00:09 #158 [Verbose] > })
00:00:09 #159 [Verbose] > |> Async.Parallel
00:00:09 #160 [Verbose] > |> Async.Ignore
00:00:09 #161 [Verbose] > Async.Start (fn, cts.Token)
00:00:09 #162 [Verbose] > let! result = Async.AwaitEvent e.Publish
00:00:09 #163 [Verbose] > cts.Cancel ()
00:00:09 #164 [Verbose] > return result
00:00:09 #165 [Verbose] > }
00:00:09 #166 [Verbose] >
00:00:09 #167 [Verbose] > /// ## map
00:00:09 #168 [Verbose] >
00:00:09 #169 [Verbose] > let inline map fn a = async {
00:00:09 #170 [Verbose] > let! x = a
00:00:09 #171 [Verbose] > return fn x
00:00:09 #172 [Verbose] > }
00:00:09 #173 [Verbose] >
00:00:09 #174 [Verbose] > /// ## catch
00:00:09 #175 [Verbose] >
00:00:09 #176 [Verbose] > let inline catch a =
00:00:09 #177 [Verbose] > a
00:00:09 #178 [Verbose] > |> Async.Catch
00:00:09 #179 [Verbose] > ...
00:00:10 #180 [Verbose] >
00:00:10 #181 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:10 #182 [Verbose] > #if !INTERACTIVE
00:00:10 #183 [Verbose] > namespace Polyglot
00:00:10 #184 [Verbose] > #endif
00:00:10 #185 [Verbose] >
00:00:10 #186 [Verbose] > module AsyncSeq =
00:00:10 #187 [Verbose] >
00:00:10 #188 [Verbose] > open Common
00:00:10 #189 [Verbose] >
00:00:10 #190 [Verbose] > /// ## subscribeEvent
00:00:10 #191 [Verbose] >
00:00:10 #192 [Verbose] > let inline subscribeEvent (event: IEvent<'H, 'A>) map =
00:00:10 #193 [Verbose] > let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
00:00:10 #194 [Verbose] > 'A>(event.AddHandler, event.RemoveHandler)
00:00:10 #195 [Verbose] > System.Reactive.Linq.Observable.Select (observable, fun event -> map
00:00:10 #196 [Verbose] > event.EventArgs)
00:00:10 #197 [Verbose] > |> FSharp.Control.AsyncSeq.ofObservableBuffered
00:00:10 #198 [Verbose] >
00:00:10 #199 [Verbose] > let subscribeToken (token : System.Threading.CancellationToken) =
00:00:10 #200 [Verbose] > let tcs = new System.Threading.Tasks.TaskCompletionSource ()
00:00:10 #201 [Verbose] > System.Action tcs.SetResult |> token.Register |> ignore
00:00:10 #202 [Verbose] > let start = System.DateTime.Now.Ticks
00:00:10 #203 [Verbose] > FSharp.Control.AsyncSeq.unfoldAsync
00:00:10 #204 [Verbose] > (fun (...
00:00:10 #205 [Verbose] >
00:00:10 #206 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:10 #207 [Verbose] > #if !INTERACTIVE
00:00:10 #208 [Verbose] > namespace Polyglot
00:00:10 #209 [Verbose] > #endif
00:00:10 #210 [Verbose] >
00:00:10 #211 [Verbose] > module Networking =
00:00:10 #212 [Verbose] >
00:00:10 #213 [Verbose] > open Common
00:00:10 #214 [Verbose] >
00:00:10 #215 [Verbose] > /// ## testPortOpen
00:00:10 #216 [Verbose] >
00:00:10 #217 [Verbose] > let inline testPortOpen port = async {
00:00:10 #218 [Verbose] > let! ct = Async.CancellationToken
00:00:10 #219 [Verbose] > use client = new System.Net.Sockets.TcpClient ()
00:00:10 #220 [Verbose] > try
00:00:10 #221 [Verbose] > do! client.ConnectAsync ("127.0.0.1", port, ct) |>
00:00:10 #222 [Verbose] > Async.awaitValueTaskUnit
00:00:10 #223 [Verbose] > return true
00:00:10 #224 [Verbose] > with ex ->
00:00:10 #225 [Verbose] > trace Verbose (fun () -> $"testPortOpen / ex: {ex |>
00:00:10 #226 [Verbose] > printException}") getLocals
00:00:10 #227 [Verbose] > return false
00:00:10 #228 [Verbose] > }
00:00:10 #229 [Verbose] >
00:00:10 #230 [Verbose] > let inline testPortOpenTimeout timeout port = async {
00:00:10 #231 [Verbose] > let! result =
00:00:10 #232 [Verbose] > testPortOpen port
00:00:10 #233 [Verbose] > |> Async.runWithTimeoutAsync timeout
00:00:10 #234 [Verbose] > return
00:00:10 #235 [Verbose] > match result with
00:00:10 #236 [Verbose] > | None -> false
00:00:10 #237 [Verbose] > ...
00:00:10 #238 [Verbose] >
00:00:10 #239 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:10 #240 [Verbose] > #if !INTERACTIVE
00:00:10 #241 [Verbose] > namespace Polyglot
00:00:10 #242 [Verbose] > #endif
00:00:10 #243 [Verbose] >
00:00:10 #244 [Verbose] > module Runtime =
00:00:10 #245 [Verbose] >
00:00:10 #246 [Verbose] > open Common
00:00:10 #247 [Verbose] >
00:00:10 #248 [Verbose] > /// ## isWindows
00:00:10 #249 [Verbose] >
00:00:10 #250 [Verbose] > let isWindows =
00:00:10 #251 [Verbose] > fun () ->
00:00:10 #252 [Verbose] > System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform
00:00:10 #253 [Verbose] > System.Runtime.InteropServices.OSPlatform.Windows
00:00:10 #254 [Verbose] > |> memoize
00:00:10 #255 [Verbose] >
00:00:10 #256 [Verbose] > /// ## getExecutableSuffix
00:00:10 #257 [Verbose] >
00:00:10 #258 [Verbose] > let inline getExecutableSuffix () =
00:00:10 #259 [Verbose] > if isWindows ()
00:00:10 #260 [Verbose] > then ".exe"
00:00:10 #261 [Verbose] > else ""
00:00:10 #262 [Verbose] >
00:00:10 #263 [Verbose] > /// ## splitCommand
00:00:10 #264 [Verbose] >
00:00:10 #265 [Verbose] > type private CommandParseStep =
00:00:10 #266 [Verbose] > | Start
00:00:10 #267 [Verbose] > | Path of quoted: bool
00:00:10 #268 [Verbose] > | Arguments
00:00:10 #269 [Verbose] >
00:00:10 #270 [Verbose] > let splitCommand (command: string) =
00:00:10 #271 [Verbose] > let rec loop (path, args) chars step =
00:00:10 #272 [Verbose] > match chars, step with
00:00:10 #273 [Verbose] > | ('"' | '\'') :: tail, _ when path = "" -> loop (pat...
00:00:11 #274 [Verbose] >
00:00:11 #275 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:11 #276 [Verbose] > #if !INTERACTIVE
00:00:11 #277 [Verbose] > namespace Polyglot
00:00:11 #278 [Verbose] > #endif
00:00:11 #279 [Verbose] >
00:00:11 #280 [Verbose] > module FileSystem =
00:00:11 #281 [Verbose] >
00:00:11 #282 [Verbose] > open Common
00:00:11 #283 [Verbose] >
00:00:11 #284 [Verbose] > /// ## Operators
00:00:11 #285 [Verbose] >
00:00:11 #286 [Verbose] > module Operators =
00:00:11 #287 [Verbose] > let inline (</>) a b =
00:00:11 #288 [Verbose] > System.IO.Path.Combine (a, b)
00:00:11 #289 [Verbose] >
00:00:11 #290 [Verbose] > open Operators
00:00:11 #291 [Verbose] >
00:00:11 #292 [Verbose] > /// ## createTempDirectoryName
00:00:11 #293 [Verbose] >
00:00:11 #294 [Verbose] > let inline createTempDirectoryName () =
00:00:11 #295 [Verbose] > let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name
00:00:11 #296 [Verbose] >
00:00:11 #297 [Verbose] > System.IO.Path.GetTempPath ()
00:00:11 #298 [Verbose] > </> $"!{root}"
00:00:11 #299 [Verbose] > </> string (newGuidFromDateTime System.DateTime.Now)
00:00:11 #300 [Verbose] >
00:00:11 #301 [Verbose] > /// ## createTempDirectory
00:00:11 #302 [Verbose] >
00:00:11 #303 [Verbose] > let inline createTempDirectory () =
00:00:11 #304 [Verbose] > let tempFolder = createTempDirectoryName ()
00:00:11 #305 [Verbose] > let result = System.IO.Directory.CreateDirectory tempFolder
00:00:11 #306 [Verbose] >
00:00:11 #307 [Verbose] > if not result.Exists then
00:00:11 #308 [Verbose] > let ge...
00:00:14 #309 [Verbose] >
00:00:14 #310 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:14 #311 [Verbose] > open Common
00:00:14 #312 [Verbose] > open FileSystem.Operators
00:00:14 #313 [Verbose] >
00:00:14 #314 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:14 #315 [Verbose] > let tmpSpiralPath = Path.GetTempPath () </> "!dotnet-interactive-spiral"
00:00:14 #316 [Verbose] > let linePlotsDataPath = tmpSpiralPath </> "line-plots-data"
00:00:14 #317 [Verbose] > let linePlotsSvgPath = tmpSpiralPath </> "line-plots-svg"
00:00:14 #318 [Verbose] >
00:00:14 #319 [Verbose] > [[ tmpSpiralPath; linePlotsDataPath; linePlotsSvgPath ]]
00:00:14 #320 [Verbose] > |> List.iter (fun dir -> if Directory.Exists dir |> not then
00:00:14 #321 [Verbose] > Directory.CreateDirectory dir |> ignore)
00:00:14 #322 [Verbose] >
00:00:14 #323 [Verbose] > Formatter.Register<struct (string * string * string * struct (string * float
00:00:14 #324 [Verbose] > array * float array) array)> (
00:00:14 #325 [Verbose] > (fun struct (caption, x_desc, y_desc, ys) ->
00:00:14 #326 [Verbose] > let json = (caption, x_desc, y_desc, ys) |> FSharp.Json.Json.serialize
00:00:14 #327 [Verbose] > async {
00:00:14 #328 [Verbose] > let hashHex = json |> Crypto.hashText
00:00:14 #329 [Verbose] > let svgPath = linePlotsSvgPath </> $"{hashHex}.svg"
00:00:14 #330 [Verbose] >
00:00:14 #331 [Verbose] > if System.IO.File.Exi...
00:00:14 #332 [Verbose] >
00:00:14 #333 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #334 [Verbose] > // // test
00:00:14 #335 [Verbose] >
00:00:14 #336 [Verbose] > open testing
00:00:16 #337 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4368-6863-650560fb81f7\main.spi
00:00:17 #338 [Verbose] >
00:00:17 #339 [Verbose] > ╭─[ 2.62s - stdout ]───────────────────────────────────────────────────────────╮
00:00:17 #340 [Verbose] > │ () │
00:00:17 #341 [Verbose] > │ │
00:00:17 #342 [Verbose] > │ │
00:00:17 #343 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 #344 [Verbose] >
00:00:17 #345 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 #346 [Verbose] > inl (/@) x = listm'.(/@) x
00:00:17 #347 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4565-6595-64473fe9ad31\main.spi
00:00:17 #348 [Verbose] >
00:00:17 #349 [Verbose] > ╭─[ 209.62ms - stdout ]────────────────────────────────────────────────────────╮
00:00:17 #350 [Verbose] > │ () │
00:00:17 #351 [Verbose] > │ │
00:00:17 #352 [Verbose] > │ │
00:00:17 #353 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 #354 [Verbose] >
00:00:17 #355 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:17 #356 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:17 #357 [Verbose] > │ ## init_series │
00:00:17 #358 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 #359 [Verbose] >
00:00:17 #360 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 #361 [Verbose] > // // test
00:00:17 #362 [Verbose] >
00:00:17 #363 [Verbose] > inl x : a _ f64 = am'.init_series -3 3 0.01
00:00:17 #364 [Verbose] > inl y = x |> am.map math.square
00:00:17 #365 [Verbose] > "square", "x", "y", ;[[ "square", x, y ]]
00:00:17 #366 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4587-8704-8f799ce189ba\main.spi
00:00:18 #367 [Verbose] >
00:00:18 #368 [Verbose] > ╭─[ 403.71ms - return value ]──────────────────────────────────────────────────╮
00:00:18 #369 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:18 #370 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:18 #371 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:18 #372 [Verbose] > │ stroke="none"/> │
00:00:18 #373 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:18 #374 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:18 #375 [Verbose] > │ fill="#FFFFFF"> │
00:00:18 #376 [Verbose] > │ square │
00:00:18 #377 [Verbose] > │ </text> │
00:00:18 #378 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:00:18 #379 [Verbose] > │ y2="75"/> │
00:00:18 #380 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:18 #381 [Verbose] > │ y2="75"/> │
00:00:18 #382 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:00:18 #383 [Verbose] > │ y2="75"/> │
00:00:18 #384 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:00:18 #385 [Verbose] > │ y2="75"/> │
00:00:18 #386 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:00:18 #387 [Verbose] > │ ... │
00:00:18 #388 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #389 [Verbose] >
00:00:18 #390 [Verbose] > ╭─[ 422.47ms - stdout ]────────────────────────────────────────────────────────╮
00:00:18 #391 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:18 #392 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:18 #393 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:18 #394 [Verbose] > │ let v2 : bool = v1 < 601 │
00:00:18 #395 [Verbose] > │ v2 │
00:00:18 #396 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:18 #397 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:18 #398 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:18 #399 [Verbose] > │ v3 │
00:00:18 #400 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:18 #401 [Verbose] > │ []) * (float [])) [])) = │
00:00:18 #402 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (601) │
00:00:18 #403 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #404 [Verbose] > │ while method1(v1) do │
00:00:18 #405 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:18 #406 [Verbose] > │ let v4 : float = float v3 │
00:00:18 #407 [Verbose] > │ let v5 : float = 0.01 * v4 │
00:00:18 #408 [Verbose] > │ let v6 : float = -3.0 + v5 │
00:00:18 #409 [Verbose] > │ v0.[int v3] <- v6 │
00:00:18 #410 [Verbose] > │ let v7 : int32 = v3 + 1 │
00:00:18 #411 [Verbose] > │ v1.l0 <- v7 │
00:00:18 #412 [Verbose] > │ () │
00:00:18 #413 [Verbose] > │ let v8 : int32 = v0.Length │
00:00:18 #414 [Verbose] > │ let v9 : (float []) = Array.zeroCreate<float> (v8) │
00:00:18 #415 [Verbose] > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #416 [Verbose] > │ while method2(v8, v10) do │
00:00:18 #417 [Verbose] > │ let v12 : int32 = v10.l0 │
00:00:18 #418 [Verbose] > │ let v13 : float = v0.[int v12] │
00:00:18 #419 [Verbose] > │ let v14 : float = v13 ** 2.0 │
00:00:18 #420 [Verbose] > │ v9.[int v12] <- v14 │
00:00:18 #421 [Verbose] > │ let v15 : int32 = v12 + 1 │
00:00:18 #422 [Verbose] > │ v10.l0 <- v15 │
00:00:18 #423 [Verbose] > │ () │
00:00:18 #424 [Verbose] > │ let v16 : string = "square" │
00:00:18 #425 [Verbose] > │ let v17 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:18 #426 [Verbose] > │ (v16, v0, v9)|] │
00:00:18 #427 [Verbose] > │ let v18 : string = "x" │
00:00:18 #428 [Verbose] > │ let v19 : string = "y" │
00:00:18 #429 [Verbose] > │ struct (v16, v18, v19, v17) │
00:00:18 #430 [Verbose] > │ method0() │
00:00:18 #431 [Verbose] > │ │
00:00:18 #432 [Verbose] > │ │
00:00:18 #433 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #434 [Verbose] >
00:00:18 #435 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 #436 [Verbose] > // // test
00:00:18 #437 [Verbose] >
00:00:18 #438 [Verbose] > inl x : a _ f64 = am'.init_series -10 10 0.1
00:00:18 #439 [Verbose] > inl y_sin = x |> am.map sin
00:00:18 #440 [Verbose] > inl y_cos = x |> am.map cos
00:00:18 #441 [Verbose] > "sin cos", "x", "y", ;[[ "sin", x, y_sin; "cos", x, y_cos ]]
00:00:18 #442 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4631-3131-3b2eda2bd9cc\main.spi
00:00:18 #443 [Verbose] >
00:00:18 #444 [Verbose] > ╭─[ 214.54ms - return value ]──────────────────────────────────────────────────╮
00:00:18 #445 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:18 #446 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:18 #447 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:18 #448 [Verbose] > │ stroke="none"/> │
00:00:18 #449 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:18 #450 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:18 #451 [Verbose] > │ fill="#FFFFFF"> │
00:00:18 #452 [Verbose] > │ sin cos │
00:00:18 #453 [Verbose] > │ </text> │
00:00:18 #454 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="57" y1="424" x2="57" │
00:00:18 #455 [Verbose] > │ y2="75"/> │
00:00:18 #456 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:18 #457 [Verbose] > │ y2="75"/> │
00:00:18 #458 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="82" y1="424" x2="82" │
00:00:18 #459 [Verbose] > │ y2="75"/> │
00:00:18 #460 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:00:18 #461 [Verbose] > │ y2="75"/> │
00:00:18 #462 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="107" y1="424" │
00:00:18 #463 [Verbose] > │ x2="10... │
00:00:18 #464 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #465 [Verbose] >
00:00:18 #466 [Verbose] > ╭─[ 226.38ms - stdout ]────────────────────────────────────────────────────────╮
00:00:18 #467 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:18 #468 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:18 #469 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:18 #470 [Verbose] > │ let v2 : bool = v1 < 201 │
00:00:18 #471 [Verbose] > │ v2 │
00:00:18 #472 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:18 #473 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:18 #474 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:18 #475 [Verbose] > │ v3 │
00:00:18 #476 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:18 #477 [Verbose] > │ []) * (float [])) [])) = │
00:00:18 #478 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (201) │
00:00:18 #479 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #480 [Verbose] > │ while method1(v1) do │
00:00:18 #481 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:18 #482 [Verbose] > │ let v4 : float = float v3 │
00:00:18 #483 [Verbose] > │ let v5 : float = 0.1 * v4 │
00:00:18 #484 [Verbose] > │ let v6 : float = -10.0 + v5 │
00:00:18 #485 [Verbose] > │ v0.[int v3] <- v6 │
00:00:18 #486 [Verbose] > │ let v7 : int32 = v3 + 1 │
00:00:18 #487 [Verbose] > │ v1.l0 <- v7 │
00:00:18 #488 [Verbose] > │ () │
00:00:18 #489 [Verbose] > │ let v8 : int32 = v0.Length │
00:00:18 #490 [Verbose] > │ let v9 : (float []) = Array.zeroCreate<float> (v8) │
00:00:18 #491 [Verbose] > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #492 [Verbose] > │ while method2(v8, v10) do │
00:00:18 #493 [Verbose] > │ let v12 : int32 = v10.l0 │
00:00:18 #494 [Verbose] > │ let v13 : float = v0.[int v12] │
00:00:18 #495 [Verbose] > │ let v14 : float = sin v13 │
00:00:18 #496 [Verbose] > │ v9.[int v12] <- v14 │
00:00:18 #497 [Verbose] > │ let v15 : int32 = v12 + 1 │
00:00:18 #498 [Verbose] > │ v10.l0 <- v15 │
00:00:18 #499 [Verbose] > │ () │
00:00:18 #500 [Verbose] > │ let v16 : (float []) = Array.zeroCreate<float> (v8) │
00:00:18 #501 [Verbose] > │ let v17 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #502 [Verbose] > │ while method2(v8, v17) do │
00:00:18 #503 [Verbose] > │ let v19 : int32 = v17.l0 │
00:00:18 #504 [Verbose] > │ let v20 : float = v0.[int v19] │
00:00:18 #505 [Verbose] > │ let v21 : float = cos v20 │
00:00:18 #506 [Verbose] > │ v16.[int v19] <- v21 │
00:00:18 #507 [Verbose] > │ let v22 : int32 = v19 + 1 │
00:00:18 #508 [Verbose] > │ v17.l0 <- v22 │
00:00:18 #509 [Verbose] > │ () │
00:00:18 #510 [Verbose] > │ let v23 : string = "sin" │
00:00:18 #511 [Verbose] > │ let v24 : string = "cos" │
00:00:18 #512 [Verbose] > │ let v25 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:18 #513 [Verbose] > │ (v23, v0, v9); struct (v24, v0, v16)|] │
00:00:18 #514 [Verbose] > │ let v26 : string = "sin cos" │
00:00:18 #515 [Verbose] > │ let v27 : string = "x" │
00:00:18 #516 [Verbose] > │ let v28 : string = "y" │
00:00:18 #517 [Verbose] > │ struct (v26, v27, v28, v25) │
00:00:18 #518 [Verbose] > │ method0() │
00:00:18 #519 [Verbose] > │ │
00:00:18 #520 [Verbose] > │ │
00:00:18 #521 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #522 [Verbose] >
00:00:18 #523 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 #524 [Verbose] > // // test
00:00:18 #525 [Verbose] >
00:00:18 #526 [Verbose] > inl y_pos y0 vy0 ay t =
00:00:18 #527 [Verbose] > y0 + vy0 * t + ay * (t |> math.square) / 2
00:00:18 #528 [Verbose] >
00:00:18 #529 [Verbose] > inl x : a _ f64 = am'.init_series 0 5 0.01
00:00:18 #530 [Verbose] > inl y = x |> am.map (y_pos 0 20 -9.8)
00:00:18 #531 [Verbose] > "projectile motion", "time (s)", "", ;[[ "height of projectile (m)", x, y ]]
00:00:18 #532 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4656-5617-592e3682b974\main.spi
00:00:18 #533 [Verbose] >
00:00:18 #534 [Verbose] > ╭─[ 203.30ms - return value ]──────────────────────────────────────────────────╮
00:00:18 #535 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:18 #536 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:18 #537 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:18 #538 [Verbose] > │ stroke="none"/> │
00:00:18 #539 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:18 #540 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:18 #541 [Verbose] > │ fill="#FFFFFF"> │
00:00:18 #542 [Verbose] > │ projectile motion │
00:00:18 #543 [Verbose] > │ </text> │
00:00:18 #544 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:00:18 #545 [Verbose] > │ y2="75"/> │
00:00:18 #546 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:18 #547 [Verbose] > │ y2="75"/> │
00:00:18 #548 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:00:18 #549 [Verbose] > │ y2="75"/> │
00:00:18 #550 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:00:18 #551 [Verbose] > │ y2="75"/> │
00:00:18 #552 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="99" y1="42... │
00:00:18 #553 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #554 [Verbose] >
00:00:18 #555 [Verbose] > ╭─[ 213.30ms - stdout ]────────────────────────────────────────────────────────╮
00:00:18 #556 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:18 #557 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:18 #558 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:18 #559 [Verbose] > │ let v2 : bool = v1 < 501 │
00:00:18 #560 [Verbose] > │ v2 │
00:00:18 #561 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:18 #562 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:18 #563 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:18 #564 [Verbose] > │ v3 │
00:00:18 #565 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:18 #566 [Verbose] > │ []) * (float [])) [])) = │
00:00:18 #567 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (501) │
00:00:18 #568 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #569 [Verbose] > │ while method1(v1) do │
00:00:18 #570 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:18 #571 [Verbose] > │ let v4 : float = float v3 │
00:00:18 #572 [Verbose] > │ let v5 : float = 0.01 * v4 │
00:00:18 #573 [Verbose] > │ v0.[int v3] <- v5 │
00:00:18 #574 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:18 #575 [Verbose] > │ v1.l0 <- v6 │
00:00:18 #576 [Verbose] > │ () │
00:00:18 #577 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:18 #578 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:18 #579 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #580 [Verbose] > │ while method2(v7, v9) do │
00:00:18 #581 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:18 #582 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:18 #583 [Verbose] > │ let v13 : float = 20.0 * v12 │
00:00:18 #584 [Verbose] > │ let v14 : float = v12 ** 2.0 │
00:00:18 #585 [Verbose] > │ let v15 : float = -9.8 * v14 │
00:00:18 #586 [Verbose] > │ let v16 : float = v15 / 2.0 │
00:00:18 #587 [Verbose] > │ let v17 : float = v13 + v16 │
00:00:18 #588 [Verbose] > │ v8.[int v11] <- v17 │
00:00:18 #589 [Verbose] > │ let v18 : int32 = v11 + 1 │
00:00:18 #590 [Verbose] > │ v9.l0 <- v18 │
00:00:18 #591 [Verbose] > │ () │
00:00:18 #592 [Verbose] > │ let v19 : string = "height of projectile (m)" │
00:00:18 #593 [Verbose] > │ let v20 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:18 #594 [Verbose] > │ (v19, v0, v8)|] │
00:00:18 #595 [Verbose] > │ let v21 : string = "projectile motion" │
00:00:18 #596 [Verbose] > │ let v22 : string = "time (s)" │
00:00:18 #597 [Verbose] > │ let v23 : string = "" │
00:00:18 #598 [Verbose] > │ struct (v21, v22, v23, v20) │
00:00:18 #599 [Verbose] > │ method0() │
00:00:18 #600 [Verbose] > │ │
00:00:18 #601 [Verbose] > │ │
00:00:18 #602 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #603 [Verbose] >
00:00:18 #604 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 #605 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 #606 [Verbose] > │ ## velocity_cf │
00:00:18 #607 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #608 [Verbose] >
00:00:18 #609 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 #610 [Verbose] > type mass = f64
00:00:18 #611 [Verbose] > type time = f64
00:00:18 #612 [Verbose] > type position = f64
00:00:18 #613 [Verbose] > type velocity = f64
00:00:18 #614 [Verbose] > type force = f64
00:00:18 #615 [Verbose] >
00:00:18 #616 [Verbose] > type velocity_cf = mass -> velocity -> list force -> (time -> velocity)
00:00:18 #617 [Verbose] >
00:00:18 #618 [Verbose] > inl velocity_cf m v0 fs =
00:00:18 #619 [Verbose] > inl f_net = fs |> listm'.sum
00:00:18 #620 [Verbose] > inl a0 = f_net / m
00:00:18 #621 [Verbose] > inl v t = v0 + a0 * t
00:00:18 #622 [Verbose] > v
00:00:18 #623 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4679-7957-7d342d370c77\main.spi
00:00:18 #624 [Verbose] >
00:00:18 #625 [Verbose] > ╭─[ 168.95ms - stdout ]────────────────────────────────────────────────────────╮
00:00:18 #626 [Verbose] > │ () │
00:00:18 #627 [Verbose] > │ │
00:00:18 #628 [Verbose] > │ │
00:00:18 #629 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #630 [Verbose] >
00:00:18 #631 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 #632 [Verbose] > // // test
00:00:18 #633 [Verbose] >
00:00:18 #634 [Verbose] > velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]] 0
00:00:18 #635 [Verbose] > |> _equal 0.6
00:00:18 #636 [Verbose] >
00:00:18 #637 [Verbose] > velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]] 1
00:00:18 #638 [Verbose] > |> _equal 0.2
00:00:18 #639 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4696-9665-9fbee64ccb18\main.spi
00:00:18 #640 [Verbose] >
00:00:18 #641 [Verbose] > ╭─[ 199.68ms - stdout ]────────────────────────────────────────────────────────╮
00:00:18 #642 [Verbose] > │ let rec method0 () : unit = │
00:00:18 #643 [Verbose] > │ let v0 : string = $"_equal / actual: %A{0.6} / expected: %A{0.6}" │
00:00:18 #644 [Verbose] > │ let v1 : string = $"_equal / actual: %A{0.2} / expected: %A{0.2}" │
00:00:18 #645 [Verbose] > │ () │
00:00:18 #646 [Verbose] > │ method0() │
00:00:18 #647 [Verbose] > │ │
00:00:18 #648 [Verbose] > │ │
00:00:18 #649 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #650 [Verbose] >
00:00:18 #651 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 #652 [Verbose] > // // test
00:00:18 #653 [Verbose] >
00:00:18 #654 [Verbose] > inl x = am'.init_series 0 4 0.1
00:00:18 #655 [Verbose] > inl y = x |> am.map (velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]])
00:00:18 #656 [Verbose] > "car on an air track", "time (s)", "", ;[[ "velocity of car (m/s)", x, y ]]
00:00:19 #657 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4717-1707-10ea385d0f89\main.spi
00:00:19 #658 [Verbose] >
00:00:19 #659 [Verbose] > ╭─[ 231.99ms - return value ]──────────────────────────────────────────────────╮
00:00:19 #660 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:19 #661 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:19 #662 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:19 #663 [Verbose] > │ stroke="none"/> │
00:00:19 #664 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:19 #665 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:19 #666 [Verbose] > │ fill="#FFFFFF"> │
00:00:19 #667 [Verbose] > │ car on an air track │
00:00:19 #668 [Verbose] > │ </text> │
00:00:19 #669 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="57" y1="424" x2="57" │
00:00:19 #670 [Verbose] > │ y2="75"/> │
00:00:19 #671 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:19 #672 [Verbose] > │ y2="75"/> │
00:00:19 #673 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="82" y1="424" x2="82" │
00:00:19 #674 [Verbose] > │ y2="75"/> │
00:00:19 #675 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:00:19 #676 [Verbose] > │ y2="75"/> │
00:00:19 #677 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="107" y1=... │
00:00:19 #678 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #679 [Verbose] >
00:00:19 #680 [Verbose] > ╭─[ 241.96ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 #681 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:19 #682 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:19 #683 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:19 #684 [Verbose] > │ let v2 : bool = v1 < 41 │
00:00:19 #685 [Verbose] > │ v2 │
00:00:19 #686 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:19 #687 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:19 #688 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:19 #689 [Verbose] > │ v3 │
00:00:19 #690 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:19 #691 [Verbose] > │ []) * (float [])) [])) = │
00:00:19 #692 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (41) │
00:00:19 #693 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:19 #694 [Verbose] > │ while method1(v1) do │
00:00:19 #695 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:19 #696 [Verbose] > │ let v4 : float = float v3 │
00:00:19 #697 [Verbose] > │ let v5 : float = 0.1 * v4 │
00:00:19 #698 [Verbose] > │ v0.[int v3] <- v5 │
00:00:19 #699 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:19 #700 [Verbose] > │ v1.l0 <- v6 │
00:00:19 #701 [Verbose] > │ () │
00:00:19 #702 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:19 #703 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:19 #704 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:19 #705 [Verbose] > │ while method2(v7, v9) do │
00:00:19 #706 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:19 #707 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:19 #708 [Verbose] > │ let v13 : float = -0.39999999999999997 * v12 │
00:00:19 #709 [Verbose] > │ let v14 : float = 0.6 + v13 │
00:00:19 #710 [Verbose] > │ v8.[int v11] <- v14 │
00:00:19 #711 [Verbose] > │ let v15 : int32 = v11 + 1 │
00:00:19 #712 [Verbose] > │ v9.l0 <- v15 │
00:00:19 #713 [Verbose] > │ () │
00:00:19 #714 [Verbose] > │ let v16 : string = "velocity of car (m/s)" │
00:00:19 #715 [Verbose] > │ let v17 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:19 #716 [Verbose] > │ (v16, v0, v8)|] │
00:00:19 #717 [Verbose] > │ let v18 : string = "car on an air track" │
00:00:19 #718 [Verbose] > │ let v19 : string = "time (s)" │
00:00:19 #719 [Verbose] > │ let v20 : string = "" │
00:00:19 #720 [Verbose] > │ struct (v18, v19, v20, v17) │
00:00:19 #721 [Verbose] > │ method0() │
00:00:19 #722 [Verbose] > │ │
00:00:19 #723 [Verbose] > │ │
00:00:19 #724 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #725 [Verbose] >
00:00:19 #726 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 #727 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 #728 [Verbose] > │ ## derivative │
00:00:19 #729 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #730 [Verbose] >
00:00:19 #731 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 #732 [Verbose] > type derivative = (f64 -> f64) -> f64 -> f64
00:00:19 #733 [Verbose] >
00:00:19 #734 [Verbose] > inl derivative dt : derivative =
00:00:19 #735 [Verbose] > fun x t =>
00:00:19 #736 [Verbose] > (x (t + dt / 2) - x (t - dt / 2)) / dt
00:00:19 #737 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4743-4392-44a63e4648ee\main.spi
00:00:19 #738 [Verbose] >
00:00:19 #739 [Verbose] > ╭─[ 157.58ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 #740 [Verbose] > │ () │
00:00:19 #741 [Verbose] > │ │
00:00:19 #742 [Verbose] > │ │
00:00:19 #743 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #744 [Verbose] >
00:00:19 #745 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 #746 [Verbose] > // // test
00:00:19 #747 [Verbose] >
00:00:19 #748 [Verbose] > derivative 1 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #749 [Verbose] > |> _almost_equal 0.25
00:00:19 #750 [Verbose] >
00:00:19 #751 [Verbose] > derivative 0.001 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #752 [Verbose] > |> _almost_equal 0.0000002499998827953931
00:00:19 #753 [Verbose] >
00:00:19 #754 [Verbose] > derivative 0.000001 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #755 [Verbose] > |> _almost_equal 0.000000000001000088900582341
00:00:19 #756 [Verbose] >
00:00:19 #757 [Verbose] > derivative 0.000000001 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #758 [Verbose] > |> _almost_equal 0.00000008274037099909037
00:00:19 #759 [Verbose] >
00:00:19 #760 [Verbose] > derivative 0.000000000001 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #761 [Verbose] > |> _almost_equal 0.00008890058234101161
00:00:19 #762 [Verbose] >
00:00:19 #763 [Verbose] > derivative 0.000000000000001 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #764 [Verbose] > |> _almost_equal -0.0007992778373592246
00:00:19 #765 [Verbose] >
00:00:19 #766 [Verbose] > derivative 0.000000000000000001 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #767 [Verbose] > |> _almost_equal -1
00:00:19 #768 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4759-5993-52cfd2333cb2\main.spi
00:00:19 #769 [Verbose] >
00:00:19 #770 [Verbose] > ╭─[ 209.10ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 #771 [Verbose] > │ let rec method0 () : unit = │
00:00:19 #772 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{0.25} / expected: │
00:00:19 #773 [Verbose] > │ %A{0.25}" │
00:00:19 #774 [Verbose] > │ let v1 : string = $"_almost_equal / actual: %A{2.499998827953931E-07} / │
00:00:19 #775 [Verbose] > │ expected: %A{2.499998827953931E-07}" │
00:00:19 #776 [Verbose] > │ let v2 : string = $"_almost_equal / actual: %A{1.000088900582341E-12} / │
00:00:19 #777 [Verbose] > │ expected: %A{1.000088900582341E-12}" │
00:00:19 #778 [Verbose] > │ let v3 : string = $"_almost_equal / actual: %A{8.274037099909037E-08} / │
00:00:19 #779 [Verbose] > │ expected: %A{8.274037099909037E-08}" │
00:00:19 #780 [Verbose] > │ let v4 : string = $"_almost_equal / actual: %A{8.890058234101161E-05} / │
00:00:19 #781 [Verbose] > │ expected: %A{8.890058234101161E-05}" │
00:00:19 #782 [Verbose] > │ let v5 : string = $"_almost_equal / actual: %A{-0.0007992778373592246} / │
00:00:19 #783 [Verbose] > │ expected: %A{-0.0007992778373592246}" │
00:00:19 #784 [Verbose] > │ let v6 : string = $"_almost_equal / actual: %A{-1.0} / expected: │
00:00:19 #785 [Verbose] > │ %A{-1.0}" │
00:00:19 #786 [Verbose] > │ () │
00:00:19 #787 [Verbose] > │ method0() │
00:00:19 #788 [Verbose] > │ │
00:00:19 #789 [Verbose] > │ │
00:00:19 #790 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #791 [Verbose] >
00:00:19 #792 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 #793 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 #794 [Verbose] > │ ## integration │
00:00:19 #795 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #796 [Verbose] >
00:00:19 #797 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 #798 [Verbose] > type integration = (f64 -> f64) -> f64 -> f64 -> f64
00:00:19 #799 [Verbose] >
00:00:19 #800 [Verbose] > inl integral dt : integration =
00:00:19 #801 [Verbose] > fun f a b =>
00:00:19 #802 [Verbose] > inl rec loop t y =
00:00:19 #803 [Verbose] > if t < b
00:00:19 #804 [Verbose] > then loop (t + dt) (y + f t * dt)
00:00:19 #805 [Verbose] > else t, y
00:00:19 #806 [Verbose] > loop (a + dt / 2) 0
00:00:19 #807 [Verbose] > |> snd
00:00:19 #808 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4781-8182-81573105f410\main.spi
00:00:19 #809 [Verbose] >
00:00:19 #810 [Verbose] > ╭─[ 197.65ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 #811 [Verbose] > │ () │
00:00:19 #812 [Verbose] > │ │
00:00:19 #813 [Verbose] > │ │
00:00:19 #814 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #815 [Verbose] >
00:00:19 #816 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 #817 [Verbose] > // // test
00:00:19 #818 [Verbose] >
00:00:19 #819 [Verbose] > integral 0.01 math.square 0 1
00:00:19 #820 [Verbose] > |> _almost_equal 0.33332500000000004
00:00:19 #821 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4801-0180-0e3f55cd0b79\main.spi
00:00:19 #822 [Verbose] >
00:00:19 #823 [Verbose] > ╭─[ 157.17ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 #824 [Verbose] > │ let rec method0 () : unit = │
00:00:19 #825 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{0.3333250000000004} / │
00:00:19 #826 [Verbose] > │ expected: %A{0.33332500000000004}" │
00:00:19 #827 [Verbose] > │ () │
00:00:19 #828 [Verbose] > │ method0() │
00:00:19 #829 [Verbose] > │ │
00:00:19 #830 [Verbose] > │ │
00:00:19 #831 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #832 [Verbose] >
00:00:19 #833 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 #834 [Verbose] > inl integral' dt : integration =
00:00:19 #835 [Verbose] > fun f a b =>
00:00:19 #836 [Verbose] > listm'.init_series (a + dt / 2) (b - dt / 2) dt
00:00:19 #837 [Verbose] > |> listm.map (f >> (*) dt)
00:00:19 #838 [Verbose] > |> listm'.sum
00:00:20 #839 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4817-1796-12a0d8bb91c6\main.spi
00:00:20 #840 [Verbose] >
00:00:20 #841 [Verbose] > ╭─[ 172.60ms - stdout ]────────────────────────────────────────────────────────╮
00:00:20 #842 [Verbose] > │ () │
00:00:20 #843 [Verbose] > │ │
00:00:20 #844 [Verbose] > │ │
00:00:20 #845 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #846 [Verbose] >
00:00:20 #847 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 #848 [Verbose] > // // test
00:00:20 #849 [Verbose] >
00:00:20 #850 [Verbose] > integral' 0.1 math.square 0 1
00:00:20 #851 [Verbose] > |> _almost_equal (integral 0.1 math.square 0 1)
00:00:20 #852 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4835-3553-3fb49930573f\main.spi
00:00:20 #853 [Verbose] >
00:00:20 #854 [Verbose] > ╭─[ 151.40ms - stdout ]────────────────────────────────────────────────────────╮
00:00:20 #855 [Verbose] > │ let rec method0 () : unit = │
00:00:20 #856 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{0.3325000000000001} / │
00:00:20 #857 [Verbose] > │ expected: %A{0.33249999999999996}" │
00:00:20 #858 [Verbose] > │ () │
00:00:20 #859 [Verbose] > │ method0() │
00:00:20 #860 [Verbose] > │ │
00:00:20 #861 [Verbose] > │ │
00:00:20 #862 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #863 [Verbose] >
00:00:20 #864 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 #865 [Verbose] > inl integral'' dt : integration =
00:00:20 #866 [Verbose] > fun f a b =>
00:00:20 #867 [Verbose] > am'.init_series (a + dt / 2) (b - dt / 2) dt
00:00:20 #868 [Verbose] > |> am.map (f >> (*) dt)
00:00:20 #869 [Verbose] > |> am'.sum
00:00:20 #870 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4850-5096-5a57f81cae19\main.spi
00:00:20 #871 [Verbose] >
00:00:20 #872 [Verbose] > ╭─[ 213.29ms - stdout ]────────────────────────────────────────────────────────╮
00:00:20 #873 [Verbose] > │ () │
00:00:20 #874 [Verbose] > │ │
00:00:20 #875 [Verbose] > │ │
00:00:20 #876 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #877 [Verbose] >
00:00:20 #878 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 #879 [Verbose] > // // test
00:00:20 #880 [Verbose] >
00:00:20 #881 [Verbose] > integral'' 0.01 math.square 0 1
00:00:20 #882 [Verbose] > |> _almost_equal (integral 0.01 math.square 0 1)
00:00:20 #883 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4872-7254-78c5c79c81ac\main.spi
00:00:20 #884 [Verbose] >
00:00:20 #885 [Verbose] > ╭─[ 333.48ms - stdout ]────────────────────────────────────────────────────────╮
00:00:20 #886 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:20 #887 [Verbose] > │ and Mut1 = {mutable l0 : int32; mutable l1 : float} │
00:00:20 #888 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:20 #889 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:20 #890 [Verbose] > │ let v2 : bool = v1 < 100 │
00:00:20 #891 [Verbose] > │ v2 │
00:00:20 #892 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:20 #893 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:20 #894 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:20 #895 [Verbose] > │ v3 │
00:00:20 #896 [Verbose] > │ and method3 (v0 : int32, v1 : Mut1) : bool = │
00:00:20 #897 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:20 #898 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:20 #899 [Verbose] > │ v3 │
00:00:20 #900 [Verbose] > │ and method0 () : unit = │
00:00:20 #901 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (100) │
00:00:20 #902 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:20 #903 [Verbose] > │ while method1(v1) do │
00:00:20 #904 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:20 #905 [Verbose] > │ let v4 : float = float v3 │
00:00:20 #906 [Verbose] > │ let v5 : float = 0.01 * v4 │
00:00:20 #907 [Verbose] > │ let v6 : float = 0.005 + v5 │
00:00:20 #908 [Verbose] > │ v0.[int v3] <- v6 │
00:00:20 #909 [Verbose] > │ let v7 : int32 = v3 + 1 │
00:00:20 #910 [Verbose] > │ v1.l0 <- v7 │
00:00:20 #911 [Verbose] > │ () │
00:00:20 #912 [Verbose] > │ let v8 : int32 = v0.Length │
00:00:20 #913 [Verbose] > │ let v9 : (float []) = Array.zeroCreate<float> (v8) │
00:00:20 #914 [Verbose] > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:00:20 #915 [Verbose] > │ while method2(v8, v10) do │
00:00:20 #916 [Verbose] > │ let v12 : int32 = v10.l0 │
00:00:20 #917 [Verbose] > │ let v13 : float = v0.[int v12] │
00:00:20 #918 [Verbose] > │ let v14 : float = v13 ** 2.0 │
00:00:20 #919 [Verbose] > │ let v15 : float = 0.01 * v14 │
00:00:20 #920 [Verbose] > │ v9.[int v12] <- v15 │
00:00:20 #921 [Verbose] > │ let v16 : int32 = v12 + 1 │
00:00:20 #922 [Verbose] > │ v10.l0 <- v16 │
00:00:20 #923 [Verbose] > │ () │
00:00:20 #924 [Verbose] > │ let v17 : int32 = v9.Length │
00:00:20 #925 [Verbose] > │ let v18 : Mut1 = {l0 = 0; l1 = 0.0} : Mut1 │
00:00:20 #926 [Verbose] > │ while method3(v17, v18) do │
00:00:20 #927 [Verbose] > │ let v20 : int32 = v18.l0 │
00:00:20 #928 [Verbose] > │ let v21 : float = v18.l1 │
00:00:20 #929 [Verbose] > │ let v22 : float = v9.[int v20] │
00:00:20 #930 [Verbose] > │ let v23 : float = v21 + v22 │
00:00:20 #931 [Verbose] > │ let v24 : int32 = v20 + 1 │
00:00:20 #932 [Verbose] > │ v18.l0 <- v24 │
00:00:20 #933 [Verbose] > │ v18.l1 <- v23 │
00:00:20 #934 [Verbose] > │ () │
00:00:20 #935 [Verbose] > │ let v25 : float = v18.l1 │
00:00:20 #936 [Verbose] > │ let v26 : float = 0.3333250000000004 - v25 │
00:00:20 #937 [Verbose] > │ let v27 : float = -v26 │
00:00:20 #938 [Verbose] > │ let v28 : bool = v26 >= v27 │
00:00:20 #939 [Verbose] > │ let v29 : float = │
00:00:20 #940 [Verbose] > │ if v28 then │
00:00:20 #941 [Verbose] > │ v26 │
00:00:20 #942 [Verbose] > │ else │
00:00:20 #943 [Verbose] > │ v27 │
00:00:20 #944 [Verbose] > │ let v30 : bool = v29 < 1E-08 │
00:00:20 #945 [Verbose] > │ let v31 : string = $"_almost_equal / actual: %A{v25} / expected: │
00:00:20 #946 [Verbose] > │ %A{0.3333250000000004}" │
00:00:20 #947 [Verbose] > │ let v32 : bool = v30 = false │
00:00:20 #948 [Verbose] > │ if v32 then │
00:00:20 #949 [Verbose] > │ failwith<unit> v31 │
00:00:20 #950 [Verbose] > │ method0() │
00:00:20 #951 [Verbose] > │ │
00:00:20 #952 [Verbose] > │ │
00:00:20 #953 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #954 [Verbose] >
00:00:20 #955 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:20 #956 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:20 #957 [Verbose] > │ ## anti_derivative │
00:00:20 #958 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #959 [Verbose] >
00:00:20 #960 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 #961 [Verbose] > inl anti_derivative dt v0 a t =
00:00:20 #962 [Verbose] > v0 + integral' dt a 0 t
00:00:20 #963 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4908-0875-0c5dbc25e853\main.spi
00:00:20 #964 [Verbose] >
00:00:20 #965 [Verbose] > ╭─[ 138.01ms - stdout ]────────────────────────────────────────────────────────╮
00:00:20 #966 [Verbose] > │ () │
00:00:20 #967 [Verbose] > │ │
00:00:20 #968 [Verbose] > │ │
00:00:20 #969 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #970 [Verbose] >
00:00:20 #971 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:20 #972 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:20 #973 [Verbose] > │ ## velocity_ft │
00:00:20 #974 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #975 [Verbose] >
00:00:20 #976 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 #977 [Verbose] > type velocity_ft = mass -> velocity -> list (time -> force) -> (time ->
00:00:20 #978 [Verbose] > velocity)
00:00:20 #979 [Verbose] >
00:00:20 #980 [Verbose] > inl velocity_ft dt : velocity_ft =
00:00:20 #981 [Verbose] > fun m v0 fs =>
00:00:20 #982 [Verbose] > inl f_net t = fs |> listm.map (fun f => f t) |> listm'.sum
00:00:20 #983 [Verbose] > inl a t = f_net t / m
00:00:20 #984 [Verbose] > anti_derivative dt v0 a
00:00:21 #985 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4922-2296-25324c0221d0\main.spi
00:00:21 #986 [Verbose] >
00:00:21 #987 [Verbose] > ╭─[ 152.76ms - stdout ]────────────────────────────────────────────────────────╮
00:00:21 #988 [Verbose] > │ () │
00:00:21 #989 [Verbose] > │ │
00:00:21 #990 [Verbose] > │ │
00:00:21 #991 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #992 [Verbose] >
00:00:21 #993 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:21 #994 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:21 #995 [Verbose] > │ ## position_ft │
00:00:21 #996 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #997 [Verbose] >
00:00:21 #998 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:21 #999 [Verbose] > type position_ft = mass -> position -> velocity -> list (time -> force) -> (time
00:00:21 #1000 [Verbose] > -> position)
00:00:21 #1001 [Verbose] >
00:00:21 #1002 [Verbose] > inl position_ft dt : position_ft =
00:00:21 #1003 [Verbose] > fun m x0 v0 fs =>
00:00:21 #1004 [Verbose] > velocity_ft dt m v0 fs
00:00:21 #1005 [Verbose] > |> anti_derivative dt x0
00:00:21 #1006 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4938-3876-3f7a806c3029\main.spi
00:00:21 #1007 [Verbose] >
00:00:21 #1008 [Verbose] > ╭─[ 166.51ms - stdout ]────────────────────────────────────────────────────────╮
00:00:21 #1009 [Verbose] > │ () │
00:00:21 #1010 [Verbose] > │ │
00:00:21 #1011 [Verbose] > │ │
00:00:21 #1012 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #1013 [Verbose] >
00:00:21 #1014 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:21 #1015 [Verbose] > // // test
00:00:21 #1016 [Verbose] >
00:00:21 #1017 [Verbose] > inl pedal_coast (t : time) : force =
00:00:21 #1018 [Verbose] > inl t_cycle = 20
00:00:21 #1019 [Verbose] > inl n_complete : i32 = t / t_cycle |> conv
00:00:21 #1020 [Verbose] > inl remainder = t - conv n_complete * t_cycle
00:00:21 #1021 [Verbose] > if remainder > 0 && remainder < 10
00:00:21 #1022 [Verbose] > then 10
00:00:21 #1023 [Verbose] > else 0
00:00:21 #1024 [Verbose] >
00:00:21 #1025 [Verbose] > inl x = am'.init_series -5 45 0.1
00:00:21 #1026 [Verbose] > inl y = x |> am.map pedal_coast
00:00:21 #1027 [Verbose] > "child pedaling then coasting", "time (s)", "", ;[[ "force on bike (N)", x, y ]]
00:00:21 #1028 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4955-5559-5712bcbd166c\main.spi
00:00:21 #1029 [Verbose] >
00:00:21 #1030 [Verbose] > ╭─[ 222.59ms - return value ]──────────────────────────────────────────────────╮
00:00:21 #1031 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:21 #1032 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:21 #1033 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:21 #1034 [Verbose] > │ stroke="none"/> │
00:00:21 #1035 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:21 #1036 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:21 #1037 [Verbose] > │ fill="#FFFFFF"> │
00:00:21 #1038 [Verbose] > │ child pedaling then coasting │
00:00:21 #1039 [Verbose] > │ </text> │
00:00:21 #1040 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:00:21 #1041 [Verbose] > │ y2="75"/> │
00:00:21 #1042 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:21 #1043 [Verbose] > │ y2="75"/> │
00:00:21 #1044 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:00:21 #1045 [Verbose] > │ y2="75"/> │
00:00:21 #1046 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:00:21 #1047 [Verbose] > │ y2="75"/> │
00:00:21 #1048 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=... │
00:00:21 #1049 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #1050 [Verbose] >
00:00:21 #1051 [Verbose] > ╭─[ 234.54ms - stdout ]────────────────────────────────────────────────────────╮
00:00:21 #1052 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:21 #1053 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:21 #1054 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:21 #1055 [Verbose] > │ let v2 : bool = v1 < 501 │
00:00:21 #1056 [Verbose] > │ v2 │
00:00:21 #1057 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:21 #1058 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:21 #1059 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:21 #1060 [Verbose] > │ v3 │
00:00:21 #1061 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:21 #1062 [Verbose] > │ []) * (float [])) [])) = │
00:00:21 #1063 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (501) │
00:00:21 #1064 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:21 #1065 [Verbose] > │ while method1(v1) do │
00:00:21 #1066 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:21 #1067 [Verbose] > │ let v4 : float = float v3 │
00:00:21 #1068 [Verbose] > │ let v5 : float = 0.1 * v4 │
00:00:21 #1069 [Verbose] > │ let v6 : float = -5.0 + v5 │
00:00:21 #1070 [Verbose] > │ v0.[int v3] <- v6 │
00:00:21 #1071 [Verbose] > │ let v7 : int32 = v3 + 1 │
00:00:21 #1072 [Verbose] > │ v1.l0 <- v7 │
00:00:21 #1073 [Verbose] > │ () │
00:00:21 #1074 [Verbose] > │ let v8 : int32 = v0.Length │
00:00:21 #1075 [Verbose] > │ let v9 : (float []) = Array.zeroCreate<float> (v8) │
00:00:21 #1076 [Verbose] > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:00:21 #1077 [Verbose] > │ while method2(v8, v10) do │
00:00:21 #1078 [Verbose] > │ let v12 : int32 = v10.l0 │
00:00:21 #1079 [Verbose] > │ let v13 : float = v0.[int v12] │
00:00:21 #1080 [Verbose] > │ let v14 : float = v13 / 20.0 │
00:00:21 #1081 [Verbose] > │ let v15 : int32 = int32 v14 │
00:00:21 #1082 [Verbose] > │ let v16 : float = float v15 │
00:00:21 #1083 [Verbose] > │ let v17 : float = v16 * 20.0 │
00:00:21 #1084 [Verbose] > │ let v18 : float = v13 - v17 │
00:00:21 #1085 [Verbose] > │ let v19 : bool = v18 > 0.0 │
00:00:21 #1086 [Verbose] > │ let v21 : bool = │
00:00:21 #1087 [Verbose] > │ if v19 then │
00:00:21 #1088 [Verbose] > │ let v20 : bool = v18 < 10.0 │
00:00:21 #1089 [Verbose] > │ v20 │
00:00:21 #1090 [Verbose] > │ else │
00:00:21 #1091 [Verbose] > │ false │
00:00:21 #1092 [Verbose] > │ let v22 : float = │
00:00:21 #1093 [Verbose] > │ if v21 then │
00:00:21 #1094 [Verbose] > │ 10.0 │
00:00:21 #1095 [Verbose] > │ else │
00:00:21 #1096 [Verbose] > │ 0.0 │
00:00:21 #1097 [Verbose] > │ v9.[int v12] <- v22 │
00:00:21 #1098 [Verbose] > │ let v23 : int32 = v12 + 1 │
00:00:21 #1099 [Verbose] > │ v10.l0 <- v23 │
00:00:21 #1100 [Verbose] > │ () │
00:00:21 #1101 [Verbose] > │ let v24 : string = "force on bike (N)" │
00:00:21 #1102 [Verbose] > │ let v25 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:21 #1103 [Verbose] > │ (v24, v0, v9)|] │
00:00:21 #1104 [Verbose] > │ let v26 : string = "child pedaling then coasting" │
00:00:21 #1105 [Verbose] > │ let v27 : string = "time (s)" │
00:00:21 #1106 [Verbose] > │ let v28 : string = "" │
00:00:21 #1107 [Verbose] > │ struct (v26, v27, v28, v25) │
00:00:21 #1108 [Verbose] > │ method0() │
00:00:21 #1109 [Verbose] > │ │
00:00:21 #1110 [Verbose] > │ │
00:00:21 #1111 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #1112 [Verbose] >
00:00:21 #1113 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:21 #1114 [Verbose] > // // test
00:00:21 #1115 [Verbose] >
00:00:21 #1116 [Verbose] > inl x = am'.init_series -5 45 1
00:00:21 #1117 [Verbose] > inl y = x |> am.map (position_ft 0.1f64 20 0 0 [[ pedal_coast ]])
00:00:21 #1118 [Verbose] > "child pedaling then coasting", "time (s)", "", ;[[ "position of bike (m)", x, y
00:00:21 #1119 [Verbose] > ]]
00:00:21 #1120 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4981-8168-80c53b0dcd80\main.spi
00:00:22 #1121 [Verbose] >
00:00:22 #1122 [Verbose] > ╭─[ 480.98ms - return value ]──────────────────────────────────────────────────╮
00:00:22 #1123 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:22 #1124 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:22 #1125 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:22 #1126 [Verbose] > │ stroke="none"/> │
00:00:22 #1127 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:22 #1128 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:22 #1129 [Verbose] > │ fill="#FFFFFF"> │
00:00:22 #1130 [Verbose] > │ child pedaling then coasting │
00:00:22 #1131 [Verbose] > │ </text> │
00:00:22 #1132 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:00:22 #1133 [Verbose] > │ y2="75"/> │
00:00:22 #1134 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:22 #1135 [Verbose] > │ y2="75"/> │
00:00:22 #1136 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:00:22 #1137 [Verbose] > │ y2="75"/> │
00:00:22 #1138 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:00:22 #1139 [Verbose] > │ y2="75"/> │
00:00:22 #1140 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=... │
00:00:22 #1141 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 #1142 [Verbose] >
00:00:22 #1143 [Verbose] > ╭─[ 493.97ms - stdout ]────────────────────────────────────────────────────────╮
00:00:22 #1144 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:22 #1145 [Verbose] > │ and UH0 = │
00:00:22 #1146 [Verbose] > │ | UH0_0 of float * UH0 │
00:00:22 #1147 [Verbose] > │ | UH0_1 │
00:00:22 #1148 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:22 #1149 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:22 #1150 [Verbose] > │ let v2 : bool = v1 < 51 │
00:00:22 #1151 [Verbose] > │ v2 │
00:00:22 #1152 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:22 #1153 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:22 #1154 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:22 #1155 [Verbose] > │ v3 │
00:00:22 #1156 [Verbose] > │ and method3 (v0 : float, v1 : float) : UH0 = │
00:00:22 #1157 [Verbose] > │ let v2 : bool = v1 < v0 │
00:00:22 #1158 [Verbose] > │ if v2 then │
00:00:22 #1159 [Verbose] > │ let v3 : float = 0.1 * v1 │
00:00:22 #1160 [Verbose] > │ let v4 : float = 0.05 + v3 │
00:00:22 #1161 [Verbose] > │ let v5 : float = v1 + 1.0 │
00:00:22 #1162 [Verbose] > │ let v6 : UH0 = method3(v0, v5) │
00:00:22 #1163 [Verbose] > │ UH0_0(v4, v6) │
00:00:22 #1164 [Verbose] > │ else │
00:00:22 #1165 [Verbose] > │ UH0_1 │
00:00:22 #1166 [Verbose] > │ and method5 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:22 #1167 [Verbose] > │ match v0 with │
00:00:22 #1168 [Verbose] > │ | UH0_0(v2, v3) -> (* Cons *) │
00:00:22 #1169 [Verbose] > │ let v4 : UH0 = method5(v3, v1) │
00:00:22 #1170 [Verbose] > │ let v5 : float = v2 / 20.0 │
00:00:22 #1171 [Verbose] > │ let v6 : int32 = int32 v5 │
00:00:22 #1172 [Verbose] > │ let v7 : float = float v6 │
00:00:22 #1173 [Verbose] > │ let v8 : float = v7 * 20.0 │
00:00:22 #1174 [Verbose] > │ let v9 : float = v2 - v8 │
00:00:22 #1175 [Verbose] > │ let v10 : bool = v9 > 0.0 │
00:00:22 #1176 [Verbose] > │ let v12 : bool = │
00:00:22 #1177 [Verbose] > │ if v10 then │
00:00:22 #1178 [Verbose] > │ let v11 : bool = v9 < 10.0 │
00:00:22 #1179 [Verbose] > │ v11 │
00:00:22 #1180 [Verbose] > │ else │
00:00:22 #1181 [Verbose] > │ false │
00:00:22 #1182 [Verbose] > │ let v13 : float = │
00:00:22 #1183 [Verbose] > │ if v12 then │
00:00:22 #1184 [Verbose] > │ 10.0 │
00:00:22 #1185 [Verbose] > │ else │
00:00:22 #1186 [Verbose] > │ 0.0 │
00:00:22 #1187 [Verbose] > │ let v14 : float = v13 / 20.0 │
00:00:22 #1188 [Verbose] > │ let v15 : float = 0.1 * v14 │
00:00:22 #1189 [Verbose] > │ UH0_0(v15, v4) │
00:00:22 #1190 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:22 #1191 [Verbose] > │ v1 │
00:00:22 #1192 [Verbose] > │ and method6 (v0 : UH0, v1 : float) : float = │
00:00:22 #1193 [Verbose] > │ match v0 with │
00:00:22 #1194 [Verbose] > │ | UH0_0(v2, v3) -> (* Cons *) │
00:00:22 #1195 [Verbose] > │ let v4 : float = v1 + v2 │
00:00:22 #1196 [Verbose] > │ method6(v3, v4) │
00:00:22 #1197 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:22 #1198 [Verbose] > │ v1 │
00:00:22 #1199 [Verbose] > │ and method4 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:22 #1200 [Verbose] > │ match v0 with │
00:00:22 #1201 [Verbose] > │ | UH0_0(v2, v3) -> (* Cons *) │
00:00:22 #1202 [Verbose] > │ let v4 : UH0 = method4(v3, v1) │
00:00:22 #1203 [Verbose] > │ let v5 : float = v2 - 0.05 │
00:00:22 #1204 [Verbose] > │ let v6 : float = v5 - 0.05 │
00:00:22 #1205 [Verbose] > │ let v7 : float = v6 / 0.1 │
00:00:22 #1206 [Verbose] > │ let v8 : float = v7 + 1.0 │
00:00:22 #1207 [Verbose] > │ let v9 : float = 0.0 │
00:00:22 #1208 [Verbose] > │ let v10 : UH0 = method3(v8, v9) │
00:00:22 #1209 [Verbose] > │ let v11 : UH0 = UH0_1 │
00:00:22 #1210 [Verbose] > │ let v12 : UH0 = method5(v10, v11) │
00:00:22 #1211 [Verbose] > │ let v13 : float = 0.0 │
00:00:22 #1212 [Verbose] > │ let v14 : float = method6(v12, v13) │
00:00:22 #1213 [Verbose] > │ let v15 : float = 0.1 * v14 │
00:00:22 #1214 [Verbose] > │ UH0_0(v15, v4) │
00:00:22 #1215 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:22 #1216 [Verbose] > │ v1 │
00:00:22 #1217 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:22 #1218 [Verbose] > │ []) * (float [])) [])) = │
00:00:22 #1219 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (51) │
00:00:22 #1220 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:22 #1221 [Verbose] > │ while method1(v1) do │
00:00:22 #1222 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:22 #1223 [Verbose] > │ let v4 : float = float v3 │
00:00:22 #1224 [Verbose] > │ let v5 : float = -5.0 + v4 │
00:00:22 #1225 [Verbose] > │ v0.[int v3] <- v5 │
00:00:22 #1226 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:22 #1227 [Verbose] > │ v1.l0 <- v6 │
00:00:22 #1228 [Verbose] > │ () │
00:00:22 #1229 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:22 #1230 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:22 #1231 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:22 #1232 [Verbose] > │ while method2(v7, v9) do │
00:00:22 #1233 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:22 #1234 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:22 #1235 [Verbose] > │ let v13 : float = v12 - 0.05 │
00:00:22 #1236 [Verbose] > │ let v14 : float = v13 - 0.05 │
00:00:22 #1237 [Verbose] > │ let v15 : float = v14 / 0.1 │
00:00:22 #1238 [Verbose] > │ let v16 : float = v15 + 1.0 │
00:00:22 #1239 [Verbose] > │ let v17 : float = 0.0 │
00:00:22 #1240 [Verbose] > │ let v18 : UH0 = method3(v16, v17) │
00:00:22 #1241 [Verbose] > │ let v19 : UH0 = UH0_1 │
00:00:22 #1242 [Verbose] > │ let v20 : UH0 = method4(v18, v19) │
00:00:22 #1243 [Verbose] > │ let v21 : float = 0.0 │
00:00:22 #1244 [Verbose] > │ let v22 : float = method6(v20, v21) │
00:00:22 #1245 [Verbose] > │ v8.[int v11] <- v22 │
00:00:22 #1246 [Verbose] > │ let v23 : int32 = v11 + 1 │
00:00:22 #1247 [Verbose] > │ v9.l0 <- v23 │
00:00:22 #1248 [Verbose] > │ () │
00:00:22 #1249 [Verbose] > │ let v24 : string = "position of bike (m)" │
00:00:22 #1250 [Verbose] > │ let v25 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:22 #1251 [Verbose] > │ (v24, v0, v8)|] │
00:00:22 #1252 [Verbose] > │ let v26 : string = "child pedaling then coasting" │
00:00:22 #1253 [Verbose] > │ let v27 : string = "time (s)" │
00:00:22 #1254 [Verbose] > │ let v28 : string = "" │
00:00:22 #1255 [Verbose] > │ struct (v26, v27, v28, v25) │
00:00:22 #1256 [Verbose] > │ method0() │
00:00:22 #1257 [Verbose] > │ │
00:00:22 #1258 [Verbose] > │ │
00:00:22 #1259 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 #1260 [Verbose] >
00:00:22 #1261 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:22 #1262 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:22 #1263 [Verbose] > │ ## velocity_fv │
00:00:22 #1264 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 #1265 [Verbose] >
00:00:22 #1266 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 #1267 [Verbose] > inl newton_second_v m fs v0 =
00:00:22 #1268 [Verbose] > fs |> listm.map (fun f => f v0) |> listm'.sum |> fun x => x / m
00:00:22 #1269 [Verbose] >
00:00:22 #1270 [Verbose] > inl update_velocity dt m fs v0 =
00:00:22 #1271 [Verbose] > v0 + newton_second_v m fs v0 * dt
00:00:22 #1272 [Verbose] >
00:00:22 #1273 [Verbose] > inl velocity_fv dt m v0 fs t =
00:00:22 #1274 [Verbose] > stream.iterate (update_velocity dt m fs) v0
00:00:22 #1275 [Verbose] > |> stream.try_item (t / dt |> math.round |> abs)
00:00:22 #1276 [Verbose] > |> optionm'.default_value 0
00:00:22 #1277 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5036-3632-367be53902dd\main.spi
00:00:22 #1278 [Verbose] >
00:00:22 #1279 [Verbose] > ╭─[ 167.90ms - stdout ]────────────────────────────────────────────────────────╮
00:00:22 #1280 [Verbose] > │ () │
00:00:22 #1281 [Verbose] > │ │
00:00:22 #1282 [Verbose] > │ │
00:00:22 #1283 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 #1284 [Verbose] >
00:00:22 #1285 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 #1286 [Verbose] > inl f_air drag rho area v =
00:00:22 #1287 [Verbose] > -drag * rho * area * abs v * v / 2
00:00:22 #1288 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5053-5334-5fa892eaee8d\main.spi
00:00:22 #1289 [Verbose] >
00:00:22 #1290 [Verbose] > ╭─[ 182.95ms - stdout ]────────────────────────────────────────────────────────╮
00:00:22 #1291 [Verbose] > │ () │
00:00:22 #1292 [Verbose] > │ │
00:00:22 #1293 [Verbose] > │ │
00:00:22 #1294 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 #1295 [Verbose] >
00:00:22 #1296 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 #1297 [Verbose] > // // test
00:00:22 #1298 [Verbose] >
00:00:22 #1299 [Verbose] > inl x = am'.init_series 0 60 0.5
00:00:22 #1300 [Verbose] > inl y = x |> am.map (velocity_fv 1 70 0f64 [[ fun _ => 100; f_air 2 1.225 0.6
00:00:22 #1301 [Verbose] > ]])
00:00:22 #1302 [Verbose] > "bike velocity", "time (s)", "", ;[[ "velocity of bike (m/s)", x, y ]]
00:00:22 #1303 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5071-7184-7accfbec3530\main.spi
00:00:23 #1304 [Verbose] >
00:00:23 #1305 [Verbose] > ╭─[ 683.07ms - return value ]──────────────────────────────────────────────────╮
00:00:23 #1306 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:23 #1307 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:23 #1308 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:23 #1309 [Verbose] > │ stroke="none"/> │
00:00:23 #1310 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:23 #1311 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:23 #1312 [Verbose] > │ fill="#FFFFFF"> │
00:00:23 #1313 [Verbose] > │ bike velocity │
00:00:23 #1314 [Verbose] > │ </text> │
00:00:23 #1315 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:00:23 #1316 [Verbose] > │ y2="75"/> │
00:00:23 #1317 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:23 #1318 [Verbose] > │ y2="75"/> │
00:00:23 #1319 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:00:23 #1320 [Verbose] > │ y2="75"/> │
00:00:23 #1321 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:00:23 #1322 [Verbose] > │ y2="75"/> │
00:00:23 #1323 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x... │
00:00:23 #1324 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 #1325 [Verbose] >
00:00:23 #1326 [Verbose] > ╭─[ 704.58ms - stdout ]────────────────────────────────────────────────────────╮
00:00:23 #1327 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:23 #1328 [Verbose] > │ and UH0 = │
00:00:23 #1329 [Verbose] > │ | UH0_0 of float * (unit -> UH0) │
00:00:23 #1330 [Verbose] > │ | UH0_1 │
00:00:23 #1331 [Verbose] > │ and [<Struct>] US0 = │
00:00:23 #1332 [Verbose] > │ | US0_0 │
00:00:23 #1333 [Verbose] > │ | US0_1 of f1_0 : float │
00:00:23 #1334 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:23 #1335 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:23 #1336 [Verbose] > │ let v2 : bool = v1 < 121 │
00:00:23 #1337 [Verbose] > │ v2 │
00:00:23 #1338 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:23 #1339 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:23 #1340 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:23 #1341 [Verbose] > │ v3 │
00:00:23 #1342 [Verbose] > │ and closure129 () () : UH0 = │
00:00:23 #1343 [Verbose] > │ let v0 : (unit -> UH0) = closure129() │
00:00:23 #1344 [Verbose] > │ UH0_0(11.664236870396083, v0) │
00:00:23 #1345 [Verbose] > │ and closure128 () () : UH0 = │
00:00:23 #1346 [Verbose] > │ let v0 : (unit -> UH0) = closure129() │
00:00:23 #1347 [Verbose] > │ UH0_0(11.664236870396081, v0) │
00:00:23 #1348 [Verbose] > │ and closure127 () () : UH0 = │
00:00:23 #1349 [Verbose] > │ let v0 : (unit -> UH0) = closure128() │
00:00:23 #1350 [Verbose] > │ UH0_0(11.66423687039608, v0) │
00:00:23 #1351 [Verbose] > │ and closure126 () () : UH0 = │
00:00:23 #1352 [Verbose] > │ let v0 : (unit -> UH0) = closure127() │
00:00:23 #1353 [Verbose] > │ UH0_0(11.664236870396078, v0) │
00:00:23 #1354 [Verbose] > │ and closure125 () () : UH0 = │
00:00:23 #1355 [Verbose] > │ let v0 : (unit -> UH0) = closure126() │
00:00:23 #1356 [Verbose] > │ UH0_0(11.664236870396074, v0) │
00:00:23 #1357 [Verbose] > │ and closure124 () () : UH0 = │
00:00:23 #1358 [Verbose] > │ let v0 : (unit -> UH0) = closure125() │
00:00:23 #1359 [Verbose] > │ UH0_0(11.66423687039607, v0) │
00:00:23 #1360 [Verbose] > │ and closure123 () () : UH0 = │
00:00:23 #1361 [Verbose] > │ let v0 : (unit -> UH0) = closure124() │
00:00:23 #1362 [Verbose] > │ UH0_0(11.664236870396065, v0) │
00:00:23 #1363 [Verbose] > │ and closure122 () () : UH0 = │
00:00:23 #1364 [Verbose] > │ let v0 : (unit -> UH0) = closure123() │
00:00:23 #1365 [Verbose] > │ UH0_0(11.664236870396058, v0) │
00:00:23 #1366 [Verbose] > │ and closure121 () () : UH0 = │
00:00:23 #1367 [Verbose] > │ let v0 : (unit -> UH0) = closure122() │
00:00:23 #1368 [Verbose] > │ UH0_0(11.66423687039605, v0) │
00:00:23 #1369 [Verbose] > │ and closure120 () () : UH0 = │
00:00:23 #1370 [Verbose] > │ let v0 : (unit -> UH0) = closure121() │
00:00:23 #1371 [Verbose] > │ UH0_0(11.664236870396037, v0) │
00:00:23 #1372 [Verbose] > │ and closure119 () () : UH0 = │
00:00:23 #1373 [Verbose] > │ let v0 : (unit -> UH0) = closure120() │
00:00:23 #1374 [Verbose] > │ UH0_0(11.66423687039602, v0) │
00:00:23 #1375 [Verbose] > │ and closure118 () () : UH0 = │
00:00:23 #1376 [Verbose] > │ let v0 : (unit -> UH0) = closure119() │
00:00:23 #1377 [Verbose] > │ UH0_0(11.664236870396, v0) │
00:00:23 #1378 [Verbose] > │ and closure117 () () : UH0 = │
00:00:23 #1379 [Verbose] > │ let v0 : (unit -> UH0) = closure118() │
00:00:23 #1380 [Verbose] > │ UH0_0(11.664236870395971, v0) │
00:00:23 #1381 [Verbose] > │ and closure116 () () : UH0 = │
00:00:23 #1382 [Verbose] > │ let v0 : (unit -> UH0) = closure117() │
00:00:23 #1383 [Verbose] > │ UH0_0(11.664236870395934, v0) │
00:00:23 #1384 [Verbose] > │ and closure115 () () : UH0 = │
00:00:23 #1385 [Verbose] > │ let v0 : (unit -> UH0) = closure116() │
00:00:23 #1386 [Verbose] > │ UH0_0(11.664236870395884, v0) │
00:00:23 #1387 [Verbose] > │ and closure114 () () : UH0 = │
00:00:23 #1388 [Verbose] > │ let v0 : (unit -> UH0) = closure115() │
00:00:23 #1389 [Verbose] > │ UH0_0(11.664236870395818, v0) │
00:00:23 #1390 [Verbose] > │ and closure113 () () : UH0 = │
00:00:23 #1391 [Verbose] > │ let v0 : (unit -> UH0) = closure114() │
00:00:23 #1392 [Verbose] > │ UH0_0(11.664236870395731, v0) │
00:00:23 #1393 [Verbose] > │ and closure112 () () : UH0 = │
00:00:23 #1394 [Verbose] > │ let v0 : (unit -> UH0) = closure113() │
00:00:23 #1395 [Verbose] > │ UH0_0(11.664236870395616, v0) │
00:00:23 #1396 [Verbose] > │ and closure111 () () : UH0 = │
00:00:23 #1397 [Verbose] > │ let v0 : (unit -> UH0) = closure112() │
00:00:23 #1398 [Verbose] > │ UH0_0(11.664236870395463, v0) │
00:00:23 #1399 [Verbose] > │ and closure110 () () : UH0 = │
00:00:23 #1400 [Verbose] > │ let v0 : (unit -> UH0) = closure111() │
00:00:23 #1401 [Verbose] > │ UH0_0(11.66423687039526, v0) │
00:00:23 #1402 [Verbose] > │ and closure109 () () : UH0 = │
00:00:23 #1403 [Verbose] > │ let v0 : (unit -> UH0) = closure110() │
00:00:23 #1404 [Verbose] > │ UH0_0(11.664236870394992, v0) │
00:00:23 #1405 [Verbose] > │ and closure108 () () : UH0 = │
00:00:23 #1406 [Verbose] > │ let v0 : (unit -> UH0) = closure109() │
00:00:23 #1407 [Verbose] > │ UH0_0(11.664236870394637, v0) │
00:00:23 #1408 [Verbose] > │ and closure107 () () : UH0 = │
00:00:23 #1409 [Verbose] > │ let v0 : (unit -> UH0) = closure108() │
00:00:23 #1410 [Verbose] > │ UH0_0(11.664236870394168, v0) │
00:00:23 #1411 [Verbose] > │ and closure106 () () : UH0 = │
00:00:23 #1412 [Verbose] > │ let v0 : (unit -> UH0) = closure107() │
00:00:23 #1413 [Verbose] > │ UH0_0(11.664236870393546, v0) │
00:00:23 #1414 [Verbose] > │ and closure105 () () : UH0 = │
00:00:23 #1415 [Verbose] > │ let v0 : (unit -> UH0) = closure106() │
00:00:23 #1416 [Verbose] > │ UH0_0(11.664236870392722, v0) │
00:00:23 #1417 [Verbose] > │ and closure104 () () : UH0 = │
00:00:23 #1418 [Verbose] > │ let v0 : (unit -> UH0) = closure105() │
00:00:23 #1419 [Verbose] > │ UH0_0(11.664236870391631, v0) │
00:00:23 #1420 [Verbose] > │ and closure103 () () : UH0 = │
00:00:23 #1421 [Verbose] > │ let v0 : (unit -> UH0) = closure104() │
00:00:23 #1422 [Verbose] > │ UH0_0(11.664236870390187, v0) │
00:00:23 #1423 [Verbose] > │ and closure102 () () : UH0 = │
00:00:23 #1424 [Verbose] > │ let v0 : (unit -> UH0) = closure103() │
00:00:23 #1425 [Verbose] > │ UH0_0(11.664236870388274, v0) │
00:00:23 #1426 [Verbose] > │ and closure101 () () : UH0 = │
00:00:23 #1427 [Verbose] > │ let v0 : (unit -> UH0) = closure102() │
00:00:23 #1428 [Verbose] > │ UH0_0(11.66423687038574, v0) │
00:00:23 #1429 [Verbose] > │ and closure100 () () : UH0 = │
00:00:23 #1430 [Verbose] > │ let v0 : (unit -> UH0) = closure101() │
00:00:23 #1431 [Verbose] > │ UH0_0(11.664236870382384, v0) │
00:00:23 #1432 [Verbose] > │ and closure99 () () : UH0 = │
00:00:23 #1433 [Verbose] > │ let v0 : (unit -> UH0) = closure100() │
00:00:23 #1434 [Verbose] > │ UH0_0(11.664236870377938, v0) │
00:00:23 #1435 [Verbose] > │ and closure98 () () : UH0 = │
00:00:23 #1436 [Verbose] > │ let v0 : (unit -> UH0) = closure99() │
00:00:23 #1437 [Verbose] > │ UH0_0(11.66423687037205, v0) │
00:00:23 #1438 [Verbose] > │ and closure97 () () : UH0 = │
00:00:23 #1439 [Verbose] > │ let v0 : (unit -> UH0) = closure98() │
00:00:23 #1440 [Verbose] > │ UH0_0(11.664236870364254, v0) │
00:00:23 #1441 [Verbose] > │ and closure96 () () : UH0 = │
00:00:23 #1442 [Verbose] > │ let v0 : (unit -> UH0) = closure97() │
00:00:23 #1443 [Verbose] > │ UH0_0(11.664236870353927, v0) │
00:00:23 #1444 [Verbose] > │ and closure95 () () : UH0 = │
00:00:23 #1445 [Verbose] > │ let v0 : (unit -> UH0) = closure96() │
00:00:23 #1446 [Verbose] > │ UH0_0(11.664236870340249, v0) │
00:00:23 #1447 [Verbose] > │ and closure94 () () : UH0 = │
00:00:23 #1448 [Verbose] > │ let v0 : (unit -> UH0) = closure95() │
00:00:23 #1449 [Verbose] > │ UH0_0(11.664236870322135, v0) │
00:00:23 #1450 [Verbose] > │ and closure93 () () : UH0 = │
00:00:23 #1451 [Verbose] > │ let v0 : (unit -> UH0) = closure94() │
00:00:23 #1452 [Verbose] > │ UH0_0(11.664236870298145, v0) │
00:00:23 #1453 [Verbose] > │ and closure92 () () : UH0 = │
00:00:23 #1454 [Verbose] > │ let v0 : (unit -> UH0) = closure93() │
00:00:23 #1455 [Verbose] > │ UH0_0(11.664236870266372, v0) │
00:00:23 #1456 [Verbose] > │ and closure91 () () : UH0 = │
00:00:23 #1457 [Verbose] > │ let v0 : (unit -> UH0) = closure92() │
00:00:23 #1458 [Verbose] > │ UH0_0(11.664236870224292, v0) │
00:00:23 #1459 [Verbose] > │ and closure90 () () : UH0 = │
00:00:23 #1460 [Verbose] > │ let v0 : (unit -> UH0) = closure91() │
00:00:23 #1461 [Verbose] > │ UH0_0(11.66423687016856, v0) │
00:00:23 #1462 [Verbose] > │ and closure89 () () : UH0 = │
00:00:23 #1463 [Verbose] > │ let v0 : (unit -> UH0) = closure90() │
00:00:23 #1464 [Verbose] > │ UH0_0(11.664236870094747, v0) │
00:00:23 #1465 [Verbose] > │ and closure88 () () : UH0 = │
00:00:23 #1466 [Verbose] > │ let v0 : (unit -> UH0) = closure89() │
00:00:23 #1467 [Verbose] > │ UH0_0(11.664236869996989, v0) │
00:00:23 #1468 [Verbose] > │ and closure87 () () : UH0 = │
00:00:23 #1469 [Verbose] > │ let v0 : (unit -> UH0) = closure88() │
00:00:23 #1470 [Verbose] > │ UH0_0(11.664236869867516, v0) │
00:00:23 #1471 [Verbose] > │ and closure86 () () : UH0 = │
00:00:23 #1472 [Verbose] > │ let v0 : (unit -> UH0) = closure87() │
00:00:23 #1473 [Verbose] > │ UH0_0(11.66423686969604, v0) │
00:00:23 #1474 [Verbose] > │ and closure85 () () : UH0 = │
00:00:23 #1475 [Verbose] > │ let v0 : (unit -> UH0) = closure86() │
00:00:23 #1476 [Verbose] > │ UH0_0(11.664236869468937, v0) │
00:00:23 #1477 [Verbose] > │ and closure84 () () : UH0 = │
00:00:23 #1478 [Verbose] > │ let v0 : (unit -> UH0) = closure85() │
00:00:23 #1479 [Verbose] > │ UH0_0(11.664236869168157, v0) │
00:00:23 #1480 [Verbose] > │ and closure83 () () : UH0 = │
00:00:23 #1481 [Verbose] > │ let v0 : (unit -> UH0) = closure84() │
00:00:23 #1482 [Verbose] > │ UH0_0(11.6642368687698, v0) │
00:00:23 #1483 [Verbose] > │ and closure82 () () : UH0 = │
00:00:23 #1484 [Verbose] > │ let v0 : (unit -> UH0) = closure83() │
00:00:23 #1485 [Verbose] > │ UH0_0(11.664236868242211, v0) │
00:00:23 #1486 [Verbose] > │ and closure81 () () : UH0 = │
00:00:23 #1487 [Verbose] > │ let v0 : (unit -> UH0) = closure82() │
00:00:23 #1488 [Verbose] > │ UH0_0(11.664236867543465, v0) │
00:00:23 #1489 [Verbose] > │ and closure80 () () : UH0 = │
00:00:23 #1490 [Verbose] > │ let v0 : (unit -> UH0) = closure81() │
00:00:23 #1491 [Verbose] > │ UH0_0(11.664236866618037, v0) │
00:00:23 #1492 [Verbose] > │ and closure79 () () : UH0 = │
00:00:23 #1493 [Verbose] > │ let v0 : (unit -> UH0) = closure80() │
00:00:23 #1494 [Verbose] > │ UH0_0(11.664236865392386, v0) │
00:00:23 #1495 [Verbose] > │ and closure78 () () : UH0 = │
00:00:23 #1496 [Verbose] > │ let v0 : (unit -> UH0) = closure79() │
00:00:23 #1497 [Verbose] > │ UH0_0(11.664236863769117, v0) │
00:00:23 #1498 [Verbose] > │ and closure77 () () : UH0 = │
00:00:23 #1499 [Verbose] > │ let v0 : (unit -> UH0) = closure78() │
00:00:23 #1500 [Verbose] > │ UH0_0(11.664236861619237, v0) │
00:00:23 #1501 [Verbose] > │ and closure76 () () : UH0 = │
00:00:23 #1502 [Verbose] > │ let v0 : (unit -> UH0) = closure77() │
00:00:23 #1503 [Verbose] > │ UH0_0(11.664236858771906, v0) │
00:00:23 #1504 [Verbose] > │ and closure75 () () : UH0 = │
00:00:23 #1505 [Verbose] > │ let v0 : (unit -> UH0) = closure76() │
00:00:23 #1506 [Verbose] > │ UH0_0(11.66423685500086, v0) │
00:00:23 #1507 [Verbose] > │ and closure74 () () : UH0 = │
00:00:23 #1508 [Verbose] > │ let v0 : (unit -> UH0) = closure75() │
00:00:23 #1509 [Verbose] > │ UH0_0(11.664236850006436, v0) │
00:00:23 #1510 [Verbose] > │ and closure73 () () : UH0 = │
00:00:23 #1511 [Verbose] > │ let v0 : (unit -> UH0) = closure74() │
00:00:23 #1512 [Verbose] > │ UH0_0(11.664236843391752, v0) │
00:00:23 #1513 [Verbose] > │ and closure72 () () : UH0 = │
00:00:23 #1514 [Verbose] > │ let v0 : (unit -> UH0) = closure73() │
00:00:23 #1515 [Verbose] > │ UH0_0(11.664236834631172, v0) │
00:00:23 #1516 [Verbose] > │ and closure71 () () : UH0 = │
00:00:23 #1517 [Verbose] > │ let v0 : (unit -> UH0) = closure72() │
00:00:23 #1518 [Verbose] > │ UH0_0(11.66423682302854, v0) │
00:00:23 #1519 [Verbose] > │ and closure70 () () : UH0 = │
00:00:23 #1520 [Verbose] > │ let v0 : (unit -> UH0) = closure71() │
00:00:23 #1521 [Verbose] > │ UH0_0(11.664236807661855, v0) │
00:00:23 #1522 [Verbose] > │ and closure69 () () : UH0 = │
00:00:23 #1523 [Verbose] > │ let v0 : (unit -> UH0) = closure70() │
00:00:23 #1524 [Verbose] > │ UH0_0(11.664236787310005, v0) │
00:00:23 #1525 [Verbose] > │ and closure68 () () : UH0 = │
00:00:23 #1526 [Verbose] > │ let v0 : (unit -> UH0) = closure69() │
00:00:23 #1527 [Verbose] > │ UH0_0(11.664236760355733, v0) │
00:00:23 #1528 [Verbose] > │ and closure67 () () : UH0 = │
00:00:23 #1529 [Verbose] > │ let v0 : (unit -> UH0) = closure68() │
00:00:23 #1530 [Verbose] > │ UH0_0(11.664236724657123, v0) │
00:00:23 #1531 [Verbose] > │ and closure66 () () : UH0 = │
00:00:23 #1532 [Verbose] > │ let v0 : (unit -> UH0) = closure67() │
00:00:23 #1533 [Verbose] > │ UH0_0(11.66423667737739, v0) │
00:00:23 #1534 [Verbose] > │ and closure65 () () : UH0 = │
00:00:23 #1535 [Verbose] > │ let v0 : (unit -> UH0) = closure66() │
00:00:23 #1536 [Verbose] > │ UH0_0(11.664236614759462, v0) │
00:00:23 #1537 [Verbose] > │ and closure64 () () : UH0 = │
00:00:23 #1538 [Verbose] > │ let v0 : (unit -> UH0) = closure65() │
00:00:23 #1539 [Verbose] > │ UH0_0(11.664236531827415, v0) │
00:00:23 #1540 [Verbose] > │ and closure63 () () : UH0 = │
00:00:23 #1541 [Verbose] > │ let v0 : (unit -> UH0) = closure64() │
00:00:23 #1542 [Verbose] > │ UH0_0(11.664236421991067, v0) │
00:00:23 #1543 [Verbose] > │ and closure62 () () : UH0 = │
00:00:23 #1544 [Verbose] > │ let v0 : (unit -> UH0) = closure63() │
00:00:23 #1545 [Verbose] > │ UH0_0(11.664236276522294, v0) │
00:00:23 #1546 [Verbose] > │ and closure61 () () : UH0 = │
00:00:23 #1547 [Verbose] > │ let v0 : (unit -> UH0) = closure62() │
00:00:23 #1548 [Verbose] > │ UH0_0(11.664236083861448, v0) │
00:00:23 #1549 [Verbose] > │ and closure60 () () : UH0 = │
00:00:23 #1550 [Verbose] > │ let v0 : (unit -> UH0) = closure61() │
00:00:23 #1551 [Verbose] > │ UH0_0(11.664235828698772, v0) │
00:00:23 #1552 [Verbose] > │ and closure59 () () : UH0 = │
00:00:23 #1553 [Verbose] > │ let v0 : (unit -> UH0) = closure60() │
00:00:23 #1554 [Verbose] > │ UH0_0(11.664235490757811, v0) │
00:00:23 #1555 [Verbose] > │ and closure58 () () : UH0 = │
00:00:23 #1556 [Verbose] > │ let v0 : (unit -> UH0) = closure59() │
00:00:23 #1557 [Verbose] > │ UH0_0(11.664235043184158, v0) │
00:00:23 #1558 [Verbose] > │ and closure57 () () : UH0 = │
00:00:23 #1559 [Verbose] > │ let v0 : (unit -> UH0) = closure58() │
00:00:23 #1560 [Verbose] > │ UH0_0(11.66423445041147, v0) │
00:00:23 #1561 [Verbose] > │ and closure56 () () : UH0 = │
00:00:23 #1562 [Verbose] > │ let v0 : (unit -> UH0) = closure57() │
00:00:23 #1563 [Verbose] > │ UH0_0(11.664233665335203, v0) │
00:00:23 #1564 [Verbose] > │ and closure55 () () : UH0 = │
00:00:23 #1565 [Verbose] > │ let v0 : (unit -> UH0) = closure56() │
00:00:23 #1566 [Verbose] > │ UH0_0(11.664232625569467, v0) │
00:00:23 #1567 [Verbose] > │ and closure54 () () : UH0 = │
00:00:23 #1568 [Verbose] > │ let v0 : (unit -> UH0) = closure55() │
00:00:23 #1569 [Verbose] > │ UH0_0(11.664231248489562, v0) │
00:00:23 #1570 [Verbose] > │ and closure53 () () : UH0 = │
00:00:23 #1571 [Verbose] > │ let v0 : (unit -> UH0) = closure54() │
00:00:23 #1572 [Verbose] > │ UH0_0(11.664229424666262, v0) │
00:00:23 #1573 [Verbose] > │ and closure52 () () : UH0 = │
00:00:23 #1574 [Verbose] > │ let v0 : (unit -> UH0) = closure53() │
00:00:23 #1575 [Verbose] > │ UH0_0(11.66422700917009, v0) │
00:00:23 #1576 [Verbose] > │ and closure51 () () : UH0 = │
00:00:23 #1577 [Verbose] > │ let v0 : (unit -> UH0) = closure52() │
00:00:23 #1578 [Verbose] > │ UH0_0(11.664223810054642, v0) │
00:00:23 #1579 [Verbose] > │ and closure50 () () : UH0 = │
00:00:23 #1580 [Verbose] > │ let v0 : (unit -> UH0) = closure51() │
00:00:23 #1581 [Verbose] > │ UH0_0(11.664219573103773, v0) │
00:00:23 #1582 [Verbose] > │ and closure49 () () : UH0 = │
00:00:23 #1583 [Verbose] > │ let v0 : (unit -> UH0) = closure50() │
00:00:23 #1584 [Verbose] > │ UH0_0(11.6642139616307, v0) │
00:00:23 #1585 [Verbose] > │ and closure48 () () : UH0 = │
00:00:23 #1586 [Verbose] > │ let v0 : (unit -> UH0) = closure49() │
00:00:23 #1587 [Verbose] > │ UH0_0(11.664206529723813, v0) │
00:00:23 #1588 [Verbose] > │ and closure47 () () : UH0 = │
00:00:23 #1589 [Verbose] > │ let v0 : (unit -> UH0) = closure48() │
00:00:23 #1590 [Verbose] > │ UH0_0(11.664196686813408, v0) │
00:00:23 #1591 [Verbose] > │ and closure46 () () : UH0 = │
00:00:23 #1592 [Verbose] > │ let v0 : (unit -> UH0) = closure47() │
00:00:23 #1593 [Verbose] > │ UH0_0(11.664183650743945, v0) │
00:00:23 #1594 [Verbose] > │ and closure45 () () : UH0 = │
00:00:23 #1595 [Verbose] > │ let v0 : (unit -> UH0) = closure46() │
00:00:23 #1596 [Verbose] > │ UH0_0(11.664166385623318, v0) │
00:00:23 #1597 [Verbose] > │ and closure44 () () : UH0 = │
00:00:23 #1598 [Verbose] > │ let v0 : (unit -> UH0) = closure45() │
00:00:23 #1599 [Verbose] > │ UH0_0(11.664143519511356, v0) │
00:00:23 #1600 [Verbose] > │ and closure43 () () : UH0 = │
00:00:23 #1601 [Verbose] > │ let v0 : (unit -> UH0) = closure44() │
00:00:23 #1602 [Verbose] > │ UH0_0(11.664113235408447, v0) │
00:00:23 #1603 [Verbose] > │ and closure42 () () : UH0 = │
00:00:23 #1604 [Verbose] > │ let v0 : (unit -> UH0) = closure43() │
00:00:23 #1605 [Verbose] > │ UH0_0(11.66407312688485, v0) │
00:00:23 #1606 [Verbose] > │ and closure41 () () : UH0 = │
00:00:23 #1607 [Verbose] > │ let v0 : (unit -> UH0) = closure42() │
00:00:23 #1608 [Verbose] > │ UH0_0(11.664020006883758, v0) │
00:00:23 #1609 [Verbose] > │ and closure40 () () : UH0 = │
00:00:23 #1610 [Verbose] > │ let v0 : (unit -> UH0) = closure41() │
00:00:23 #1611 [Verbose] > │ UH0_0(11.663949654514292, v0) │
00:00:23 #1612 [Verbose] > │ and closure39 () () : UH0 = │
00:00:23 #1613 [Verbose] > │ let v0 : (unit -> UH0) = closure40() │
00:00:23 #1614 [Verbose] > │ UH0_0(11.663856479730171, v0) │
00:00:23 #1615 [Verbose] > │ and closure38 () () : UH0 = │
00:00:23 #1616 [Verbose] > │ let v0 : (unit -> UH0) = closure39() │
00:00:23 #1617 [Verbose] > │ UH0_0(11.663733079277343, v0) │
00:00:23 #1618 [Verbose] > │ and closure37 () () : UH0 = │
00:00:23 #1619 [Verbose] > │ let v0 : (unit -> UH0) = closure38() │
00:00:23 #1620 [Verbose] > │ UH0_0(11.663569648675777, v0) │
00:00:23 #1621 [Verbose] > │ and closure36 () () : UH0 = │
00:00:23 #1622 [Verbose] > │ let v0 : (unit -> UH0) = closure37() │
00:00:23 #1623 [Verbose] > │ UH0_0(11.663353203599439, v0) │
00:00:23 #1624 [Verbose] > │ and closure35 () () : UH0 = │
00:00:23 #1625 [Verbose] > │ let v0 : (unit -> UH0) = closure36() │
00:00:23 #1626 [Verbose] > │ UH0_0(11.663066548940721, v0) │
00:00:23 #1627 [Verbose] > │ and closure34 () () : UH0 = │
00:00:23 #1628 [Verbose] > │ let v0 : (unit -> UH0) = closure35() │
00:00:23 #1629 [Verbose] > │ UH0_0(11.662686913915445, v0) │
00:00:23 #1630 [Verbose] > │ and closure33 () () : UH0 = │
00:00:23 #1631 [Verbose] > │ let v0 : (unit -> UH0) = closure34() │
00:00:23 #1632 [Verbose] > │ UH0_0(11.662184145236864, v0) │
00:00:23 #1633 [Verbose] > │ and closure32 () () : UH0 = │
00:00:23 #1634 [Verbose] > │ let v0 : (unit -> UH0) = closure33() │
00:00:23 #1635 [Verbose] > │ UH0_0(11.661518315638029, v0) │
00:00:23 #1636 [Verbose] > │ and closure31 () () : UH0 = │
00:00:23 #1637 [Verbose] > │ let v0 : (unit -> UH0) = closure32() │
00:00:23 #1638 [Verbose] > │ UH0_0(11.66063655920926, v0) │
00:00:23 #1639 [Verbose] > │ and closure30 () () : UH0 = │
00:00:23 #1640 [Verbose] > │ let v0 : (unit -> UH0) = closure31() │
00:00:23 #1641 [Verbose] > │ UH0_0(11.659468884709733, v0) │
00:00:23 #1642 [Verbose] > │ and closure29 () () : UH0 = │
00:00:23 #1643 [Verbose] > │ let v0 : (unit -> UH0) = closure30() │
00:00:23 #1644 [Verbose] > │ UH0_0(11.657922638782631, v0) │
00:00:23 #1645 [Verbose] > │ and closure28 () () : UH0 = │
00:00:23 #1646 [Verbose] > │ let v0 : (unit -> UH0) = closure29() │
00:00:23 #1647 [Verbose] > │ UH0_0(11.655875187195818, v0) │
00:00:23 #1648 [Verbose] > │ and closure27 () () : UH0 = │
00:00:23 #1649 [Verbose] > │ let v0 : (unit -> UH0) = closure28() │
00:00:23 #1650 [Verbose] > │ UH0_0(11.653164246713697, v0) │
00:00:23 #1651 [Verbose] > │ and closure26 () () : UH0 = │
00:00:23 #1652 [Verbose] > │ let v0 : (unit -> UH0) = closure27() │
00:00:23 #1653 [Verbose] > │ UH0_0(11.64957512416459, v0) │
00:00:23 #1654 [Verbose] > │ and closure25 () () : UH0 = │
00:00:23 #1655 [Verbose] > │ let v0 : (unit -> UH0) = closure26() │
00:00:23 #1656 [Verbose] > │ UH0_0(11.644823892116417, v0) │
00:00:23 #1657 [Verbose] > │ and closure24 () () : UH0 = │
00:00:23 #1658 [Verbose] > │ let v0 : (unit -> UH0) = closure25() │
00:00:23 #1659 [Verbose] > │ UH0_0(11.63853524018339, v0) │
00:00:23 #1660 [Verbose] > │ and closure23 () () : UH0 = │
00:00:23 #1661 [Verbose] > │ let v0 : (unit -> UH0) = closure24() │
00:00:23 #1662 [Verbose] > │ UH0_0(11.630213374558416, v0) │
00:00:23 #1663 [Verbose] > │ and closure22 () () : UH0 = │
00:00:23 #1664 [Verbose] > │ let v0 : (unit -> UH0) = closure23() │
00:00:23 #1665 [Verbose] > │ UH0_0(11.619203884549703, v0) │
00:00:23 #1666 [Verbose] > │ and closure21 () () : UH0 = │
00:00:23 #1667 [Verbose] > │ let v0 : (unit -> UH0) = closure22() │
00:00:23 #1668 [Verbose] > │ UH0_0(11.604643948207235, v0) │
00:00:23 #1669 [Verbose] > │ and closure20 () () : UH0 = │
00:00:23 #1670 [Verbose] > │ let v0 : (unit -> UH0) = closure21() │
00:00:23 #1671 [Verbose] > │ UH0_0(11.585397618384544, v0) │
00:00:23 #1672 [Verbose] > │ and closure19 () () : UH0 = │
00:00:23 #1673 [Verbose] > │ let v0 : (unit -> UH0) = closure20() │
00:00:23 #1674 [Verbose] > │ UH0_0(11.559972254267073, v0) │
00:00:23 #1675 [Verbose] > │ and closure18 () () : UH0 = │
00:00:23 #1676 [Verbose] > │ let v0 : (unit -> UH0) = closure19() │
00:00:23 #1677 [Verbose] > │ UH0_0(11.526411536153837, v0) │
00:00:23 #1678 [Verbose] > │ and closure17 () () : UH0 = │
00:00:23 #1679 [Verbose] > │ let v0 : (unit -> UH0) = closure18() │
00:00:23 #1680 [Verbose] > │ UH0_0(11.48216011776808, v0) │
00:00:23 #1681 [Verbose] > │ and closure16 () () : UH0 = │
00:00:23 #1682 [Verbose] > │ let v0 : (unit -> UH0) = closure17() │
00:00:23 #1683 [Verbose] > │ UH0_0(11.42389519391233, v0) │
00:00:23 #1684 [Verbose] > │ and closure15 () () : UH0 = │
00:00:23 #1685 [Verbose] > │ let v0 : (unit -> UH0) = closure16() │
00:00:23 #1686 [Verbose] > │ UH0_0(11.347321723441393, v0) │
00:00:23 #1687 [Verbose] > │ and closure14 () () : UH0 = │
00:00:23 #1688 [Verbose] > │ let v0 : (unit -> UH0) = closure15() │
00:00:23 #1689 [Verbose] > │ UH0_0(11.246931775734161, v0) │
00:00:23 #1690 [Verbose] > │ and closure13 () () : UH0 = │
00:00:23 #1691 [Verbose] > │ let v0 : (unit -> UH0) = closure14() │
00:00:23 #1692 [Verbose] > │ UH0_0(11.115736011467376, v0) │
00:00:23 #1693 [Verbose] > │ and closure12 () () : UH0 = │
00:00:23 #1694 [Verbose] > │ let v0 : (unit -> UH0) = closure13() │
00:00:23 #1695 [Verbose] > │ UH0_0(10.94498876251829, v0) │
00:00:23 #1696 [Verbose] > │ and closure11 () () : UH0 = │
00:00:23 #1697 [Verbose] > │ let v0 : (unit -> UH0) = closure12() │
00:00:23 #1698 [Verbose] > │ UH0_0(10.72394989903564, v0) │
00:00:23 #1699 [Verbose] > │ and closure10 () () : UH0 = │
00:00:23 #1700 [Verbose] > │ let v0 : (unit -> UH0) = closure11() │
00:00:23 #1701 [Verbose] > │ UH0_0(10.439758275369812, v0) │
00:00:23 #1702 [Verbose] > │ and closure9 () () : UH0 = │
00:00:23 #1703 [Verbose] > │ let v0 : (unit -> UH0) = closure10() │
00:00:23 #1704 [Verbose] > │ UH0_0(10.077531599826058, v0) │
00:00:23 #1705 [Verbose] > │ and closure8 () () : UH0 = │
00:00:23 #1706 [Verbose] > │ let v0 : (unit -> UH0) = closure9() │
00:00:23 #1707 [Verbose] > │ UH0_0(9.62084761372258, v0) │
00:00:23 #1708 [Verbose] > │ and closure7 () () : UH0 = │
00:00:23 #1709 [Verbose] > │ let v0 : (unit -> UH0) = closure8() │
00:00:23 #1710 [Verbose] > │ UH0_0(9.052781056066443, v0) │
00:00:23 #1711 [Verbose] > │ and closure6 () () : UH0 = │
00:00:23 #1712 [Verbose] > │ let v0 : (unit -> UH0) = closure7() │
00:00:23 #1713 [Verbose] > │ UH0_0(8.357635347880503, v0) │
00:00:23 #1714 [Verbose] > │ and closure5 () () : UH0 = │
00:00:23 #1715 [Verbose] > │ let v0 : (unit -> UH0) = closure6() │
00:00:23 #1716 [Verbose] > │ UH0_0(7.523376447621674, v0) │
00:00:23 #1717 [Verbose] > │ and closure4 () () : UH0 = │
00:00:23 #1718 [Verbose] > │ let v0 : (unit -> UH0) = closure5() │
00:00:23 #1719 [Verbose] > │ UH0_0(6.544529054818572, v0) │
00:00:23 #1720 [Verbose] > │ and closure3 () () : UH0 = │
00:00:23 #1721 [Verbose] > │ let v0 : (unit -> UH0) = closure4() │
00:00:23 #1722 [Verbose] > │ UH0_0(5.424976512996006, v0) │
00:00:23 #1723 [Verbose] > │ and closure2 () () : UH0 = │
00:00:23 #1724 [Verbose] > │ let v0 : (unit -> UH0) = closure3() │
00:00:23 #1725 [Verbose] > │ UH0_0(4.179852321428571, v0) │
00:00:23 #1726 [Verbose] > │ and closure1 () () : UH0 = │
00:00:23 #1727 [Verbose] > │ let v0 : (unit -> UH0) = closure2() │
00:00:23 #1728 [Verbose] > │ UH0_0(2.835714285714286, v0) │
00:00:23 #1729 [Verbose] > │ and closure0 () () : UH0 = │
00:00:23 #1730 [Verbose] > │ let v0 : (unit -> UH0) = closure1() │
00:00:23 #1731 [Verbose] > │ UH0_0(1.4285714285714286, v0) │
00:00:23 #1732 [Verbose] > │ and method3 (v0 : float, v1 : UH0) : US0 = │
00:00:23 #1733 [Verbose] > │ match v1 with │
00:00:23 #1734 [Verbose] > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:00:23 #1735 [Verbose] > │ let v4 : bool = v0 <= 0.0 │
00:00:23 #1736 [Verbose] > │ if v4 then │
00:00:23 #1737 [Verbose] > │ US0_1(v2) │
00:00:23 #1738 [Verbose] > │ else │
00:00:23 #1739 [Verbose] > │ let v6 : float = v0 - 1.0 │
00:00:23 #1740 [Verbose] > │ let v7 : UH0 = v3 () │
00:00:23 #1741 [Verbose] > │ method3(v6, v7) │
00:00:23 #1742 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:23 #1743 [Verbose] > │ US0_0 │
00:00:23 #1744 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:23 #1745 [Verbose] > │ []) * (float [])) [])) = │
00:00:23 #1746 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (121) │
00:00:23 #1747 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:23 #1748 [Verbose] > │ while method1(v1) do │
00:00:23 #1749 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:23 #1750 [Verbose] > │ let v4 : float = float v3 │
00:00:23 #1751 [Verbose] > │ let v5 : float = 0.5 * v4 │
00:00:23 #1752 [Verbose] > │ v0.[int v3] <- v5 │
00:00:23 #1753 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:23 #1754 [Verbose] > │ v1.l0 <- v6 │
00:00:23 #1755 [Verbose] > │ () │
00:00:23 #1756 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:23 #1757 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:23 #1758 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:23 #1759 [Verbose] > │ while method2(v7, v9) do │
00:00:23 #1760 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:23 #1761 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:23 #1762 [Verbose] > │ let v13 : float = round v12 │
00:00:23 #1763 [Verbose] > │ let v14 : float = -v13 │
00:00:23 #1764 [Verbose] > │ let v15 : bool = v13 >= v14 │
00:00:23 #1765 [Verbose] > │ let v16 : float = │
00:00:23 #1766 [Verbose] > │ if v15 then │
00:00:23 #1767 [Verbose] > │ v13 │
00:00:23 #1768 [Verbose] > │ else │
00:00:23 #1769 [Verbose] > │ v14 │
00:00:23 #1770 [Verbose] > │ let v17 : float = 0.0 │
00:00:23 #1771 [Verbose] > │ let v18 : (unit -> UH0) = closure0() │
00:00:23 #1772 [Verbose] > │ let v19 : UH0 = UH0_0(v17, v18) │
00:00:23 #1773 [Verbose] > │ let v20 : US0 = method3(v16, v19) │
00:00:23 #1774 [Verbose] > │ let v23 : float = │
00:00:23 #1775 [Verbose] > │ match v20 with │
00:00:23 #1776 [Verbose] > │ | US0_0 -> (* None *) │
00:00:23 #1777 [Verbose] > │ 0.0 │
00:00:23 #1778 [Verbose] > │ | US0_1(v21) -> (* Some *) │
00:00:23 #1779 [Verbose] > │ v21 │
00:00:23 #1780 [Verbose] > │ v8.[int v11] <- v23 │
00:00:23 #1781 [Verbose] > │ let v24 : int32 = v11 + 1 │
00:00:23 #1782 [Verbose] > │ v9.l0 <- v24 │
00:00:23 #1783 [Verbose] > │ () │
00:00:23 #1784 [Verbose] > │ let v25 : string = "velocity of bike (m/s)" │
00:00:23 #1785 [Verbose] > │ let v26 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:23 #1786 [Verbose] > │ (v25, v0, v8)|] │
00:00:23 #1787 [Verbose] > │ let v27 : string = "bike velocity" │
00:00:23 #1788 [Verbose] > │ let v28 : string = "time (s)" │
00:00:23 #1789 [Verbose] > │ let v29 : string = "" │
00:00:23 #1790 [Verbose] > │ struct (v27, v28, v29, v26) │
00:00:23 #1791 [Verbose] > │ method0() │
00:00:23 #1792 [Verbose] > │ │
00:00:23 #1793 [Verbose] > │ │
00:00:23 #1794 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 #1795 [Verbose] >
00:00:23 #1796 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:23 #1797 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:23 #1798 [Verbose] > │ ## velocity_ftv │
00:00:23 #1799 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 #1800 [Verbose] >
00:00:23 #1801 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:23 #1802 [Verbose] > inl newton_second_tv m fs (t, v0) =
00:00:23 #1803 [Verbose] > inl f_net = fs |> listm.map (fun f => f (t, v0)) |> listm'.sum
00:00:23 #1804 [Verbose] > inl acc = f_net / m
00:00:23 #1805 [Verbose] > 1, acc
00:00:23 #1806 [Verbose] >
00:00:23 #1807 [Verbose] > inl update_tv dt m fs (t, v0) =
00:00:23 #1808 [Verbose] > inl dtdt, dvdt = newton_second_tv m fs (t, v0)
00:00:23 #1809 [Verbose] > t + dtdt * dt, v0 + dvdt * dt
00:00:23 #1810 [Verbose] >
00:00:23 #1811 [Verbose] > inl velocity_ftv dt m tv0 fs t =
00:00:23 #1812 [Verbose] > stream.iterate (join update_tv dt m fs) tv0
00:00:23 #1813 [Verbose] > |> stream.try_item (t / dt |> math.round |> abs)
00:00:23 #1814 [Verbose] > |> optionm.map snd
00:00:23 #1815 [Verbose] > |> optionm'.default_value 0
00:00:23 #1816 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5171-7156-74f2434d76cb\main.spi
00:00:23 #1817 [Verbose] >
00:00:23 #1818 [Verbose] > ╭─[ 202.27ms - stdout ]────────────────────────────────────────────────────────╮
00:00:23 #1819 [Verbose] > │ () │
00:00:23 #1820 [Verbose] > │ │
00:00:23 #1821 [Verbose] > │ │
00:00:23 #1822 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 #1823 [Verbose] >
00:00:23 #1824 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:23 #1825 [Verbose] > // // test
00:00:23 #1826 [Verbose] >
00:00:23 #1827 [Verbose] > inl x = am'.init_series 0 100 0.1
00:00:23 #1828 [Verbose] > inl y =
00:00:23 #1829 [Verbose] > x
00:00:23 #1830 [Verbose] > |> am.map (
00:00:23 #1831 [Verbose] > velocity_ftv 0.1 20 (dyn (0, 0)) [[ fun (t, _) => pedal_coast t; fun (_,
00:00:23 #1832 [Verbose] > v) => f_air 2 1.225 0.5 v ]]
00:00:23 #1833 [Verbose] > )
00:00:23 #1834 [Verbose] > "pedaling and coasting with air", "time (s)", "", ;[[ "velocity of bike (m/s)",
00:00:23 #1835 [Verbose] > x, y ]]
00:00:23 #1836 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5191-9156-91193f75d446\main.spi
00:00:24 #1837 [Verbose] >
00:00:24 #1838 [Verbose] > ╭─[ 474.38ms - return value ]──────────────────────────────────────────────────╮
00:00:24 #1839 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:24 #1840 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:24 #1841 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:24 #1842 [Verbose] > │ stroke="none"/> │
00:00:24 #1843 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:24 #1844 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:24 #1845 [Verbose] > │ fill="#FFFFFF"> │
00:00:24 #1846 [Verbose] > │ pedaling and coasting with air │
00:00:24 #1847 [Verbose] > │ </text> │
00:00:24 #1848 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:00:24 #1849 [Verbose] > │ y2="75"/> │
00:00:24 #1850 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:24 #1851 [Verbose] > │ y2="75"/> │
00:00:24 #1852 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:00:24 #1853 [Verbose] > │ y2="75"/> │
00:00:24 #1854 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:00:24 #1855 [Verbose] > │ y2="75"/> │
00:00:24 #1856 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x... │
00:00:24 #1857 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 #1858 [Verbose] >
00:00:24 #1859 [Verbose] > ╭─[ 488.44ms - stdout ]────────────────────────────────────────────────────────╮
00:00:24 #1860 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:24 #1861 [Verbose] > │ and UH0 = │
00:00:24 #1862 [Verbose] > │ | UH0_0 of float * float * (unit -> UH0) │
00:00:24 #1863 [Verbose] > │ | UH0_1 │
00:00:24 #1864 [Verbose] > │ and [<Struct>] US0 = │
00:00:24 #1865 [Verbose] > │ | US0_0 │
00:00:24 #1866 [Verbose] > │ | US0_1 of f1_0 : float * f1_1 : float │
00:00:24 #1867 [Verbose] > │ and [<Struct>] US1 = │
00:00:24 #1868 [Verbose] > │ | US1_0 │
00:00:24 #1869 [Verbose] > │ | US1_1 of f1_0 : float │
00:00:24 #1870 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:24 #1871 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:24 #1872 [Verbose] > │ let v2 : bool = v1 < 1001 │
00:00:24 #1873 [Verbose] > │ v2 │
00:00:24 #1874 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:24 #1875 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:24 #1876 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:24 #1877 [Verbose] > │ v3 │
00:00:24 #1878 [Verbose] > │ and closure0 () struct (v0 : float, v1 : float) : struct (float * float) = │
00:00:24 #1879 [Verbose] > │ let v2 : float = -v1 │
00:00:24 #1880 [Verbose] > │ let v3 : bool = v1 >= v2 │
00:00:24 #1881 [Verbose] > │ let v4 : float = │
00:00:24 #1882 [Verbose] > │ if v3 then │
00:00:24 #1883 [Verbose] > │ v1 │
00:00:24 #1884 [Verbose] > │ else │
00:00:24 #1885 [Verbose] > │ v2 │
00:00:24 #1886 [Verbose] > │ let v5 : float = -1.225 * v4 │
00:00:24 #1887 [Verbose] > │ let v6 : float = v5 * v1 │
00:00:24 #1888 [Verbose] > │ let v7 : float = v6 / 2.0 │
00:00:24 #1889 [Verbose] > │ let v8 : float = v0 / 20.0 │
00:00:24 #1890 [Verbose] > │ let v9 : int32 = int32 v8 │
00:00:24 #1891 [Verbose] > │ let v10 : float = float v9 │
00:00:24 #1892 [Verbose] > │ let v11 : float = v10 * 20.0 │
00:00:24 #1893 [Verbose] > │ let v12 : float = v0 - v11 │
00:00:24 #1894 [Verbose] > │ let v13 : bool = v12 > 0.0 │
00:00:24 #1895 [Verbose] > │ let v15 : bool = │
00:00:24 #1896 [Verbose] > │ if v13 then │
00:00:24 #1897 [Verbose] > │ let v14 : bool = v12 < 10.0 │
00:00:24 #1898 [Verbose] > │ v14 │
00:00:24 #1899 [Verbose] > │ else │
00:00:24 #1900 [Verbose] > │ false │
00:00:24 #1901 [Verbose] > │ let v16 : float = │
00:00:24 #1902 [Verbose] > │ if v15 then │
00:00:24 #1903 [Verbose] > │ 10.0 │
00:00:24 #1904 [Verbose] > │ else │
00:00:24 #1905 [Verbose] > │ 0.0 │
00:00:24 #1906 [Verbose] > │ let v17 : float = v16 + v7 │
00:00:24 #1907 [Verbose] > │ let v18 : float = v17 / 20.0 │
00:00:24 #1908 [Verbose] > │ let v19 : float = v0 + 0.1 │
00:00:24 #1909 [Verbose] > │ let v20 : float = v18 * 0.1 │
00:00:24 #1910 [Verbose] > │ let v21 : float = v1 + v20 │
00:00:24 #1911 [Verbose] > │ struct (v19, v21) │
00:00:24 #1912 [Verbose] > │ and method3 () : (struct (float * float) -> struct (float * float)) = │
00:00:24 #1913 [Verbose] > │ closure0() │
00:00:24 #1914 [Verbose] > │ and closure1 (v0 : (struct (float * float) -> struct (float * float)), v1 : │
00:00:24 #1915 [Verbose] > │ float, v2 : float, v3 : float, v4 : float) () : UH0 = │
00:00:24 #1916 [Verbose] > │ let struct (v5 : float, v6 : float) = v0 struct (v3, v4) │
00:00:24 #1917 [Verbose] > │ let v7 : (unit -> UH0) = closure1(v0, v1, v2, v5, v6) │
00:00:24 #1918 [Verbose] > │ UH0_0(v3, v4, v7) │
00:00:24 #1919 [Verbose] > │ and method4 (v0 : float, v1 : UH0) : US0 = │
00:00:24 #1920 [Verbose] > │ match v1 with │
00:00:24 #1921 [Verbose] > │ | UH0_0(v2, v3, v4) -> (* StreamCons *) │
00:00:24 #1922 [Verbose] > │ let v5 : bool = v0 <= 0.0 │
00:00:24 #1923 [Verbose] > │ if v5 then │
00:00:24 #1924 [Verbose] > │ US0_1(v2, v3) │
00:00:24 #1925 [Verbose] > │ else │
00:00:24 #1926 [Verbose] > │ let v7 : float = v0 - 1.0 │
00:00:24 #1927 [Verbose] > │ let v8 : UH0 = v4 () │
00:00:24 #1928 [Verbose] > │ method4(v7, v8) │
00:00:24 #1929 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:24 #1930 [Verbose] > │ US0_0 │
00:00:24 #1931 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:24 #1932 [Verbose] > │ []) * (float [])) [])) = │
00:00:24 #1933 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (1001) │
00:00:24 #1934 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:24 #1935 [Verbose] > │ while method1(v1) do │
00:00:24 #1936 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:24 #1937 [Verbose] > │ let v4 : float = float v3 │
00:00:24 #1938 [Verbose] > │ let v5 : float = 0.1 * v4 │
00:00:24 #1939 [Verbose] > │ v0.[int v3] <- v5 │
00:00:24 #1940 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:24 #1941 [Verbose] > │ v1.l0 <- v6 │
00:00:24 #1942 [Verbose] > │ () │
00:00:24 #1943 [Verbose] > │ let v7 : float = 0.0 │
00:00:24 #1944 [Verbose] > │ let v8 : float = 0.0 │
00:00:24 #1945 [Verbose] > │ let v9 : int32 = v0.Length │
00:00:24 #1946 [Verbose] > │ let v10 : (float []) = Array.zeroCreate<float> (v9) │
00:00:24 #1947 [Verbose] > │ let v11 : Mut0 = {l0 = 0} : Mut0 │
00:00:24 #1948 [Verbose] > │ while method2(v9, v11) do │
00:00:24 #1949 [Verbose] > │ let v13 : int32 = v11.l0 │
00:00:24 #1950 [Verbose] > │ let v14 : float = v0.[int v13] │
00:00:24 #1951 [Verbose] > │ let v15 : (struct (float * float) -> struct (float * float)) = │
00:00:24 #1952 [Verbose] > │ method3() │
00:00:24 #1953 [Verbose] > │ let struct (v16 : float, v17 : float) = v15 struct (v7, v8) │
00:00:24 #1954 [Verbose] > │ let v18 : float = v14 / 0.1 │
00:00:24 #1955 [Verbose] > │ let v19 : float = round v18 │
00:00:24 #1956 [Verbose] > │ let v20 : float = -v19 │
00:00:24 #1957 [Verbose] > │ let v21 : bool = v19 >= v20 │
00:00:24 #1958 [Verbose] > │ let v22 : float = │
00:00:24 #1959 [Verbose] > │ if v21 then │
00:00:24 #1960 [Verbose] > │ v19 │
00:00:24 #1961 [Verbose] > │ else │
00:00:24 #1962 [Verbose] > │ v20 │
00:00:24 #1963 [Verbose] > │ let v23 : (unit -> UH0) = closure1(v15, v7, v8, v16, v17) │
00:00:24 #1964 [Verbose] > │ let v24 : UH0 = UH0_0(v7, v8, v23) │
00:00:24 #1965 [Verbose] > │ let v25 : US0 = method4(v22, v24) │
00:00:24 #1966 [Verbose] > │ let v31 : US1 = │
00:00:24 #1967 [Verbose] > │ match v25 with │
00:00:24 #1968 [Verbose] > │ | US0_0 -> (* None *) │
00:00:24 #1969 [Verbose] > │ US1_0 │
00:00:24 #1970 [Verbose] > │ | US0_1(v26, v27) -> (* Some *) │
00:00:24 #1971 [Verbose] > │ US1_1(v27) │
00:00:24 #1972 [Verbose] > │ let v34 : float = │
00:00:24 #1973 [Verbose] > │ match v31 with │
00:00:24 #1974 [Verbose] > │ | US1_0 -> (* None *) │
00:00:24 #1975 [Verbose] > │ 0.0 │
00:00:24 #1976 [Verbose] > │ | US1_1(v32) -> (* Some *) │
00:00:24 #1977 [Verbose] > │ v32 │
00:00:24 #1978 [Verbose] > │ v10.[int v13] <- v34 │
00:00:24 #1979 [Verbose] > │ let v35 : int32 = v13 + 1 │
00:00:24 #1980 [Verbose] > │ v11.l0 <- v35 │
00:00:24 #1981 [Verbose] > │ () │
00:00:24 #1982 [Verbose] > │ let v36 : string = "velocity of bike (m/s)" │
00:00:24 #1983 [Verbose] > │ let v37 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:24 #1984 [Verbose] > │ (v36, v0, v10)|] │
00:00:24 #1985 [Verbose] > │ let v38 : string = "pedaling and coasting with air" │
00:00:24 #1986 [Verbose] > │ let v39 : string = "time (s)" │
00:00:24 #1987 [Verbose] > │ let v40 : string = "" │
00:00:24 #1988 [Verbose] > │ struct (v38, v39, v40, v37) │
00:00:24 #1989 [Verbose] > │ method0() │
00:00:24 #1990 [Verbose] > │ │
00:00:24 #1991 [Verbose] > │ │
00:00:24 #1992 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 #1993 [Verbose] >
00:00:24 #1994 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:24 #1995 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:24 #1996 [Verbose] > │ ## velocity_ftxv │
00:00:24 #1997 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 #1998 [Verbose] >
00:00:24 #1999 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:24 #2000 [Verbose] > nominal state_1d = time * position * velocity
00:00:24 #2001 [Verbose] > nominal rrr = f64 * f64 * f64
00:00:24 #2002 [Verbose] >
00:00:24 #2003 [Verbose] > inl newton_second_1d m fs (state_1d (t, x0, v0)) =
00:00:24 #2004 [Verbose] > inl f_net = fs |> listm.map (fun f => f (state_1d (t, x0, v0))) |>
00:00:24 #2005 [Verbose] > listm'.sum
00:00:24 #2006 [Verbose] > inl acc = f_net / m
00:00:24 #2007 [Verbose] > rrr (1f64, v0, acc)
00:00:24 #2008 [Verbose] >
00:00:24 #2009 [Verbose] > inl euler_1d dt deriv (state_1d (t0, x0, v0) as t) =
00:00:24 #2010 [Verbose] > inl (rrr (_, _, dvdt)) = deriv t
00:00:24 #2011 [Verbose] > inl t1 = t0 + dt
00:00:24 #2012 [Verbose] > inl x1 = x0 + v0 * dt
00:00:24 #2013 [Verbose] > inl v1 = v0 + dvdt * dt
00:00:24 #2014 [Verbose] > state_1d (t1, x1, v1)
00:00:24 #2015 [Verbose] >
00:00:24 #2016 [Verbose] > inl update_txv dt m fs =
00:00:24 #2017 [Verbose] > newton_second_1d m fs |> euler_1d dt
00:00:24 #2018 [Verbose] >
00:00:24 #2019 [Verbose] > inl states_txv dt m txv0 fs =
00:00:24 #2020 [Verbose] > seq.iterate_ (update_txv dt m fs) txv0
00:00:24 #2021 [Verbose] >
00:00:24 #2022 [Verbose] > inl velocity_1d sts t =
00:00:24 #2023 [Verbose] > inl (state_1d (t0, _, _)) = sts 0
00:00:24 #2024 [Verbose] > inl (state_1d (t1, _, _)) = sts 1
00:00:24 #2025 [Verbose] > inl dt = t1 - t0
00:00:24 #2026 [Verbose] > inl num_steps = t / dt |> math.round |> abs
00:00:24 #2027 [Verbose] > inl (state_1d (_, _, v0)) = sts num_steps
00:00:24 #2028 [Verbose] > v0
00:00:24 #2029 [Verbose] >
00:00:24 #2030 [Verbose] > inl velocity_ftxv dt m txv0 fs =
00:00:24 #2031 [Verbose] > states_txv dt m txv0 fs |> velocity_1d
00:00:24 #2032 [Verbose] >
00:00:24 #2033 [Verbose] > inl position_1d sts t =
00:00:24 #2034 [Verbose] > inl (state_1d (t0, _, _)) = sts 0
00:00:24 #2035 [Verbose] > inl (state_1d (t1, _, _)) = sts 1
00:00:24 #2036 [Verbose] > inl dt = t1 - t0
00:00:24 #2037 [Verbose] > inl num_steps = t / dt |> math.round |> abs
00:00:24 #2038 [Verbose] > inl (state_1d (_, x0, _)) = sts num_steps
00:00:24 #2039 [Verbose] > x0
00:00:24 #2040 [Verbose] >
00:00:24 #2041 [Verbose] > inl position_ftxv dt m txv0 fs =
00:00:24 #2042 [Verbose] > states_txv dt m txv0 fs |> position_1d
00:00:24 #2043 [Verbose] >
00:00:24 #2044 [Verbose] > inl spring_force k (state_1d (_, x0, _)) =
00:00:24 #2045 [Verbose] > -k * x0
00:00:24 #2046 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5248-4819-4d9b31f997e9\main.spi
00:00:24 #2047 [Verbose] >
00:00:24 #2048 [Verbose] > ╭─[ 185.14ms - stdout ]────────────────────────────────────────────────────────╮
00:00:24 #2049 [Verbose] > │ () │
00:00:24 #2050 [Verbose] > │ │
00:00:24 #2051 [Verbose] > │ │
00:00:24 #2052 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 #2053 [Verbose] >
00:00:24 #2054 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:24 #2055 [Verbose] > // // test
00:00:24 #2056 [Verbose] >
00:00:24 #2057 [Verbose] > inl damped_ho_forces () =
00:00:24 #2058 [Verbose] > [[
00:00:24 #2059 [Verbose] > spring_force 0.8
00:00:24 #2060 [Verbose] > fun (state_1d (_, _, v0)) => f_air 2 1.225 (pi * math.square 0.02) v0
00:00:24 #2061 [Verbose] > fun _ => -0.0027 * 9.80665
00:00:24 #2062 [Verbose] > ]]
00:00:24 #2063 [Verbose] >
00:00:24 #2064 [Verbose] > inl damped_ho_states () =
00:00:24 #2065 [Verbose] > states_txv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ())
00:00:24 #2066 [Verbose] >
00:00:24 #2067 [Verbose] > inl pingpong_position t =
00:00:24 #2068 [Verbose] > position_ftxv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ()) t
00:00:24 #2069 [Verbose] >
00:00:24 #2070 [Verbose] > inl x : a _ f64 = am'.init_series 0 3 0.01
00:00:24 #2071 [Verbose] > inl y = x |> am.map pingpong_position
00:00:24 #2072 [Verbose] > "ping pong ball on a slinky", "time (s)", "", ;[[ "position (m)", x, y ]]
00:00:24 #2073 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5266-6681-651f8f276641\main.spi
00:00:24 #2074 [Verbose] >
00:00:24 #2075 [Verbose] > ╭─[ 376.37ms - return value ]──────────────────────────────────────────────────╮
00:00:24 #2076 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:24 #2077 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:24 #2078 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:24 #2079 [Verbose] > │ stroke="none"/> │
00:00:24 #2080 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:24 #2081 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:24 #2082 [Verbose] > │ fill="#FFFFFF"> │
00:00:24 #2083 [Verbose] > │ ping pong ball on a slinky │
00:00:24 #2084 [Verbose] > │ </text> │
00:00:24 #2085 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:00:24 #2086 [Verbose] > │ y2="75"/> │
00:00:24 #2087 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:24 #2088 [Verbose] > │ y2="75"/> │
00:00:24 #2089 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:00:24 #2090 [Verbose] > │ y2="75"/> │
00:00:24 #2091 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:00:24 #2092 [Verbose] > │ y2="75"/> │
00:00:24 #2093 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="9... │
00:00:24 #2094 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 #2095 [Verbose] >
00:00:24 #2096 [Verbose] > ╭─[ 389.31ms - stdout ]────────────────────────────────────────────────────────╮
00:00:24 #2097 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:24 #2098 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:24 #2099 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:24 #2100 [Verbose] > │ let v2 : bool = v1 < 301 │
00:00:24 #2101 [Verbose] > │ v2 │
00:00:24 #2102 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:24 #2103 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:24 #2104 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:24 #2105 [Verbose] > │ v3 │
00:00:24 #2106 [Verbose] > │ and method3 (v0 : float, v1 : float, v2 : float, v3 : float) : struct (float │
00:00:24 #2107 [Verbose] > │ * float * float) = │
00:00:24 #2108 [Verbose] > │ let v4 : bool = v3 <= 0.0 │
00:00:24 #2109 [Verbose] > │ if v4 then │
00:00:24 #2110 [Verbose] > │ struct (v0, v1, v2) │
00:00:24 #2111 [Verbose] > │ else │
00:00:24 #2112 [Verbose] > │ let v5 : float = -v2 │
00:00:24 #2113 [Verbose] > │ let v6 : bool = v2 >= v5 │
00:00:24 #2114 [Verbose] > │ let v7 : float = │
00:00:24 #2115 [Verbose] > │ if v6 then │
00:00:24 #2116 [Verbose] > │ v2 │
00:00:24 #2117 [Verbose] > │ else │
00:00:24 #2118 [Verbose] > │ v5 │
00:00:24 #2119 [Verbose] > │ let v8 : float = -0.0030787608005179976 * v7 │
00:00:24 #2120 [Verbose] > │ let v9 : float = v8 * v2 │
00:00:24 #2121 [Verbose] > │ let v10 : float = v9 / 2.0 │
00:00:24 #2122 [Verbose] > │ let v11 : float = -0.8 * v1 │
00:00:24 #2123 [Verbose] > │ let v12 : float = v11 + v10 │
00:00:24 #2124 [Verbose] > │ let v13 : float = v12 + -0.026477955 │
00:00:24 #2125 [Verbose] > │ let v14 : float = v13 / 0.0027 │
00:00:24 #2126 [Verbose] > │ let v15 : float = v0 + 0.001 │
00:00:24 #2127 [Verbose] > │ let v16 : float = v2 * 0.001 │
00:00:24 #2128 [Verbose] > │ let v17 : float = v1 + v16 │
00:00:24 #2129 [Verbose] > │ let v18 : float = v14 * 0.001 │
00:00:24 #2130 [Verbose] > │ let v19 : float = v2 + v18 │
00:00:24 #2131 [Verbose] > │ let v20 : float = v3 - 1.0 │
00:00:24 #2132 [Verbose] > │ method3(v15, v17, v19, v20) │
00:00:24 #2133 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:24 #2134 [Verbose] > │ []) * (float [])) [])) = │
00:00:24 #2135 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (301) │
00:00:24 #2136 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:24 #2137 [Verbose] > │ while method1(v1) do │
00:00:24 #2138 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:24 #2139 [Verbose] > │ let v4 : float = float v3 │
00:00:24 #2140 [Verbose] > │ let v5 : float = 0.01 * v4 │
00:00:24 #2141 [Verbose] > │ v0.[int v3] <- v5 │
00:00:24 #2142 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:24 #2143 [Verbose] > │ v1.l0 <- v6 │
00:00:24 #2144 [Verbose] > │ () │
00:00:24 #2145 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:24 #2146 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:24 #2147 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:24 #2148 [Verbose] > │ while method2(v7, v9) do │
00:00:24 #2149 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:24 #2150 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:24 #2151 [Verbose] > │ let v13 : float = 0.0 │
00:00:24 #2152 [Verbose] > │ let v14 : float = 0.1 │
00:00:24 #2153 [Verbose] > │ let v15 : float = 0.0 │
00:00:24 #2154 [Verbose] > │ let v16 : float = 0.0 │
00:00:24 #2155 [Verbose] > │ let struct (v17 : float, v18 : float, v19 : float) = method3(v13, │
00:00:24 #2156 [Verbose] > │ v14, v15, v16) │
00:00:24 #2157 [Verbose] > │ let v20 : float = 0.0 │
00:00:24 #2158 [Verbose] > │ let v21 : float = 0.1 │
00:00:24 #2159 [Verbose] > │ let v22 : float = 0.0 │
00:00:24 #2160 [Verbose] > │ let v23 : float = 1.0 │
00:00:24 #2161 [Verbose] > │ let struct (v24 : float, v25 : float, v26 : float) = method3(v20, │
00:00:24 #2162 [Verbose] > │ v21, v22, v23) │
00:00:24 #2163 [Verbose] > │ let v27 : float = v24 - v17 │
00:00:24 #2164 [Verbose] > │ let v28 : float = v12 / v27 │
00:00:24 #2165 [Verbose] > │ let v29 : float = round v28 │
00:00:24 #2166 [Verbose] > │ let v30 : float = -v29 │
00:00:24 #2167 [Verbose] > │ let v31 : bool = v29 >= v30 │
00:00:24 #2168 [Verbose] > │ let v32 : float = │
00:00:24 #2169 [Verbose] > │ if v31 then │
00:00:24 #2170 [Verbose] > │ v29 │
00:00:24 #2171 [Verbose] > │ else │
00:00:24 #2172 [Verbose] > │ v30 │
00:00:24 #2173 [Verbose] > │ let v33 : float = 0.0 │
00:00:24 #2174 [Verbose] > │ let v34 : float = 0.1 │
00:00:24 #2175 [Verbose] > │ let v35 : float = 0.0 │
00:00:24 #2176 [Verbose] > │ let struct (v36 : float, v37 : float, v38 : float) = method3(v33, │
00:00:24 #2177 [Verbose] > │ v34, v35, v32) │
00:00:24 #2178 [Verbose] > │ v8.[int v11] <- v37 │
00:00:24 #2179 [Verbose] > │ let v39 : int32 = v11 + 1 │
00:00:24 #2180 [Verbose] > │ v9.l0 <- v39 │
00:00:24 #2181 [Verbose] > │ () │
00:00:24 #2182 [Verbose] > │ let v40 : string = "position (m)" │
00:00:24 #2183 [Verbose] > │ let v41 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:24 #2184 [Verbose] > │ (v40, v0, v8)|] │
00:00:24 #2185 [Verbose] > │ let v42 : string = "ping pong ball on a slinky" │
00:00:24 #2186 [Verbose] > │ let v43 : string = "time (s)" │
00:00:24 #2187 [Verbose] > │ let v44 : string = "" │
00:00:24 #2188 [Verbose] > │ struct (v42, v43, v44, v41) │
00:00:24 #2189 [Verbose] > │ method0() │
00:00:24 #2190 [Verbose] > │ │
00:00:24 #2191 [Verbose] > │ │
00:00:24 #2192 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 #2193 [Verbose] >
00:00:24 #2194 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:24 #2195 [Verbose] > // // test
00:00:24 #2196 [Verbose] >
00:00:24 #2197 [Verbose] > inl pingpong_velocity t =
00:00:24 #2198 [Verbose] > velocity_ftxv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ()) t
00:00:24 #2199 [Verbose] >
00:00:24 #2200 [Verbose] > inl x = am'.init_series 0 3 0.01
00:00:24 #2201 [Verbose] > inl y = x |> am.map pingpong_velocity
00:00:24 #2202 [Verbose] > "ping pong ball on a slinky", "time (s)", "", ;[[ "velocity (m/s)", x, y ]]
00:00:24 #2203 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5310-1027-125ad52b6ae8\main.spi
00:00:25 #2204 [Verbose] >
00:00:25 #2205 [Verbose] > ╭─[ 286.35ms - return value ]──────────────────────────────────────────────────╮
00:00:25 #2206 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:25 #2207 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:25 #2208 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:25 #2209 [Verbose] > │ stroke="none"/> │
00:00:25 #2210 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:25 #2211 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:25 #2212 [Verbose] > │ fill="#FFFFFF"> │
00:00:25 #2213 [Verbose] > │ ping pong ball on a slinky │
00:00:25 #2214 [Verbose] > │ </text> │
00:00:25 #2215 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:00:25 #2216 [Verbose] > │ y2="75"/> │
00:00:25 #2217 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:25 #2218 [Verbose] > │ y2="75"/> │
00:00:25 #2219 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:00:25 #2220 [Verbose] > │ y2="75"/> │
00:00:25 #2221 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:00:25 #2222 [Verbose] > │ y2="75"/> │
00:00:25 #2223 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="9... │
00:00:25 #2224 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 #2225 [Verbose] >
00:00:25 #2226 [Verbose] > ╭─[ 296.74ms - stdout ]────────────────────────────────────────────────────────╮
00:00:25 #2227 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:25 #2228 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:25 #2229 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:25 #2230 [Verbose] > │ let v2 : bool = v1 < 301 │
00:00:25 #2231 [Verbose] > │ v2 │
00:00:25 #2232 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:25 #2233 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:25 #2234 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:25 #2235 [Verbose] > │ v3 │
00:00:25 #2236 [Verbose] > │ and method3 (v0 : float, v1 : float, v2 : float, v3 : float) : struct (float │
00:00:25 #2237 [Verbose] > │ * float * float) = │
00:00:25 #2238 [Verbose] > │ let v4 : bool = v3 <= 0.0 │
00:00:25 #2239 [Verbose] > │ if v4 then │
00:00:25 #2240 [Verbose] > │ struct (v0, v1, v2) │
00:00:25 #2241 [Verbose] > │ else │
00:00:25 #2242 [Verbose] > │ let v5 : float = -v2 │
00:00:25 #2243 [Verbose] > │ let v6 : bool = v2 >= v5 │
00:00:25 #2244 [Verbose] > │ let v7 : float = │
00:00:25 #2245 [Verbose] > │ if v6 then │
00:00:25 #2246 [Verbose] > │ v2 │
00:00:25 #2247 [Verbose] > │ else │
00:00:25 #2248 [Verbose] > │ v5 │
00:00:25 #2249 [Verbose] > │ let v8 : float = -0.0030787608005179976 * v7 │
00:00:25 #2250 [Verbose] > │ let v9 : float = v8 * v2 │
00:00:25 #2251 [Verbose] > │ let v10 : float = v9 / 2.0 │
00:00:25 #2252 [Verbose] > │ let v11 : float = -0.8 * v1 │
00:00:25 #2253 [Verbose] > │ let v12 : float = v11 + v10 │
00:00:25 #2254 [Verbose] > │ let v13 : float = v12 + -0.026477955 │
00:00:25 #2255 [Verbose] > │ let v14 : float = v13 / 0.0027 │
00:00:25 #2256 [Verbose] > │ let v15 : float = v0 + 0.001 │
00:00:25 #2257 [Verbose] > │ let v16 : float = v2 * 0.001 │
00:00:25 #2258 [Verbose] > │ let v17 : float = v1 + v16 │
00:00:25 #2259 [Verbose] > │ let v18 : float = v14 * 0.001 │
00:00:25 #2260 [Verbose] > │ let v19 : float = v2 + v18 │
00:00:25 #2261 [Verbose] > │ let v20 : float = v3 - 1.0 │
00:00:25 #2262 [Verbose] > │ method3(v15, v17, v19, v20) │
00:00:25 #2263 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:25 #2264 [Verbose] > │ []) * (float [])) [])) = │
00:00:25 #2265 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (301) │
00:00:25 #2266 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:25 #2267 [Verbose] > │ while method1(v1) do │
00:00:25 #2268 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:25 #2269 [Verbose] > │ let v4 : float = float v3 │
00:00:25 #2270 [Verbose] > │ let v5 : float = 0.01 * v4 │
00:00:25 #2271 [Verbose] > │ v0.[int v3] <- v5 │
00:00:25 #2272 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:25 #2273 [Verbose] > │ v1.l0 <- v6 │
00:00:25 #2274 [Verbose] > │ () │
00:00:25 #2275 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:25 #2276 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:25 #2277 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:25 #2278 [Verbose] > │ while method2(v7, v9) do │
00:00:25 #2279 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:25 #2280 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:25 #2281 [Verbose] > │ let v13 : float = 0.0 │
00:00:25 #2282 [Verbose] > │ let v14 : float = 0.1 │
00:00:25 #2283 [Verbose] > │ let v15 : float = 0.0 │
00:00:25 #2284 [Verbose] > │ let v16 : float = 0.0 │
00:00:25 #2285 [Verbose] > │ let struct (v17 : float, v18 : float, v19 : float) = method3(v13, │
00:00:25 #2286 [Verbose] > │ v14, v15, v16) │
00:00:25 #2287 [Verbose] > │ let v20 : float = 0.0 │
00:00:25 #2288 [Verbose] > │ let v21 : float = 0.1 │
00:00:25 #2289 [Verbose] > │ let v22 : float = 0.0 │
00:00:25 #2290 [Verbose] > │ let v23 : float = 1.0 │
00:00:25 #2291 [Verbose] > │ let struct (v24 : float, v25 : float, v26 : float) = method3(v20, │
00:00:25 #2292 [Verbose] > │ v21, v22, v23) │
00:00:25 #2293 [Verbose] > │ let v27 : float = v24 - v17 │
00:00:25 #2294 [Verbose] > │ let v28 : float = v12 / v27 │
00:00:25 #2295 [Verbose] > │ let v29 : float = round v28 │
00:00:25 #2296 [Verbose] > │ let v30 : float = -v29 │
00:00:25 #2297 [Verbose] > │ let v31 : bool = v29 >= v30 │
00:00:25 #2298 [Verbose] > │ let v32 : float = │
00:00:25 #2299 [Verbose] > │ if v31 then │
00:00:25 #2300 [Verbose] > │ v29 │
00:00:25 #2301 [Verbose] > │ else │
00:00:25 #2302 [Verbose] > │ v30 │
00:00:25 #2303 [Verbose] > │ let v33 : float = 0.0 │
00:00:25 #2304 [Verbose] > │ let v34 : float = 0.1 │
00:00:25 #2305 [Verbose] > │ let v35 : float = 0.0 │
00:00:25 #2306 [Verbose] > │ let struct (v36 : float, v37 : float, v38 : float) = method3(v33, │
00:00:25 #2307 [Verbose] > │ v34, v35, v32) │
00:00:25 #2308 [Verbose] > │ v8.[int v11] <- v38 │
00:00:25 #2309 [Verbose] > │ let v39 : int32 = v11 + 1 │
00:00:25 #2310 [Verbose] > │ v9.l0 <- v39 │
00:00:25 #2311 [Verbose] > │ () │
00:00:25 #2312 [Verbose] > │ let v40 : string = "velocity (m/s)" │
00:00:25 #2313 [Verbose] > │ let v41 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:25 #2314 [Verbose] > │ (v40, v0, v8)|] │
00:00:25 #2315 [Verbose] > │ let v42 : string = "ping pong ball on a slinky" │
00:00:25 #2316 [Verbose] > │ let v43 : string = "time (s)" │
00:00:25 #2317 [Verbose] > │ let v44 : string = "" │
00:00:25 #2318 [Verbose] > │ struct (v42, v43, v44, v41) │
00:00:25 #2319 [Verbose] > │ method0() │
00:00:25 #2320 [Verbose] > │ │
00:00:25 #2321 [Verbose] > │ │
00:00:25 #2322 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 #2323 [Verbose] >
00:00:25 #2324 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:25 #2325 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:25 #2326 [Verbose] > │ ## shift │
00:00:25 #2327 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 #2328 [Verbose] >
00:00:25 #2329 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:25 #2330 [Verbose] > type update_function s = s -> s
00:00:25 #2331 [Verbose] >
00:00:25 #2332 [Verbose] > type differential_equation s ds = s -> ds
00:00:25 #2333 [Verbose] >
00:00:25 #2334 [Verbose] > type numerical_method s ds = differential_equation s ds -> update_function s
00:00:25 #2335 [Verbose] >
00:00:25 #2336 [Verbose] >
00:00:25 #2337 [Verbose] > inl solver method =
00:00:25 #2338 [Verbose] > method >> seq.iterate
00:00:25 #2339 [Verbose] > inl solver' method =
00:00:25 #2340 [Verbose] > method >> seq.iterate'
00:00:25 #2341 [Verbose] > inl solver_ method =
00:00:25 #2342 [Verbose] > method >> seq.iterate_
00:00:25 #2343 [Verbose] >
00:00:25 #2344 [Verbose] >
00:00:25 #2345 [Verbose] > inl euler_cromer_1d dt deriv (state_1d (t0, x0, v0) as t) =
00:00:25 #2346 [Verbose] > inl (rrr (_, _, dvdt)) = deriv t
00:00:25 #2347 [Verbose] > inl t1 = t0 + dt
00:00:25 #2348 [Verbose] > inl v1 = v0 + dvdt * dt
00:00:25 #2349 [Verbose] > inl x1 = x0 + v1 * dt
00:00:25 #2350 [Verbose] > state_1d (t1, x1, v1)
00:00:25 #2351 [Verbose] >
00:00:25 #2352 [Verbose] > inl update_txv_ec dt m fs =
00:00:25 #2353 [Verbose] > euler_cromer_1d dt (newton_second_1d m fs)
00:00:25 #2354 [Verbose] >
00:00:25 #2355 [Verbose] > prototype (+++) ds : ds -> ds -> ds
00:00:25 #2356 [Verbose] > prototype scale ds : f64 -> ds -> ds
00:00:25 #2357 [Verbose] >
00:00:25 #2358 [Verbose] > instance (+++) rrr = fun (rrr (dtdt0, dxdt0, dvdt0)) (rrr (dtdt1, dxdt1, dvdt1))
00:00:25 #2359 [Verbose] > =>
00:00:25 #2360 [Verbose] > rrr (dtdt0 + dtdt1, dxdt0 + dxdt1, dvdt0 + dvdt1)
00:00:25 #2361 [Verbose] >
00:00:25 #2362 [Verbose] > instance scale rrr = fun w (rrr (dtdt0, dxdt0, dvdt0)) =>
00:00:25 #2363 [Verbose] > rrr (w * dtdt0, w * dxdt0, w * dvdt0)
00:00:25 #2364 [Verbose] >
00:00:25 #2365 [Verbose] > prototype shift s : forall ds. f64 -> ds -> s -> s
00:00:25 #2366 [Verbose] >
00:00:25 #2367 [Verbose] > instance shift state_1d = fun dt ds (state_1d (t, x, v)) =>
00:00:25 #2368 [Verbose] > inl dtdt, dxdt, dvdt =
00:00:25 #2369 [Verbose] > real
00:00:25 #2370 [Verbose] > match ds with
00:00:25 #2371 [Verbose] > | rrr x => x
00:00:25 #2372 [Verbose] > | state_1d x => x
00:00:25 #2373 [Verbose] > state_1d (t + dtdt * dt, x + dxdt * dt, v + dvdt * dt)
00:00:25 #2374 [Verbose] >
00:00:25 #2375 [Verbose] > inl euler dt deriv st0 =
00:00:25 #2376 [Verbose] > shift dt (deriv st0) st0
00:00:25 #2377 [Verbose] >
00:00:25 #2378 [Verbose] > inl runge_kutta_4 dt deriv st0 =
00:00:25 #2379 [Verbose] > inl m0 = deriv st0
00:00:25 #2380 [Verbose] > inl m1 = deriv (shift (dt / 2) m0 st0)
00:00:25 #2381 [Verbose] > inl m2 = deriv (shift (dt / 2) m1 st0)
00:00:25 #2382 [Verbose] > inl m3 = deriv (shift dt m2 st0)
00:00:25 #2383 [Verbose] > shift (dt / 6) (m0 +++ m1 +++ m1 +++ m2 +++ m2 +++ m3) st0
00:00:25 #2384 [Verbose] >
00:00:25 #2385 [Verbose] > inl exponential (_, x0, v0) =
00:00:25 #2386 [Verbose] > 1f64, v0, x0
00:00:25 #2387 [Verbose] >
00:00:25 #2388 [Verbose] > inl of_state_1d (state_1d (t, x, v)) =
00:00:25 #2389 [Verbose] > t, x, v
00:00:25 #2390 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5344-4470-4d906344cb6e\main.spi
00:00:25 #2391 [Verbose] >
00:00:25 #2392 [Verbose] > ╭─[ 204.38ms - stdout ]────────────────────────────────────────────────────────╮
00:00:25 #2393 [Verbose] > │ () │
00:00:25 #2394 [Verbose] > │ │
00:00:25 #2395 [Verbose] > │ │
00:00:25 #2396 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 #2397 [Verbose] >
00:00:25 #2398 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:25 #2399 [Verbose] > // // test
00:00:25 #2400 [Verbose] >
00:00:25 #2401 [Verbose] > solver (euler 0.01) (of_state_1d >> exponential >> state_1d) (state_1d (0, 1,
00:00:25 #2402 [Verbose] > 1)) 800i32
00:00:25 #2403 [Verbose] > |> _equal (state_1d (7.999999999999874, 2864.8311229272326, 2864.8311229272326))
00:00:25 #2404 [Verbose] >
00:00:25 #2405 [Verbose] > solver (euler_cromer_1d 0.1) (of_state_1d >> exponential >> rrr) (state_1d (0,
00:00:25 #2406 [Verbose] > 1, 1)) 80i32
00:00:25 #2407 [Verbose] > |> _equal (state_1d (7.999999999999988, 3043.379244966009, 2895.0121485099035))
00:00:25 #2408 [Verbose] >
00:00:25 #2409 [Verbose] > solver (runge_kutta_4 1) (of_state_1d >> exponential >> rrr) (state_1d (0, 1,
00:00:25 #2410 [Verbose] > 1)) 8i32
00:00:25 #2411 [Verbose] > |> _equal (state_1d (8.0, 2894.789038540849, 2894.789038540849))
00:00:25 #2412 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5365-6517-69ce99dc5ca2\main.spi
00:00:25 #2413 [Verbose] >
00:00:25 #2414 [Verbose] > ╭─[ 453.60ms - stdout ]────────────────────────────────────────────────────────╮
00:00:25 #2415 [Verbose] > │ let rec method0 () : unit = │
00:00:25 #2416 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (7.999999999999874, │
00:00:25 #2417 [Verbose] > │ 2864.8311229272326, 2864.8311229272326)} / expected: %A{struct │
00:00:25 #2418 [Verbose] > │ (7.999999999999874, 2864.8311229272326, 2864.8311229272326)}" │
00:00:25 #2419 [Verbose] > │ let v1 : string = $"_equal / actual: %A{struct (7.999999999999988, │
00:00:25 #2420 [Verbose] > │ 3043.379244966009, 2895.0121485099035)} / expected: %A{struct │
00:00:25 #2421 [Verbose] > │ (7.999999999999988, 3043.379244966009, 2895.0121485099035)}" │
00:00:25 #2422 [Verbose] > │ let v2 : string = $"_equal / actual: %A{struct (8.0, 2894.789038540849, │
00:00:25 #2423 [Verbose] > │ 2894.789038540849)} / expected: %A{struct (8.0, 2894.789038540849, │
00:00:25 #2424 [Verbose] > │ 2894.789038540849)}" │
00:00:25 #2425 [Verbose] > │ () │
00:00:25 #2426 [Verbose] > │ method0() │
00:00:25 #2427 [Verbose] > │ │
00:00:25 #2428 [Verbose] > │ │
00:00:25 #2429 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 #2430 [Verbose] >
00:00:25 #2431 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:25 #2432 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:25 #2433 [Verbose] > │ ## vec │
00:00:25 #2434 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 #2435 [Verbose] >
00:00:25 #2436 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:25 #2437 [Verbose] > type vec =
00:00:25 #2438 [Verbose] > {
00:00:25 #2439 [Verbose] > x : f64
00:00:25 #2440 [Verbose] > y : f64
00:00:25 #2441 [Verbose] > z : f64
00:00:25 #2442 [Verbose] > }
00:00:25 #2443 [Verbose] >
00:00:25 #2444 [Verbose] > inl vec x y z : vec =
00:00:25 #2445 [Verbose] > { x y z }
00:00:25 #2446 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5411-1159-12ab5f740666\main.spi
00:00:26 #2447 [Verbose] >
00:00:26 #2448 [Verbose] > ╭─[ 161.31ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 #2449 [Verbose] > │ () │
00:00:26 #2450 [Verbose] > │ │
00:00:26 #2451 [Verbose] > │ │
00:00:26 #2452 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2453 [Verbose] >
00:00:26 #2454 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 #2455 [Verbose] > // // test
00:00:26 #2456 [Verbose] >
00:00:26 #2457 [Verbose] > vec 1 2 3 .z
00:00:26 #2458 [Verbose] > |> _equal 3
00:00:26 #2459 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5427-2797-288112e5ff54\main.spi
00:00:26 #2460 [Verbose] >
00:00:26 #2461 [Verbose] > ╭─[ 205.67ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 #2462 [Verbose] > │ let rec method0 () : unit = │
00:00:26 #2463 [Verbose] > │ let v0 : string = $"_equal / actual: %A{3.0} / expected: %A{3.0}" │
00:00:26 #2464 [Verbose] > │ () │
00:00:26 #2465 [Verbose] > │ method0() │
00:00:26 #2466 [Verbose] > │ │
00:00:26 #2467 [Verbose] > │ │
00:00:26 #2468 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2469 [Verbose] >
00:00:26 #2470 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:26 #2471 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:26 #2472 [Verbose] > │ ### consts │
00:00:26 #2473 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2474 [Verbose] >
00:00:26 #2475 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 #2476 [Verbose] > inl i_hat () = vec 1 0 0
00:00:26 #2477 [Verbose] > inl j_hat () = vec 0 1 0
00:00:26 #2478 [Verbose] > inl k_hat () = vec 0 0 1
00:00:26 #2479 [Verbose] > inl zero_vec () = vec 0 0 0
00:00:26 #2480 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5449-4918-411e46384ac5\main.spi
00:00:26 #2481 [Verbose] >
00:00:26 #2482 [Verbose] > ╭─[ 147.55ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 #2483 [Verbose] > │ () │
00:00:26 #2484 [Verbose] > │ │
00:00:26 #2485 [Verbose] > │ │
00:00:26 #2486 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2487 [Verbose] >
00:00:26 #2488 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:26 #2489 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:26 #2490 [Verbose] > │ ### ^+^ │
00:00:26 #2491 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2492 [Verbose] >
00:00:26 #2493 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 #2494 [Verbose] > inl (^+^) (a : vec) (b : vec) =
00:00:26 #2495 [Verbose] > vec (a.x + b.x) (a.y + b.y) (a.z + b.z)
00:00:26 #2496 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5464-6442-65347973e189\main.spi
00:00:26 #2497 [Verbose] >
00:00:26 #2498 [Verbose] > ╭─[ 155.45ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 #2499 [Verbose] > │ () │
00:00:26 #2500 [Verbose] > │ │
00:00:26 #2501 [Verbose] > │ │
00:00:26 #2502 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2503 [Verbose] >
00:00:26 #2504 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 #2505 [Verbose] > // // test
00:00:26 #2506 [Verbose] >
00:00:26 #2507 [Verbose] > vec 1 2 3 ^+^ vec 4 5 6
00:00:26 #2508 [Verbose] > |> _equal (vec 5 7 9)
00:00:26 #2509 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5480-8027-82a4a670ec07\main.spi
00:00:26 #2510 [Verbose] >
00:00:26 #2511 [Verbose] > ╭─[ 185.39ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 #2512 [Verbose] > │ let rec method0 () : unit = │
00:00:26 #2513 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (5.0, 7.0, 9.0)} / │
00:00:26 #2514 [Verbose] > │ expected: %A{struct (5.0, 7.0, 9.0)}" │
00:00:26 #2515 [Verbose] > │ () │
00:00:26 #2516 [Verbose] > │ method0() │
00:00:26 #2517 [Verbose] > │ │
00:00:26 #2518 [Verbose] > │ │
00:00:26 #2519 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2520 [Verbose] >
00:00:26 #2521 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:26 #2522 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:26 #2523 [Verbose] > │ ### sum_vec │
00:00:26 #2524 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2525 [Verbose] >
00:00:26 #2526 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 #2527 [Verbose] > inl sum_vec vs =
00:00:26 #2528 [Verbose] > vs |> listm.fold (^+^) (zero_vec ())
00:00:26 #2529 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5499-9925-9a0879e873a1\main.spi
00:00:26 #2530 [Verbose] >
00:00:26 #2531 [Verbose] > ╭─[ 148.71ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 #2532 [Verbose] > │ () │
00:00:26 #2533 [Verbose] > │ │
00:00:26 #2534 [Verbose] > │ │
00:00:26 #2535 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2536 [Verbose] >
00:00:26 #2537 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 #2538 [Verbose] > // // test
00:00:26 #2539 [Verbose] >
00:00:26 #2540 [Verbose] > [[ vec 1 2 3; vec 4 5 6 ]]
00:00:26 #2541 [Verbose] > |> sum_vec
00:00:26 #2542 [Verbose] > |> _equal (vec 5 7 9)
00:00:27 #2543 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5514-1447-129cefa69a9e\main.spi
00:00:27 #2544 [Verbose] >
00:00:27 #2545 [Verbose] > ╭─[ 163.18ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 #2546 [Verbose] > │ let rec method0 () : unit = │
00:00:27 #2547 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (5.0, 7.0, 9.0)} / │
00:00:27 #2548 [Verbose] > │ expected: %A{struct (5.0, 7.0, 9.0)}" │
00:00:27 #2549 [Verbose] > │ () │
00:00:27 #2550 [Verbose] > │ method0() │
00:00:27 #2551 [Verbose] > │ │
00:00:27 #2552 [Verbose] > │ │
00:00:27 #2553 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2554 [Verbose] >
00:00:27 #2555 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:27 #2556 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:27 #2557 [Verbose] > │ ### *^ │
00:00:27 #2558 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2559 [Verbose] >
00:00:27 #2560 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 #2561 [Verbose] > inl (*^) c { x y z } =
00:00:27 #2562 [Verbose] > vec (c * x) (c * y) (c * z)
00:00:27 #2563 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5531-3151-3db8730c27de\main.spi
00:00:27 #2564 [Verbose] >
00:00:27 #2565 [Verbose] > ╭─[ 160.81ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 #2566 [Verbose] > │ () │
00:00:27 #2567 [Verbose] > │ │
00:00:27 #2568 [Verbose] > │ │
00:00:27 #2569 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2570 [Verbose] >
00:00:27 #2571 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 #2572 [Verbose] > // // test
00:00:27 #2573 [Verbose] >
00:00:27 #2574 [Verbose] > 5 *^ vec 1 2 3
00:00:27 #2575 [Verbose] > |> _equal (vec 5 10 15)
00:00:27 #2576 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5547-4793-41fdca512037\main.spi
00:00:27 #2577 [Verbose] >
00:00:27 #2578 [Verbose] > ╭─[ 183.75ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 #2579 [Verbose] > │ let rec method0 () : unit = │
00:00:27 #2580 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (5.0, 10.0, 15.0)} / │
00:00:27 #2581 [Verbose] > │ expected: %A{struct (5.0, 10.0, 15.0)}" │
00:00:27 #2582 [Verbose] > │ () │
00:00:27 #2583 [Verbose] > │ method0() │
00:00:27 #2584 [Verbose] > │ │
00:00:27 #2585 [Verbose] > │ │
00:00:27 #2586 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2587 [Verbose] >
00:00:27 #2588 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 #2589 [Verbose] > // // test
00:00:27 #2590 [Verbose] >
00:00:27 #2591 [Verbose] > 3 *^ i_hat () ^+^ 4 *^ k_hat ()
00:00:27 #2592 [Verbose] > |> _equal (vec 3 0 4)
00:00:27 #2593 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5566-6661-6ccf02ee47af\main.spi
00:00:27 #2594 [Verbose] >
00:00:27 #2595 [Verbose] > ╭─[ 171.86ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 #2596 [Verbose] > │ let rec method0 () : unit = │
00:00:27 #2597 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (3.0, 0.0, 4.0)} / │
00:00:27 #2598 [Verbose] > │ expected: %A{struct (3.0, 0.0, 4.0)}" │
00:00:27 #2599 [Verbose] > │ () │
00:00:27 #2600 [Verbose] > │ method0() │
00:00:27 #2601 [Verbose] > │ │
00:00:27 #2602 [Verbose] > │ │
00:00:27 #2603 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2604 [Verbose] >
00:00:27 #2605 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:27 #2606 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:27 #2607 [Verbose] > │ ### ^* │
00:00:27 #2608 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2609 [Verbose] >
00:00:27 #2610 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 #2611 [Verbose] > inl (^*) v c =
00:00:27 #2612 [Verbose] > (*^) c v
00:00:27 #2613 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5584-8499-88e9ada22f69\main.spi
00:00:27 #2614 [Verbose] >
00:00:27 #2615 [Verbose] > ╭─[ 218.41ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 #2616 [Verbose] > │ () │
00:00:27 #2617 [Verbose] > │ │
00:00:27 #2618 [Verbose] > │ │
00:00:27 #2619 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2620 [Verbose] >
00:00:27 #2621 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 #2622 [Verbose] > // // test
00:00:27 #2623 [Verbose] >
00:00:27 #2624 [Verbose] > vec 1 2 3 ^* 5
00:00:27 #2625 [Verbose] > |> _equal (vec 5 10 15)
00:00:27 #2626 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5607-0703-0a7f9dd284ea\main.spi
00:00:27 #2627 [Verbose] >
00:00:28 #2628 [Verbose] > ╭─[ 174.98ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 #2629 [Verbose] > │ let rec method0 () : unit = │
00:00:28 #2630 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (5.0, 10.0, 15.0)} / │
00:00:28 #2631 [Verbose] > │ expected: %A{struct (5.0, 10.0, 15.0)}" │
00:00:28 #2632 [Verbose] > │ () │
00:00:28 #2633 [Verbose] > │ method0() │
00:00:28 #2634 [Verbose] > │ │
00:00:28 #2635 [Verbose] > │ │
00:00:28 #2636 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2637 [Verbose] >
00:00:28 #2638 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:28 #2639 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:28 #2640 [Verbose] > │ ### ^/ │
00:00:28 #2641 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2642 [Verbose] >
00:00:28 #2643 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 #2644 [Verbose] > inl (^/) { x y z } c =
00:00:28 #2645 [Verbose] > vec (x / c) (y / c) (z / c)
00:00:28 #2646 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5625-2520-223429f8d442\main.spi
00:00:28 #2647 [Verbose] >
00:00:28 #2648 [Verbose] > ╭─[ 161.64ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 #2649 [Verbose] > │ () │
00:00:28 #2650 [Verbose] > │ │
00:00:28 #2651 [Verbose] > │ │
00:00:28 #2652 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2653 [Verbose] >
00:00:28 #2654 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 #2655 [Verbose] > // // test
00:00:28 #2656 [Verbose] >
00:00:28 #2657 [Verbose] > vec 1 2 3 ^/ 5
00:00:28 #2658 [Verbose] > |> _equal (vec 0.2 0.4 0.6)
00:00:28 #2659 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5641-4161-419ada5b2ed3\main.spi
00:00:28 #2660 [Verbose] >
00:00:28 #2661 [Verbose] > ╭─[ 203.21ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 #2662 [Verbose] > │ let rec method0 () : unit = │
00:00:28 #2663 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (0.2, 0.4, 0.6)} / │
00:00:28 #2664 [Verbose] > │ expected: %A{struct (0.2, 0.4, 0.6)}" │
00:00:28 #2665 [Verbose] > │ () │
00:00:28 #2666 [Verbose] > │ method0() │
00:00:28 #2667 [Verbose] > │ │
00:00:28 #2668 [Verbose] > │ │
00:00:28 #2669 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2670 [Verbose] >
00:00:28 #2671 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:28 #2672 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:28 #2673 [Verbose] > │ ### negate_vec │
00:00:28 #2674 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2675 [Verbose] >
00:00:28 #2676 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 #2677 [Verbose] > inl negate_vec v =
00:00:28 #2678 [Verbose] > v ^* -1
00:00:28 #2679 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5662-6247-6b59aef42d01\main.spi
00:00:28 #2680 [Verbose] >
00:00:28 #2681 [Verbose] > ╭─[ 180.46ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 #2682 [Verbose] > │ () │
00:00:28 #2683 [Verbose] > │ │
00:00:28 #2684 [Verbose] > │ │
00:00:28 #2685 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2686 [Verbose] >
00:00:28 #2687 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 #2688 [Verbose] > // // test
00:00:28 #2689 [Verbose] >
00:00:28 #2690 [Verbose] > vec 1 2 3
00:00:28 #2691 [Verbose] > |> negate_vec
00:00:28 #2692 [Verbose] > |> _equal (vec -1 -2 -3)
00:00:28 #2693 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5680-8073-8b031ffc2974\main.spi
00:00:28 #2694 [Verbose] >
00:00:28 #2695 [Verbose] > ╭─[ 159.38ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 #2696 [Verbose] > │ let rec method0 () : unit = │
00:00:28 #2697 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (-1.0, -2.0, -3.0)} / │
00:00:28 #2698 [Verbose] > │ expected: %A{struct (-1.0, -2.0, -3.0)}" │
00:00:28 #2699 [Verbose] > │ () │
00:00:28 #2700 [Verbose] > │ method0() │
00:00:28 #2701 [Verbose] > │ │
00:00:28 #2702 [Verbose] > │ │
00:00:28 #2703 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2704 [Verbose] >
00:00:28 #2705 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:28 #2706 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:28 #2707 [Verbose] > │ ### ^-^ │
00:00:28 #2708 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2709 [Verbose] >
00:00:28 #2710 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 #2711 [Verbose] > inl (^-^) a b =
00:00:28 #2712 [Verbose] > a ^+^ (negate_vec b)
00:00:28 #2713 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5697-9716-9910a3b7737a\main.spi
00:00:28 #2714 [Verbose] >
00:00:28 #2715 [Verbose] > ╭─[ 162.54ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 #2716 [Verbose] > │ () │
00:00:28 #2717 [Verbose] > │ │
00:00:28 #2718 [Verbose] > │ │
00:00:28 #2719 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2720 [Verbose] >
00:00:28 #2721 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 #2722 [Verbose] > // // test
00:00:28 #2723 [Verbose] >
00:00:28 #2724 [Verbose] > vec 1 2 3 ^-^ vec 4 5 6
00:00:28 #2725 [Verbose] > |> _equal (vec -3 -3 -3)
00:00:29 #2726 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5713-1379-1ca8dcce21d3\main.spi
00:00:29 #2727 [Verbose] >
00:00:29 #2728 [Verbose] > ╭─[ 348.29ms - stdout ]────────────────────────────────────────────────────────╮
00:00:29 #2729 [Verbose] > │ let rec method0 () : unit = │
00:00:29 #2730 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (-3.0, -3.0, -3.0)} / │
00:00:29 #2731 [Verbose] > │ expected: %A{struct (-3.0, -3.0, -3.0)}" │
00:00:29 #2732 [Verbose] > │ () │
00:00:29 #2733 [Verbose] > │ method0() │
00:00:29 #2734 [Verbose] > │ │
00:00:29 #2735 [Verbose] > │ │
00:00:29 #2736 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2737 [Verbose] >
00:00:29 #2738 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:29 #2739 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:29 #2740 [Verbose] > │ ### <.> │
00:00:29 #2741 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2742 [Verbose] >
00:00:29 #2743 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:29 #2744 [Verbose] > inl (<.>) { x = ax y = ay z = az } { x = bx y = by z = bz } =
00:00:29 #2745 [Verbose] > ax * bx + ay * by + az * bz
00:00:29 #2746 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5749-4927-45bd3089ac6a\main.spi
00:00:29 #2747 [Verbose] >
00:00:29 #2748 [Verbose] > ╭─[ 143.79ms - stdout ]────────────────────────────────────────────────────────╮
00:00:29 #2749 [Verbose] > │ () │
00:00:29 #2750 [Verbose] > │ │
00:00:29 #2751 [Verbose] > │ │
00:00:29 #2752 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2753 [Verbose] >
00:00:29 #2754 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:29 #2755 [Verbose] > // // test
00:00:29 #2756 [Verbose] >
00:00:29 #2757 [Verbose] > vec 1 2 3 <.> vec 4 5 6
00:00:29 #2758 [Verbose] > |> _equal 32
00:00:29 #2759 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5763-6385-64a8033647f8\main.spi
00:00:29 #2760 [Verbose] >
00:00:29 #2761 [Verbose] > ╭─[ 161.70ms - stdout ]────────────────────────────────────────────────────────╮
00:00:29 #2762 [Verbose] > │ let rec method0 () : unit = │
00:00:29 #2763 [Verbose] > │ let v0 : string = $"_equal / actual: %A{32.0} / expected: %A{32.0}" │
00:00:29 #2764 [Verbose] > │ () │
00:00:29 #2765 [Verbose] > │ method0() │
00:00:29 #2766 [Verbose] > │ │
00:00:29 #2767 [Verbose] > │ │
00:00:29 #2768 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2769 [Verbose] >
00:00:29 #2770 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:29 #2771 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:29 #2772 [Verbose] > │ ### \>\< │
00:00:29 #2773 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2774 [Verbose] >
00:00:29 #2775 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:29 #2776 [Verbose] > inl (><) (a : vec) (b : vec) =
00:00:29 #2777 [Verbose] > vec
00:00:29 #2778 [Verbose] > (a.y * b.z - a.z * b.y)
00:00:29 #2779 [Verbose] > (a.z * b.x - a.x * b.z)
00:00:29 #2780 [Verbose] > (a.x * b.y - a.y * b.x)
00:00:29 #2781 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5780-8073-8ab06079b93e\main.spi
00:00:29 #2782 [Verbose] >
00:00:29 #2783 [Verbose] > ╭─[ 145.02ms - stdout ]────────────────────────────────────────────────────────╮
00:00:29 #2784 [Verbose] > │ () │
00:00:29 #2785 [Verbose] > │ │
00:00:29 #2786 [Verbose] > │ │
00:00:29 #2787 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2788 [Verbose] >
00:00:29 #2789 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:29 #2790 [Verbose] > // // test
00:00:29 #2791 [Verbose] >
00:00:29 #2792 [Verbose] > vec 1 2 3 >< vec 4 5 6
00:00:29 #2793 [Verbose] > |> _equal (vec -3 6 -3)
00:00:29 #2794 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5795-9555-9ceb0598e992\main.spi
00:00:29 #2795 [Verbose] >
00:00:29 #2796 [Verbose] > ╭─[ 159.09ms - stdout ]────────────────────────────────────────────────────────╮
00:00:29 #2797 [Verbose] > │ let rec method0 () : unit = │
00:00:29 #2798 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (-3.0, 6.0, -3.0)} / │
00:00:29 #2799 [Verbose] > │ expected: %A{struct (-3.0, 6.0, -3.0)}" │
00:00:29 #2800 [Verbose] > │ () │
00:00:29 #2801 [Verbose] > │ method0() │
00:00:29 #2802 [Verbose] > │ │
00:00:29 #2803 [Verbose] > │ │
00:00:29 #2804 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2805 [Verbose] >
00:00:29 #2806 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:29 #2807 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:29 #2808 [Verbose] > │ ### magnitude │
00:00:29 #2809 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2810 [Verbose] >
00:00:29 #2811 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:29 #2812 [Verbose] > inl magnitude v =
00:00:29 #2813 [Verbose] > v <.> v |> sqrt
00:00:29 #2814 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5811-1192-130b314e72a0\main.spi
00:00:30 #2815 [Verbose] >
00:00:30 #2816 [Verbose] > ╭─[ 195.96ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 #2817 [Verbose] > │ () │
00:00:30 #2818 [Verbose] > │ │
00:00:30 #2819 [Verbose] > │ │
00:00:30 #2820 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2821 [Verbose] >
00:00:30 #2822 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 #2823 [Verbose] > // // test
00:00:30 #2824 [Verbose] >
00:00:30 #2825 [Verbose] > vec 1 2 3
00:00:30 #2826 [Verbose] > |> magnitude
00:00:30 #2827 [Verbose] > |> _almost_equal 3.7416573867739413
00:00:30 #2828 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5831-3178-3dcc6d3b6c7e\main.spi
00:00:30 #2829 [Verbose] >
00:00:30 #2830 [Verbose] > ╭─[ 184.32ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 #2831 [Verbose] > │ let rec method0 () : unit = │
00:00:30 #2832 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{3.7416573867739413} / │
00:00:30 #2833 [Verbose] > │ expected: %A{3.7416573867739413}" │
00:00:30 #2834 [Verbose] > │ () │
00:00:30 #2835 [Verbose] > │ method0() │
00:00:30 #2836 [Verbose] > │ │
00:00:30 #2837 [Verbose] > │ │
00:00:30 #2838 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2839 [Verbose] >
00:00:30 #2840 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:30 #2841 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:30 #2842 [Verbose] > │ ### v1 │
00:00:30 #2843 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2844 [Verbose] >
00:00:30 #2845 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 #2846 [Verbose] > inl v1 t =
00:00:30 #2847 [Verbose] > 2 *^ (t ** 2 *^ i_hat () ^+^ 3 *^ (t ** 3 *^ j_hat () ^+^ t ** 4 *^ k_hat
00:00:30 #2848 [Verbose] > ()))
00:00:30 #2849 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5850-5072-556352f37845\main.spi
00:00:30 #2850 [Verbose] >
00:00:30 #2851 [Verbose] > ╭─[ 164.14ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 #2852 [Verbose] > │ () │
00:00:30 #2853 [Verbose] > │ │
00:00:30 #2854 [Verbose] > │ │
00:00:30 #2855 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2856 [Verbose] >
00:00:30 #2857 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 #2858 [Verbose] > // // test
00:00:30 #2859 [Verbose] >
00:00:30 #2860 [Verbose] > v1 1
00:00:30 #2861 [Verbose] > |> _equal (vec 2 6 6)
00:00:30 #2862 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5867-6736-6e04b66340a2\main.spi
00:00:30 #2863 [Verbose] >
00:00:30 #2864 [Verbose] > ╭─[ 187.42ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 #2865 [Verbose] > │ let rec method0 () : unit = │
00:00:30 #2866 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (2.0, 6.0, 6.0)} / │
00:00:30 #2867 [Verbose] > │ expected: %A{struct (2.0, 6.0, 6.0)}" │
00:00:30 #2868 [Verbose] > │ () │
00:00:30 #2869 [Verbose] > │ method0() │
00:00:30 #2870 [Verbose] > │ │
00:00:30 #2871 [Verbose] > │ │
00:00:30 #2872 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2873 [Verbose] >
00:00:30 #2874 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:30 #2875 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:30 #2876 [Verbose] > │ ### vec_derivative │
00:00:30 #2877 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2878 [Verbose] >
00:00:30 #2879 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 #2880 [Verbose] > type vec_derivative = (f64 -> vec) -> f64 -> vec
00:00:30 #2881 [Verbose] >
00:00:30 #2882 [Verbose] > inl vec_derivative dt : vec_derivative =
00:00:30 #2883 [Verbose] > fun v t =>
00:00:30 #2884 [Verbose] > (v (t + dt / 2) ^-^ v (t - dt / 2)) ^/ dt
00:00:30 #2885 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5886-8691-8fb4b64dc6cc\main.spi
00:00:30 #2886 [Verbose] >
00:00:30 #2887 [Verbose] > ╭─[ 149.79ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 #2888 [Verbose] > │ () │
00:00:30 #2889 [Verbose] > │ │
00:00:30 #2890 [Verbose] > │ │
00:00:30 #2891 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2892 [Verbose] >
00:00:30 #2893 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 #2894 [Verbose] > // // test
00:00:30 #2895 [Verbose] >
00:00:30 #2896 [Verbose] > vec_derivative 0.01 v1 3 .x
00:00:30 #2897 [Verbose] > |> _almost_equal (derivative 0.01 (v1 >> fun v => v.x) 3)
00:00:30 #2898 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5901-0195-03781e0ad0ee\main.spi
00:00:30 #2899 [Verbose] >
00:00:30 #2900 [Verbose] > ╭─[ 172.39ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 #2901 [Verbose] > │ let rec method0 () : unit = │
00:00:30 #2902 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{11.999999999999744} / │
00:00:30 #2903 [Verbose] > │ expected: %A{11.999999999999744}" │
00:00:30 #2904 [Verbose] > │ () │
00:00:30 #2905 [Verbose] > │ method0() │
00:00:30 #2906 [Verbose] > │ │
00:00:30 #2907 [Verbose] > │ │
00:00:30 #2908 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2909 [Verbose] >
00:00:30 #2910 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:30 #2911 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:30 #2912 [Verbose] > │ ## states_ps │
00:00:30 #2913 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2914 [Verbose] >
00:00:30 #2915 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 #2916 [Verbose] > nominal particle_state =
00:00:30 #2917 [Verbose] > {
00:00:30 #2918 [Verbose] > mass : f64
00:00:30 #2919 [Verbose] > charge : f64
00:00:30 #2920 [Verbose] > time : f64
00:00:30 #2921 [Verbose] > pos_vec : vec
00:00:30 #2922 [Verbose] > velocity : vec
00:00:30 #2923 [Verbose] > }
00:00:30 #2924 [Verbose] >
00:00:30 #2925 [Verbose] > inl default_particle_state () : particle_state =
00:00:30 #2926 [Verbose] > particle_state {
00:00:30 #2927 [Verbose] > mass = 1
00:00:30 #2928 [Verbose] > charge = 0
00:00:30 #2929 [Verbose] > time = 0
00:00:30 #2930 [Verbose] > pos_vec = zero_vec ()
00:00:30 #2931 [Verbose] > velocity = zero_vec ()
00:00:30 #2932 [Verbose] > }
00:00:30 #2933 [Verbose] >
00:00:30 #2934 [Verbose] > type one_body_force = particle_state -> vec
00:00:30 #2935 [Verbose] >
00:00:30 #2936 [Verbose] > nominal d_particle_state =
00:00:30 #2937 [Verbose] > {
00:00:30 #2938 [Verbose] > dmdt : f64
00:00:30 #2939 [Verbose] > dqdt : f64
00:00:30 #2940 [Verbose] > dtdt : f64
00:00:30 #2941 [Verbose] > drdt : vec
00:00:30 #2942 [Verbose] > dvdt : vec
00:00:30 #2943 [Verbose] > }
00:00:30 #2944 [Verbose] >
00:00:30 #2945 [Verbose] > inl newton_second_ps (fs : list one_body_force) (st : particle_state) :
00:00:30 #2946 [Verbose] > d_particle_state =
00:00:30 #2947 [Verbose] > inl f_net = fs |> listm.map (fun f => f st) |> sum_vec
00:00:30 #2948 [Verbose] > d_particle_state {
00:00:30 #2949 [Verbose] > dmdt = 0
00:00:30 #2950 [Verbose] > dqdt = 0
00:00:30 #2951 [Verbose] > dtdt = 1
00:00:30 #2952 [Verbose] > drdt = st.velocity
00:00:30 #2953 [Verbose] > dvdt = f_net ^/ st.mass
00:00:30 #2954 [Verbose] > }
00:00:30 #2955 [Verbose] >
00:00:30 #2956 [Verbose] > inl earth_surface_gravity (st : particle_state) =
00:00:30 #2957 [Verbose] > inl g = 9.80665
00:00:30 #2958 [Verbose] > -st.mass * g *^ k_hat ()
00:00:30 #2959 [Verbose] >
00:00:30 #2960 [Verbose] > inl air_resistance drag rho area (st : particle_state) =
00:00:30 #2961 [Verbose] > -0.5 * drag * rho * area * magnitude st.velocity *^ st.velocity
00:00:30 #2962 [Verbose] >
00:00:30 #2963 [Verbose] > inl euler_cromer_ps dt (deriv : particle_state -> d_particle_state)
00:00:30 #2964 [Verbose] > (particle_state st) =
00:00:30 #2965 [Verbose] > inl dst : d_particle_state = deriv (particle_state st)
00:00:30 #2966 [Verbose] > inl v' = st.velocity ^+^ dst.dvdt ^* dt
00:00:30 #2967 [Verbose] > particle_state { st with
00:00:30 #2968 [Verbose] > time = st.time + dt
00:00:30 #2969 [Verbose] > pos_vec = st.pos_vec ^+^ v' ^* dt
00:00:30 #2970 [Verbose] > velocity = st.velocity ^+^ dst.dvdt ^* dt
00:00:30 #2971 [Verbose] > }
00:00:30 #2972 [Verbose] >
00:00:30 #2973 [Verbose] > instance (+++) d_particle_state = fun (dps : d_particle_state) (dps' :
00:00:30 #2974 [Verbose] > d_particle_state) =>
00:00:30 #2975 [Verbose] > d_particle_state {
00:00:30 #2976 [Verbose] > dmdt = dps.dmdt + dps'.dmdt
00:00:30 #2977 [Verbose] > dqdt = dps.dqdt + dps'.dqdt
00:00:30 #2978 [Verbose] > dtdt = dps.dtdt + dps'.dtdt
00:00:30 #2979 [Verbose] > drdt = dps.drdt ^+^ dps'.drdt
00:00:30 #2980 [Verbose] > dvdt = dps.dvdt ^+^ dps'.dvdt
00:00:30 #2981 [Verbose] > }
00:00:30 #2982 [Verbose] >
00:00:30 #2983 [Verbose] > instance scale d_particle_state = fun w (dps : d_particle_state) =>
00:00:30 #2984 [Verbose] > d_particle_state {
00:00:30 #2985 [Verbose] > dmdt = w * dps.dmdt
00:00:30 #2986 [Verbose] > dqdt = w * dps.dqdt
00:00:30 #2987 [Verbose] > dtdt = w * dps.dtdt
00:00:30 #2988 [Verbose] > drdt = w *^ dps.drdt
00:00:30 #2989 [Verbose] > dvdt = w *^ dps.dvdt
00:00:30 #2990 [Verbose] > }
00:00:30 #2991 [Verbose] >
00:00:30 #2992 [Verbose] > instance shift particle_state = fun dt dps (particle_state st) =>
00:00:30 #2993 [Verbose] > inl (d_particle_state dps) =
00:00:30 #2994 [Verbose] > real
00:00:30 #2995 [Verbose] > match dps with
00:00:30 #2996 [Verbose] > | d_particle_state _ => dps
00:00:30 #2997 [Verbose] > particle_state { st with
00:00:30 #2998 [Verbose] > time = st.time + dps.dtdt * dt
00:00:30 #2999 [Verbose] > pos_vec = st.pos_vec ^+^ dps.drdt ^* dt
00:00:30 #3000 [Verbose] > velocity = st.velocity ^+^ dps.dvdt ^* dt
00:00:30 #3001 [Verbose] > }
00:00:30 #3002 [Verbose] >
00:00:30 #3003 [Verbose] > inl states_ps (method : numerical_method particle_state d_particle_state) : _ ->
00:00:30 #3004 [Verbose] > _ -> i32 -> particle_state =
00:00:30 #3005 [Verbose] > newton_second_ps >> method >> seq.iterate_
00:00:30 #3006 [Verbose] >
00:00:30 #3007 [Verbose] > inl z_ge0 sts =
00:00:30 #3008 [Verbose] > sts
00:00:30 #3009 [Verbose] > |> seq.take_while_ (fun (particle_state st) _ => st.pos_vec.z >= 0)
00:00:30 #3010 [Verbose] >
00:00:30 #3011 [Verbose] > inl trajectory sts =
00:00:30 #3012 [Verbose] > sts |> listm.map (fun (particle_state st) => st.pos_vec.y, st.pos_vec.z)
00:00:31 #3013 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5919-1981-1e71ee457995\main.spi
00:00:31 #3014 [Verbose] >
00:00:31 #3015 [Verbose] > ╭─[ 149.29ms - stdout ]────────────────────────────────────────────────────────╮
00:00:31 #3016 [Verbose] > │ () │
00:00:31 #3017 [Verbose] > │ │
00:00:31 #3018 [Verbose] > │ │
00:00:31 #3019 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 #3020 [Verbose] >
00:00:31 #3021 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:31 #3022 [Verbose] > // // test
00:00:31 #3023 [Verbose] >
00:00:31 #3024 [Verbose] > inl update_ps (method : numerical_method particle_state d_particle_state) =
00:00:31 #3025 [Verbose] > newton_second_ps >> method
00:00:31 #3026 [Verbose] >
00:00:31 #3027 [Verbose] > inl position_ps (method : numerical_method particle_state d_particle_state) fs
00:00:31 #3028 [Verbose] > st t =
00:00:31 #3029 [Verbose] > inl states : i32 -> particle_state = states_ps method fs st
00:00:31 #3030 [Verbose] > inl dt = (states 1).time - (states 0).time
00:00:31 #3031 [Verbose] > inl num_steps = t / dt |> math.round |> abs
00:00:31 #3032 [Verbose] > inl st1 = solver' method (newton_second_ps fs) st num_steps
00:00:31 #3033 [Verbose] > st1.pos_vec
00:00:31 #3034 [Verbose] >
00:00:31 #3035 [Verbose] > inl sun_gravity (st : particle_state) : vec =
00:00:31 #3036 [Verbose] > inl big_g = 0.0000000000667408
00:00:31 #3037 [Verbose] > inl sun_mass = 1988480000000000000000000000000
00:00:31 #3038 [Verbose] > -big_g * sun_mass * st.mass *^ st.pos_vec ^/ magnitude st.pos_vec ** 3
00:00:31 #3039 [Verbose] >
00:00:31 #3040 [Verbose] > inl wind_force v_wind drag rho area (st : particle_state) =
00:00:31 #3041 [Verbose] > inl v_rel = st.velocity ^-^ v_wind
00:00:31 #3042 [Verbose] > -0.5 * drag * rho * area * magnitude v_rel *^ v_rel
00:00:31 #3043 [Verbose] >
00:00:31 #3044 [Verbose] > inl rock_state () =
00:00:31 #3045 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:31 #3046 [Verbose] > particle_state { default_particle_state' with
00:00:31 #3047 [Verbose] > mass = 2
00:00:31 #3048 [Verbose] > velocity = vec 3 0 4
00:00:31 #3049 [Verbose] > }
00:00:31 #3050 [Verbose] >
00:00:31 #3051 [Verbose] > inl halley_update dt =
00:00:31 #3052 [Verbose] > update_ps (euler_cromer_ps dt) [[ sun_gravity ]]
00:00:31 #3053 [Verbose] >
00:00:31 #3054 [Verbose] > inl halley_initial () =
00:00:31 #3055 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:31 #3056 [Verbose] > particle_state { default_particle_state' with
00:00:31 #3057 [Verbose] > mass = 220000000000000
00:00:31 #3058 [Verbose] > pos_vec = 87660000000 *^ i_hat ()
00:00:31 #3059 [Verbose] > velocity = 54569 *^ j_hat ()
00:00:31 #3060 [Verbose] > }
00:00:31 #3061 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5935-3522-352cb2394e30\main.spi
00:00:31 #3062 [Verbose] >
00:00:31 #3063 [Verbose] > ╭─[ 170.59ms - stdout ]────────────────────────────────────────────────────────╮
00:00:31 #3064 [Verbose] > │ () │
00:00:31 #3065 [Verbose] > │ │
00:00:31 #3066 [Verbose] > │ │
00:00:31 #3067 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 #3068 [Verbose] >
00:00:31 #3069 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:31 #3070 [Verbose] > // // test
00:00:31 #3071 [Verbose] >
00:00:31 #3072 [Verbose] > inl baseball_forces () =
00:00:31 #3073 [Verbose] > inl area = pi * (0.074 / 2) ** 2
00:00:31 #3074 [Verbose] > [[
00:00:31 #3075 [Verbose] > earth_surface_gravity
00:00:31 #3076 [Verbose] > air_resistance 0.3 1.225 area
00:00:31 #3077 [Verbose] > ]]
00:00:31 #3078 [Verbose] >
00:00:31 #3079 [Verbose] > inl baseball_trajectory dt v0 theta_deg =
00:00:31 #3080 [Verbose] > inl theta_rad = theta_deg * pi / 180
00:00:31 #3081 [Verbose] > inl vy0 = v0 * cos theta_rad
00:00:31 #3082 [Verbose] > inl vz0 = v0 * sin theta_rad
00:00:31 #3083 [Verbose] > inl initial_state =
00:00:31 #3084 [Verbose] > particle_state {
00:00:31 #3085 [Verbose] > mass = 0.145
00:00:31 #3086 [Verbose] > charge = 0
00:00:31 #3087 [Verbose] > time = 0
00:00:31 #3088 [Verbose] > pos_vec = zero_vec ()
00:00:31 #3089 [Verbose] > velocity = vec 0 vy0 vz0
00:00:31 #3090 [Verbose] > }
00:00:31 #3091 [Verbose] > states_ps (euler_cromer_ps dt) (baseball_forces ()) initial_state
00:00:31 #3092 [Verbose] > >> Some
00:00:31 #3093 [Verbose] > |> z_ge0
00:00:31 #3094 [Verbose] > |> trajectory
00:00:31 #3095 [Verbose] >
00:00:31 #3096 [Verbose] > inl baseball_range dt v0 theta_deg =
00:00:31 #3097 [Verbose] > baseball_trajectory dt v0 theta_deg
00:00:31 #3098 [Verbose] > |> listm.fold (fun _ (y, _) => y) 0
00:00:31 #3099 [Verbose] >
00:00:31 #3100 [Verbose] > inl x : a _ f64 = am'.init_series 10 80 1
00:00:31 #3101 [Verbose] > inl y = x |> am.map (baseball_range 0.01 45)
00:00:31 #3102 [Verbose] > "range for a baseball hit at 45 m/s",
00:00:31 #3103 [Verbose] > "angle above horizontal (degrees)",
00:00:31 #3104 [Verbose] > "",
00:00:31 #3105 [Verbose] > ;[[ "horizontal range (m)", x, y ]]
00:00:31 #3106 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5952-5217-55d24317f1a0\main.spi
00:00:32 #3107 [Verbose] >
00:00:32 #3108 [Verbose] > ╭─[ 959.05ms - return value ]──────────────────────────────────────────────────╮
00:00:32 #3109 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:32 #3110 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:32 #3111 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:32 #3112 [Verbose] > │ stroke="none"/> │
00:00:32 #3113 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:32 #3114 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:32 #3115 [Verbose] > │ fill="#FFFFFF"> │
00:00:32 #3116 [Verbose] > │ range for a baseball hit at 45 m/s │
00:00:32 #3117 [Verbose] > │ </text> │
00:00:32 #3118 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="55" y1="424" x2="55" │
00:00:32 #3119 [Verbose] > │ y2="75"/> │
00:00:32 #3120 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │
00:00:32 #3121 [Verbose] > │ y2="75"/> │
00:00:32 #3122 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:32 #3123 [Verbose] > │ y2="75"/> │
00:00:32 #3124 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │
00:00:32 #3125 [Verbose] > │ y2="75"/> │
00:00:32 #3126 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="... │
00:00:32 #3127 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 #3128 [Verbose] >
00:00:32 #3129 [Verbose] > ╭─[ 970.08ms - stdout ]────────────────────────────────────────────────────────╮
00:00:32 #3130 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:32 #3131 [Verbose] > │ and UH0 = │
00:00:32 #3132 [Verbose] > │ | UH0_0 of float * float * float * float * float * float * float * float │
00:00:32 #3133 [Verbose] > │ * float * UH0 │
00:00:32 #3134 [Verbose] > │ | UH0_1 │
00:00:32 #3135 [Verbose] > │ and UH1 = │
00:00:32 #3136 [Verbose] > │ | UH1_0 of float * float * UH1 │
00:00:32 #3137 [Verbose] > │ | UH1_1 │
00:00:32 #3138 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:32 #3139 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:32 #3140 [Verbose] > │ let v2 : bool = v1 < 71 │
00:00:32 #3141 [Verbose] > │ v2 │
00:00:32 #3142 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:32 #3143 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:32 #3144 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:32 #3145 [Verbose] > │ v3 │
00:00:32 #3146 [Verbose] > │ and method4 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, v5 │
00:00:32 #3147 [Verbose] > │ : float, v6 : float, v7 : float, v8 : float, v9 : int32) : struct (float * │
00:00:32 #3148 [Verbose] > │ float * float * float * float * float * float * float * float) = │
00:00:32 #3149 [Verbose] > │ let v10 : bool = v9 <= 0 │
00:00:32 #3150 [Verbose] > │ if v10 then │
00:00:32 #3151 [Verbose] > │ struct (v0, v1, v2, v3, v4, v5, v6, v7, v8) │
00:00:32 #3152 [Verbose] > │ else │
00:00:32 #3153 [Verbose] > │ let v11 : float = v6 * v6 │
00:00:32 #3154 [Verbose] > │ let v12 : float = v7 * v7 │
00:00:32 #3155 [Verbose] > │ let v13 : float = v11 + v12 │
00:00:32 #3156 [Verbose] > │ let v14 : float = v8 * v8 │
00:00:32 #3157 [Verbose] > │ let v15 : float = v13 + v14 │
00:00:32 #3158 [Verbose] > │ let v16 : float = sqrt v15 │
00:00:32 #3159 [Verbose] > │ let v17 : float = -0.0007902794129829633 * v16 │
00:00:32 #3160 [Verbose] > │ let v18 : float = v17 * v6 │
00:00:32 #3161 [Verbose] > │ let v19 : float = v17 * v7 │
00:00:32 #3162 [Verbose] > │ let v20 : float = v17 * v8 │
00:00:32 #3163 [Verbose] > │ let v21 : float = -v1 │
00:00:32 #3164 [Verbose] > │ let v22 : float = v21 * 9.80665 │
00:00:32 #3165 [Verbose] > │ let v23 : float = v22 * 0.0 │
00:00:32 #3166 [Verbose] > │ let v24 : float = v23 + v18 │
00:00:32 #3167 [Verbose] > │ let v25 : float = v23 + v19 │
00:00:32 #3168 [Verbose] > │ let v26 : float = v22 + v20 │
00:00:32 #3169 [Verbose] > │ let v27 : float = v24 / v1 │
00:00:32 #3170 [Verbose] > │ let v28 : float = v25 / v1 │
00:00:32 #3171 [Verbose] > │ let v29 : float = v26 / v1 │
00:00:32 #3172 [Verbose] > │ let v30 : float = 0.01 * v27 │
00:00:32 #3173 [Verbose] > │ let v31 : float = 0.01 * v28 │
00:00:32 #3174 [Verbose] > │ let v32 : float = 0.01 * v29 │
00:00:32 #3175 [Verbose] > │ let v33 : float = v6 + v30 │
00:00:32 #3176 [Verbose] > │ let v34 : float = v7 + v31 │
00:00:32 #3177 [Verbose] > │ let v35 : float = v8 + v32 │
00:00:32 #3178 [Verbose] > │ let v36 : float = v5 + 0.01 │
00:00:32 #3179 [Verbose] > │ let v37 : float = 0.01 * v33 │
00:00:32 #3180 [Verbose] > │ let v38 : float = 0.01 * v34 │
00:00:32 #3181 [Verbose] > │ let v39 : float = 0.01 * v35 │
00:00:32 #3182 [Verbose] > │ let v40 : float = v2 + v37 │
00:00:32 #3183 [Verbose] > │ let v41 : float = v3 + v38 │
00:00:32 #3184 [Verbose] > │ let v42 : float = v4 + v39 │
00:00:32 #3185 [Verbose] > │ let v43 : int32 = v9 - 1 │
00:00:32 #3186 [Verbose] > │ method4(v0, v1, v40, v41, v42, v36, v33, v34, v35, v43) │
00:00:32 #3187 [Verbose] > │ and method5 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:32 #3188 [Verbose] > │ match v0 with │
00:00:32 #3189 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:32 #3190 [Verbose] > │ let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:00:32 #3191 [Verbose] > │ method5(v11, v12) │
00:00:32 #3192 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:32 #3193 [Verbose] > │ v1 │
00:00:32 #3194 [Verbose] > │ and method3 (v0 : float, v1 : float, v2 : UH0, v3 : int32) : UH0 = │
00:00:32 #3195 [Verbose] > │ let v4 : float = 0.0 │
00:00:32 #3196 [Verbose] > │ let v5 : float = 0.145 │
00:00:32 #3197 [Verbose] > │ let v6 : float = 0.0 │
00:00:32 #3198 [Verbose] > │ let v7 : float = 0.0 │
00:00:32 #3199 [Verbose] > │ let v8 : float = 0.0 │
00:00:32 #3200 [Verbose] > │ let v9 : float = 0.0 │
00:00:32 #3201 [Verbose] > │ let v10 : float = 0.0 │
00:00:32 #3202 [Verbose] > │ let struct (v11 : float, v12 : float, v13 : float, v14 : float, v15 : │
00:00:32 #3203 [Verbose] > │ float, v16 : float, v17 : float, v18 : float, v19 : float) = method4(v4, v5, │
00:00:32 #3204 [Verbose] > │ v6, v7, v8, v9, v10, v0, v1, v3) │
00:00:32 #3205 [Verbose] > │ let v20 : bool = v15 >= 0.0 │
00:00:32 #3206 [Verbose] > │ if v20 then │
00:00:32 #3207 [Verbose] > │ let v21 : UH0 = UH0_0(v11, v12, v13, v14, v15, v16, v17, v18, v19, │
00:00:32 #3208 [Verbose] > │ v2) │
00:00:32 #3209 [Verbose] > │ let v22 : int32 = v3 + 1 │
00:00:32 #3210 [Verbose] > │ method3(v0, v1, v21, v22) │
00:00:32 #3211 [Verbose] > │ else │
00:00:32 #3212 [Verbose] > │ let v24 : UH0 = UH0_1 │
00:00:32 #3213 [Verbose] > │ method5(v2, v24) │
00:00:32 #3214 [Verbose] > │ and method6 (v0 : UH0, v1 : UH1) : UH1 = │
00:00:32 #3215 [Verbose] > │ match v0 with │
00:00:32 #3216 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:32 #3217 [Verbose] > │ let v12 : UH1 = method6(v11, v1) │
00:00:32 #3218 [Verbose] > │ UH1_0(v5, v6, v12) │
00:00:32 #3219 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:32 #3220 [Verbose] > │ v1 │
00:00:32 #3221 [Verbose] > │ and method7 (v0 : UH1, v1 : float) : float = │
00:00:32 #3222 [Verbose] > │ match v0 with │
00:00:32 #3223 [Verbose] > │ | UH1_0(v2, v3, v4) -> (* Cons *) │
00:00:32 #3224 [Verbose] > │ method7(v4, v2) │
00:00:32 #3225 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:32 #3226 [Verbose] > │ v1 │
00:00:32 #3227 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:32 #3228 [Verbose] > │ []) * (float [])) [])) = │
00:00:32 #3229 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (71) │
00:00:32 #3230 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:32 #3231 [Verbose] > │ while method1(v1) do │
00:00:32 #3232 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:32 #3233 [Verbose] > │ let v4 : float = float v3 │
00:00:32 #3234 [Verbose] > │ let v5 : float = 10.0 + v4 │
00:00:32 #3235 [Verbose] > │ v0.[int v3] <- v5 │
00:00:32 #3236 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:32 #3237 [Verbose] > │ v1.l0 <- v6 │
00:00:32 #3238 [Verbose] > │ () │
00:00:32 #3239 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:32 #3240 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:32 #3241 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:32 #3242 [Verbose] > │ while method2(v7, v9) do │
00:00:32 #3243 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:32 #3244 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:32 #3245 [Verbose] > │ let v13 : float = v12 * 3.141592653589793 │
00:00:32 #3246 [Verbose] > │ let v14 : float = v13 / 180.0 │
00:00:32 #3247 [Verbose] > │ let v15 : float = cos v14 │
00:00:32 #3248 [Verbose] > │ let v16 : float = 45.0 * v15 │
00:00:32 #3249 [Verbose] > │ let v17 : float = sin v14 │
00:00:32 #3250 [Verbose] > │ let v18 : float = 45.0 * v17 │
00:00:32 #3251 [Verbose] > │ let v19 : UH0 = UH0_1 │
00:00:32 #3252 [Verbose] > │ let v20 : int32 = 0 │
00:00:32 #3253 [Verbose] > │ let v21 : UH0 = method3(v16, v18, v19, v20) │
00:00:32 #3254 [Verbose] > │ let v22 : UH1 = UH1_1 │
00:00:32 #3255 [Verbose] > │ let v23 : UH1 = method6(v21, v22) │
00:00:32 #3256 [Verbose] > │ let v24 : float = 0.0 │
00:00:32 #3257 [Verbose] > │ let v25 : float = method7(v23, v24) │
00:00:32 #3258 [Verbose] > │ v8.[int v11] <- v25 │
00:00:32 #3259 [Verbose] > │ let v26 : int32 = v11 + 1 │
00:00:32 #3260 [Verbose] > │ v9.l0 <- v26 │
00:00:32 #3261 [Verbose] > │ () │
00:00:32 #3262 [Verbose] > │ let v27 : string = "horizontal range (m)" │
00:00:32 #3263 [Verbose] > │ let v28 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:32 #3264 [Verbose] > │ (v27, v0, v8)|] │
00:00:32 #3265 [Verbose] > │ let v29 : string = "range for a baseball hit at 45 m/s" │
00:00:32 #3266 [Verbose] > │ let v30 : string = "angle above horizontal (degrees)" │
00:00:32 #3267 [Verbose] > │ let v31 : string = "" │
00:00:32 #3268 [Verbose] > │ struct (v29, v30, v31, v28) │
00:00:32 #3269 [Verbose] > │ method0() │
00:00:32 #3270 [Verbose] > │ │
00:00:32 #3271 [Verbose] > │ │
00:00:32 #3272 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 #3273 [Verbose] >
00:00:32 #3274 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:32 #3275 [Verbose] > // // test
00:00:32 #3276 [Verbose] >
00:00:32 #3277 [Verbose] > inl best_angle (min, max) =
00:00:32 #3278 [Verbose] > let rec loop theta_deg (best_range, best_theta_deg) =
00:00:32 #3279 [Verbose] > if theta_deg > max
00:00:32 #3280 [Verbose] > then best_range, best_theta_deg
00:00:32 #3281 [Verbose] > else
00:00:32 #3282 [Verbose] > inl range = baseball_range 0.01 45 theta_deg
00:00:32 #3283 [Verbose] > loop
00:00:32 #3284 [Verbose] > (theta_deg + 1)
00:00:32 #3285 [Verbose] > (if range > best_range
00:00:32 #3286 [Verbose] > then range, theta_deg
00:00:32 #3287 [Verbose] > else best_range, best_theta_deg)
00:00:32 #3288 [Verbose] > loop min (0f64, min)
00:00:32 #3289 [Verbose] >
00:00:32 #3290 [Verbose] > best_angle (30f64, 60f64)
00:00:32 #3291 [Verbose] > |> _equal (116.77499158246208, 41)
00:00:32 #3292 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0054-5423-51e47ea8f018\main.spi
00:00:32 #3293 [Verbose] >
00:00:32 #3294 [Verbose] > ╭─[ 644.34ms - stdout ]────────────────────────────────────────────────────────╮
00:00:32 #3295 [Verbose] > │ type UH0 = │
00:00:32 #3296 [Verbose] > │ | UH0_0 of float * float * float * float * float * float * float * float │
00:00:32 #3297 [Verbose] > │ * float * UH0 │
00:00:32 #3298 [Verbose] > │ | UH0_1 │
00:00:32 #3299 [Verbose] > │ and UH1 = │
00:00:32 #3300 [Verbose] > │ | UH1_0 of float * float * UH1 │
00:00:32 #3301 [Verbose] > │ | UH1_1 │
00:00:32 #3302 [Verbose] > │ let rec method3 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, │
00:00:32 #3303 [Verbose] > │ v5 : float, v6 : float, v7 : float, v8 : float, v9 : int32) : struct (float │
00:00:32 #3304 [Verbose] > │ * float * float * float * float * float * float * float * float) = │
00:00:32 #3305 [Verbose] > │ let v10 : bool = v9 <= 0 │
00:00:32 #3306 [Verbose] > │ if v10 then │
00:00:32 #3307 [Verbose] > │ struct (v0, v1, v2, v3, v4, v5, v6, v7, v8) │
00:00:32 #3308 [Verbose] > │ else │
00:00:32 #3309 [Verbose] > │ let v11 : float = v6 * v6 │
00:00:32 #3310 [Verbose] > │ let v12 : float = v7 * v7 │
00:00:32 #3311 [Verbose] > │ let v13 : float = v11 + v12 │
00:00:32 #3312 [Verbose] > │ let v14 : float = v8 * v8 │
00:00:32 #3313 [Verbose] > │ let v15 : float = v13 + v14 │
00:00:32 #3314 [Verbose] > │ let v16 : float = sqrt v15 │
00:00:32 #3315 [Verbose] > │ let v17 : float = -0.0007902794129829633 * v16 │
00:00:32 #3316 [Verbose] > │ let v18 : float = v17 * v6 │
00:00:32 #3317 [Verbose] > │ let v19 : float = v17 * v7 │
00:00:32 #3318 [Verbose] > │ let v20 : float = v17 * v8 │
00:00:32 #3319 [Verbose] > │ let v21 : float = -v1 │
00:00:32 #3320 [Verbose] > │ let v22 : float = v21 * 9.80665 │
00:00:32 #3321 [Verbose] > │ let v23 : float = v22 * 0.0 │
00:00:32 #3322 [Verbose] > │ let v24 : float = v23 + v18 │
00:00:32 #3323 [Verbose] > │ let v25 : float = v23 + v19 │
00:00:32 #3324 [Verbose] > │ let v26 : float = v22 + v20 │
00:00:32 #3325 [Verbose] > │ let v27 : float = v24 / v1 │
00:00:32 #3326 [Verbose] > │ let v28 : float = v25 / v1 │
00:00:32 #3327 [Verbose] > │ let v29 : float = v26 / v1 │
00:00:32 #3328 [Verbose] > │ let v30 : float = 0.01 * v27 │
00:00:32 #3329 [Verbose] > │ let v31 : float = 0.01 * v28 │
00:00:32 #3330 [Verbose] > │ let v32 : float = 0.01 * v29 │
00:00:32 #3331 [Verbose] > │ let v33 : float = v6 + v30 │
00:00:32 #3332 [Verbose] > │ let v34 : float = v7 + v31 │
00:00:32 #3333 [Verbose] > │ let v35 : float = v8 + v32 │
00:00:32 #3334 [Verbose] > │ let v36 : float = v5 + 0.01 │
00:00:32 #3335 [Verbose] > │ let v37 : float = 0.01 * v33 │
00:00:32 #3336 [Verbose] > │ let v38 : float = 0.01 * v34 │
00:00:32 #3337 [Verbose] > │ let v39 : float = 0.01 * v35 │
00:00:32 #3338 [Verbose] > │ let v40 : float = v2 + v37 │
00:00:32 #3339 [Verbose] > │ let v41 : float = v3 + v38 │
00:00:32 #3340 [Verbose] > │ let v42 : float = v4 + v39 │
00:00:32 #3341 [Verbose] > │ let v43 : int32 = v9 - 1 │
00:00:32 #3342 [Verbose] > │ method3(v0, v1, v40, v41, v42, v36, v33, v34, v35, v43) │
00:00:32 #3343 [Verbose] > │ and method4 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:32 #3344 [Verbose] > │ match v0 with │
00:00:32 #3345 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:32 #3346 [Verbose] > │ let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:00:32 #3347 [Verbose] > │ method4(v11, v12) │
00:00:32 #3348 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:32 #3349 [Verbose] > │ v1 │
00:00:32 #3350 [Verbose] > │ and method2 (v0 : float, v1 : float, v2 : UH0, v3 : int32) : UH0 = │
00:00:32 #3351 [Verbose] > │ let v4 : float = 0.0 │
00:00:32 #3352 [Verbose] > │ let v5 : float = 0.145 │
00:00:32 #3353 [Verbose] > │ let v6 : float = 0.0 │
00:00:32 #3354 [Verbose] > │ let v7 : float = 0.0 │
00:00:32 #3355 [Verbose] > │ let v8 : float = 0.0 │
00:00:32 #3356 [Verbose] > │ let v9 : float = 0.0 │
00:00:32 #3357 [Verbose] > │ let v10 : float = 0.0 │
00:00:32 #3358 [Verbose] > │ let struct (v11 : float, v12 : float, v13 : float, v14 : float, v15 : │
00:00:32 #3359 [Verbose] > │ float, v16 : float, v17 : float, v18 : float, v19 : float) = method3(v4, v5, │
00:00:32 #3360 [Verbose] > │ v6, v7, v8, v9, v10, v0, v1, v3) │
00:00:32 #3361 [Verbose] > │ let v20 : bool = v15 >= 0.0 │
00:00:32 #3362 [Verbose] > │ if v20 then │
00:00:32 #3363 [Verbose] > │ let v21 : UH0 = UH0_0(v11, v12, v13, v14, v15, v16, v17, v18, v19, │
00:00:32 #3364 [Verbose] > │ v2) │
00:00:32 #3365 [Verbose] > │ let v22 : int32 = v3 + 1 │
00:00:32 #3366 [Verbose] > │ method2(v0, v1, v21, v22) │
00:00:32 #3367 [Verbose] > │ else │
00:00:32 #3368 [Verbose] > │ let v24 : UH0 = UH0_1 │
00:00:32 #3369 [Verbose] > │ method4(v2, v24) │
00:00:32 #3370 [Verbose] > │ and method5 (v0 : UH0, v1 : UH1) : UH1 = │
00:00:32 #3371 [Verbose] > │ match v0 with │
00:00:32 #3372 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:32 #3373 [Verbose] > │ let v12 : UH1 = method5(v11, v1) │
00:00:32 #3374 [Verbose] > │ UH1_0(v5, v6, v12) │
00:00:32 #3375 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:32 #3376 [Verbose] > │ v1 │
00:00:32 #3377 [Verbose] > │ and method6 (v0 : UH1, v1 : float) : float = │
00:00:32 #3378 [Verbose] > │ match v0 with │
00:00:32 #3379 [Verbose] > │ | UH1_0(v2, v3, v4) -> (* Cons *) │
00:00:32 #3380 [Verbose] > │ method6(v4, v2) │
00:00:32 #3381 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:32 #3382 [Verbose] > │ v1 │
00:00:32 #3383 [Verbose] > │ and method1 (v0 : float, v1 : float, v2 : float) : struct (float * float) = │
00:00:32 #3384 [Verbose] > │ let v3 : bool = v0 > 60.0 │
00:00:32 #3385 [Verbose] > │ if v3 then │
00:00:32 #3386 [Verbose] > │ struct (v2, v1) │
00:00:32 #3387 [Verbose] > │ else │
00:00:32 #3388 [Verbose] > │ let v4 : float = v0 * 3.141592653589793 │
00:00:32 #3389 [Verbose] > │ let v5 : float = v4 / 180.0 │
00:00:32 #3390 [Verbose] > │ let v6 : float = cos v5 │
00:00:32 #3391 [Verbose] > │ let v7 : float = 45.0 * v6 │
00:00:32 #3392 [Verbose] > │ let v8 : float = sin v5 │
00:00:32 #3393 [Verbose] > │ let v9 : float = 45.0 * v8 │
00:00:32 #3394 [Verbose] > │ let v10 : UH0 = UH0_1 │
00:00:32 #3395 [Verbose] > │ let v11 : int32 = 0 │
00:00:32 #3396 [Verbose] > │ let v12 : UH0 = method2(v7, v9, v10, v11) │
00:00:32 #3397 [Verbose] > │ let v13 : UH1 = UH1_1 │
00:00:32 #3398 [Verbose] > │ let v14 : UH1 = method5(v12, v13) │
00:00:32 #3399 [Verbose] > │ let v15 : float = 0.0 │
00:00:32 #3400 [Verbose] > │ let v16 : float = method6(v14, v15) │
00:00:32 #3401 [Verbose] > │ let v17 : float = v0 + 1.0 │
00:00:32 #3402 [Verbose] > │ let v18 : bool = v16 > v2 │
00:00:32 #3403 [Verbose] > │ let struct (v19 : float, v20 : float) = │
00:00:32 #3404 [Verbose] > │ if v18 then │
00:00:32 #3405 [Verbose] > │ struct (v16, v0) │
00:00:32 #3406 [Verbose] > │ else │
00:00:32 #3407 [Verbose] > │ struct (v2, v1) │
00:00:32 #3408 [Verbose] > │ method1(v17, v20, v19) │
00:00:32 #3409 [Verbose] > │ and method0 () : unit = │
00:00:32 #3410 [Verbose] > │ let v0 : float = 30.0 │
00:00:32 #3411 [Verbose] > │ let v1 : float = 0.0 │
00:00:32 #3412 [Verbose] > │ let v2 : float = 30.0 │
00:00:32 #3413 [Verbose] > │ let struct (v3 : float, v4 : float) = method1(v0, v2, v1) │
00:00:32 #3414 [Verbose] > │ let v5 : bool = v3 = 116.77499158246208 │
00:00:32 #3415 [Verbose] > │ let v7 : bool = │
00:00:32 #3416 [Verbose] > │ if v5 then │
00:00:32 #3417 [Verbose] > │ let v6 : bool = v4 = 41.0 │
00:00:32 #3418 [Verbose] > │ v6 │
00:00:32 #3419 [Verbose] > │ else │
00:00:32 #3420 [Verbose] > │ false │
00:00:32 #3421 [Verbose] > │ let v8 : string = $"_equal / actual: %A{struct (v3, v4)} / expected: │
00:00:32 #3422 [Verbose] > │ %A{struct (116.77499158246208, 41.0)}" │
00:00:32 #3423 [Verbose] > │ let v9 : bool = v7 = false │
00:00:32 #3424 [Verbose] > │ if v9 then │
00:00:32 #3425 [Verbose] > │ failwith<unit> v8 │
00:00:32 #3426 [Verbose] > │ method0() │
00:00:32 #3427 [Verbose] > │ │
00:00:32 #3428 [Verbose] > │ │
00:00:32 #3429 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 #3430 [Verbose] >
00:00:32 #3431 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:32 #3432 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:32 #3433 [Verbose] > │ ## relativity_ps │
00:00:32 #3434 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 #3435 [Verbose] >
00:00:32 #3436 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:32 #3437 [Verbose] > inl relativity_ps fs (st : particle_state) =
00:00:32 #3438 [Verbose] > inl f_net = fs |> listm.map (fun f => f st) |> sum_vec
00:00:32 #3439 [Verbose] > inl c = 299792458
00:00:32 #3440 [Verbose] > inl u = st.velocity ^/ c
00:00:32 #3441 [Verbose] > inl acc = sqrt (1 - (u <.> u)) *^ (f_net ^-^ (f_net <.> u) *^ u) ^/ st.mass
00:00:32 #3442 [Verbose] > d_particle_state {
00:00:32 #3443 [Verbose] > dmdt = 0
00:00:32 #3444 [Verbose] > dqdt = 0
00:00:32 #3445 [Verbose] > dtdt = 1
00:00:32 #3446 [Verbose] > drdt = st.velocity
00:00:32 #3447 [Verbose] > dvdt = acc
00:00:32 #3448 [Verbose] > }
00:00:33 #3449 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0123-2380-202a8a546b6e\main.spi
00:00:33 #3450 [Verbose] >
00:00:33 #3451 [Verbose] > ╭─[ 228.27ms - stdout ]────────────────────────────────────────────────────────╮
00:00:33 #3452 [Verbose] > │ () │
00:00:33 #3453 [Verbose] > │ │
00:00:33 #3454 [Verbose] > │ │
00:00:33 #3455 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 #3456 [Verbose] >
00:00:33 #3457 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:33 #3458 [Verbose] > // // test
00:00:33 #3459 [Verbose] >
00:00:33 #3460 [Verbose] > inl year = 365.25 * 24 * 60 * 60
00:00:33 #3461 [Verbose] > inl c = 299792458
00:00:33 #3462 [Verbose] > inl ~method = runge_kutta_4 100000
00:00:33 #3463 [Verbose] > inl forces = [[ fun _ => 10 *^ i_hat () ]]
00:00:33 #3464 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:33 #3465 [Verbose] > inl initial_state =
00:00:33 #3466 [Verbose] > particle_state { default_particle_state' with
00:00:33 #3467 [Verbose] > mass = 1
00:00:33 #3468 [Verbose] > }
00:00:33 #3469 [Verbose] >
00:00:33 #3470 [Verbose] > inl newton_states = solver_ method (newton_second_ps forces) initial_state
00:00:33 #3471 [Verbose] > inl relativity_states = solver_ method (relativity_ps forces) initial_state
00:00:33 #3472 [Verbose] >
00:00:33 #3473 [Verbose] > inl newton_x, newton_y =
00:00:33 #3474 [Verbose] > newton_states
00:00:33 #3475 [Verbose] > >> Some
00:00:33 #3476 [Verbose] > |> seq.take_while_ (fun (particle_state st) (_ : i32) => st.time <= year)
00:00:33 #3477 [Verbose] > |> listm.map (fun (particle_state st) => st.time / year, st.velocity.x / c)
00:00:33 #3478 [Verbose] > |> listm'.unzip
00:00:33 #3479 [Verbose] >
00:00:33 #3480 [Verbose] > inl _, relativity_y =
00:00:33 #3481 [Verbose] > relativity_states
00:00:33 #3482 [Verbose] > >> Some
00:00:33 #3483 [Verbose] > |> seq.take_while_ (fun (particle_state st) (_ : i32) => st.time <= year)
00:00:33 #3484 [Verbose] > |> listm.map (fun (particle_state st) => st.time / year, st.velocity.x / c)
00:00:33 #3485 [Verbose] > |> listm'.unzip
00:00:33 #3486 [Verbose] >
00:00:33 #3487 [Verbose] > inl newton_x : a i32 _ = newton_x |> listm.toArray
00:00:33 #3488 [Verbose] > inl newton_y : a i32 _ = newton_y |> listm.toArray
00:00:33 #3489 [Verbose] > inl relativity_y : a i32 _ = relativity_y |> listm.toArray
00:00:33 #3490 [Verbose] >
00:00:33 #3491 [Verbose] > "response to a constant force",
00:00:33 #3492 [Verbose] > "time (years)",
00:00:33 #3493 [Verbose] > "velocity (multiples of c)",
00:00:33 #3494 [Verbose] > ;[[
00:00:33 #3495 [Verbose] > "newtonian", newton_x, newton_y
00:00:33 #3496 [Verbose] > "relativistic", newton_x, relativity_y
00:00:33 #3497 [Verbose] > ]]
00:00:33 #3498 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0146-4686-4e95dab205ea\main.spi
00:00:33 #3499 [Verbose] >
00:00:33 #3500 [Verbose] > ╭─[ 582.35ms - return value ]──────────────────────────────────────────────────╮
00:00:33 #3501 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:33 #3502 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:33 #3503 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:33 #3504 [Verbose] > │ stroke="none"/> │
00:00:33 #3505 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:33 #3506 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:33 #3507 [Verbose] > │ fill="#FFFFFF"> │
00:00:33 #3508 [Verbose] > │ response to a constant force │
00:00:33 #3509 [Verbose] > │ </text> │
00:00:33 #3510 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:00:33 #3511 [Verbose] > │ y2="75"/> │
00:00:33 #3512 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:33 #3513 [Verbose] > │ y2="75"/> │
00:00:33 #3514 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:00:33 #3515 [Verbose] > │ y2="75"/> │
00:00:33 #3516 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:00:33 #3517 [Verbose] > │ y2="75"/> │
00:00:33 #3518 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=... │
00:00:33 #3519 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 #3520 [Verbose] >
00:00:33 #3521 [Verbose] > ╭─[ 596.98ms - stdout ]────────────────────────────────────────────────────────╮
00:00:33 #3522 [Verbose] > │ type UH0 = │
00:00:33 #3523 [Verbose] > │ | UH0_0 of float * float * float * float * float * float * float * float │
00:00:33 #3524 [Verbose] > │ * float * UH0 │
00:00:33 #3525 [Verbose] > │ | UH0_1 │
00:00:33 #3526 [Verbose] > │ and UH1 = │
00:00:33 #3527 [Verbose] > │ | UH1_0 of float * float * UH1 │
00:00:33 #3528 [Verbose] > │ | UH1_1 │
00:00:33 #3529 [Verbose] > │ and UH2 = │
00:00:33 #3530 [Verbose] > │ | UH2_0 of float * UH2 │
00:00:33 #3531 [Verbose] > │ | UH2_1 │
00:00:33 #3532 [Verbose] > │ let rec closure1 (v0 : (struct (float * float * float * float * float * │
00:00:33 #3533 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float * │
00:00:33 #3534 [Verbose] > │ float * float * float * float * float))) struct (v1 : float, v2 : float, v3 │
00:00:33 #3535 [Verbose] > │ : float, v4 : float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : │
00:00:33 #3536 [Verbose] > │ float) : struct (float * float * float * float * float * float * float * │
00:00:33 #3537 [Verbose] > │ float * float) = │
00:00:33 #3538 [Verbose] > │ let struct (v10 : float, v11 : float, v12 : float, v13 : float, v14 : │
00:00:33 #3539 [Verbose] > │ float, v15 : float, v16 : float, v17 : float, v18 : float) = v0 struct (v1, │
00:00:33 #3540 [Verbose] > │ v2, v3, v4, v5, v6, v7, v8, v9) │
00:00:33 #3541 [Verbose] > │ let v19 : float = v15 * 50000.0 │
00:00:33 #3542 [Verbose] > │ let v20 : float = v6 + v19 │
00:00:33 #3543 [Verbose] > │ let v21 : float = 50000.0 * v12 │
00:00:33 #3544 [Verbose] > │ let v22 : float = 50000.0 * v13 │
00:00:33 #3545 [Verbose] > │ let v23 : float = 50000.0 * v14 │
00:00:33 #3546 [Verbose] > │ let v24 : float = v3 + v21 │
00:00:33 #3547 [Verbose] > │ let v25 : float = v4 + v22 │
00:00:33 #3548 [Verbose] > │ let v26 : float = v5 + v23 │
00:00:33 #3549 [Verbose] > │ let v27 : float = 50000.0 * v16 │
00:00:33 #3550 [Verbose] > │ let v28 : float = 50000.0 * v17 │
00:00:33 #3551 [Verbose] > │ let v29 : float = 50000.0 * v18 │
00:00:33 #3552 [Verbose] > │ let v30 : float = v7 + v27 │
00:00:33 #3553 [Verbose] > │ let v31 : float = v8 + v28 │
00:00:33 #3554 [Verbose] > │ let v32 : float = v9 + v29 │
00:00:33 #3555 [Verbose] > │ let struct (v33 : float, v34 : float, v35 : float, v36 : float, v37 : │
00:00:33 #3556 [Verbose] > │ float, v38 : float, v39 : float, v40 : float, v41 : float) = v0 struct (v1, │
00:00:33 #3557 [Verbose] > │ v2, v24, v25, v26, v20, v30, v31, v32) │
00:00:33 #3558 [Verbose] > │ let v42 : float = v38 * 50000.0 │
00:00:33 #3559 [Verbose] > │ let v43 : float = v6 + v42 │
00:00:33 #3560 [Verbose] > │ let v44 : float = 50000.0 * v35 │
00:00:33 #3561 [Verbose] > │ let v45 : float = 50000.0 * v36 │
00:00:33 #3562 [Verbose] > │ let v46 : float = 50000.0 * v37 │
00:00:33 #3563 [Verbose] > │ let v47 : float = v3 + v44 │
00:00:33 #3564 [Verbose] > │ let v48 : float = v4 + v45 │
00:00:33 #3565 [Verbose] > │ let v49 : float = v5 + v46 │
00:00:33 #3566 [Verbose] > │ let v50 : float = 50000.0 * v39 │
00:00:33 #3567 [Verbose] > │ let v51 : float = 50000.0 * v40 │
00:00:33 #3568 [Verbose] > │ let v52 : float = 50000.0 * v41 │
00:00:33 #3569 [Verbose] > │ let v53 : float = v7 + v50 │
00:00:33 #3570 [Verbose] > │ let v54 : float = v8 + v51 │
00:00:33 #3571 [Verbose] > │ let v55 : float = v9 + v52 │
00:00:33 #3572 [Verbose] > │ let struct (v56 : float, v57 : float, v58 : float, v59 : float, v60 : │
00:00:33 #3573 [Verbose] > │ float, v61 : float, v62 : float, v63 : float, v64 : float) = v0 struct (v1, │
00:00:33 #3574 [Verbose] > │ v2, v47, v48, v49, v43, v53, v54, v55) │
00:00:33 #3575 [Verbose] > │ let v65 : float = v61 * 100000.0 │
00:00:33 #3576 [Verbose] > │ let v66 : float = v6 + v65 │
00:00:33 #3577 [Verbose] > │ let v67 : float = 100000.0 * v58 │
00:00:33 #3578 [Verbose] > │ let v68 : float = 100000.0 * v59 │
00:00:33 #3579 [Verbose] > │ let v69 : float = 100000.0 * v60 │
00:00:33 #3580 [Verbose] > │ let v70 : float = v3 + v67 │
00:00:33 #3581 [Verbose] > │ let v71 : float = v4 + v68 │
00:00:33 #3582 [Verbose] > │ let v72 : float = v5 + v69 │
00:00:33 #3583 [Verbose] > │ let v73 : float = 100000.0 * v62 │
00:00:33 #3584 [Verbose] > │ let v74 : float = 100000.0 * v63 │
00:00:33 #3585 [Verbose] > │ let v75 : float = 100000.0 * v64 │
00:00:33 #3586 [Verbose] > │ let v76 : float = v7 + v73 │
00:00:33 #3587 [Verbose] > │ let v77 : float = v8 + v74 │
00:00:33 #3588 [Verbose] > │ let v78 : float = v9 + v75 │
00:00:33 #3589 [Verbose] > │ let struct (v79 : float, v80 : float, v81 : float, v82 : float, v83 : │
00:00:33 #3590 [Verbose] > │ float, v84 : float, v85 : float, v86 : float, v87 : float) = v0 struct (v1, │
00:00:33 #3591 [Verbose] > │ v2, v70, v71, v72, v66, v76, v77, v78) │
00:00:33 #3592 [Verbose] > │ let v88 : float = v10 + v33 │
00:00:33 #3593 [Verbose] > │ let v89 : float = v11 + v34 │
00:00:33 #3594 [Verbose] > │ let v90 : float = v15 + v38 │
00:00:33 #3595 [Verbose] > │ let v91 : float = v12 + v35 │
00:00:33 #3596 [Verbose] > │ let v92 : float = v13 + v36 │
00:00:33 #3597 [Verbose] > │ let v93 : float = v14 + v37 │
00:00:33 #3598 [Verbose] > │ let v94 : float = v16 + v39 │
00:00:33 #3599 [Verbose] > │ let v95 : float = v17 + v40 │
00:00:33 #3600 [Verbose] > │ let v96 : float = v18 + v41 │
00:00:33 #3601 [Verbose] > │ let v97 : float = v88 + v33 │
00:00:33 #3602 [Verbose] > │ let v98 : float = v89 + v34 │
00:00:33 #3603 [Verbose] > │ let v99 : float = v90 + v38 │
00:00:33 #3604 [Verbose] > │ let v100 : float = v91 + v35 │
00:00:33 #3605 [Verbose] > │ let v101 : float = v92 + v36 │
00:00:33 #3606 [Verbose] > │ let v102 : float = v93 + v37 │
00:00:33 #3607 [Verbose] > │ let v103 : float = v94 + v39 │
00:00:33 #3608 [Verbose] > │ let v104 : float = v95 + v40 │
00:00:33 #3609 [Verbose] > │ let v105 : float = v96 + v41 │
00:00:33 #3610 [Verbose] > │ let v106 : float = v97 + v56 │
00:00:33 #3611 [Verbose] > │ let v107 : float = v98 + v57 │
00:00:33 #3612 [Verbose] > │ let v108 : float = v99 + v61 │
00:00:33 #3613 [Verbose] > │ let v109 : float = v100 + v58 │
00:00:33 #3614 [Verbose] > │ let v110 : float = v101 + v59 │
00:00:33 #3615 [Verbose] > │ let v111 : float = v102 + v60 │
00:00:33 #3616 [Verbose] > │ let v112 : float = v103 + v62 │
00:00:33 #3617 [Verbose] > │ let v113 : float = v104 + v63 │
00:00:33 #3618 [Verbose] > │ let v114 : float = v105 + v64 │
00:00:33 #3619 [Verbose] > │ let v115 : float = v106 + v56 │
00:00:33 #3620 [Verbose] > │ let v116 : float = v107 + v57 │
00:00:33 #3621 [Verbose] > │ let v117 : float = v108 + v61 │
00:00:33 #3622 [Verbose] > │ let v118 : float = v109 + v58 │
00:00:33 #3623 [Verbose] > │ let v119 : float = v110 + v59 │
00:00:33 #3624 [Verbose] > │ let v120 : float = v111 + v60 │
00:00:33 #3625 [Verbose] > │ let v121 : float = v112 + v62 │
00:00:33 #3626 [Verbose] > │ let v122 : float = v113 + v63 │
00:00:33 #3627 [Verbose] > │ let v123 : float = v114 + v64 │
00:00:33 #3628 [Verbose] > │ let v124 : float = v115 + v79 │
00:00:33 #3629 [Verbose] > │ let v125 : float = v116 + v80 │
00:00:33 #3630 [Verbose] > │ let v126 : float = v117 + v84 │
00:00:33 #3631 [Verbose] > │ let v127 : float = v118 + v81 │
00:00:33 #3632 [Verbose] > │ let v128 : float = v119 + v82 │
00:00:33 #3633 [Verbose] > │ let v129 : float = v120 + v83 │
00:00:33 #3634 [Verbose] > │ let v130 : float = v121 + v85 │
00:00:33 #3635 [Verbose] > │ let v131 : float = v122 + v86 │
00:00:33 #3636 [Verbose] > │ let v132 : float = v123 + v87 │
00:00:33 #3637 [Verbose] > │ let v133 : float = v126 * 16666.666666666668 │
00:00:33 #3638 [Verbose] > │ let v134 : float = v6 + v133 │
00:00:33 #3639 [Verbose] > │ let v135 : float = 16666.666666666668 * v127 │
00:00:33 #3640 [Verbose] > │ let v136 : float = 16666.666666666668 * v128 │
00:00:33 #3641 [Verbose] > │ let v137 : float = 16666.666666666668 * v129 │
00:00:33 #3642 [Verbose] > │ let v138 : float = v3 + v135 │
00:00:33 #3643 [Verbose] > │ let v139 : float = v4 + v136 │
00:00:33 #3644 [Verbose] > │ let v140 : float = v5 + v137 │
00:00:33 #3645 [Verbose] > │ let v141 : float = 16666.666666666668 * v130 │
00:00:33 #3646 [Verbose] > │ let v142 : float = 16666.666666666668 * v131 │
00:00:33 #3647 [Verbose] > │ let v143 : float = 16666.666666666668 * v132 │
00:00:33 #3648 [Verbose] > │ let v144 : float = v7 + v141 │
00:00:33 #3649 [Verbose] > │ let v145 : float = v8 + v142 │
00:00:33 #3650 [Verbose] > │ let v146 : float = v9 + v143 │
00:00:33 #3651 [Verbose] > │ struct (v1, v2, v138, v139, v140, v134, v144, v145, v146) │
00:00:33 #3652 [Verbose] > │ and closure0 () (v0 : (struct (float * float * float * float * float * float │
00:00:33 #3653 [Verbose] > │ * float * float * float) -> struct (float * float * float * float * float * │
00:00:33 #3654 [Verbose] > │ float * float * float * float))) : (struct (float * float * float * float * │
00:00:33 #3655 [Verbose] > │ float * float * float * float * float) -> struct (float * float * float * │
00:00:33 #3656 [Verbose] > │ float * float * float * float * float * float)) = │
00:00:33 #3657 [Verbose] > │ closure1(v0) │
00:00:33 #3658 [Verbose] > │ and closure2 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:00:33 #3659 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:33 #3660 [Verbose] > │ float * float * float * float * float * float * float * float) = │
00:00:33 #3661 [Verbose] > │ let v9 : float = 10.0 / v1 │
00:00:33 #3662 [Verbose] > │ let v10 : float = 0.0 / v1 │
00:00:33 #3663 [Verbose] > │ struct (0.0, 0.0, v6, v7, v8, 1.0, v9, v10, v10) │
00:00:33 #3664 [Verbose] > │ and closure3 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:00:33 #3665 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:33 #3666 [Verbose] > │ float * float * float * float * float * float * float * float) = │
00:00:33 #3667 [Verbose] > │ let v9 : float = v6 / 299792458.0 │
00:00:33 #3668 [Verbose] > │ let v10 : float = v7 / 299792458.0 │
00:00:33 #3669 [Verbose] > │ let v11 : float = v8 / 299792458.0 │
00:00:33 #3670 [Verbose] > │ let v12 : float = v9 * v9 │
00:00:33 #3671 [Verbose] > │ let v13 : float = v10 * v10 │
00:00:33 #3672 [Verbose] > │ let v14 : float = v12 + v13 │
00:00:33 #3673 [Verbose] > │ let v15 : float = v11 * v11 │
00:00:33 #3674 [Verbose] > │ let v16 : float = v14 + v15 │
00:00:33 #3675 [Verbose] > │ let v17 : float = 1.0 - v16 │
00:00:33 #3676 [Verbose] > │ let v18 : float = sqrt v17 │
00:00:33 #3677 [Verbose] > │ let v19 : float = 10.0 * v9 │
00:00:33 #3678 [Verbose] > │ let v20 : float = 0.0 * v10 │
00:00:33 #3679 [Verbose] > │ let v21 : float = v19 + v20 │
00:00:33 #3680 [Verbose] > │ let v22 : float = 0.0 * v11 │
00:00:33 #3681 [Verbose] > │ let v23 : float = v21 + v22 │
00:00:33 #3682 [Verbose] > │ let v24 : float = v23 * v9 │
00:00:33 #3683 [Verbose] > │ let v25 : float = v23 * v10 │
00:00:33 #3684 [Verbose] > │ let v26 : float = v23 * v11 │
00:00:33 #3685 [Verbose] > │ let v27 : float = -1.0 * v24 │
00:00:33 #3686 [Verbose] > │ let v28 : float = -1.0 * v25 │
00:00:33 #3687 [Verbose] > │ let v29 : float = -1.0 * v26 │
00:00:33 #3688 [Verbose] > │ let v30 : float = 10.0 + v27 │
00:00:33 #3689 [Verbose] > │ let v31 : float = v18 * v30 │
00:00:33 #3690 [Verbose] > │ let v32 : float = v18 * v28 │
00:00:33 #3691 [Verbose] > │ let v33 : float = v18 * v29 │
00:00:33 #3692 [Verbose] > │ let v34 : float = v31 / v1 │
00:00:33 #3693 [Verbose] > │ let v35 : float = v32 / v1 │
00:00:33 #3694 [Verbose] > │ let v36 : float = v33 / v1 │
00:00:33 #3695 [Verbose] > │ struct (0.0, 0.0, v6, v7, v8, 1.0, v34, v35, v36) │
00:00:33 #3696 [Verbose] > │ and method2 (v0 : (struct (float * float * float * float * float * float * │
00:00:33 #3697 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float * │
00:00:33 #3698 [Verbose] > │ float * float * float * float)), v1 : float, v2 : float, v3 : float, v4 : │
00:00:33 #3699 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : float, v10 : │
00:00:33 #3700 [Verbose] > │ int32) : struct (float * float * float * float * float * float * float * │
00:00:33 #3701 [Verbose] > │ float * float) = │
00:00:33 #3702 [Verbose] > │ let v11 : bool = v10 <= 0 │
00:00:33 #3703 [Verbose] > │ if v11 then │
00:00:33 #3704 [Verbose] > │ struct (v1, v2, v3, v4, v5, v6, v7, v8, v9) │
00:00:33 #3705 [Verbose] > │ else │
00:00:33 #3706 [Verbose] > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 │
00:00:33 #3707 [Verbose] > │ : float, v17 : float, v18 : float, v19 : float, v20 : float) = v0 struct │
00:00:33 #3708 [Verbose] > │ (v1, v2, v3, v4, v5, v6, v7, v8, v9) │
00:00:33 #3709 [Verbose] > │ let v21 : int32 = v10 - 1 │
00:00:33 #3710 [Verbose] > │ method2(v0, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21) │
00:00:33 #3711 [Verbose] > │ and method3 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:33 #3712 [Verbose] > │ match v0 with │
00:00:33 #3713 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:33 #3714 [Verbose] > │ let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:00:33 #3715 [Verbose] > │ method3(v11, v12) │
00:00:33 #3716 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:33 #3717 [Verbose] > │ v1 │
00:00:33 #3718 [Verbose] > │ and method1 (v0 : (struct (float * float * float * float * float * float * │
00:00:33 #3719 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float * │
00:00:33 #3720 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 = │
00:00:33 #3721 [Verbose] > │ let v3 : float = 0.0 │
00:00:33 #3722 [Verbose] > │ let v4 : float = 1.0 │
00:00:33 #3723 [Verbose] > │ let v5 : float = 0.0 │
00:00:33 #3724 [Verbose] > │ let v6 : float = 0.0 │
00:00:33 #3725 [Verbose] > │ let v7 : float = 0.0 │
00:00:33 #3726 [Verbose] > │ let v8 : float = 0.0 │
00:00:33 #3727 [Verbose] > │ let v9 : float = 0.0 │
00:00:33 #3728 [Verbose] > │ let v10 : float = 0.0 │
00:00:33 #3729 [Verbose] > │ let v11 : float = 0.0 │
00:00:33 #3730 [Verbose] > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 : │
00:00:33 #3731 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │
00:00:33 #3732 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2) │
00:00:33 #3733 [Verbose] > │ let v21 : bool = v17 <= 31557600.0 │
00:00:33 #3734 [Verbose] > │ if v21 then │
00:00:33 #3735 [Verbose] > │ let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20, │
00:00:33 #3736 [Verbose] > │ v1) │
00:00:33 #3737 [Verbose] > │ let v23 : int32 = v2 + 1 │
00:00:33 #3738 [Verbose] > │ method1(v0, v22, v23) │
00:00:33 #3739 [Verbose] > │ else │
00:00:33 #3740 [Verbose] > │ let v25 : UH0 = UH0_1 │
00:00:33 #3741 [Verbose] > │ method3(v1, v25) │
00:00:33 #3742 [Verbose] > │ and method4 (v0 : UH0, v1 : UH1) : UH1 = │
00:00:33 #3743 [Verbose] > │ match v0 with │
00:00:33 #3744 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:33 #3745 [Verbose] > │ let v12 : UH1 = method4(v11, v1) │
00:00:33 #3746 [Verbose] > │ let v13 : float = v7 / 31557600.0 │
00:00:33 #3747 [Verbose] > │ let v14 : float = v8 / 299792458.0 │
00:00:33 #3748 [Verbose] > │ UH1_0(v13, v14, v12) │
00:00:33 #3749 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:33 #3750 [Verbose] > │ v1 │
00:00:33 #3751 [Verbose] > │ and method5 (v0 : UH1, v1 : UH2, v2 : UH2) : struct (UH2 * UH2) = │
00:00:33 #3752 [Verbose] > │ match v0 with │
00:00:33 #3753 [Verbose] > │ | UH1_0(v3, v4, v5) -> (* Cons *) │
00:00:33 #3754 [Verbose] > │ let v6 : UH2 = UH2_0(v3, v1) │
00:00:33 #3755 [Verbose] > │ let v7 : UH2 = UH2_0(v4, v2) │
00:00:33 #3756 [Verbose] > │ method5(v5, v6, v7) │
00:00:33 #3757 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:33 #3758 [Verbose] > │ struct (v1, v2) │
00:00:33 #3759 [Verbose] > │ and method6 (v0 : UH2, v1 : UH2) : UH2 = │
00:00:33 #3760 [Verbose] > │ match v0 with │
00:00:33 #3761 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:33 #3762 [Verbose] > │ let v4 : UH2 = UH2_0(v2, v1) │
00:00:33 #3763 [Verbose] > │ method6(v3, v4) │
00:00:33 #3764 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:33 #3765 [Verbose] > │ v1 │
00:00:33 #3766 [Verbose] > │ and method7 (v0 : (struct (float * float * float * float * float * float * │
00:00:33 #3767 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float * │
00:00:33 #3768 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 = │
00:00:33 #3769 [Verbose] > │ let v3 : float = 0.0 │
00:00:33 #3770 [Verbose] > │ let v4 : float = 1.0 │
00:00:33 #3771 [Verbose] > │ let v5 : float = 0.0 │
00:00:33 #3772 [Verbose] > │ let v6 : float = 0.0 │
00:00:33 #3773 [Verbose] > │ let v7 : float = 0.0 │
00:00:33 #3774 [Verbose] > │ let v8 : float = 0.0 │
00:00:33 #3775 [Verbose] > │ let v9 : float = 0.0 │
00:00:33 #3776 [Verbose] > │ let v10 : float = 0.0 │
00:00:33 #3777 [Verbose] > │ let v11 : float = 0.0 │
00:00:33 #3778 [Verbose] > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 : │
00:00:33 #3779 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │
00:00:33 #3780 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2) │
00:00:33 #3781 [Verbose] > │ let v21 : bool = v17 <= 31557600.0 │
00:00:33 #3782 [Verbose] > │ if v21 then │
00:00:33 #3783 [Verbose] > │ let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20, │
00:00:33 #3784 [Verbose] > │ v1) │
00:00:33 #3785 [Verbose] > │ let v23 : int32 = v2 + 1 │
00:00:33 #3786 [Verbose] > │ method7(v0, v22, v23) │
00:00:33 #3787 [Verbose] > │ else │
00:00:33 #3788 [Verbose] > │ let v25 : UH0 = UH0_1 │
00:00:33 #3789 [Verbose] > │ method3(v1, v25) │
00:00:33 #3790 [Verbose] > │ and method8 (v0 : UH0, v1 : UH1) : UH1 = │
00:00:33 #3791 [Verbose] > │ match v0 with │
00:00:33 #3792 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:33 #3793 [Verbose] > │ let v12 : UH1 = method8(v11, v1) │
00:00:33 #3794 [Verbose] > │ let v13 : float = v7 / 31557600.0 │
00:00:33 #3795 [Verbose] > │ let v14 : float = v8 / 299792458.0 │
00:00:33 #3796 [Verbose] > │ UH1_0(v13, v14, v12) │
00:00:33 #3797 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:33 #3798 [Verbose] > │ v1 │
00:00:33 #3799 [Verbose] > │ and method10 (v0 : UH2, v1 : int32) : int32 = │
00:00:33 #3800 [Verbose] > │ match v0 with │
00:00:33 #3801 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:33 #3802 [Verbose] > │ let v4 : int32 = v1 + 1 │
00:00:33 #3803 [Verbose] > │ method10(v3, v4) │
00:00:33 #3804 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:33 #3805 [Verbose] > │ v1 │
00:00:33 #3806 [Verbose] > │ and method11 (v0 : (float []), v1 : UH2, v2 : int32) : int32 = │
00:00:33 #3807 [Verbose] > │ match v1 with │
00:00:33 #3808 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:00:33 #3809 [Verbose] > │ v0.[int v2] <- v3 │
00:00:33 #3810 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:33 #3811 [Verbose] > │ method11(v0, v4, v5) │
00:00:33 #3812 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:33 #3813 [Verbose] > │ v2 │
00:00:33 #3814 [Verbose] > │ and method9 (v0 : UH2) : (float []) = │
00:00:33 #3815 [Verbose] > │ let v1 : int32 = 0 │
00:00:33 #3816 [Verbose] > │ let v2 : int32 = method10(v0, v1) │
00:00:33 #3817 [Verbose] > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:00:33 #3818 [Verbose] > │ let v4 : int32 = 0 │
00:00:33 #3819 [Verbose] > │ let v5 : int32 = method11(v3, v0, v4) │
00:00:33 #3820 [Verbose] > │ v3 │
00:00:33 #3821 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:33 #3822 [Verbose] > │ []) * (float [])) [])) = │
00:00:33 #3823 [Verbose] > │ let v0 : ((struct (float * float * float * float * float * float * float │
00:00:33 #3824 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:33 #3825 [Verbose] > │ float * float * float)) -> (struct (float * float * float * float * float * │
00:00:33 #3826 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float * │
00:00:33 #3827 [Verbose] > │ float * float * float * float * float))) = closure0() │
00:00:33 #3828 [Verbose] > │ let v1 : (struct (float * float * float * float * float * float * float │
00:00:33 #3829 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:33 #3830 [Verbose] > │ float * float * float)) = closure2() │
00:00:33 #3831 [Verbose] > │ let v2 : (struct (float * float * float * float * float * float * float │
00:00:33 #3832 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:33 #3833 [Verbose] > │ float * float * float)) = v0 v1 │
00:00:33 #3834 [Verbose] > │ let v3 : (struct (float * float * float * float * float * float * float │
00:00:33 #3835 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:33 #3836 [Verbose] > │ float * float * float)) = closure3() │
00:00:33 #3837 [Verbose] > │ let v4 : (struct (float * float * float * float * float * float * float │
00:00:33 #3838 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:33 #3839 [Verbose] > │ float * float * float)) = v0 v3 │
00:00:33 #3840 [Verbose] > │ let v5 : UH0 = UH0_1 │
00:00:33 #3841 [Verbose] > │ let v6 : int32 = 0 │
00:00:33 #3842 [Verbose] > │ let v7 : UH0 = method1(v2, v5, v6) │
00:00:33 #3843 [Verbose] > │ let v8 : UH1 = UH1_1 │
00:00:33 #3844 [Verbose] > │ let v9 : UH1 = method4(v7, v8) │
00:00:33 #3845 [Verbose] > │ let v10 : UH2 = UH2_1 │
00:00:33 #3846 [Verbose] > │ let v11 : UH2 = UH2_1 │
00:00:33 #3847 [Verbose] > │ let struct (v12 : UH2, v13 : UH2) = method5(v9, v10, v11) │
00:00:33 #3848 [Verbose] > │ let v14 : UH2 = UH2_1 │
00:00:33 #3849 [Verbose] > │ let v15 : UH2 = method6(v12, v14) │
00:00:33 #3850 [Verbose] > │ let v16 : UH2 = UH2_1 │
00:00:33 #3851 [Verbose] > │ let v17 : UH2 = method6(v13, v16) │
00:00:33 #3852 [Verbose] > │ let v18 : UH0 = UH0_1 │
00:00:33 #3853 [Verbose] > │ let v19 : int32 = 0 │
00:00:33 #3854 [Verbose] > │ let v20 : UH0 = method7(v4, v18, v19) │
00:00:33 #3855 [Verbose] > │ let v21 : UH1 = UH1_1 │
00:00:33 #3856 [Verbose] > │ let v22 : UH1 = method8(v20, v21) │
00:00:33 #3857 [Verbose] > │ let v23 : UH2 = UH2_1 │
00:00:33 #3858 [Verbose] > │ let v24 : UH2 = UH2_1 │
00:00:33 #3859 [Verbose] > │ let struct (v25 : UH2, v26 : UH2) = method5(v22, v23, v24) │
00:00:33 #3860 [Verbose] > │ let v27 : UH2 = UH2_1 │
00:00:33 #3861 [Verbose] > │ let v28 : UH2 = method6(v25, v27) │
00:00:33 #3862 [Verbose] > │ let v29 : UH2 = UH2_1 │
00:00:33 #3863 [Verbose] > │ let v30 : UH2 = method6(v26, v29) │
00:00:33 #3864 [Verbose] > │ let v31 : (float []) = method9(v15) │
00:00:33 #3865 [Verbose] > │ let v32 : (float []) = method9(v17) │
00:00:33 #3866 [Verbose] > │ let v33 : (float []) = method9(v30) │
00:00:33 #3867 [Verbose] > │ let v34 : string = "newtonian" │
00:00:33 #3868 [Verbose] > │ let v35 : string = "relativistic" │
00:00:33 #3869 [Verbose] > │ let v36 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:33 #3870 [Verbose] > │ (v34, v31, v32); struct (v35, v31, v33)|] │
00:00:33 #3871 [Verbose] > │ let v37 : string = "response to a constant force" │
00:00:33 #3872 [Verbose] > │ let v38 : string = "time (years)" │
00:00:33 #3873 [Verbose] > │ let v39 : string = "velocity (multiples of c)" │
00:00:33 #3874 [Verbose] > │ struct (v37, v38, v39, v36) │
00:00:33 #3875 [Verbose] > │ method0() │
00:00:33 #3876 [Verbose] > │ │
00:00:33 #3877 [Verbose] > │ │
00:00:33 #3878 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 #3879 [Verbose] >
00:00:33 #3880 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:33 #3881 [Verbose] > inl uniform_lorentz_force v_e v_b (st : particle_state) =
00:00:33 #3882 [Verbose] > st.charge *^ (v_e ^+^ st.velocity >< v_b)
00:00:34 #3883 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0219-1964-1d761fcfe6b7\main.spi
00:00:34 #3884 [Verbose] >
00:00:34 #3885 [Verbose] > ╭─[ 201.29ms - stdout ]────────────────────────────────────────────────────────╮
00:00:34 #3886 [Verbose] > │ () │
00:00:34 #3887 [Verbose] > │ │
00:00:34 #3888 [Verbose] > │ │
00:00:34 #3889 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 #3890 [Verbose] >
00:00:34 #3891 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:34 #3892 [Verbose] > // // test
00:00:34 #3893 [Verbose] >
00:00:34 #3894 [Verbose] > inl c : f64 = 299792458
00:00:34 #3895 [Verbose] > inl ~method = runge_kutta_4 0.000000001
00:00:34 #3896 [Verbose] > inl forces = [[ uniform_lorentz_force (zero_vec ()) (k_hat ()) ]]
00:00:34 #3897 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:34 #3898 [Verbose] > inl initial_state =
00:00:34 #3899 [Verbose] > particle_state { default_particle_state' with
00:00:34 #3900 [Verbose] > mass = 0.000000000000000000000000001672621898
00:00:34 #3901 [Verbose] > charge = 0.0000000000000000001602176621
00:00:34 #3902 [Verbose] > velocity = 0.8 *^ (c *^ j_hat ())
00:00:34 #3903 [Verbose] > }
00:00:34 #3904 [Verbose] >
00:00:34 #3905 [Verbose] > inl newton_states = solver_ method (newton_second_ps forces) initial_state
00:00:34 #3906 [Verbose] > inl relativity_states = solver_ method (relativity_ps forces) initial_state
00:00:34 #3907 [Verbose] >
00:00:34 #3908 [Verbose] > inl newton_x, newton_y =
00:00:34 #3909 [Verbose] > newton_states
00:00:34 #3910 [Verbose] > >> Some
00:00:34 #3911 [Verbose] > |> seq.take_while_ (fun (particle_state st) i => i < 100i32)
00:00:34 #3912 [Verbose] > |> listm.map (fun (particle_state st) => st.pos_vec.x, st.pos_vec.y)
00:00:34 #3913 [Verbose] > |> listm'.unzip
00:00:34 #3914 [Verbose] >
00:00:34 #3915 [Verbose] > inl relativity_x, relativity_y =
00:00:34 #3916 [Verbose] > relativity_states
00:00:34 #3917 [Verbose] > >> Some
00:00:34 #3918 [Verbose] > |> seq.take_while_ (fun (particle_state st) i => i < 165i32)
00:00:34 #3919 [Verbose] > |> listm.map (fun (particle_state st) => st.pos_vec.x, st.pos_vec.y)
00:00:34 #3920 [Verbose] > |> listm'.unzip
00:00:34 #3921 [Verbose] >
00:00:34 #3922 [Verbose] > inl newton_x : a i32 _ = newton_x |> listm.toArray
00:00:34 #3923 [Verbose] > inl newton_y : a i32 _ = newton_y |> listm.toArray
00:00:34 #3924 [Verbose] >
00:00:34 #3925 [Verbose] > inl relativity_x : a i32 _ = relativity_x |> listm.toArray
00:00:34 #3926 [Verbose] > inl relativity_y : a i32 _ = relativity_y |> listm.toArray
00:00:34 #3927 [Verbose] >
00:00:34 #3928 [Verbose] > "proton in a 1-t magnetic field",
00:00:34 #3929 [Verbose] > "x (m)",
00:00:34 #3930 [Verbose] > "y (m)",
00:00:34 #3931 [Verbose] > ;[[
00:00:34 #3932 [Verbose] > "newtonian", newton_x, newton_y
00:00:34 #3933 [Verbose] > "relativistic", relativity_x, relativity_y
00:00:34 #3934 [Verbose] > ]]
00:00:34 #3935 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0239-3996-31dacf5aa736\main.spi
00:00:34 #3936 [Verbose] >
00:00:34 #3937 [Verbose] > ╭─[ 531.70ms - return value ]──────────────────────────────────────────────────╮
00:00:34 #3938 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:34 #3939 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:34 #3940 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:34 #3941 [Verbose] > │ stroke="none"/> │
00:00:34 #3942 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:34 #3943 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:34 #3944 [Verbose] > │ fill="#FFFFFF"> │
00:00:34 #3945 [Verbose] > │ proton in a 1-t magnetic field │
00:00:34 #3946 [Verbose] > │ </text> │
00:00:34 #3947 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="58" y1="424" x2="58" │
00:00:34 #3948 [Verbose] > │ y2="75"/> │
00:00:34 #3949 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:34 #3950 [Verbose] > │ y2="75"/> │
00:00:34 #3951 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="81" y1="424" x2="81" │
00:00:34 #3952 [Verbose] > │ y2="75"/> │
00:00:34 #3953 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="93" y1="424" x2="93" │
00:00:34 #3954 [Verbose] > │ y2="75"/> │
00:00:34 #3955 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x... │
00:00:34 #3956 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 #3957 [Verbose] >
00:00:34 #3958 [Verbose] > ╭─[ 548.75ms - stdout ]────────────────────────────────────────────────────────╮
00:00:34 #3959 [Verbose] > │ type UH0 = │
00:00:34 #3960 [Verbose] > │ | UH0_0 of float * float * float * float * float * float * float * float │
00:00:34 #3961 [Verbose] > │ * float * UH0 │
00:00:34 #3962 [Verbose] > │ | UH0_1 │
00:00:34 #3963 [Verbose] > │ and UH1 = │
00:00:34 #3964 [Verbose] > │ | UH1_0 of float * float * UH1 │
00:00:34 #3965 [Verbose] > │ | UH1_1 │
00:00:34 #3966 [Verbose] > │ and UH2 = │
00:00:34 #3967 [Verbose] > │ | UH2_0 of float * UH2 │
00:00:34 #3968 [Verbose] > │ | UH2_1 │
00:00:34 #3969 [Verbose] > │ let rec closure1 (v0 : (struct (float * float * float * float * float * │
00:00:34 #3970 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float * │
00:00:34 #3971 [Verbose] > │ float * float * float * float * float))) struct (v1 : float, v2 : float, v3 │
00:00:34 #3972 [Verbose] > │ : float, v4 : float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : │
00:00:34 #3973 [Verbose] > │ float) : struct (float * float * float * float * float * float * float * │
00:00:34 #3974 [Verbose] > │ float * float) = │
00:00:34 #3975 [Verbose] > │ let struct (v10 : float, v11 : float, v12 : float, v13 : float, v14 : │
00:00:34 #3976 [Verbose] > │ float, v15 : float, v16 : float, v17 : float, v18 : float) = v0 struct (v1, │
00:00:34 #3977 [Verbose] > │ v2, v3, v4, v5, v6, v7, v8, v9) │
00:00:34 #3978 [Verbose] > │ let v19 : float = v15 * 5E-10 │
00:00:34 #3979 [Verbose] > │ let v20 : float = v6 + v19 │
00:00:34 #3980 [Verbose] > │ let v21 : float = 5E-10 * v12 │
00:00:34 #3981 [Verbose] > │ let v22 : float = 5E-10 * v13 │
00:00:34 #3982 [Verbose] > │ let v23 : float = 5E-10 * v14 │
00:00:34 #3983 [Verbose] > │ let v24 : float = v3 + v21 │
00:00:34 #3984 [Verbose] > │ let v25 : float = v4 + v22 │
00:00:34 #3985 [Verbose] > │ let v26 : float = v5 + v23 │
00:00:34 #3986 [Verbose] > │ let v27 : float = 5E-10 * v16 │
00:00:34 #3987 [Verbose] > │ let v28 : float = 5E-10 * v17 │
00:00:34 #3988 [Verbose] > │ let v29 : float = 5E-10 * v18 │
00:00:34 #3989 [Verbose] > │ let v30 : float = v7 + v27 │
00:00:34 #3990 [Verbose] > │ let v31 : float = v8 + v28 │
00:00:34 #3991 [Verbose] > │ let v32 : float = v9 + v29 │
00:00:34 #3992 [Verbose] > │ let struct (v33 : float, v34 : float, v35 : float, v36 : float, v37 : │
00:00:34 #3993 [Verbose] > │ float, v38 : float, v39 : float, v40 : float, v41 : float) = v0 struct (v1, │
00:00:34 #3994 [Verbose] > │ v2, v24, v25, v26, v20, v30, v31, v32) │
00:00:34 #3995 [Verbose] > │ let v42 : float = v38 * 5E-10 │
00:00:34 #3996 [Verbose] > │ let v43 : float = v6 + v42 │
00:00:34 #3997 [Verbose] > │ let v44 : float = 5E-10 * v35 │
00:00:34 #3998 [Verbose] > │ let v45 : float = 5E-10 * v36 │
00:00:34 #3999 [Verbose] > │ let v46 : float = 5E-10 * v37 │
00:00:34 #4000 [Verbose] > │ let v47 : float = v3 + v44 │
00:00:34 #4001 [Verbose] > │ let v48 : float = v4 + v45 │
00:00:34 #4002 [Verbose] > │ let v49 : float = v5 + v46 │
00:00:34 #4003 [Verbose] > │ let v50 : float = 5E-10 * v39 │
00:00:34 #4004 [Verbose] > │ let v51 : float = 5E-10 * v40 │
00:00:34 #4005 [Verbose] > │ let v52 : float = 5E-10 * v41 │
00:00:34 #4006 [Verbose] > │ let v53 : float = v7 + v50 │
00:00:34 #4007 [Verbose] > │ let v54 : float = v8 + v51 │
00:00:34 #4008 [Verbose] > │ let v55 : float = v9 + v52 │
00:00:34 #4009 [Verbose] > │ let struct (v56 : float, v57 : float, v58 : float, v59 : float, v60 : │
00:00:34 #4010 [Verbose] > │ float, v61 : float, v62 : float, v63 : float, v64 : float) = v0 struct (v1, │
00:00:34 #4011 [Verbose] > │ v2, v47, v48, v49, v43, v53, v54, v55) │
00:00:34 #4012 [Verbose] > │ let v65 : float = v61 * 1E-09 │
00:00:34 #4013 [Verbose] > │ let v66 : float = v6 + v65 │
00:00:34 #4014 [Verbose] > │ let v67 : float = 1E-09 * v58 │
00:00:34 #4015 [Verbose] > │ let v68 : float = 1E-09 * v59 │
00:00:34 #4016 [Verbose] > │ let v69 : float = 1E-09 * v60 │
00:00:34 #4017 [Verbose] > │ let v70 : float = v3 + v67 │
00:00:34 #4018 [Verbose] > │ let v71 : float = v4 + v68 │
00:00:34 #4019 [Verbose] > │ let v72 : float = v5 + v69 │
00:00:34 #4020 [Verbose] > │ let v73 : float = 1E-09 * v62 │
00:00:34 #4021 [Verbose] > │ let v74 : float = 1E-09 * v63 │
00:00:34 #4022 [Verbose] > │ let v75 : float = 1E-09 * v64 │
00:00:34 #4023 [Verbose] > │ let v76 : float = v7 + v73 │
00:00:34 #4024 [Verbose] > │ let v77 : float = v8 + v74 │
00:00:34 #4025 [Verbose] > │ let v78 : float = v9 + v75 │
00:00:34 #4026 [Verbose] > │ let struct (v79 : float, v80 : float, v81 : float, v82 : float, v83 : │
00:00:34 #4027 [Verbose] > │ float, v84 : float, v85 : float, v86 : float, v87 : float) = v0 struct (v1, │
00:00:34 #4028 [Verbose] > │ v2, v70, v71, v72, v66, v76, v77, v78) │
00:00:34 #4029 [Verbose] > │ let v88 : float = v10 + v33 │
00:00:34 #4030 [Verbose] > │ let v89 : float = v11 + v34 │
00:00:34 #4031 [Verbose] > │ let v90 : float = v15 + v38 │
00:00:34 #4032 [Verbose] > │ let v91 : float = v12 + v35 │
00:00:34 #4033 [Verbose] > │ let v92 : float = v13 + v36 │
00:00:34 #4034 [Verbose] > │ let v93 : float = v14 + v37 │
00:00:34 #4035 [Verbose] > │ let v94 : float = v16 + v39 │
00:00:34 #4036 [Verbose] > │ let v95 : float = v17 + v40 │
00:00:34 #4037 [Verbose] > │ let v96 : float = v18 + v41 │
00:00:34 #4038 [Verbose] > │ let v97 : float = v88 + v33 │
00:00:34 #4039 [Verbose] > │ let v98 : float = v89 + v34 │
00:00:34 #4040 [Verbose] > │ let v99 : float = v90 + v38 │
00:00:34 #4041 [Verbose] > │ let v100 : float = v91 + v35 │
00:00:34 #4042 [Verbose] > │ let v101 : float = v92 + v36 │
00:00:34 #4043 [Verbose] > │ let v102 : float = v93 + v37 │
00:00:34 #4044 [Verbose] > │ let v103 : float = v94 + v39 │
00:00:34 #4045 [Verbose] > │ let v104 : float = v95 + v40 │
00:00:34 #4046 [Verbose] > │ let v105 : float = v96 + v41 │
00:00:34 #4047 [Verbose] > │ let v106 : float = v97 + v56 │
00:00:34 #4048 [Verbose] > │ let v107 : float = v98 + v57 │
00:00:34 #4049 [Verbose] > │ let v108 : float = v99 + v61 │
00:00:34 #4050 [Verbose] > │ let v109 : float = v100 + v58 │
00:00:34 #4051 [Verbose] > │ let v110 : float = v101 + v59 │
00:00:34 #4052 [Verbose] > │ let v111 : float = v102 + v60 │
00:00:34 #4053 [Verbose] > │ let v112 : float = v103 + v62 │
00:00:34 #4054 [Verbose] > │ let v113 : float = v104 + v63 │
00:00:34 #4055 [Verbose] > │ let v114 : float = v105 + v64 │
00:00:34 #4056 [Verbose] > │ let v115 : float = v106 + v56 │
00:00:34 #4057 [Verbose] > │ let v116 : float = v107 + v57 │
00:00:34 #4058 [Verbose] > │ let v117 : float = v108 + v61 │
00:00:34 #4059 [Verbose] > │ let v118 : float = v109 + v58 │
00:00:34 #4060 [Verbose] > │ let v119 : float = v110 + v59 │
00:00:34 #4061 [Verbose] > │ let v120 : float = v111 + v60 │
00:00:34 #4062 [Verbose] > │ let v121 : float = v112 + v62 │
00:00:34 #4063 [Verbose] > │ let v122 : float = v113 + v63 │
00:00:34 #4064 [Verbose] > │ let v123 : float = v114 + v64 │
00:00:34 #4065 [Verbose] > │ let v124 : float = v115 + v79 │
00:00:34 #4066 [Verbose] > │ let v125 : float = v116 + v80 │
00:00:34 #4067 [Verbose] > │ let v126 : float = v117 + v84 │
00:00:34 #4068 [Verbose] > │ let v127 : float = v118 + v81 │
00:00:34 #4069 [Verbose] > │ let v128 : float = v119 + v82 │
00:00:34 #4070 [Verbose] > │ let v129 : float = v120 + v83 │
00:00:34 #4071 [Verbose] > │ let v130 : float = v121 + v85 │
00:00:34 #4072 [Verbose] > │ let v131 : float = v122 + v86 │
00:00:34 #4073 [Verbose] > │ let v132 : float = v123 + v87 │
00:00:34 #4074 [Verbose] > │ let v133 : float = v126 * 1.6666666666666669E-10 │
00:00:34 #4075 [Verbose] > │ let v134 : float = v6 + v133 │
00:00:34 #4076 [Verbose] > │ let v135 : float = 1.6666666666666669E-10 * v127 │
00:00:34 #4077 [Verbose] > │ let v136 : float = 1.6666666666666669E-10 * v128 │
00:00:34 #4078 [Verbose] > │ let v137 : float = 1.6666666666666669E-10 * v129 │
00:00:34 #4079 [Verbose] > │ let v138 : float = v3 + v135 │
00:00:34 #4080 [Verbose] > │ let v139 : float = v4 + v136 │
00:00:34 #4081 [Verbose] > │ let v140 : float = v5 + v137 │
00:00:34 #4082 [Verbose] > │ let v141 : float = 1.6666666666666669E-10 * v130 │
00:00:34 #4083 [Verbose] > │ let v142 : float = 1.6666666666666669E-10 * v131 │
00:00:34 #4084 [Verbose] > │ let v143 : float = 1.6666666666666669E-10 * v132 │
00:00:34 #4085 [Verbose] > │ let v144 : float = v7 + v141 │
00:00:34 #4086 [Verbose] > │ let v145 : float = v8 + v142 │
00:00:34 #4087 [Verbose] > │ let v146 : float = v9 + v143 │
00:00:34 #4088 [Verbose] > │ struct (v1, v2, v138, v139, v140, v134, v144, v145, v146) │
00:00:34 #4089 [Verbose] > │ and closure0 () (v0 : (struct (float * float * float * float * float * float │
00:00:34 #4090 [Verbose] > │ * float * float * float) -> struct (float * float * float * float * float * │
00:00:34 #4091 [Verbose] > │ float * float * float * float))) : (struct (float * float * float * float * │
00:00:34 #4092 [Verbose] > │ float * float * float * float * float) -> struct (float * float * float * │
00:00:34 #4093 [Verbose] > │ float * float * float * float * float * float)) = │
00:00:34 #4094 [Verbose] > │ closure1(v0) │
00:00:34 #4095 [Verbose] > │ and closure2 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:00:34 #4096 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:34 #4097 [Verbose] > │ float * float * float * float * float * float * float * float) = │
00:00:34 #4098 [Verbose] > │ let v9 : float = v8 * 0.0 │
00:00:34 #4099 [Verbose] > │ let v10 : float = v7 - v9 │
00:00:34 #4100 [Verbose] > │ let v11 : float = v9 - v6 │
00:00:34 #4101 [Verbose] > │ let v12 : float = v6 * 0.0 │
00:00:34 #4102 [Verbose] > │ let v13 : float = v7 * 0.0 │
00:00:34 #4103 [Verbose] > │ let v14 : float = v12 - v13 │
00:00:34 #4104 [Verbose] > │ let v15 : float = v0 * v10 │
00:00:34 #4105 [Verbose] > │ let v16 : float = v0 * v11 │
00:00:34 #4106 [Verbose] > │ let v17 : float = v0 * v14 │
00:00:34 #4107 [Verbose] > │ let v18 : float = v15 / v1 │
00:00:34 #4108 [Verbose] > │ let v19 : float = v16 / v1 │
00:00:34 #4109 [Verbose] > │ let v20 : float = v17 / v1 │
00:00:34 #4110 [Verbose] > │ struct (0.0, 0.0, v6, v7, v8, 1.0, v18, v19, v20) │
00:00:34 #4111 [Verbose] > │ and closure3 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:00:34 #4112 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:34 #4113 [Verbose] > │ float * float * float * float * float * float * float * float) = │
00:00:34 #4114 [Verbose] > │ let v9 : float = v8 * 0.0 │
00:00:34 #4115 [Verbose] > │ let v10 : float = v7 - v9 │
00:00:34 #4116 [Verbose] > │ let v11 : float = v9 - v6 │
00:00:34 #4117 [Verbose] > │ let v12 : float = v6 * 0.0 │
00:00:34 #4118 [Verbose] > │ let v13 : float = v7 * 0.0 │
00:00:34 #4119 [Verbose] > │ let v14 : float = v12 - v13 │
00:00:34 #4120 [Verbose] > │ let v15 : float = v0 * v10 │
00:00:34 #4121 [Verbose] > │ let v16 : float = v0 * v11 │
00:00:34 #4122 [Verbose] > │ let v17 : float = v0 * v14 │
00:00:34 #4123 [Verbose] > │ let v18 : float = v6 / 299792458.0 │
00:00:34 #4124 [Verbose] > │ let v19 : float = v7 / 299792458.0 │
00:00:34 #4125 [Verbose] > │ let v20 : float = v8 / 299792458.0 │
00:00:34 #4126 [Verbose] > │ let v21 : float = v18 * v18 │
00:00:34 #4127 [Verbose] > │ let v22 : float = v19 * v19 │
00:00:34 #4128 [Verbose] > │ let v23 : float = v21 + v22 │
00:00:34 #4129 [Verbose] > │ let v24 : float = v20 * v20 │
00:00:34 #4130 [Verbose] > │ let v25 : float = v23 + v24 │
00:00:34 #4131 [Verbose] > │ let v26 : float = 1.0 - v25 │
00:00:34 #4132 [Verbose] > │ let v27 : float = sqrt v26 │
00:00:34 #4133 [Verbose] > │ let v28 : float = v15 * v18 │
00:00:34 #4134 [Verbose] > │ let v29 : float = v16 * v19 │
00:00:34 #4135 [Verbose] > │ let v30 : float = v28 + v29 │
00:00:34 #4136 [Verbose] > │ let v31 : float = v17 * v20 │
00:00:34 #4137 [Verbose] > │ let v32 : float = v30 + v31 │
00:00:34 #4138 [Verbose] > │ let v33 : float = v32 * v18 │
00:00:34 #4139 [Verbose] > │ let v34 : float = v32 * v19 │
00:00:34 #4140 [Verbose] > │ let v35 : float = v32 * v20 │
00:00:34 #4141 [Verbose] > │ let v36 : float = -1.0 * v33 │
00:00:34 #4142 [Verbose] > │ let v37 : float = -1.0 * v34 │
00:00:34 #4143 [Verbose] > │ let v38 : float = -1.0 * v35 │
00:00:34 #4144 [Verbose] > │ let v39 : float = v15 + v36 │
00:00:34 #4145 [Verbose] > │ let v40 : float = v16 + v37 │
00:00:34 #4146 [Verbose] > │ let v41 : float = v17 + v38 │
00:00:34 #4147 [Verbose] > │ let v42 : float = v27 * v39 │
00:00:34 #4148 [Verbose] > │ let v43 : float = v27 * v40 │
00:00:34 #4149 [Verbose] > │ let v44 : float = v27 * v41 │
00:00:34 #4150 [Verbose] > │ let v45 : float = v42 / v1 │
00:00:34 #4151 [Verbose] > │ let v46 : float = v43 / v1 │
00:00:34 #4152 [Verbose] > │ let v47 : float = v44 / v1 │
00:00:34 #4153 [Verbose] > │ struct (0.0, 0.0, v6, v7, v8, 1.0, v45, v46, v47) │
00:00:34 #4154 [Verbose] > │ and method2 (v0 : (struct (float * float * float * float * float * float * │
00:00:34 #4155 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float * │
00:00:34 #4156 [Verbose] > │ float * float * float * float)), v1 : float, v2 : float, v3 : float, v4 : │
00:00:34 #4157 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : float, v10 : │
00:00:34 #4158 [Verbose] > │ int32) : struct (float * float * float * float * float * float * float * │
00:00:34 #4159 [Verbose] > │ float * float) = │
00:00:34 #4160 [Verbose] > │ let v11 : bool = v10 <= 0 │
00:00:34 #4161 [Verbose] > │ if v11 then │
00:00:34 #4162 [Verbose] > │ struct (v1, v2, v3, v4, v5, v6, v7, v8, v9) │
00:00:34 #4163 [Verbose] > │ else │
00:00:34 #4164 [Verbose] > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 │
00:00:34 #4165 [Verbose] > │ : float, v17 : float, v18 : float, v19 : float, v20 : float) = v0 struct │
00:00:34 #4166 [Verbose] > │ (v1, v2, v3, v4, v5, v6, v7, v8, v9) │
00:00:34 #4167 [Verbose] > │ let v21 : int32 = v10 - 1 │
00:00:34 #4168 [Verbose] > │ method2(v0, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21) │
00:00:34 #4169 [Verbose] > │ and method3 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:34 #4170 [Verbose] > │ match v0 with │
00:00:34 #4171 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:34 #4172 [Verbose] > │ let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:00:34 #4173 [Verbose] > │ method3(v11, v12) │
00:00:34 #4174 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:34 #4175 [Verbose] > │ v1 │
00:00:34 #4176 [Verbose] > │ and method1 (v0 : (struct (float * float * float * float * float * float * │
00:00:34 #4177 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float * │
00:00:34 #4178 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 = │
00:00:34 #4179 [Verbose] > │ let v3 : float = 1.602176621E-19 │
00:00:34 #4180 [Verbose] > │ let v4 : float = 1.672621898E-27 │
00:00:34 #4181 [Verbose] > │ let v5 : float = 0.0 │
00:00:34 #4182 [Verbose] > │ let v6 : float = 0.0 │
00:00:34 #4183 [Verbose] > │ let v7 : float = 0.0 │
00:00:34 #4184 [Verbose] > │ let v8 : float = 0.0 │
00:00:34 #4185 [Verbose] > │ let v9 : float = 0.0 │
00:00:34 #4186 [Verbose] > │ let v10 : float = 239833966.4 │
00:00:34 #4187 [Verbose] > │ let v11 : float = 0.0 │
00:00:34 #4188 [Verbose] > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 : │
00:00:34 #4189 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │
00:00:34 #4190 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2) │
00:00:34 #4191 [Verbose] > │ let v21 : bool = v2 < 100 │
00:00:34 #4192 [Verbose] > │ if v21 then │
00:00:34 #4193 [Verbose] > │ let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20, │
00:00:34 #4194 [Verbose] > │ v1) │
00:00:34 #4195 [Verbose] > │ let v23 : int32 = v2 + 1 │
00:00:34 #4196 [Verbose] > │ method1(v0, v22, v23) │
00:00:34 #4197 [Verbose] > │ else │
00:00:34 #4198 [Verbose] > │ let v25 : UH0 = UH0_1 │
00:00:34 #4199 [Verbose] > │ method3(v1, v25) │
00:00:34 #4200 [Verbose] > │ and method4 (v0 : UH0, v1 : UH1) : UH1 = │
00:00:34 #4201 [Verbose] > │ match v0 with │
00:00:34 #4202 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:34 #4203 [Verbose] > │ let v12 : UH1 = method4(v11, v1) │
00:00:34 #4204 [Verbose] > │ UH1_0(v4, v5, v12) │
00:00:34 #4205 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:34 #4206 [Verbose] > │ v1 │
00:00:34 #4207 [Verbose] > │ and method5 (v0 : UH1, v1 : UH2, v2 : UH2) : struct (UH2 * UH2) = │
00:00:34 #4208 [Verbose] > │ match v0 with │
00:00:34 #4209 [Verbose] > │ | UH1_0(v3, v4, v5) -> (* Cons *) │
00:00:34 #4210 [Verbose] > │ let v6 : UH2 = UH2_0(v3, v1) │
00:00:34 #4211 [Verbose] > │ let v7 : UH2 = UH2_0(v4, v2) │
00:00:34 #4212 [Verbose] > │ method5(v5, v6, v7) │
00:00:34 #4213 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:34 #4214 [Verbose] > │ struct (v1, v2) │
00:00:34 #4215 [Verbose] > │ and method6 (v0 : UH2, v1 : UH2) : UH2 = │
00:00:34 #4216 [Verbose] > │ match v0 with │
00:00:34 #4217 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:34 #4218 [Verbose] > │ let v4 : UH2 = UH2_0(v2, v1) │
00:00:34 #4219 [Verbose] > │ method6(v3, v4) │
00:00:34 #4220 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:34 #4221 [Verbose] > │ v1 │
00:00:34 #4222 [Verbose] > │ and method7 (v0 : (struct (float * float * float * float * float * float * │
00:00:34 #4223 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float * │
00:00:34 #4224 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 = │
00:00:34 #4225 [Verbose] > │ let v3 : float = 1.602176621E-19 │
00:00:34 #4226 [Verbose] > │ let v4 : float = 1.672621898E-27 │
00:00:34 #4227 [Verbose] > │ let v5 : float = 0.0 │
00:00:34 #4228 [Verbose] > │ let v6 : float = 0.0 │
00:00:34 #4229 [Verbose] > │ let v7 : float = 0.0 │
00:00:34 #4230 [Verbose] > │ let v8 : float = 0.0 │
00:00:34 #4231 [Verbose] > │ let v9 : float = 0.0 │
00:00:34 #4232 [Verbose] > │ let v10 : float = 239833966.4 │
00:00:34 #4233 [Verbose] > │ let v11 : float = 0.0 │
00:00:34 #4234 [Verbose] > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 : │
00:00:34 #4235 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │
00:00:34 #4236 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2) │
00:00:34 #4237 [Verbose] > │ let v21 : bool = v2 < 165 │
00:00:34 #4238 [Verbose] > │ if v21 then │
00:00:34 #4239 [Verbose] > │ let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20, │
00:00:34 #4240 [Verbose] > │ v1) │
00:00:34 #4241 [Verbose] > │ let v23 : int32 = v2 + 1 │
00:00:34 #4242 [Verbose] > │ method7(v0, v22, v23) │
00:00:34 #4243 [Verbose] > │ else │
00:00:34 #4244 [Verbose] > │ let v25 : UH0 = UH0_1 │
00:00:34 #4245 [Verbose] > │ method3(v1, v25) │
00:00:34 #4246 [Verbose] > │ and method8 (v0 : UH0, v1 : UH1) : UH1 = │
00:00:34 #4247 [Verbose] > │ match v0 with │
00:00:34 #4248 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:34 #4249 [Verbose] > │ let v12 : UH1 = method8(v11, v1) │
00:00:34 #4250 [Verbose] > │ UH1_0(v4, v5, v12) │
00:00:34 #4251 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:34 #4252 [Verbose] > │ v1 │
00:00:34 #4253 [Verbose] > │ and method10 (v0 : UH2, v1 : int32) : int32 = │
00:00:34 #4254 [Verbose] > │ match v0 with │
00:00:34 #4255 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:34 #4256 [Verbose] > │ let v4 : int32 = v1 + 1 │
00:00:34 #4257 [Verbose] > │ method10(v3, v4) │
00:00:34 #4258 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:34 #4259 [Verbose] > │ v1 │
00:00:34 #4260 [Verbose] > │ and method11 (v0 : (float []), v1 : UH2, v2 : int32) : int32 = │
00:00:34 #4261 [Verbose] > │ match v1 with │
00:00:34 #4262 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:00:34 #4263 [Verbose] > │ v0.[int v2] <- v3 │
00:00:34 #4264 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:34 #4265 [Verbose] > │ method11(v0, v4, v5) │
00:00:34 #4266 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:34 #4267 [Verbose] > │ v2 │
00:00:34 #4268 [Verbose] > │ and method9 (v0 : UH2) : (float []) = │
00:00:34 #4269 [Verbose] > │ let v1 : int32 = 0 │
00:00:34 #4270 [Verbose] > │ let v2 : int32 = method10(v0, v1) │
00:00:34 #4271 [Verbose] > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:00:34 #4272 [Verbose] > │ let v4 : int32 = 0 │
00:00:34 #4273 [Verbose] > │ let v5 : int32 = method11(v3, v0, v4) │
00:00:34 #4274 [Verbose] > │ v3 │
00:00:34 #4275 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:34 #4276 [Verbose] > │ []) * (float [])) [])) = │
00:00:34 #4277 [Verbose] > │ let v0 : ((struct (float * float * float * float * float * float * float │
00:00:34 #4278 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:34 #4279 [Verbose] > │ float * float * float)) -> (struct (float * float * float * float * float * │
00:00:34 #4280 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float * │
00:00:34 #4281 [Verbose] > │ float * float * float * float * float))) = closure0() │
00:00:34 #4282 [Verbose] > │ let v1 : (struct (float * float * float * float * float * float * float │
00:00:34 #4283 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:34 #4284 [Verbose] > │ float * float * float)) = closure2() │
00:00:34 #4285 [Verbose] > │ let v2 : (struct (float * float * float * float * float * float * float │
00:00:34 #4286 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:34 #4287 [Verbose] > │ float * float * float)) = v0 v1 │
00:00:34 #4288 [Verbose] > │ let v3 : (struct (float * float * float * float * float * float * float │
00:00:34 #4289 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:34 #4290 [Verbose] > │ float * float * float)) = closure3() │
00:00:34 #4291 [Verbose] > │ let v4 : (struct (float * float * float * float * float * float * float │
00:00:34 #4292 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:34 #4293 [Verbose] > │ float * float * float)) = v0 v3 │
00:00:34 #4294 [Verbose] > │ let v5 : UH0 = UH0_1 │
00:00:34 #4295 [Verbose] > │ let v6 : int32 = 0 │
00:00:34 #4296 [Verbose] > │ let v7 : UH0 = method1(v2, v5, v6) │
00:00:34 #4297 [Verbose] > │ let v8 : UH1 = UH1_1 │
00:00:34 #4298 [Verbose] > │ let v9 : UH1 = method4(v7, v8) │
00:00:34 #4299 [Verbose] > │ let v10 : UH2 = UH2_1 │
00:00:34 #4300 [Verbose] > │ let v11 : UH2 = UH2_1 │
00:00:34 #4301 [Verbose] > │ let struct (v12 : UH2, v13 : UH2) = method5(v9, v10, v11) │
00:00:34 #4302 [Verbose] > │ let v14 : UH2 = UH2_1 │
00:00:34 #4303 [Verbose] > │ let v15 : UH2 = method6(v12, v14) │
00:00:34 #4304 [Verbose] > │ let v16 : UH2 = UH2_1 │
00:00:34 #4305 [Verbose] > │ let v17 : UH2 = method6(v13, v16) │
00:00:34 #4306 [Verbose] > │ let v18 : UH0 = UH0_1 │
00:00:34 #4307 [Verbose] > │ let v19 : int32 = 0 │
00:00:34 #4308 [Verbose] > │ let v20 : UH0 = method7(v4, v18, v19) │
00:00:34 #4309 [Verbose] > │ let v21 : UH1 = UH1_1 │
00:00:34 #4310 [Verbose] > │ let v22 : UH1 = method8(v20, v21) │
00:00:34 #4311 [Verbose] > │ let v23 : UH2 = UH2_1 │
00:00:34 #4312 [Verbose] > │ let v24 : UH2 = UH2_1 │
00:00:34 #4313 [Verbose] > │ let struct (v25 : UH2, v26 : UH2) = method5(v22, v23, v24) │
00:00:34 #4314 [Verbose] > │ let v27 : UH2 = UH2_1 │
00:00:34 #4315 [Verbose] > │ let v28 : UH2 = method6(v25, v27) │
00:00:34 #4316 [Verbose] > │ let v29 : UH2 = UH2_1 │
00:00:34 #4317 [Verbose] > │ let v30 : UH2 = method6(v26, v29) │
00:00:34 #4318 [Verbose] > │ let v31 : (float []) = method9(v15) │
00:00:34 #4319 [Verbose] > │ let v32 : (float []) = method9(v17) │
00:00:34 #4320 [Verbose] > │ let v33 : (float []) = method9(v28) │
00:00:34 #4321 [Verbose] > │ let v34 : (float []) = method9(v30) │
00:00:34 #4322 [Verbose] > │ let v35 : string = "newtonian" │
00:00:34 #4323 [Verbose] > │ let v36 : string = "relativistic" │
00:00:34 #4324 [Verbose] > │ let v37 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:34 #4325 [Verbose] > │ (v35, v31, v32); struct (v36, v33, v34)|] │
00:00:34 #4326 [Verbose] > │ let v38 : string = "proton in a 1-t magnetic field" │
00:00:34 #4327 [Verbose] > │ let v39 : string = "x (m)" │
00:00:34 #4328 [Verbose] > │ let v40 : string = "y (m)" │
00:00:34 #4329 [Verbose] > │ struct (v38, v39, v40, v37) │
00:00:34 #4330 [Verbose] > │ method0() │
00:00:34 #4331 [Verbose] > │ │
00:00:34 #4332 [Verbose] > │ │
00:00:34 #4333 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 #4334 [Verbose] >
00:00:34 #4335 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:34 #4336 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:34 #4337 [Verbose] > │ ### system kinetic energy versus time 1 │
00:00:34 #4338 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 #4339 [Verbose] >
00:00:34 #4340 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:34 #4341 [Verbose] > // // test
00:00:34 #4342 [Verbose] >
00:00:34 #4343 [Verbose] > inl central_force f (particle_state st1) (particle_state st2) =
00:00:34 #4344 [Verbose] > inl r1 = st1.pos_vec
00:00:34 #4345 [Verbose] > inl r2 = st2.pos_vec
00:00:34 #4346 [Verbose] > inl r21 = r2 ^-^ r1
00:00:34 #4347 [Verbose] > inl r21mag = magnitude r21
00:00:34 #4348 [Verbose] > f r21mag *^ r21 ^/ r21mag
00:00:34 #4349 [Verbose] >
00:00:34 #4350 [Verbose] > inl billiard_force k re =
00:00:34 #4351 [Verbose] > inl f r =
00:00:34 #4352 [Verbose] > if r >= re
00:00:34 #4353 [Verbose] > then 0
00:00:34 #4354 [Verbose] > else -k * (r - re)
00:00:34 #4355 [Verbose] > central_force f
00:00:34 #4356 [Verbose] >
00:00:34 #4357 [Verbose] > type force_vector = vec
00:00:34 #4358 [Verbose] > type two_body_force = particle_state -> particle_state -> force_vector
00:00:34 #4359 [Verbose] >
00:00:34 #4360 [Verbose] > union force =
00:00:34 #4361 [Verbose] > | ExternalForce : i32 * one_body_force
00:00:34 #4362 [Verbose] > | InternalForce : i32 * i32 * two_body_force
00:00:34 #4363 [Verbose] >
00:00:34 #4364 [Verbose] > nominal multi_particle_state = list particle_state
00:00:34 #4365 [Verbose] >
00:00:34 #4366 [Verbose] > nominal d_multi_particle_state = list d_particle_state
00:00:34 #4367 [Verbose] >
00:00:34 #4368 [Verbose] > inl force_on n sts force =
00:00:34 #4369 [Verbose] > match force with
00:00:34 #4370 [Verbose] > | ExternalForce (n0, f_one_body) =>
00:00:34 #4371 [Verbose] > if n = n0
00:00:34 #4372 [Verbose] > then f_one_body
00:00:34 #4373 [Verbose] > else fun _ => zero_vec ()
00:00:34 #4374 [Verbose] > | InternalForce (n0, n1, f_two_body) =>
00:00:34 #4375 [Verbose] > if n = n0
00:00:34 #4376 [Verbose] > then f_two_body (sts |> listm'.item n1)
00:00:34 #4377 [Verbose] > elif n = n1
00:00:34 #4378 [Verbose] > then f_two_body (sts |> listm'.item n0)
00:00:34 #4379 [Verbose] > else fun _ => zero_vec ()
00:00:34 #4380 [Verbose] >
00:00:34 #4381 [Verbose] > inl forces_on n (multi_particle_state sts) fs =
00:00:34 #4382 [Verbose] > fs |> listm.map (force_on n sts)
00:00:34 #4383 [Verbose] >
00:00:34 #4384 [Verbose] > inl newton_second_mps fs (multi_particle_state sts) : d_multi_particle_state =
00:00:34 #4385 [Verbose] > inl deriv (n, st) =
00:00:34 #4386 [Verbose] > newton_second_ps (forces_on n (multi_particle_state sts) fs) st
00:00:34 #4387 [Verbose] > sts |> listm'.indexed |> listm.map deriv |> d_multi_particle_state
00:00:34 #4388 [Verbose] >
00:00:34 #4389 [Verbose] > instance (+++) d_multi_particle_state = fun (d_multi_particle_state dsts1)
00:00:34 #4390 [Verbose] > (d_multi_particle_state dsts2) =>
00:00:34 #4391 [Verbose] > d_multi_particle_state (listm'.zip_with_ (+++) dsts1 dsts2)
00:00:34 #4392 [Verbose] >
00:00:34 #4393 [Verbose] > instance scale d_multi_particle_state = fun w (d_multi_particle_state dsts) =>
00:00:34 #4394 [Verbose] > d_multi_particle_state (dsts |> listm.map (scale w))
00:00:34 #4395 [Verbose] >
00:00:34 #4396 [Verbose] > instance shift multi_particle_state = fun dt dsts (multi_particle_state sts) =>
00:00:34 #4397 [Verbose] > inl (d_multi_particle_state dsts) =
00:00:34 #4398 [Verbose] > real
00:00:34 #4399 [Verbose] > match dsts with
00:00:34 #4400 [Verbose] > | d_multi_particle_state _ => dsts
00:00:34 #4401 [Verbose] > listm'.zip_with_ (shift dt) dsts sts |> multi_particle_state
00:00:34 #4402 [Verbose] >
00:00:34 #4403 [Verbose] > inl euler_cromer_mps dt : numerical_method multi_particle_state
00:00:34 #4404 [Verbose] > d_multi_particle_state =
00:00:34 #4405 [Verbose] > fun deriv mpst0 =>
00:00:34 #4406 [Verbose] > inl mpst1 = euler dt deriv mpst0
00:00:34 #4407 [Verbose] > inl (multi_particle_state sts0) = mpst0
00:00:34 #4408 [Verbose] > inl (multi_particle_state sts1) = mpst1
00:00:34 #4409 [Verbose] > sts1
00:00:34 #4410 [Verbose] > |> listm'.zip_ sts0
00:00:34 #4411 [Verbose] > |> listm.map (fun ((particle_state st0), (particle_state st1)) =>
00:00:34 #4412 [Verbose] > particle_state {
00:00:34 #4413 [Verbose] > st1 with
00:00:34 #4414 [Verbose] > pos_vec = st0.pos_vec ^+^ st1.velocity ^* dt
00:00:34 #4415 [Verbose] > }
00:00:34 #4416 [Verbose] > )
00:00:34 #4417 [Verbose] > |> multi_particle_state
00:00:34 #4418 [Verbose] >
00:00:34 #4419 [Verbose] > inl update_mps (method : numerical_method multi_particle_state
00:00:34 #4420 [Verbose] > d_multi_particle_state) =
00:00:34 #4421 [Verbose] > newton_second_mps >> method
00:00:34 #4422 [Verbose] >
00:00:34 #4423 [Verbose] > inl states_mps (method : numerical_method multi_particle_state
00:00:34 #4424 [Verbose] > d_multi_particle_state) =
00:00:34 #4425 [Verbose] > newton_second_mps >> method >> seq.iterate_
00:00:34 #4426 [Verbose] >
00:00:34 #4427 [Verbose] >
00:00:34 #4428 [Verbose] > inl kinetic_energy (particle_state st) =
00:00:34 #4429 [Verbose] > inl m = st.mass
00:00:34 #4430 [Verbose] > inl v = magnitude st.velocity
00:00:34 #4431 [Verbose] > 0.5 * m * v ** 2
00:00:34 #4432 [Verbose] >
00:00:34 #4433 [Verbose] > inl system_ke (multi_particle_state sts) =
00:00:34 #4434 [Verbose] > sts |> listm.map kinetic_energy |> listm'.sum
00:00:34 #4435 [Verbose] >
00:00:34 #4436 [Verbose] > inl linear_spring_pe k re (particle_state st1) (particle_state st2) =
00:00:34 #4437 [Verbose] > inl r1 = st1.pos_vec
00:00:34 #4438 [Verbose] > inl r2 = st2.pos_vec
00:00:34 #4439 [Verbose] > inl r21 = r2 ^-^ r1
00:00:34 #4440 [Verbose] > inl r21mag = magnitude r21
00:00:34 #4441 [Verbose] > k * (r21mag - re) ** 2 / 2
00:00:34 #4442 [Verbose] >
00:00:34 #4443 [Verbose] > inl earth_surface_gravity_pe (particle_state st) =
00:00:34 #4444 [Verbose] > inl g = 9.80665
00:00:34 #4445 [Verbose] > inl m = st.mass
00:00:34 #4446 [Verbose] > inl z = st.pos_vec.z
00:00:34 #4447 [Verbose] > m * g * z
00:00:34 #4448 [Verbose] >
00:00:34 #4449 [Verbose] > inl two_springs_pe (multi_particle_state sts) =
00:00:34 #4450 [Verbose] > inl st0 = sts |> listm'.item 0i32
00:00:34 #4451 [Verbose] > inl st1 = sts |> listm'.item 1i32
00:00:34 #4452 [Verbose] > linear_spring_pe 100 0.5 (default_particle_state ()) st0
00:00:34 #4453 [Verbose] > + linear_spring_pe 100 0.5 st0 st1
00:00:34 #4454 [Verbose] > + earth_surface_gravity_pe st0
00:00:34 #4455 [Verbose] > + earth_surface_gravity_pe st1
00:00:34 #4456 [Verbose] >
00:00:34 #4457 [Verbose] > inl two_springs_me mpst =
00:00:34 #4458 [Verbose] > system_ke mpst + two_springs_pe mpst
00:00:34 #4459 [Verbose] >
00:00:34 #4460 [Verbose] > inl ball_radius () = 0.03
00:00:34 #4461 [Verbose] >
00:00:34 #4462 [Verbose] > inl billiard_forces k =
00:00:34 #4463 [Verbose] > [[ InternalForce (0, 1, billiard_force k (2 * ball_radius ())) ]]
00:00:34 #4464 [Verbose] >
00:00:34 #4465 [Verbose] > inl billiard_update n_method k dt =
00:00:34 #4466 [Verbose] > update_mps (n_method dt) (billiard_forces k)
00:00:34 #4467 [Verbose] >
00:00:34 #4468 [Verbose] > inl billiard_initial () =
00:00:34 #4469 [Verbose] > inl ball_mass = 0.160
00:00:34 #4470 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:34 #4471 [Verbose] > multi_particle_state [[
00:00:34 #4472 [Verbose] > particle_state {
00:00:34 #4473 [Verbose] > default_particle_state' with
00:00:34 #4474 [Verbose] > mass = ball_mass
00:00:34 #4475 [Verbose] > pos_vec = zero_vec ()
00:00:34 #4476 [Verbose] > velocity = 0.2 *^ i_hat ()
00:00:34 #4477 [Verbose] > }
00:00:34 #4478 [Verbose] > particle_state {
00:00:34 #4479 [Verbose] > default_particle_state' with
00:00:34 #4480 [Verbose] > mass = ball_mass
00:00:34 #4481 [Verbose] > pos_vec = i_hat () ^+^ 0.02 *^ j_hat ()
00:00:34 #4482 [Verbose] > velocity = zero_vec ()
00:00:34 #4483 [Verbose] > }
00:00:34 #4484 [Verbose] > ]]
00:00:34 #4485 [Verbose] >
00:00:34 #4486 [Verbose] > inl billiard_states ~n_method k dt =
00:00:34 #4487 [Verbose] > states_mps (n_method dt) (billiard_forces k) (billiard_initial ())
00:00:34 #4488 [Verbose] >
00:00:34 #4489 [Verbose] > inl billiard_states_finite n_method k dt =
00:00:34 #4490 [Verbose] > billiard_states n_method k dt
00:00:34 #4491 [Verbose] > >> Some
00:00:34 #4492 [Verbose] > |> seq.take_while_ (fun (multi_particle_state mpst) (_ : i32) =>
00:00:34 #4493 [Verbose] > (mpst |> listm'.item 0i32).time <= 10
00:00:34 #4494 [Verbose] > )
00:00:34 #4495 [Verbose] >
00:00:34 #4496 [Verbose] > inl momentum (particle_state st) =
00:00:34 #4497 [Verbose] > inl m = st.mass
00:00:34 #4498 [Verbose] > inl v = st.velocity
00:00:34 #4499 [Verbose] > m *^ v
00:00:34 #4500 [Verbose] >
00:00:34 #4501 [Verbose] > inl system_p (multi_particle_state sts) =
00:00:34 #4502 [Verbose] > sts |> listm.map momentum |> sum_vec
00:00:34 #4503 [Verbose] >
00:00:34 #4504 [Verbose] >
00:00:34 #4505 [Verbose] > inl time_ke_ec_x, time_ke_ec_y =
00:00:34 #4506 [Verbose] > billiard_states_finite euler_cromer_mps 30 0.03
00:00:34 #4507 [Verbose] > |> listm.map (fun (multi_particle_state mpst) =>
00:00:34 #4508 [Verbose] > (mpst |> listm'.item 0i32).time, system_ke (multi_particle_state mpst)
00:00:34 #4509 [Verbose] > )
00:00:34 #4510 [Verbose] > |> listm'.unzip
00:00:34 #4511 [Verbose] >
00:00:34 #4512 [Verbose] > inl time_ke_rk4_x, time_ke_rk4_y =
00:00:34 #4513 [Verbose] > billiard_states_finite runge_kutta_4 30 0.03
00:00:34 #4514 [Verbose] > |> listm.map (fun (multi_particle_state mpst) =>
00:00:34 #4515 [Verbose] > (mpst |> listm'.item 0i32).time, system_ke (multi_particle_state mpst)
00:00:34 #4516 [Verbose] > )
00:00:34 #4517 [Verbose] > |> listm'.unzip
00:00:34 #4518 [Verbose] >
00:00:34 #4519 [Verbose] > inl time_ke_ec_x : a i32 _ = time_ke_ec_x |> listm.toArray
00:00:34 #4520 [Verbose] > inl time_ke_ec_y : a i32 _ = time_ke_ec_y |> listm.toArray
00:00:34 #4521 [Verbose] >
00:00:34 #4522 [Verbose] > inl time_ke_rk4_x : a i32 _ = time_ke_rk4_x |> listm.toArray
00:00:34 #4523 [Verbose] > inl time_ke_rk4_y : a i32 _ = time_ke_rk4_y |> listm.toArray
00:00:34 #4524 [Verbose] >
00:00:34 #4525 [Verbose] > "system kinetic energy versus time",
00:00:34 #4526 [Verbose] > "time (s)",
00:00:34 #4527 [Verbose] > "system kinetic energy (j)",
00:00:34 #4528 [Verbose] > ;[[
00:00:34 #4529 [Verbose] > "euler-cromer", time_ke_ec_x, time_ke_ec_y
00:00:34 #4530 [Verbose] > "runge-kutta 4", time_ke_rk4_x, time_ke_rk4_y
00:00:34 #4531 [Verbose] > ]]
00:00:34 #4532 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0309-0968-0a4a2762bf73\main.spi
00:00:36 #4533 [Verbose] >
00:00:36 #4534 [Verbose] > ╭─[ 1.66s - return value ]─────────────────────────────────────────────────────╮
00:00:36 #4535 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:36 #4536 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:36 #4537 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:36 #4538 [Verbose] > │ stroke="none"/> │
00:00:36 #4539 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:36 #4540 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:36 #4541 [Verbose] > │ fill="#FFFFFF"> │
00:00:36 #4542 [Verbose] > │ system kinetic energy versus time │
00:00:36 #4543 [Verbose] > │ </text> │
00:00:36 #4544 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:00:36 #4545 [Verbose] > │ y2="75"/> │
00:00:36 #4546 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:36 #4547 [Verbose] > │ y2="75"/> │
00:00:36 #4548 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:00:36 #4549 [Verbose] > │ y2="75"/> │
00:00:36 #4550 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:00:36 #4551 [Verbose] > │ y2="75"/> │
00:00:36 #4552 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1... │
00:00:36 #4553 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 #4554 [Verbose] >
00:00:36 #4555 [Verbose] > ╭─[ 1.67s - stdout ]───────────────────────────────────────────────────────────╮
00:00:36 #4556 [Verbose] > │ type UH0 = │
00:00:36 #4557 [Verbose] > │ | UH0_0 of float * float * float * float * float * float * float * float │
00:00:36 #4558 [Verbose] > │ * float * UH0 │
00:00:36 #4559 [Verbose] > │ | UH0_1 │
00:00:36 #4560 [Verbose] > │ and UH1 = │
00:00:36 #4561 [Verbose] > │ | UH1_0 of float * float * float * float * float * float * float * float │
00:00:36 #4562 [Verbose] > │ * float * UH1 │
00:00:36 #4563 [Verbose] > │ | UH1_1 │
00:00:36 #4564 [Verbose] > │ and UH2 = │
00:00:36 #4565 [Verbose] > │ | UH2_0 of float * float * float * float * float * float * float * float │
00:00:36 #4566 [Verbose] > │ * float * float * float * float * float * float * float * float * float * │
00:00:36 #4567 [Verbose] > │ float * UH2 │
00:00:36 #4568 [Verbose] > │ | UH2_1 │
00:00:36 #4569 [Verbose] > │ and UH3 = │
00:00:36 #4570 [Verbose] > │ | UH3_0 of int32 * float * float * float * float * float * float * float │
00:00:36 #4571 [Verbose] > │ * float * float * UH3 │
00:00:36 #4572 [Verbose] > │ | UH3_1 │
00:00:36 #4573 [Verbose] > │ and [<Struct>] US0 = │
00:00:36 #4574 [Verbose] > │ | US0_0 │
00:00:36 #4575 [Verbose] > │ | US0_1 of f1_0 : float * f1_1 : float * f1_2 : float * f1_3 : float * │
00:00:36 #4576 [Verbose] > │ f1_4 : float * f1_5 : float * f1_6 : float * f1_7 : float * f1_8 : float │
00:00:36 #4577 [Verbose] > │ and UH4 = │
00:00:36 #4578 [Verbose] > │ | UH4_0 of UH0 * UH4 │
00:00:36 #4579 [Verbose] > │ | UH4_1 │
00:00:36 #4580 [Verbose] > │ and UH5 = │
00:00:36 #4581 [Verbose] > │ | UH5_0 of float * float * UH5 │
00:00:36 #4582 [Verbose] > │ | UH5_1 │
00:00:36 #4583 [Verbose] > │ and UH6 = │
00:00:36 #4584 [Verbose] > │ | UH6_0 of float * UH6 │
00:00:36 #4585 [Verbose] > │ | UH6_1 │
00:00:36 #4586 [Verbose] > │ let rec method2 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:36 #4587 [Verbose] > │ match v0 with │
00:00:36 #4588 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:36 #4589 [Verbose] > │ let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:00:36 #4590 [Verbose] > │ method2(v11, v12) │
00:00:36 #4591 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4592 [Verbose] > │ v1 │
00:00:36 #4593 [Verbose] > │ and method1 (v0 : float, v1 : UH0, v2 : UH1, v3 : UH0) : UH0 = │
00:00:36 #4594 [Verbose] > │ match v2 with │
00:00:36 #4595 [Verbose] > │ | UH1_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* Cons *) │
00:00:36 #4596 [Verbose] > │ match v3 with │
00:00:36 #4597 [Verbose] > │ | UH0_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* Cons │
00:00:36 #4598 [Verbose] > │ *) │
00:00:36 #4599 [Verbose] > │ let v24 : float = v9 * v0 │
00:00:36 #4600 [Verbose] > │ let v25 : float = v19 + v24 │
00:00:36 #4601 [Verbose] > │ let v26 : float = v0 * v6 │
00:00:36 #4602 [Verbose] > │ let v27 : float = v0 * v7 │
00:00:36 #4603 [Verbose] > │ let v28 : float = v0 * v8 │
00:00:36 #4604 [Verbose] > │ let v29 : float = v16 + v26 │
00:00:36 #4605 [Verbose] > │ let v30 : float = v17 + v27 │
00:00:36 #4606 [Verbose] > │ let v31 : float = v18 + v28 │
00:00:36 #4607 [Verbose] > │ let v32 : float = v0 * v10 │
00:00:36 #4608 [Verbose] > │ let v33 : float = v0 * v11 │
00:00:36 #4609 [Verbose] > │ let v34 : float = v0 * v12 │
00:00:36 #4610 [Verbose] > │ let v35 : float = v20 + v32 │
00:00:36 #4611 [Verbose] > │ let v36 : float = v21 + v33 │
00:00:36 #4612 [Verbose] > │ let v37 : float = v22 + v34 │
00:00:36 #4613 [Verbose] > │ let v38 : UH0 = UH0_0(v14, v15, v29, v30, v31, v25, v35, v36, │
00:00:36 #4614 [Verbose] > │ v37, v1) │
00:00:36 #4615 [Verbose] > │ method1(v0, v38, v13, v23) │
00:00:36 #4616 [Verbose] > │ | _ -> │
00:00:36 #4617 [Verbose] > │ let v40 : UH0 = UH0_1 │
00:00:36 #4618 [Verbose] > │ method2(v1, v40) │
00:00:36 #4619 [Verbose] > │ | _ -> │
00:00:36 #4620 [Verbose] > │ let v43 : UH0 = UH0_1 │
00:00:36 #4621 [Verbose] > │ method2(v1, v43) │
00:00:36 #4622 [Verbose] > │ and method4 (v0 : UH2, v1 : UH2) : UH2 = │
00:00:36 #4623 [Verbose] > │ match v0 with │
00:00:36 #4624 [Verbose] > │ | UH2_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, │
00:00:36 #4625 [Verbose] > │ v16, v17, v18, v19, v20) -> (* Cons *) │
00:00:36 #4626 [Verbose] > │ let v21 : UH2 = UH2_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, │
00:00:36 #4627 [Verbose] > │ v13, v14, v15, v16, v17, v18, v19, v1) │
00:00:36 #4628 [Verbose] > │ method4(v20, v21) │
00:00:36 #4629 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:36 #4630 [Verbose] > │ v1 │
00:00:36 #4631 [Verbose] > │ and method3 (v0 : UH2, v1 : UH0, v2 : UH0) : UH2 = │
00:00:36 #4632 [Verbose] > │ match v1 with │
00:00:36 #4633 [Verbose] > │ | UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *) │
00:00:36 #4634 [Verbose] > │ match v2 with │
00:00:36 #4635 [Verbose] > │ | UH0_0(v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) -> (* Cons │
00:00:36 #4636 [Verbose] > │ *) │
00:00:36 #4637 [Verbose] > │ let v23 : UH2 = UH2_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v13, │
00:00:36 #4638 [Verbose] > │ v14, v15, v16, v17, v18, v19, v20, v21, v0) │
00:00:36 #4639 [Verbose] > │ method3(v23, v12, v22) │
00:00:36 #4640 [Verbose] > │ | _ -> │
00:00:36 #4641 [Verbose] > │ let v25 : UH2 = UH2_1 │
00:00:36 #4642 [Verbose] > │ method4(v0, v25) │
00:00:36 #4643 [Verbose] > │ | _ -> │
00:00:36 #4644 [Verbose] > │ let v28 : UH2 = UH2_1 │
00:00:36 #4645 [Verbose] > │ method4(v0, v28) │
00:00:36 #4646 [Verbose] > │ and method5 (v0 : float, v1 : UH2, v2 : UH0) : UH0 = │
00:00:36 #4647 [Verbose] > │ match v1 with │
00:00:36 #4648 [Verbose] > │ | UH2_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, │
00:00:36 #4649 [Verbose] > │ v17, v18, v19, v20, v21) -> (* Cons *) │
00:00:36 #4650 [Verbose] > │ let v22 : UH0 = method5(v0, v21, v2) │
00:00:36 #4651 [Verbose] > │ let v23 : float = v0 * v18 │
00:00:36 #4652 [Verbose] > │ let v24 : float = v0 * v19 │
00:00:36 #4653 [Verbose] > │ let v25 : float = v0 * v20 │
00:00:36 #4654 [Verbose] > │ let v26 : float = v5 + v23 │
00:00:36 #4655 [Verbose] > │ let v27 : float = v6 + v24 │
00:00:36 #4656 [Verbose] > │ let v28 : float = v7 + v25 │
00:00:36 #4657 [Verbose] > │ UH0_0(v12, v13, v26, v27, v28, v17, v18, v19, v20, v22) │
00:00:36 #4658 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:36 #4659 [Verbose] > │ v2 │
00:00:36 #4660 [Verbose] > │ and closure2 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 = │
00:00:36 #4661 [Verbose] > │ let v3 : UH1 = v1 v2 │
00:00:36 #4662 [Verbose] > │ let v4 : UH0 = UH0_1 │
00:00:36 #4663 [Verbose] > │ let v5 : UH0 = method1(v0, v4, v3, v2) │
00:00:36 #4664 [Verbose] > │ let v6 : UH2 = UH2_1 │
00:00:36 #4665 [Verbose] > │ let v7 : UH2 = method3(v6, v2, v5) │
00:00:36 #4666 [Verbose] > │ let v8 : UH0 = UH0_1 │
00:00:36 #4667 [Verbose] > │ let v9 : UH0 = method5(v0, v7, v8) │
00:00:36 #4668 [Verbose] > │ v9 │
00:00:36 #4669 [Verbose] > │ and closure1 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) = │
00:00:36 #4670 [Verbose] > │ closure2(v0, v1) │
00:00:36 #4671 [Verbose] > │ and closure0 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) = │
00:00:36 #4672 [Verbose] > │ closure1(v0) │
00:00:36 #4673 [Verbose] > │ and method6 (v0 : UH0, v1 : UH3, v2 : int32) : struct (UH3 * int32) = │
00:00:36 #4674 [Verbose] > │ match v0 with │
00:00:36 #4675 [Verbose] > │ | UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *) │
00:00:36 #4676 [Verbose] > │ let v13 : int32 = v2 + 1 │
00:00:36 #4677 [Verbose] > │ let v14 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v1) │
00:00:36 #4678 [Verbose] > │ method6(v12, v14, v13) │
00:00:36 #4679 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4680 [Verbose] > │ struct (v1, v2) │
00:00:36 #4681 [Verbose] > │ and method7 (v0 : UH3, v1 : UH3) : UH3 = │
00:00:36 #4682 [Verbose] > │ match v0 with │
00:00:36 #4683 [Verbose] > │ | UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *) │
00:00:36 #4684 [Verbose] > │ let v13 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v1) │
00:00:36 #4685 [Verbose] > │ method7(v12, v13) │
00:00:36 #4686 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:00:36 #4687 [Verbose] > │ v1 │
00:00:36 #4688 [Verbose] > │ and closure4 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, v5 │
00:00:36 #4689 [Verbose] > │ : float, v6 : float, v7 : float, v8 : float) struct (v9 : float, v10 : │
00:00:36 #4690 [Verbose] > │ float, v11 : float, v12 : float, v13 : float, v14 : float, v15 : float, v16 │
00:00:36 #4691 [Verbose] > │ : float, v17 : float) : struct (float * float * float) = │
00:00:36 #4692 [Verbose] > │ let v18 : float = -1.0 * v2 │
00:00:36 #4693 [Verbose] > │ let v19 : float = -1.0 * v3 │
00:00:36 #4694 [Verbose] > │ let v20 : float = -1.0 * v4 │
00:00:36 #4695 [Verbose] > │ let v21 : float = v11 + v18 │
00:00:36 #4696 [Verbose] > │ let v22 : float = v12 + v19 │
00:00:36 #4697 [Verbose] > │ let v23 : float = v13 + v20 │
00:00:36 #4698 [Verbose] > │ let v24 : float = v21 * v21 │
00:00:36 #4699 [Verbose] > │ let v25 : float = v22 * v22 │
00:00:36 #4700 [Verbose] > │ let v26 : float = v24 + v25 │
00:00:36 #4701 [Verbose] > │ let v27 : float = v23 * v23 │
00:00:36 #4702 [Verbose] > │ let v28 : float = v26 + v27 │
00:00:36 #4703 [Verbose] > │ let v29 : float = sqrt v28 │
00:00:36 #4704 [Verbose] > │ let v30 : bool = v29 >= 0.06 │
00:00:36 #4705 [Verbose] > │ let v33 : float = │
00:00:36 #4706 [Verbose] > │ if v30 then │
00:00:36 #4707 [Verbose] > │ 0.0 │
00:00:36 #4708 [Verbose] > │ else │
00:00:36 #4709 [Verbose] > │ let v31 : float = v29 - 0.06 │
00:00:36 #4710 [Verbose] > │ let v32 : float = -30.0 * v31 │
00:00:36 #4711 [Verbose] > │ v32 │
00:00:36 #4712 [Verbose] > │ let v34 : float = v33 * v21 │
00:00:36 #4713 [Verbose] > │ let v35 : float = v33 * v22 │
00:00:36 #4714 [Verbose] > │ let v36 : float = v33 * v23 │
00:00:36 #4715 [Verbose] > │ let v37 : float = v34 / v29 │
00:00:36 #4716 [Verbose] > │ let v38 : float = v35 / v29 │
00:00:36 #4717 [Verbose] > │ let v39 : float = v36 / v29 │
00:00:36 #4718 [Verbose] > │ struct (v37, v38, v39) │
00:00:36 #4719 [Verbose] > │ and closure5 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:00:36 #4720 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:36 #4721 [Verbose] > │ float * float) = │
00:00:36 #4722 [Verbose] > │ struct (0.0, 0.0, 0.0) │
00:00:36 #4723 [Verbose] > │ and method8 (v0 : UH0, v1 : UH3, v2 : UH1) : UH1 = │
00:00:36 #4724 [Verbose] > │ match v1 with │
00:00:36 #4725 [Verbose] > │ | UH3_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* Cons *) │
00:00:36 #4726 [Verbose] > │ let v14 : UH1 = method8(v0, v13, v2) │
00:00:36 #4727 [Verbose] > │ let v15 : bool = v3 = 0 │
00:00:36 #4728 [Verbose] > │ let v134 : (struct (float * float * float * float * float * float * │
00:00:36 #4729 [Verbose] > │ float * float * float) -> struct (float * float * float)) = │
00:00:36 #4730 [Verbose] > │ if v15 then │
00:00:36 #4731 [Verbose] > │ let v42 : US0 = │
00:00:36 #4732 [Verbose] > │ match v0 with │
00:00:36 #4733 [Verbose] > │ | UH0_0(v16, v17, v18, v19, v20, v21, v22, v23, v24, │
00:00:36 #4734 [Verbose] > │ v25) -> (* Cons *) │
00:00:36 #4735 [Verbose] > │ match v25 with │
00:00:36 #4736 [Verbose] > │ | UH0_0(v26, v27, v28, v29, v30, v31, v32, v33, v34, │
00:00:36 #4737 [Verbose] > │ v35) -> (* Cons *) │
00:00:36 #4738 [Verbose] > │ US0_1(v26, v27, v28, v29, v30, v31, v32, v33, │
00:00:36 #4739 [Verbose] > │ v34) │
00:00:36 #4740 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4741 [Verbose] > │ US0_0 │
00:00:36 #4742 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4743 [Verbose] > │ US0_0 │
00:00:36 #4744 [Verbose] > │ let struct (v70 : float, v71 : float, v72 : float, v73 : │
00:00:36 #4745 [Verbose] > │ float, v74 : float, v75 : float, v76 : float, v77 : float, v78 : float) = │
00:00:36 #4746 [Verbose] > │ match v42 with │
00:00:36 #4747 [Verbose] > │ | US0_0 -> (* None *) │
00:00:36 #4748 [Verbose] > │ failwith<struct (float * float * float * float * │
00:00:36 #4749 [Verbose] > │ float * float * float * float * float)> "Option does not have a value." │
00:00:36 #4750 [Verbose] > │ | US0_1(v43, v44, v45, v46, v47, v48, v49, v50, v51) -> │
00:00:36 #4751 [Verbose] > │ (* Some *) │
00:00:36 #4752 [Verbose] > │ struct (v43, v44, v45, v46, v47, v48, v49, v50, v51) │
00:00:36 #4753 [Verbose] > │ closure4(v70, v71, v72, v73, v74, v75, v76, v77, v78) │
00:00:36 #4754 [Verbose] > │ else │
00:00:36 #4755 [Verbose] > │ let v80 : bool = v3 = 1 │
00:00:36 #4756 [Verbose] > │ if v80 then │
00:00:36 #4757 [Verbose] > │ let v94 : US0 = │
00:00:36 #4758 [Verbose] > │ match v0 with │
00:00:36 #4759 [Verbose] > │ | UH0_0(v81, v82, v83, v84, v85, v86, v87, v88, v89, │
00:00:36 #4760 [Verbose] > │ v90) -> (* Cons *) │
00:00:36 #4761 [Verbose] > │ US0_1(v81, v82, v83, v84, v85, v86, v87, v88, │
00:00:36 #4762 [Verbose] > │ v89) │
00:00:36 #4763 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4764 [Verbose] > │ US0_0 │
00:00:36 #4765 [Verbose] > │ let struct (v122 : float, v123 : float, v124 : float, │
00:00:36 #4766 [Verbose] > │ v125 : float, v126 : float, v127 : float, v128 : float, v129 : float, v130 : │
00:00:36 #4767 [Verbose] > │ float) = │
00:00:36 #4768 [Verbose] > │ match v94 with │
00:00:36 #4769 [Verbose] > │ | US0_0 -> (* None *) │
00:00:36 #4770 [Verbose] > │ failwith<struct (float * float * float * float * │
00:00:36 #4771 [Verbose] > │ float * float * float * float * float)> "Option does not have a value." │
00:00:36 #4772 [Verbose] > │ | US0_1(v95, v96, v97, v98, v99, v100, v101, v102, │
00:00:36 #4773 [Verbose] > │ v103) -> (* Some *) │
00:00:36 #4774 [Verbose] > │ struct (v95, v96, v97, v98, v99, v100, v101, │
00:00:36 #4775 [Verbose] > │ v102, v103) │
00:00:36 #4776 [Verbose] > │ closure4(v122, v123, v124, v125, v126, v127, v128, v129, │
00:00:36 #4777 [Verbose] > │ v130) │
00:00:36 #4778 [Verbose] > │ else │
00:00:36 #4779 [Verbose] > │ closure5() │
00:00:36 #4780 [Verbose] > │ let struct (v135 : float, v136 : float, v137 : float) = v134 struct │
00:00:36 #4781 [Verbose] > │ (v4, v5, v6, v7, v8, v9, v10, v11, v12) │
00:00:36 #4782 [Verbose] > │ let v138 : float = v135 / v5 │
00:00:36 #4783 [Verbose] > │ let v139 : float = v136 / v5 │
00:00:36 #4784 [Verbose] > │ let v140 : float = v137 / v5 │
00:00:36 #4785 [Verbose] > │ UH1_0(0.0, 0.0, v10, v11, v12, 1.0, v138, v139, v140, v14) │
00:00:36 #4786 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:00:36 #4787 [Verbose] > │ v2 │
00:00:36 #4788 [Verbose] > │ and closure3 () (v0 : UH0) : UH1 = │
00:00:36 #4789 [Verbose] > │ let v1 : UH3 = UH3_1 │
00:00:36 #4790 [Verbose] > │ let v2 : int32 = 0 │
00:00:36 #4791 [Verbose] > │ let struct (v3 : UH3, v4 : int32) = method6(v0, v1, v2) │
00:00:36 #4792 [Verbose] > │ let v5 : UH3 = UH3_1 │
00:00:36 #4793 [Verbose] > │ let v6 : UH3 = method7(v3, v5) │
00:00:36 #4794 [Verbose] > │ let v7 : UH1 = UH1_1 │
00:00:36 #4795 [Verbose] > │ let v8 : UH1 = method8(v0, v6, v7) │
00:00:36 #4796 [Verbose] > │ v8 │
00:00:36 #4797 [Verbose] > │ and method10 (v0 : (UH0 -> UH0), v1 : UH0, v2 : int32) : UH0 = │
00:00:36 #4798 [Verbose] > │ let v3 : bool = v2 <= 0 │
00:00:36 #4799 [Verbose] > │ if v3 then │
00:00:36 #4800 [Verbose] > │ v1 │
00:00:36 #4801 [Verbose] > │ else │
00:00:36 #4802 [Verbose] > │ let v4 : UH0 = v0 v1 │
00:00:36 #4803 [Verbose] > │ let v5 : int32 = v2 - 1 │
00:00:36 #4804 [Verbose] > │ method10(v0, v4, v5) │
00:00:36 #4805 [Verbose] > │ and method11 (v0 : UH4, v1 : UH4) : UH4 = │
00:00:36 #4806 [Verbose] > │ match v0 with │
00:00:36 #4807 [Verbose] > │ | UH4_0(v2, v3) -> (* Cons *) │
00:00:36 #4808 [Verbose] > │ let v4 : UH4 = UH4_0(v2, v1) │
00:00:36 #4809 [Verbose] > │ method11(v3, v4) │
00:00:36 #4810 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:36 #4811 [Verbose] > │ v1 │
00:00:36 #4812 [Verbose] > │ and method9 (v0 : (UH0 -> UH0), v1 : UH4, v2 : int32) : UH4 = │
00:00:36 #4813 [Verbose] > │ let v3 : float = 0.0 │
00:00:36 #4814 [Verbose] > │ let v4 : float = 0.16 │
00:00:36 #4815 [Verbose] > │ let v5 : float = 0.0 │
00:00:36 #4816 [Verbose] > │ let v6 : float = 0.0 │
00:00:36 #4817 [Verbose] > │ let v7 : float = 0.0 │
00:00:36 #4818 [Verbose] > │ let v8 : float = 0.0 │
00:00:36 #4819 [Verbose] > │ let v9 : float = 0.2 │
00:00:36 #4820 [Verbose] > │ let v10 : float = 0.0 │
00:00:36 #4821 [Verbose] > │ let v11 : float = 0.0 │
00:00:36 #4822 [Verbose] > │ let v12 : float = 1.0 │
00:00:36 #4823 [Verbose] > │ let v13 : float = 0.02 │
00:00:36 #4824 [Verbose] > │ let v14 : float = 0.0 │
00:00:36 #4825 [Verbose] > │ let v15 : float = 0.0 │
00:00:36 #4826 [Verbose] > │ let v16 : float = 0.0 │
00:00:36 #4827 [Verbose] > │ let v17 : float = 0.0 │
00:00:36 #4828 [Verbose] > │ let v18 : UH0 = UH0_1 │
00:00:36 #4829 [Verbose] > │ let v19 : UH0 = UH0_0(v3, v4, v12, v13, v14, v8, v15, v16, v17, v18) │
00:00:36 #4830 [Verbose] > │ let v20 : UH0 = UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v19) │
00:00:36 #4831 [Verbose] > │ let v21 : UH0 = method10(v0, v20, v2) │
00:00:36 #4832 [Verbose] > │ let v35 : US0 = │
00:00:36 #4833 [Verbose] > │ match v21 with │
00:00:36 #4834 [Verbose] > │ | UH0_0(v22, v23, v24, v25, v26, v27, v28, v29, v30, v31) -> (* Cons │
00:00:36 #4835 [Verbose] > │ *) │
00:00:36 #4836 [Verbose] > │ US0_1(v22, v23, v24, v25, v26, v27, v28, v29, v30) │
00:00:36 #4837 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4838 [Verbose] > │ US0_0 │
00:00:36 #4839 [Verbose] > │ let struct (v63 : float, v64 : float, v65 : float, v66 : float, v67 : │
00:00:36 #4840 [Verbose] > │ float, v68 : float, v69 : float, v70 : float, v71 : float) = │
00:00:36 #4841 [Verbose] > │ match v35 with │
00:00:36 #4842 [Verbose] > │ | US0_0 -> (* None *) │
00:00:36 #4843 [Verbose] > │ failwith<struct (float * float * float * float * float * float * │
00:00:36 #4844 [Verbose] > │ float * float * float)> "Option does not have a value." │
00:00:36 #4845 [Verbose] > │ | US0_1(v36, v37, v38, v39, v40, v41, v42, v43, v44) -> (* Some *) │
00:00:36 #4846 [Verbose] > │ struct (v36, v37, v38, v39, v40, v41, v42, v43, v44) │
00:00:36 #4847 [Verbose] > │ let v72 : bool = v68 <= 10.0 │
00:00:36 #4848 [Verbose] > │ if v72 then │
00:00:36 #4849 [Verbose] > │ let v73 : UH4 = UH4_0(v21, v1) │
00:00:36 #4850 [Verbose] > │ let v74 : int32 = v2 + 1 │
00:00:36 #4851 [Verbose] > │ method9(v0, v73, v74) │
00:00:36 #4852 [Verbose] > │ else │
00:00:36 #4853 [Verbose] > │ let v76 : UH4 = UH4_1 │
00:00:36 #4854 [Verbose] > │ method11(v1, v76) │
00:00:36 #4855 [Verbose] > │ and method13 (v0 : UH0, v1 : UH6) : UH6 = │
00:00:36 #4856 [Verbose] > │ match v0 with │
00:00:36 #4857 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:36 #4858 [Verbose] > │ let v12 : UH6 = method13(v11, v1) │
00:00:36 #4859 [Verbose] > │ let v13 : float = v8 * v8 │
00:00:36 #4860 [Verbose] > │ let v14 : float = v9 * v9 │
00:00:36 #4861 [Verbose] > │ let v15 : float = v13 + v14 │
00:00:36 #4862 [Verbose] > │ let v16 : float = v10 * v10 │
00:00:36 #4863 [Verbose] > │ let v17 : float = v15 + v16 │
00:00:36 #4864 [Verbose] > │ let v18 : float = sqrt v17 │
00:00:36 #4865 [Verbose] > │ let v19 : float = 0.5 * v3 │
00:00:36 #4866 [Verbose] > │ let v20 : float = v18 ** 2.0 │
00:00:36 #4867 [Verbose] > │ let v21 : float = v19 * v20 │
00:00:36 #4868 [Verbose] > │ UH6_0(v21, v12) │
00:00:36 #4869 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4870 [Verbose] > │ v1 │
00:00:36 #4871 [Verbose] > │ and method14 (v0 : UH6, v1 : float) : float = │
00:00:36 #4872 [Verbose] > │ match v0 with │
00:00:36 #4873 [Verbose] > │ | UH6_0(v2, v3) -> (* Cons *) │
00:00:36 #4874 [Verbose] > │ let v4 : float = v1 + v2 │
00:00:36 #4875 [Verbose] > │ method14(v3, v4) │
00:00:36 #4876 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:36 #4877 [Verbose] > │ v1 │
00:00:36 #4878 [Verbose] > │ and method12 (v0 : UH4, v1 : UH5) : UH5 = │
00:00:36 #4879 [Verbose] > │ match v0 with │
00:00:36 #4880 [Verbose] > │ | UH4_0(v2, v3) -> (* Cons *) │
00:00:36 #4881 [Verbose] > │ let v4 : UH5 = method12(v3, v1) │
00:00:36 #4882 [Verbose] > │ let v18 : US0 = │
00:00:36 #4883 [Verbose] > │ match v2 with │
00:00:36 #4884 [Verbose] > │ | UH0_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* Cons │
00:00:36 #4885 [Verbose] > │ *) │
00:00:36 #4886 [Verbose] > │ US0_1(v5, v6, v7, v8, v9, v10, v11, v12, v13) │
00:00:36 #4887 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4888 [Verbose] > │ US0_0 │
00:00:36 #4889 [Verbose] > │ let struct (v46 : float, v47 : float, v48 : float, v49 : float, v50 │
00:00:36 #4890 [Verbose] > │ : float, v51 : float, v52 : float, v53 : float, v54 : float) = │
00:00:36 #4891 [Verbose] > │ match v18 with │
00:00:36 #4892 [Verbose] > │ | US0_0 -> (* None *) │
00:00:36 #4893 [Verbose] > │ failwith<struct (float * float * float * float * float * │
00:00:36 #4894 [Verbose] > │ float * float * float * float)> "Option does not have a value." │
00:00:36 #4895 [Verbose] > │ | US0_1(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* Some │
00:00:36 #4896 [Verbose] > │ *) │
00:00:36 #4897 [Verbose] > │ struct (v19, v20, v21, v22, v23, v24, v25, v26, v27) │
00:00:36 #4898 [Verbose] > │ let v55 : UH6 = UH6_1 │
00:00:36 #4899 [Verbose] > │ let v56 : UH6 = method13(v2, v55) │
00:00:36 #4900 [Verbose] > │ let v57 : float = 0.0 │
00:00:36 #4901 [Verbose] > │ let v58 : float = method14(v56, v57) │
00:00:36 #4902 [Verbose] > │ UH5_0(v51, v58, v4) │
00:00:36 #4903 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:36 #4904 [Verbose] > │ v1 │
00:00:36 #4905 [Verbose] > │ and method15 (v0 : UH5, v1 : UH6, v2 : UH6) : struct (UH6 * UH6) = │
00:00:36 #4906 [Verbose] > │ match v0 with │
00:00:36 #4907 [Verbose] > │ | UH5_0(v3, v4, v5) -> (* Cons *) │
00:00:36 #4908 [Verbose] > │ let v6 : UH6 = UH6_0(v3, v1) │
00:00:36 #4909 [Verbose] > │ let v7 : UH6 = UH6_0(v4, v2) │
00:00:36 #4910 [Verbose] > │ method15(v5, v6, v7) │
00:00:36 #4911 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:36 #4912 [Verbose] > │ struct (v1, v2) │
00:00:36 #4913 [Verbose] > │ and method16 (v0 : UH6, v1 : UH6) : UH6 = │
00:00:36 #4914 [Verbose] > │ match v0 with │
00:00:36 #4915 [Verbose] > │ | UH6_0(v2, v3) -> (* Cons *) │
00:00:36 #4916 [Verbose] > │ let v4 : UH6 = UH6_0(v2, v1) │
00:00:36 #4917 [Verbose] > │ method16(v3, v4) │
00:00:36 #4918 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:36 #4919 [Verbose] > │ v1 │
00:00:36 #4920 [Verbose] > │ and method18 (v0 : UH1, v1 : UH1) : UH1 = │
00:00:36 #4921 [Verbose] > │ match v0 with │
00:00:36 #4922 [Verbose] > │ | UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:36 #4923 [Verbose] > │ let v12 : UH1 = UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:00:36 #4924 [Verbose] > │ method18(v11, v12) │
00:00:36 #4925 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:36 #4926 [Verbose] > │ v1 │
00:00:36 #4927 [Verbose] > │ and method17 (v0 : UH1, v1 : UH1, v2 : UH1) : UH1 = │
00:00:36 #4928 [Verbose] > │ match v1 with │
00:00:36 #4929 [Verbose] > │ | UH1_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *) │
00:00:36 #4930 [Verbose] > │ match v2 with │
00:00:36 #4931 [Verbose] > │ | UH1_0(v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) -> (* Cons │
00:00:36 #4932 [Verbose] > │ *) │
00:00:36 #4933 [Verbose] > │ let v23 : float = v3 + v13 │
00:00:36 #4934 [Verbose] > │ let v24 : float = v4 + v14 │
00:00:36 #4935 [Verbose] > │ let v25 : float = v8 + v18 │
00:00:36 #4936 [Verbose] > │ let v26 : float = v5 + v15 │
00:00:36 #4937 [Verbose] > │ let v27 : float = v6 + v16 │
00:00:36 #4938 [Verbose] > │ let v28 : float = v7 + v17 │
00:00:36 #4939 [Verbose] > │ let v29 : float = v9 + v19 │
00:00:36 #4940 [Verbose] > │ let v30 : float = v10 + v20 │
00:00:36 #4941 [Verbose] > │ let v31 : float = v11 + v21 │
00:00:36 #4942 [Verbose] > │ let v32 : UH1 = UH1_0(v23, v24, v26, v27, v28, v25, v29, v30, │
00:00:36 #4943 [Verbose] > │ v31, v0) │
00:00:36 #4944 [Verbose] > │ method17(v32, v12, v22) │
00:00:36 #4945 [Verbose] > │ | _ -> │
00:00:36 #4946 [Verbose] > │ let v34 : UH1 = UH1_1 │
00:00:36 #4947 [Verbose] > │ method18(v0, v34) │
00:00:36 #4948 [Verbose] > │ | _ -> │
00:00:36 #4949 [Verbose] > │ let v37 : UH1 = UH1_1 │
00:00:36 #4950 [Verbose] > │ method18(v0, v37) │
00:00:36 #4951 [Verbose] > │ and closure8 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 = │
00:00:36 #4952 [Verbose] > │ let v3 : UH1 = v1 v2 │
00:00:36 #4953 [Verbose] > │ let v4 : float = v0 / 2.0 │
00:00:36 #4954 [Verbose] > │ let v5 : UH0 = UH0_1 │
00:00:36 #4955 [Verbose] > │ let v6 : UH0 = method1(v4, v5, v3, v2) │
00:00:36 #4956 [Verbose] > │ let v7 : UH1 = v1 v6 │
00:00:36 #4957 [Verbose] > │ let v8 : UH0 = UH0_1 │
00:00:36 #4958 [Verbose] > │ let v9 : UH0 = method1(v4, v8, v7, v2) │
00:00:36 #4959 [Verbose] > │ let v10 : UH1 = v1 v9 │
00:00:36 #4960 [Verbose] > │ let v11 : UH0 = UH0_1 │
00:00:36 #4961 [Verbose] > │ let v12 : UH0 = method1(v0, v11, v10, v2) │
00:00:36 #4962 [Verbose] > │ let v13 : UH1 = v1 v12 │
00:00:36 #4963 [Verbose] > │ let v14 : float = v0 / 6.0 │
00:00:36 #4964 [Verbose] > │ let v15 : UH1 = UH1_1 │
00:00:36 #4965 [Verbose] > │ let v16 : UH1 = method17(v15, v3, v7) │
00:00:36 #4966 [Verbose] > │ let v17 : UH1 = UH1_1 │
00:00:36 #4967 [Verbose] > │ let v18 : UH1 = method17(v17, v16, v7) │
00:00:36 #4968 [Verbose] > │ let v19 : UH1 = UH1_1 │
00:00:36 #4969 [Verbose] > │ let v20 : UH1 = method17(v19, v18, v10) │
00:00:36 #4970 [Verbose] > │ let v21 : UH1 = UH1_1 │
00:00:36 #4971 [Verbose] > │ let v22 : UH1 = method17(v21, v20, v10) │
00:00:36 #4972 [Verbose] > │ let v23 : UH1 = UH1_1 │
00:00:36 #4973 [Verbose] > │ let v24 : UH1 = method17(v23, v22, v13) │
00:00:36 #4974 [Verbose] > │ let v25 : UH0 = UH0_1 │
00:00:36 #4975 [Verbose] > │ let v26 : UH0 = method1(v14, v25, v24, v2) │
00:00:36 #4976 [Verbose] > │ v26 │
00:00:36 #4977 [Verbose] > │ and closure7 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) = │
00:00:36 #4978 [Verbose] > │ closure8(v0, v1) │
00:00:36 #4979 [Verbose] > │ and closure6 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) = │
00:00:36 #4980 [Verbose] > │ closure7(v0) │
00:00:36 #4981 [Verbose] > │ and method19 (v0 : UH4, v1 : UH5) : UH5 = │
00:00:36 #4982 [Verbose] > │ match v0 with │
00:00:36 #4983 [Verbose] > │ | UH4_0(v2, v3) -> (* Cons *) │
00:00:36 #4984 [Verbose] > │ let v4 : UH5 = method19(v3, v1) │
00:00:36 #4985 [Verbose] > │ let v18 : US0 = │
00:00:36 #4986 [Verbose] > │ match v2 with │
00:00:36 #4987 [Verbose] > │ | UH0_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* Cons │
00:00:36 #4988 [Verbose] > │ *) │
00:00:36 #4989 [Verbose] > │ US0_1(v5, v6, v7, v8, v9, v10, v11, v12, v13) │
00:00:36 #4990 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4991 [Verbose] > │ US0_0 │
00:00:36 #4992 [Verbose] > │ let struct (v46 : float, v47 : float, v48 : float, v49 : float, v50 │
00:00:36 #4993 [Verbose] > │ : float, v51 : float, v52 : float, v53 : float, v54 : float) = │
00:00:36 #4994 [Verbose] > │ match v18 with │
00:00:36 #4995 [Verbose] > │ | US0_0 -> (* None *) │
00:00:36 #4996 [Verbose] > │ failwith<struct (float * float * float * float * float * │
00:00:36 #4997 [Verbose] > │ float * float * float * float)> "Option does not have a value." │
00:00:36 #4998 [Verbose] > │ | US0_1(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* Some │
00:00:36 #4999 [Verbose] > │ *) │
00:00:36 #5000 [Verbose] > │ struct (v19, v20, v21, v22, v23, v24, v25, v26, v27) │
00:00:36 #5001 [Verbose] > │ let v55 : UH6 = UH6_1 │
00:00:36 #5002 [Verbose] > │ let v56 : UH6 = method13(v2, v55) │
00:00:36 #5003 [Verbose] > │ let v57 : float = 0.0 │
00:00:36 #5004 [Verbose] > │ let v58 : float = method14(v56, v57) │
00:00:36 #5005 [Verbose] > │ UH5_0(v51, v58, v4) │
00:00:36 #5006 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:36 #5007 [Verbose] > │ v1 │
00:00:36 #5008 [Verbose] > │ and method21 (v0 : UH6, v1 : int32) : int32 = │
00:00:36 #5009 [Verbose] > │ match v0 with │
00:00:36 #5010 [Verbose] > │ | UH6_0(v2, v3) -> (* Cons *) │
00:00:36 #5011 [Verbose] > │ let v4 : int32 = v1 + 1 │
00:00:36 #5012 [Verbose] > │ method21(v3, v4) │
00:00:36 #5013 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:36 #5014 [Verbose] > │ v1 │
00:00:36 #5015 [Verbose] > │ and method22 (v0 : (float []), v1 : UH6, v2 : int32) : int32 = │
00:00:36 #5016 [Verbose] > │ match v1 with │
00:00:36 #5017 [Verbose] > │ | UH6_0(v3, v4) -> (* Cons *) │
00:00:36 #5018 [Verbose] > │ v0.[int v2] <- v3 │
00:00:36 #5019 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:36 #5020 [Verbose] > │ method22(v0, v4, v5) │
00:00:36 #5021 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:36 #5022 [Verbose] > │ v2 │
00:00:36 #5023 [Verbose] > │ and method20 (v0 : UH6) : (float []) = │
00:00:36 #5024 [Verbose] > │ let v1 : int32 = 0 │
00:00:36 #5025 [Verbose] > │ let v2 : int32 = method21(v0, v1) │
00:00:36 #5026 [Verbose] > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:00:36 #5027 [Verbose] > │ let v4 : int32 = 0 │
00:00:36 #5028 [Verbose] > │ let v5 : int32 = method22(v3, v0, v4) │
00:00:36 #5029 [Verbose] > │ v3 │
00:00:36 #5030 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:36 #5031 [Verbose] > │ []) * (float [])) [])) = │
00:00:36 #5032 [Verbose] > │ let v0 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure0() │
00:00:36 #5033 [Verbose] > │ let v1 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v0 0.03 │
00:00:36 #5034 [Verbose] > │ let v2 : (UH0 -> UH1) = closure3() │
00:00:36 #5035 [Verbose] > │ let v3 : (UH0 -> UH0) = v1 v2 │
00:00:36 #5036 [Verbose] > │ let v4 : UH4 = UH4_1 │
00:00:36 #5037 [Verbose] > │ let v5 : int32 = 0 │
00:00:36 #5038 [Verbose] > │ let v6 : UH4 = method9(v3, v4, v5) │
00:00:36 #5039 [Verbose] > │ let v7 : UH5 = UH5_1 │
00:00:36 #5040 [Verbose] > │ let v8 : UH5 = method12(v6, v7) │
00:00:36 #5041 [Verbose] > │ let v9 : UH6 = UH6_1 │
00:00:36 #5042 [Verbose] > │ let v10 : UH6 = UH6_1 │
00:00:36 #5043 [Verbose] > │ let struct (v11 : UH6, v12 : UH6) = method15(v8, v9, v10) │
00:00:36 #5044 [Verbose] > │ let v13 : UH6 = UH6_1 │
00:00:36 #5045 [Verbose] > │ let v14 : UH6 = method16(v11, v13) │
00:00:36 #5046 [Verbose] > │ let v15 : UH6 = UH6_1 │
00:00:36 #5047 [Verbose] > │ let v16 : UH6 = method16(v12, v15) │
00:00:36 #5048 [Verbose] > │ let v17 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure6() │
00:00:36 #5049 [Verbose] > │ let v18 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v17 0.03 │
00:00:36 #5050 [Verbose] > │ let v19 : (UH0 -> UH0) = v18 v2 │
00:00:36 #5051 [Verbose] > │ let v20 : UH4 = UH4_1 │
00:00:36 #5052 [Verbose] > │ let v21 : int32 = 0 │
00:00:36 #5053 [Verbose] > │ let v22 : UH4 = method9(v19, v20, v21) │
00:00:36 #5054 [Verbose] > │ let v23 : UH5 = UH5_1 │
00:00:36 #5055 [Verbose] > │ let v24 : UH5 = method19(v22, v23) │
00:00:36 #5056 [Verbose] > │ let v25 : UH6 = UH6_1 │
00:00:36 #5057 [Verbose] > │ let v26 : UH6 = UH6_1 │
00:00:36 #5058 [Verbose] > │ let struct (v27 : UH6, v28 : UH6) = method15(v24, v25, v26) │
00:00:36 #5059 [Verbose] > │ let v29 : UH6 = UH6_1 │
00:00:36 #5060 [Verbose] > │ let v30 : UH6 = method16(v27, v29) │
00:00:36 #5061 [Verbose] > │ let v31 : UH6 = UH6_1 │
00:00:36 #5062 [Verbose] > │ let v32 : UH6 = method16(v28, v31) │
00:00:36 #5063 [Verbose] > │ let v33 : (float []) = method20(v14) │
00:00:36 #5064 [Verbose] > │ let v34 : (float []) = method20(v16) │
00:00:36 #5065 [Verbose] > │ let v35 : (float []) = method20(v30) │
00:00:36 #5066 [Verbose] > │ let v36 : (float []) = method20(v32) │
00:00:36 #5067 [Verbose] > │ let v37 : string = "euler-cromer" │
00:00:36 #5068 [Verbose] > │ let v38 : string = "runge-kutta 4" │
00:00:36 #5069 [Verbose] > │ let v39 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:36 #5070 [Verbose] > │ (v37, v33, v34); struct (v38, v35, v36)|] │
00:00:36 #5071 [Verbose] > │ let v40 : string = "system kinetic energy versus time" │
00:00:36 #5072 [Verbose] > │ let v41 : string = "time (s)" │
00:00:36 #5073 [Verbose] > │ let v42 : string = "system kinetic energy (j)" │
00:00:36 #5074 [Verbose] > │ struct (v40, v41, v42, v39) │
00:00:36 #5075 [Verbose] > │ method0() │
00:00:36 #5076 [Verbose] > │ │
00:00:36 #5077 [Verbose] > │ │
00:00:36 #5078 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 #5079 [Verbose] >
00:00:36 #5080 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:36 #5081 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:36 #5082 [Verbose] > │ ### wave 1 │
00:00:36 #5083 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 #5084 [Verbose] >
00:00:36 #5085 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:36 #5086 [Verbose] > // // test
00:00:36 #5087 [Verbose] >
00:00:36 #5088 [Verbose] > inl linear_spring k re (particle_state st1) (particle_state st2) =
00:00:36 #5089 [Verbose] > inl r1 = st1.pos_vec
00:00:36 #5090 [Verbose] > inl r2 = st2.pos_vec
00:00:36 #5091 [Verbose] > inl r21 = r2 ^-^ r1
00:00:36 #5092 [Verbose] > inl r21mag = magnitude r21
00:00:36 #5093 [Verbose] > -k * (r21mag - re) *^ r21 ^/ r21mag
00:00:36 #5094 [Verbose] >
00:00:36 #5095 [Verbose] > inl fixed_linear_spring k re r1 =
00:00:36 #5096 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:36 #5097 [Verbose] > linear_spring k re (particle_state { default_particle_state' with pos_vec =
00:00:36 #5098 [Verbose] > r1 })
00:00:36 #5099 [Verbose] >
00:00:36 #5100 [Verbose] > inl forces_string () =
00:00:36 #5101 [Verbose] > [[
00:00:36 #5102 [Verbose] > ExternalForce (0, fixed_linear_spring 5384 0 (zero_vec ()))
00:00:36 #5103 [Verbose] > ExternalForce (63, fixed_linear_spring 5384 0 (0.65 *^ i_hat ()))
00:00:36 #5104 [Verbose] > ]] /@ (
00:00:36 #5105 [Verbose] > listm'.init_series 0 59 1
00:00:36 #5106 [Verbose] > |> listm.map (fun n => InternalForce (n, n + 1, linear_spring 5384 0))
00:00:36 #5107 [Verbose] > )
00:00:36 #5108 [Verbose] >
00:00:36 #5109 [Verbose] > inl string_update dt =
00:00:36 #5110 [Verbose] > update_mps (runge_kutta_4 dt) (forces_string ())
00:00:36 #5111 [Verbose] >
00:00:36 #5112 [Verbose] > inl string_initial_overtone n =
00:00:36 #5113 [Verbose] > inl ball_mass = 0.0008293 * 0.65 / 64
00:00:36 #5114 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:36 #5115 [Verbose] > listm'.init_series 0.01 0.64 0.01
00:00:36 #5116 [Verbose] > |> listm.map (fun x =>
00:00:36 #5117 [Verbose] > inl y = 0.005 * sin (conv n * pi * x / 0.65)
00:00:36 #5118 [Verbose] > particle_state {
00:00:36 #5119 [Verbose] > default_particle_state' with
00:00:36 #5120 [Verbose] > mass = ball_mass
00:00:36 #5121 [Verbose] > pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()
00:00:36 #5122 [Verbose] > velocity = zero_vec ()
00:00:36 #5123 [Verbose] > }
00:00:36 #5124 [Verbose] > )
00:00:36 #5125 [Verbose] > |> multi_particle_state
00:00:36 #5126 [Verbose] >
00:00:36 #5127 [Verbose] > inl string_initial_pluck () =
00:00:36 #5128 [Verbose] > inl ball_mass = 0.0008293 * 0.65 / 64
00:00:36 #5129 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:36 #5130 [Verbose] > listm'.init_series 0.01 0.64 0.01
00:00:36 #5131 [Verbose] > |> listm.map (fun x =>
00:00:36 #5132 [Verbose] > inl y =
00:00:36 #5133 [Verbose] > inl n = if x <= 0.51 then 0 else 0.65
00:00:36 #5134 [Verbose] > 0.005 / (0.51 - n) * (x - n)
00:00:36 #5135 [Verbose] > particle_state {
00:00:36 #5136 [Verbose] > default_particle_state' with
00:00:36 #5137 [Verbose] > mass = ball_mass
00:00:36 #5138 [Verbose] > pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()
00:00:36 #5139 [Verbose] > velocity = zero_vec ()
00:00:36 #5140 [Verbose] > }
00:00:36 #5141 [Verbose] > )
00:00:36 #5142 [Verbose] > |> multi_particle_state
00:00:36 #5143 [Verbose] >
00:00:36 #5144 [Verbose] > let main () =
00:00:36 #5145 [Verbose] > inl ~frames = listm'.init_series 0 9 1f64
00:00:36 #5146 [Verbose] > inl initial_state = string_initial_overtone 3i32
00:00:36 #5147 [Verbose] > inl frames =
00:00:36 #5148 [Verbose] > frames
00:00:36 #5149 [Verbose] > |> listm.map (fun n =>
00:00:36 #5150 [Verbose] > inl (multi_particle_state sts) =
00:00:36 #5151 [Verbose] > seq.iterate' (string_update 0.000025) initial_state |> fun f =>
00:00:36 #5152 [Verbose] > f 0f64
00:00:36 #5153 [Verbose] > inl rs =
00:00:36 #5154 [Verbose] > [[ zero_vec () ]]
00:00:36 #5155 [Verbose] > /@ (sts |> listm.map (fun (particle_state st) => st.pos_vec))
00:00:36 #5156 [Verbose] > /@ [[ 0.65 *^ i_hat () ]]
00:00:36 #5157 [Verbose] > inl x, y =
00:00:36 #5158 [Verbose] > rs
00:00:36 #5159 [Verbose] > |> listm.map (fun r => r.x, r.y)
00:00:36 #5160 [Verbose] > |> listm'.unzip
00:00:36 #5161 [Verbose] > inl x : a i32 _ = x |> listm.toArray
00:00:36 #5162 [Verbose] > inl y : a i32 _ = y |> listm.toArray
00:00:36 #5163 [Verbose] > x, y
00:00:36 #5164 [Verbose] > )
00:00:36 #5165 [Verbose] > |> listm.toArray : a i32 _
00:00:36 #5166 [Verbose] >
00:00:36 #5167 [Verbose] > inl n = 0i32
00:00:36 #5168 [Verbose] >
00:00:36 #5169 [Verbose] > inl x, y = index frames n
00:00:36 #5170 [Verbose] >
00:00:36 #5171 [Verbose] > "wave",
00:00:36 #5172 [Verbose] > "position (m)",
00:00:36 #5173 [Verbose] > "displacement (m)",
00:00:36 #5174 [Verbose] > ;[[
00:00:36 #5175 [Verbose] > ($"$\"{!n}\"" : string), x, y
00:00:36 #5176 [Verbose] > ]]
00:00:36 #5177 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0495-9574-9da628678a3d\main.spi
00:00:36 #5178 [Verbose] > Stack overflow.
00:00:36 #5179 [Verbose] > Repeat 2 times:
00:00:36 #5180 [Verbose] > --------------------------------
00:00:36 #5181 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5182 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5183 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5184 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5185 [Verbose] > --------------------------------
00:00:36 #5186 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5187 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5188 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5189 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5190 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5191 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5192 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5193 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5194 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5195 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5196 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5197 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5198 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5199 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5200 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5201 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5202 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5203 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5204 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5205 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5206 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5207 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5208 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5209 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5210 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5211 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5212 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5213 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5214 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5215 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5216 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5217 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5218 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5219 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5220 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5221 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5222 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5223 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5224 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5225 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5226 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5227 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5228 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5229 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5230 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5231 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5232 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5233 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5234 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5235 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5236 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5237 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5238 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5239 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5240 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5241 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5242 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5243 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5244 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5245 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5246 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5247 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5248 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5249 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5250 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5251 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5252 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5253 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5254 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5255 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5256 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5257 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5258 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5259 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5260 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5261 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5262 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5263 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5264 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5265 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5266 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5267 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5268 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5269 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5270 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5271 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5272 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5273 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5274 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5275 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5276 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5277 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5278 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5279 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5280 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5281 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5282 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5283 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5284 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5285 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5286 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5287 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5288 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5289 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5290 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5291 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5292 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5293 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5294 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5295 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5296 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5297 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5298 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5299 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5300 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5301 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5302 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5303 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5304 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5305 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5306 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5307 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5308 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5309 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5310 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5311 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5312 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5313 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5314 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5315 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5316 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5317 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5318 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5319 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5320 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5321 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5322 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5323 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5324 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5325 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5326 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5327 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5328 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5329 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5330 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5331 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5332 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5333 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5334 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5335 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5336 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5337 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5338 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5339 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5340 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5341 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5342 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5343 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5344 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5345 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5346 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5347 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5348 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5349 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5350 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5351 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5352 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5353 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5354 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5355 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5356 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5357 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5358 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5359 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5360 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5361 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5362 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5363 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5364 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5365 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5366 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5367 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5368 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5369 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5370 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5371 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5372 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5373 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5374 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5375 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5376 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5377 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5378 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5379 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5380 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5381 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5382 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5383 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5384 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5385 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5386 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5387 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5388 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5389 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5390 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5391 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5392 [Verbose] > at Spiral.PartEval.Main.body@1060-29(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, Microsoft.FSharp.Core.FSharpFunc`2<Boolean,Microsoft.FSharp.Core.FSharpFunc`2<LangEnv,Microsoft.FSharp.Core.FSharpFunc`2<Data,Data>>>, E, E, System.String, Int32, LangEnv, L`2<Int32,Ty>, H`1<<>f__AnonymousType3599534058`5<Microsoft.FSharp.Collections.FSharpMap`2<System.String,Ty>,Boolean,UnionLayout,System.Tuple`2<System.String,Ty>[],System.Collections.Generic.Dictionary`2<System.String,Int32>>>, Microsoft.FSharp.Collections.FSharpSet`1<System.String>)
00:00:36 #5393 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5394 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5395 [Verbose] > at Spiral.PartEval.Main.term_scope''@574(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5396 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5397 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5398 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5399 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5400 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5401 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5402 [Verbose] > at Spiral.PartEval.Main.term_scope''@574(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5403 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5404 [Verbose] > at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)
00:00:36 #5405 [Verbose] > at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5406 [Verbose] > at Spiral.PartEval.Main.term_scope''@574(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5407 [Verbose] > at Spiral.PartEval.Main.term_scope@579(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)
00:00:36 #5408 [Verbose] > at Spiral.PartEval.Main.peval(TopEnv, E)
00:00:36 #5409 [Verbose] > at Spiral.Supervisor.file_build$cont@383(System.String, SupervisorState, PrepassTopEnv, Microsoft.FSharp.Core.FSharpOption`1<E>, Microsoft.FSharp.Core.Unit)
00:00:36 #5410 [Verbose] > at Spiral.Supervisor.x2yJ@1-28(SupervisorErrorSources, System.String, System.String, SupervisorState, PrepassTopEnv)
00:00:36 #5411 [Verbose] > at Spiral.Supervisor+x2yJ@380-41.Do(PrepassTopEnv)
00:00:36 #5412 [Verbose] > at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)
00:00:36 #5413 [Verbose] > at Hopac.Job+result@1000-1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5414 [Verbose] > at Hopac.Job+result@1000-1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5415 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5416 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5417 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5418 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)
00:00:36 #5419 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5420 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5421 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5422 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5423 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5424 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5425 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)
00:00:36 #5426 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5427 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5428 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5429 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5430 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5431 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5432 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)
00:00:36 #5433 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5434 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5435 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5436 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5437 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5438 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5439 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)
00:00:36 #5440 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5441 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5442 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5443 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5444 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5445 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5446 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)
00:00:36 #5447 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5448 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5449 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5450 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5451 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5452 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5453 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)
00:00:36 #5454 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5455 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:36 #5456 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5457 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5458 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5459 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5460 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)
00:00:37 #5461 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5462 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5463 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5464 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5465 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5466 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5467 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)
00:00:37 #5468 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5469 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5470 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5471 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5472 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5473 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5474 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)
00:00:37 #5475 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5476 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5477 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5478 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5479 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5480 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5481 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)
00:00:37 #5482 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5483 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5484 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5485 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5486 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5487 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5488 [Verbose] > at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)
00:00:37 #5489 [Verbose] > at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5490 [Verbose] > at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5491 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5492 [Verbose] > at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)
00:00:37 #5493 [Verbose] > at Hopac.Core.Worker.Run(Hopac.Scheduler, Int32)
00:00:37 #5494 [Verbose] > at Hopac.Platform.Scheduler+thread@30.Invoke()
00:00:37 #5495 [Verbose] > at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
00:00:43 #5496 [Debug] executeAsync / exitCode: -1073741571 / output.Length: 180218
00:00:43 #5497 [Debug] awaitCompiler / exitCode: -1073741571 / result: pwd: C:\home\git\polyglot\lib\spiral
dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
Server bound to: http://localhost:13805
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4368-6863-650560fb81f7\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4565-6595-64473fe9ad31\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4587-8704-8f799ce189ba\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4631-3131-3b2eda2bd9cc\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4656-5617-592e3682b974\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4679-7957-7d342d370c77\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4696-9665-9fbee64ccb18\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4717-1707-10ea385d0f89\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4743-4392-44a63e4648ee\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4759-5993-52cfd2333cb2\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4781-8182-81573105f410\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4801-0180-0e3f55cd0b79\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4817-1796-12a0d8bb91c6\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4835-3553-3fb49930573f\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4850-5096-5a57f81cae19\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4872-7254-78c5c79c81ac\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4908-0875-0c5dbc25e853\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4922-2296-25324c0221d0\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4938-3876-3f7a806c3029\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4955-5559-5712bcbd166c\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-4981-8168-80c53b0dcd80\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5036-3632-367be53902dd\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5053-5334-5fa892eaee8d\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5071-7184-7accfbec3530\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5171-7156-74f2434d76cb\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5191-9156-91193f75d446\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5248-4819-4d9b31f997e9\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5266-6681-651f8f276641\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5310-1027-125ad52b6ae8\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5344-4470-4d906344cb6e\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5365-6517-69ce99dc5ca2\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5411-1159-12ab5f740666\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5427-2797-288112e5ff54\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5449-4918-411e46384ac5\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5464-6442-65347973e189\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5480-8027-82a4a670ec07\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5499-9925-9a0879e873a1\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5514-1447-129cefa69a9e\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5531-3151-3db8730c27de\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5547-4793-41fdca512037\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5566-6661-6ccf02ee47af\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5584-8499-88e9ada22f69\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5607-0703-0a7f9dd284ea\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5625-2520-223429f8d442\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5641-4161-419ada5b2ed3\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5662-6247-6b59aef42d01\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5680-8073-8b031ffc2974\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5697-9716-9910a3b7737a\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5713-1379-1ca8dcce21d3\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5749-4927-45bd3089ac6a\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5763-6385-64a8033647f8\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5780-8073-8ab06079b93e\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5795-9555-9ceb0598e992\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5811-1192-130b314e72a0\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5831-3178-3dcc6d3b6c7e\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5850-5072-556352f37845\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5867-6736-6e04b66340a2\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5886-8691-8fb4b64dc6cc\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5901-0195-03781e0ad0ee\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5919-1981-1e71ee457995\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5935-3522-352cb2394e30\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1545-5952-5217-55d24317f1a0\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0054-5423-51e47ea8f018\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0123-2380-202a8a546b6e\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0146-4686-4e95dab205ea\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0219-1964-1d761fcfe6b7\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0239-3996-31dacf5aa736\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0309-0968-0a4a2762bf73\main.spi
Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-0495-9574-9da628678a3d\main.spi
[Stack overflow.]
[Repeat 2 times:]
[--------------------------------]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[--------------------------------]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.body@1060-29(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, Microsoft.FSharp.Core.FSharpFunc`2<Boolean,Microsoft.FSharp.Core.FSharpFunc`2<LangEnv,Microsoft.FSharp.Core.FSharpFunc`2<Data,Data>>>, E, E, System.String, Int32, LangEnv, L`2<Int32,Ty>, H`1<<>f__AnonymousType3599534058`5<Microsoft.FSharp.Collections.FSharpMap`2<System.String,Ty>,Boolean,UnionLayout,System.Tuple`2<System.String,Ty>[],System.Collections.Generic.Dictionary`2<System.String,Int32>>>, Microsoft.FSharp.Collections.FSharpSet`1<System.String>)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term_scope''@574(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term_scope''@574(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr, Void (IntPtr, Byte ByRef, System.Runtime.CompilerServices.PortableTailCallFrame*), Byte ByRef)]
[ at Spiral.PartEval.Main.term@684-65(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term_scope''@574(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.term_scope@579(TopEnv, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`2<RData[],Ty[]>>,System.Tuple`3<Microsoft.FSharp.Core.FSharpOption`1<TypedBind[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>,Microsoft.FSharp.Core.FSharpOption`1<System.String>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<E,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<System.Tuple`4<RData[],Ty[],Ty,Ty>>,Microsoft.FSharp.Core.FSharpOption`1<System.Tuple`2<Data,TypedBind[]>>>,HashConsTable>>, System.Collections.Generic.Dictionary`2<T,System.Tuple`2<System.Collections.Generic.Dictionary`2<ConsedNode`1<Ty[]>,Microsoft.FSharp.Core.FSharpOption`1<Ty>>,HashConsTable>>, Microsoft.FSharp.Core.FSharpOption`1<Microsoft.FSharp.Core.FSharpFunc`2<Microsoft.FSharp.Core.Unit,Microsoft.FSharp.Core.Unit>>, LangEnv, E)]
[ at Spiral.PartEval.Main.peval(TopEnv, E)]
[ at Spiral.Supervisor.file_build$cont@383(System.String, SupervisorState, PrepassTopEnv, Microsoft.FSharp.Core.FSharpOption`1<E>, Microsoft.FSharp.Core.Unit)]
[ at Spiral.Supervisor.x2yJ@1-28(SupervisorErrorSources, System.String, System.String, SupervisorState, PrepassTopEnv)]
[ at Spiral.Supervisor+x2yJ@380-41.Do(PrepassTopEnv)]
[ at Hopac.Core.ContBind`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]
[ at Hopac.Job+result@1000-1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Job+result@1000-1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]
[ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]
[ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]
[ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]
[ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]
[ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]
[ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]
[ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]
[ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]
[ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]
[ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.ContMap`2[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoCont(Hopac.Core.Worker ByRef, System.__Canon)]
[ at Hopac.Core.JobThunk`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Job.Do[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](Hopac.Job`1<System.__Canon>, Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Promise`1[[System.__Canon, System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].DoJob(Hopac.Core.Worker ByRef, Hopac.Core.Cont`1<System.__Canon>)]
[ at Hopac.Core.Worker.Run(Hopac.Scheduler, Int32)]
[ at Hopac.Platform.Scheduler+thread@30.Invoke()]
[ at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)]
00:00:43 #5498 [Warning] executeAsync / WaitForExitAsync / ex: System.Threading.Tasks.TaskCanceledException: A task was canceled.
00:00:43 #5499 [Debug] executeAsync / exitCode: -2147483648 / output.Length: 329037
00:00:43 #5500 [Debug] main / executeCommand / exitCode: -2147483648
# Invoke-Block / $Retries: 5 / $OnError: Stop / $exitcode: -2147483648 / $EnvVars: null / $Error: '' / $ScriptBlock:
'. ../../apps/spiral/dist/Supervisor$(GetExecutableSuffix) --executecommand "pwsh -c `"../../scripts/invoke-dib.ps1 physics.dib`""'
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\lib\spiral
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 physics.dib""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ # physics │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > #!import ../nbs/Plotting.dib
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:03 #21 [Verbose] > #r
00:00:03 #22 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
00:00:03 #23 [Verbose] > spNetCore.Html.Abstractions.dll"
00:00:03 #24 [Verbose] > #r
00:00:03 #25 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:03 #26 [Verbose] > otNet.Interactive.dll"
00:00:03 #27 [Verbose] > #r
00:00:03 #28 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:03 #29 [Verbose] > otNet.Interactive.FSharp.dll"
00:00:03 #30 [Verbose] > #r
00:00:03 #31 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:03 #32 [Verbose] > otNet.Interactive.Formatting.dll"
00:00:03 #33 [Verbose] > open System
00:00:03 #34 [Verbose] > open System.IO
00:00:03 #35 [Verbose] > open System.Text
00:00:03 #36 [Verbose] > open Microsoft.DotNet.Interactive.Formatting
00:00:07 #37 [Verbose] >
00:00:07 #38 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:07 #39 [Verbose] > #r
00:00:07 #40 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:07 #41 [Verbose] > otNet.Interactive.FSharp.dll"
00:00:07 #42 [Verbose] > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
00:00:07 #43 [Verbose] > #r
00:00:07 #44 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:07 #45 [Verbose] > otNet.Interactive.dll"
00:00:07 #46 [Verbose] > open type Microsoft.DotNet.Interactive.Kernel
00:00:07 #47 [Verbose] >
00:00:07 #48 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:07 #49 [Verbose] > //// test
00:00:07 #50 [Verbose] >
00:00:07 #51 [Verbose] > Formatter.ListExpansionLimit <- 100
00:00:07 #52 [Verbose] >
00:00:07 #53 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:07 #54 [Verbose] > #r
00:00:07 #55 [Verbose] > @"../../../../../../../.nuget/packages/fsharp.control.asyncseq/3.2.1/lib/netstan
00:00:07 #56 [Verbose] > dard2.1/FSharp.Control.AsyncSeq.dll"
00:00:07 #57 [Verbose] > #r
00:00:07 #58 [Verbose] > @"../../../../../../../.nuget/packages/system.reactive/6.0.1-preview.1/lib/net6.
00:00:07 #59 [Verbose] > 0/System.Reactive.dll"
00:00:07 #60 [Verbose] > #r
00:00:07 #61 [Verbose] > @"../../../../../../../.nuget/packages/system.reactive.linq/6.0.1-preview.1/lib
00:00:07 #62 [Verbose] > netstandard2.0/System.Reactive.Linq.dll"
00:00:07 #63 [Verbose] > #r
00:00:07 #64 [Verbose] > @"../../../../../../../.nuget/packages/argu/6.1.1/lib/netstandard2.0/Argu.dll"
00:00:07 #65 [Verbose] > #r
00:00:07 #66 [Verbose] > @"../../../../../../../.nuget/packages/system.commandline/2.0.0-beta4.22272.1/li
00:00:07 #67 [Verbose] > b/net6.0/System.CommandLine.dll"
00:00:07 #68 [Verbose] > #r
00:00:07 #69 [Verbose] > @"../../../../../../../.nuget/packages/fsharp.json/0.4.1/lib/netstandard2.0/FSha
00:00:07 #70 [Verbose] > rp.Json.dll"
00:00:07 #71 [Verbose] >
00:00:07 #72 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:07 #73 [Verbose] > #if !INTERACTIVE
00:00:07 #74 [Verbose] > namespace Polyglot
00:00:07 #75 [Verbose] > #endif
00:00:07 #76 [Verbose] >
00:00:07 #77 [Verbose] > module Common =
00:00:07 #78 [Verbose] >
00:00:07 #79 [Verbose] > let nl = System.Environment.NewLine
00:00:07 #80 [Verbose] > let q = @""""
00:00:07 #81 [Verbose] >
00:00:07 #82 [Verbose] > let inline cons head tail = head :: tail
00:00:07 #83 [Verbose] >
00:00:07 #84 [Verbose] > module String =
00:00:07 #85 [Verbose] > let inline contains (value : string) (input : string) =
00:00:07 #86 [Verbose] > input.Contains value
00:00:07 #87 [Verbose] >
00:00:07 #88 [Verbose] > let inline endsWith (value : string) (input : string) =
00:00:07 #89 [Verbose] > input.EndsWith value
00:00:07 #90 [Verbose] >
00:00:07 #91 [Verbose] > let inline padLeft totalWidth paddingChar (input : string) =
00:00:07 #92 [Verbose] > input.PadLeft (totalWidth, paddingChar)
00:00:07 #93 [Verbose] >
00:00:07 #94 [Verbose] > let inline replace (oldValue : string) (newValue : string) (input :
00:00:07 #95 [Verbose] > string) =
00:00:07 #96 [Verbose] > input.Replace (oldValue, newValue)
00:00:07 #97 [Verbose] >
00:00:07 #98 [Verbose] > let inline split separator (input : string) =
00:00:07 #99 [Verbose] > input.Split separator
00:00:07 #100 [Verbose] >
00:00:07 #101 [Verbose] > let inline spli...
00:00:09 #102 [Verbose] >
00:00:09 #103 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:09 #104 [Verbose] > #if !INTERACTIVE
00:00:09 #105 [Verbose] > namespace Polyglot
00:00:09 #106 [Verbose] > #endif
00:00:09 #107 [Verbose] >
00:00:09 #108 [Verbose] > module CommonFSharp =
00:00:09 #109 [Verbose] >
00:00:09 #110 [Verbose] > open Common
00:00:09 #111 [Verbose] >
00:00:09 #112 [Verbose] > /// ## getUnionCaseName
00:00:09 #113 [Verbose] >
00:00:09 #114 [Verbose] > let inline getUnionCaseName<'T> (x: 'T) =
00:00:09 #115 [Verbose] > match Reflection.FSharpValue.GetUnionFields(x, typeof<'T>) with
00:00:09 #116 [Verbose] > | case, _ -> case.Name
00:00:09 #117 [Verbose] >
00:00:09 #118 [Verbose] >
00:00:09 #119 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:09 #120 [Verbose] > #if !INTERACTIVE
00:00:09 #121 [Verbose] > namespace Polyglot
00:00:09 #122 [Verbose] > #endif
00:00:09 #123 [Verbose] >
00:00:09 #124 [Verbose] > module Crypto =
00:00:09 #125 [Verbose] >
00:00:09 #126 [Verbose] > open Common
00:00:09 #127 [Verbose] >
00:00:09 #128 [Verbose] > /// ## hashText
00:00:09 #129 [Verbose] >
00:00:09 #130 [Verbose] > let hashText (input : string) =
00:00:09 #131 [Verbose] > use sha256 = System.Security.Cryptography.SHA256.Create ()
00:00:09 #132 [Verbose] > input
00:00:09 #133 [Verbose] > |> System.Text.Encoding.UTF8.GetBytes
00:00:09 #134 [Verbose] > |> sha256.ComputeHash
00:00:09 #135 [Verbose] > |> Array.map (fun b -> b.ToString "x2")
00:00:09 #136 [Verbose] > |> String.concat ""
00:00:09 #137 [Verbose] >
00:00:09 #138 [Verbose] >
00:00:09 #139 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:09 #140 [Verbose] > #if !INTERACTIVE
00:00:09 #141 [Verbose] > namespace Polyglot
00:00:09 #142 [Verbose] > #endif
00:00:09 #143 [Verbose] >
00:00:09 #144 [Verbose] > module Async =
00:00:09 #145 [Verbose] >
00:00:09 #146 [Verbose] > open Common
00:00:09 #147 [Verbose] >
00:00:09 #148 [Verbose] > /// ## choice
00:00:09 #149 [Verbose] >
00:00:09 #150 [Verbose] > let inline choice asyncs = async {
00:00:09 #151 [Verbose] > let e = Event<_> ()
00:00:09 #152 [Verbose] > use cts = new System.Threading.CancellationTokenSource ()
00:00:09 #153 [Verbose] > let fn =
00:00:09 #154 [Verbose] > asyncs
00:00:09 #155 [Verbose] > |> Seq.map (fun a -> async {
00:00:09 #156 [Verbose] > let! x = a
00:00:09 #157 [Verbose] > e.Trigger x
00:00:09 #158 [Verbose] > })
00:00:09 #159 [Verbose] > |> Async.Parallel
00:00:09 #160 [Verbose] > |> Async.Ignore
00:00:09 #161 [Verbose] > Async.Start (fn, cts.Token)
00:00:09 #162 [Verbose] > let! result = Async.AwaitEvent e.Publish
00:00:09 #163 [Verbose] > cts.Cancel ()
00:00:09 #164 [Verbose] > return result
00:00:09 #165 [Verbose] > }
00:00:09 #166 [Verbose] >
00:00:09 #167 [Verbose] > /// ## map
00:00:09 #168 [Verbose] >
00:00:09 #169 [Verbose] > let inline map fn a = async {
00:00:09 #170 [Verbose] > let! x = a
00:00:09 #171 [Verbose] > return fn x
00:00:09 #172 [Verbose] > }
00:00:09 #173 [Verbose] >
00:00:09 #174 [Verbose] > /// ## catch
00:00:09 #175 [Verbose] >
00:00:09 #176 [Verbose] > let inline catch a =
00:00:09 #177 [Verbose] > a
00:00:09 #178 [Verbose] > |> Async.Catch
00:00:09 #179 [Verbose] > ...
00:00:10 #180 [Verbose] >
00:00:10 #181 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:10 #182 [Verbose] > #if !INTERACTIVE
00:00:10 #183 [Verbose] > namespace Polyglot
00:00:10 #184 [Verbose] > #endif
00:00:10 #185 [Verbose] >
00:00:10 #186 [Verbose] > module AsyncSeq =
00:00:10 #187 [Verbose] >
00:00:10 #188 [Verbose] > open Common
00:00:10 #189 [Verbose] >
00:00:10 #190 [Verbose] > /// ## subscribeEvent
00:00:10 #191 [Verbose] >
00:00:10 #192 [Verbose] > let inline subscribeEvent (event: IEvent<'H, 'A>) map =
00:00:10 #193 [Verbose] > let observable = System.Reactive.Linq.Observable.FromEventPattern<'H,
00:00:10 #194 [Verbose] > 'A>(event.AddHandler, event.RemoveHandler)
00:00:10 #195 [Verbose] > System.Reactive.Linq.Observable.Select (observable, fun event -> map
00:00:10 #196 [Verbose] > event.EventArgs)
00:00:10 #197 [Verbose] > |> FSharp.Control.AsyncSeq.ofObservableBuffered
00:00:10 #198 [Verbose] >
00:00:10 #199 [Verbose] > let subscribeToken (token : System.Threading.CancellationToken) =
00:00:10 #200 [Verbose] > let tcs = new System.Threading.Tasks.TaskCompletionSource ()
00:00:10 #201 [Verbose] > System.Action tcs.SetResult |> token.Register |> ignore
00:00:10 #202 [Verbose] > let start = System.DateTime.Now.Ticks
00:00:10 #203 [Verbose] > FSharp.Control.AsyncSeq.unfoldAsync
00:00:10 #204 [Verbose] > (fun (...
00:00:10 #205 [Verbose] >
00:00:10 #206 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:10 #207 [Verbose] > #if !INTERACTIVE
00:00:10 #208 [Verbose] > namespace Polyglot
00:00:10 #209 [Verbose] > #endif
00:00:10 #210 [Verbose] >
00:00:10 #211 [Verbose] > module Networking =
00:00:10 #212 [Verbose] >
00:00:10 #213 [Verbose] > open Common
00:00:10 #214 [Verbose] >
00:00:10 #215 [Verbose] > /// ## testPortOpen
00:00:10 #216 [Verbose] >
00:00:10 #217 [Verbose] > let inline testPortOpen port = async {
00:00:10 #218 [Verbose] > let! ct = Async.CancellationToken
00:00:10 #219 [Verbose] > use client = new System.Net.Sockets.TcpClient ()
00:00:10 #220 [Verbose] > try
00:00:10 #221 [Verbose] > do! client.ConnectAsync ("127.0.0.1", port, ct) |>
00:00:10 #222 [Verbose] > Async.awaitValueTaskUnit
00:00:10 #223 [Verbose] > return true
00:00:10 #224 [Verbose] > with ex ->
00:00:10 #225 [Verbose] > trace Verbose (fun () -> $"testPortOpen / ex: {ex |>
00:00:10 #226 [Verbose] > printException}") getLocals
00:00:10 #227 [Verbose] > return false
00:00:10 #228 [Verbose] > }
00:00:10 #229 [Verbose] >
00:00:10 #230 [Verbose] > let inline testPortOpenTimeout timeout port = async {
00:00:10 #231 [Verbose] > let! result =
00:00:10 #232 [Verbose] > testPortOpen port
00:00:10 #233 [Verbose] > |> Async.runWithTimeoutAsync timeout
00:00:10 #234 [Verbose] > return
00:00:10 #235 [Verbose] > match result with
00:00:10 #236 [Verbose] > | None -> false
00:00:10 #237 [Verbose] > ...
00:00:10 #238 [Verbose] >
00:00:10 #239 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:10 #240 [Verbose] > #if !INTERACTIVE
00:00:10 #241 [Verbose] > namespace Polyglot
00:00:10 #242 [Verbose] > #endif
00:00:10 #243 [Verbose] >
00:00:10 #244 [Verbose] > module Runtime =
00:00:10 #245 [Verbose] >
00:00:10 #246 [Verbose] > open Common
00:00:10 #247 [Verbose] >
00:00:10 #248 [Verbose] > /// ## isWindows
00:00:10 #249 [Verbose] >
00:00:10 #250 [Verbose] > let isWindows =
00:00:10 #251 [Verbose] > fun () ->
00:00:10 #252 [Verbose] > System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform
00:00:10 #253 [Verbose] > System.Runtime.InteropServices.OSPlatform.Windows
00:00:10 #254 [Verbose] > |> memoize
00:00:10 #255 [Verbose] >
00:00:10 #256 [Verbose] > /// ## getExecutableSuffix
00:00:10 #257 [Verbose] >
00:00:10 #258 [Verbose] > let inline getExecutableSuffix () =
00:00:10 #259 [Verbose] > if isWindows ()
00:00:10 #260 [Verbose] > then ".exe"
00:00:10 #261 [Verbose] > else ""
00:00:10 #262 [Verbose] >
00:00:10 #263 [Verbose] > /// ## splitCommand
00:00:10 #264 [Verbose] >
00:00:10 #265 [Verbose] > type private CommandParseStep =
00:00:10 #266 [Verbose] > | Start
00:00:10 #267 [Verbose] > | Path of quoted: bool
00:00:10 #268 [Verbose] > | Arguments
00:00:10 #269 [Verbose] >
00:00:10 #270 [Verbose] > let splitCommand (command: string) =
00:00:10 #271 [Verbose] > let rec loop (path, args) chars step =
00:00:10 #272 [Verbose] > match chars, step with
00:00:10 #273 [Verbose] > | ('"' | '\'') :: tail, _ when path = "" -> loop (pat...
00:00:11 #274 [Verbose] >
00:00:11 #275 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:11 #276 [Verbose] > #if !INTERACTIVE
00:00:11 #277 [Verbose] > namespace Polyglot
00:00:11 #278 [Verbose] > #endif
00:00:11 #279 [Verbose] >
00:00:11 #280 [Verbose] > module FileSystem =
00:00:11 #281 [Verbose] >
00:00:11 #282 [Verbose] > open Common
00:00:11 #283 [Verbose] >
00:00:11 #284 [Verbose] > /// ## Operators
00:00:11 #285 [Verbose] >
00:00:11 #286 [Verbose] > module Operators =
00:00:11 #287 [Verbose] > let inline (</>) a b =
00:00:11 #288 [Verbose] > System.IO.Path.Combine (a, b)
00:00:11 #289 [Verbose] >
00:00:11 #290 [Verbose] > open Operators
00:00:11 #291 [Verbose] >
00:00:11 #292 [Verbose] > /// ## createTempDirectoryName
00:00:11 #293 [Verbose] >
00:00:11 #294 [Verbose] > let inline createTempDirectoryName () =
00:00:11 #295 [Verbose] > let root = System.Reflection.Assembly.GetEntryAssembly().GetName().Name
00:00:11 #296 [Verbose] >
00:00:11 #297 [Verbose] > System.IO.Path.GetTempPath ()
00:00:11 #298 [Verbose] > </> $"!{root}"
00:00:11 #299 [Verbose] > </> string (newGuidFromDateTime System.DateTime.Now)
00:00:11 #300 [Verbose] >
00:00:11 #301 [Verbose] > /// ## createTempDirectory
00:00:11 #302 [Verbose] >
00:00:11 #303 [Verbose] > let inline createTempDirectory () =
00:00:11 #304 [Verbose] > let tempFolder = createTempDirectoryName ()
00:00:11 #305 [Verbose] > let result = System.IO.Directory.CreateDirectory tempFolder
00:00:11 #306 [Verbose] >
00:00:11 #307 [Verbose] > if not result.Exists then
00:00:11 #308 [Verbose] > let ge...
00:00:14 #309 [Verbose] >
00:00:14 #310 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:14 #311 [Verbose] > open Common
00:00:14 #312 [Verbose] > open FileSystem.Operators
00:00:14 #313 [Verbose] >
00:00:14 #314 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:14 #315 [Verbose] > let tmpSpiralPath = Path.GetTempPath () </> "!dotnet-interactive-spiral"
00:00:14 #316 [Verbose] > let linePlotsDataPath = tmpSpiralPath </> "line-plots-data"
00:00:14 #317 [Verbose] > let linePlotsSvgPath = tmpSpiralPath </> "line-plots-svg"
00:00:14 #318 [Verbose] >
00:00:14 #319 [Verbose] > [[ tmpSpiralPath; linePlotsDataPath; linePlotsSvgPath ]]
00:00:14 #320 [Verbose] > |> List.iter (fun dir -> if Directory.Exists dir |> not then
00:00:14 #321 [Verbose] > Directory.CreateDirectory dir |> ignore)
00:00:14 #322 [Verbose] >
00:00:14 #323 [Verbose] > Formatter.Register<struct (string * string * string * struct (string * float
00:00:14 #324 [Verbose] > array * float array) array)> (
00:00:14 #325 [Verbose] > (fun struct (caption, x_desc, y_desc, ys) ->
00:00:14 #326 [Verbose] > let json = (caption, x_desc, y_desc, ys) |> FSharp.Json.Json.serialize
00:00:14 #327 [Verbose] > async {
00:00:14 #328 [Verbose] > let hashHex = json |> Crypto.hashText
00:00:14 #329 [Verbose] > let svgPath = linePlotsSvgPath </> $"{hashHex}.svg"
00:00:14 #330 [Verbose] >
00:00:14 #331 [Verbose] > if System.IO.File.Exi...
00:00:14 #332 [Verbose] >
00:00:14 #333 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:14 #334 [Verbose] > // // test
00:00:14 #335 [Verbose] >
00:00:14 #336 [Verbose] > open testing
00:00:16 #337 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-4945-4554-4e76a01b554a\main.spi
00:00:17 #338 [Verbose] >
00:00:17 #339 [Verbose] > ╭─[ 2.43s - stdout ]───────────────────────────────────────────────────────────╮
00:00:17 #340 [Verbose] > │ () │
00:00:17 #341 [Verbose] > │ │
00:00:17 #342 [Verbose] > │ │
00:00:17 #343 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 #344 [Verbose] >
00:00:17 #345 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 #346 [Verbose] > inl (/@) x = listm'.(/@) x
00:00:17 #347 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5128-2812-201a7bcd9503\main.spi
00:00:17 #348 [Verbose] >
00:00:17 #349 [Verbose] > ╭─[ 223.68ms - stdout ]────────────────────────────────────────────────────────╮
00:00:17 #350 [Verbose] > │ () │
00:00:17 #351 [Verbose] > │ │
00:00:17 #352 [Verbose] > │ │
00:00:17 #353 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 #354 [Verbose] >
00:00:17 #355 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:17 #356 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:17 #357 [Verbose] > │ ## init_series │
00:00:17 #358 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:17 #359 [Verbose] >
00:00:17 #360 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:17 #361 [Verbose] > // // test
00:00:17 #362 [Verbose] >
00:00:17 #363 [Verbose] > inl x : a _ f64 = am'.init_series -3 3 0.01
00:00:17 #364 [Verbose] > inl y = x |> am.map math.square
00:00:17 #365 [Verbose] > "square", "x", "y", ;[[ "square", x, y ]]
00:00:17 #366 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5150-5059-5d1f31edee63\main.spi
00:00:18 #367 [Verbose] >
00:00:18 #368 [Verbose] > ╭─[ 399.96ms - return value ]──────────────────────────────────────────────────╮
00:00:18 #369 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:18 #370 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:18 #371 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:18 #372 [Verbose] > │ stroke="none"/> │
00:00:18 #373 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:18 #374 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:18 #375 [Verbose] > │ fill="#FFFFFF"> │
00:00:18 #376 [Verbose] > │ square │
00:00:18 #377 [Verbose] > │ </text> │
00:00:18 #378 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:00:18 #379 [Verbose] > │ y2="75"/> │
00:00:18 #380 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:18 #381 [Verbose] > │ y2="75"/> │
00:00:18 #382 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:00:18 #383 [Verbose] > │ y2="75"/> │
00:00:18 #384 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:00:18 #385 [Verbose] > │ y2="75"/> │
00:00:18 #386 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:00:18 #387 [Verbose] > │ ... │
00:00:18 #388 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #389 [Verbose] >
00:00:18 #390 [Verbose] > ╭─[ 419.31ms - stdout ]────────────────────────────────────────────────────────╮
00:00:18 #391 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:18 #392 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:18 #393 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:18 #394 [Verbose] > │ let v2 : bool = v1 < 601 │
00:00:18 #395 [Verbose] > │ v2 │
00:00:18 #396 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:18 #397 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:18 #398 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:18 #399 [Verbose] > │ v3 │
00:00:18 #400 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:18 #401 [Verbose] > │ []) * (float [])) [])) = │
00:00:18 #402 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (601) │
00:00:18 #403 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #404 [Verbose] > │ while method1(v1) do │
00:00:18 #405 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:18 #406 [Verbose] > │ let v4 : float = float v3 │
00:00:18 #407 [Verbose] > │ let v5 : float = 0.01 * v4 │
00:00:18 #408 [Verbose] > │ let v6 : float = -3.0 + v5 │
00:00:18 #409 [Verbose] > │ v0.[int v3] <- v6 │
00:00:18 #410 [Verbose] > │ let v7 : int32 = v3 + 1 │
00:00:18 #411 [Verbose] > │ v1.l0 <- v7 │
00:00:18 #412 [Verbose] > │ () │
00:00:18 #413 [Verbose] > │ let v8 : int32 = v0.Length │
00:00:18 #414 [Verbose] > │ let v9 : (float []) = Array.zeroCreate<float> (v8) │
00:00:18 #415 [Verbose] > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #416 [Verbose] > │ while method2(v8, v10) do │
00:00:18 #417 [Verbose] > │ let v12 : int32 = v10.l0 │
00:00:18 #418 [Verbose] > │ let v13 : float = v0.[int v12] │
00:00:18 #419 [Verbose] > │ let v14 : float = v13 ** 2.0 │
00:00:18 #420 [Verbose] > │ v9.[int v12] <- v14 │
00:00:18 #421 [Verbose] > │ let v15 : int32 = v12 + 1 │
00:00:18 #422 [Verbose] > │ v10.l0 <- v15 │
00:00:18 #423 [Verbose] > │ () │
00:00:18 #424 [Verbose] > │ let v16 : string = "square" │
00:00:18 #425 [Verbose] > │ let v17 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:18 #426 [Verbose] > │ (v16, v0, v9)|] │
00:00:18 #427 [Verbose] > │ let v18 : string = "x" │
00:00:18 #428 [Verbose] > │ let v19 : string = "y" │
00:00:18 #429 [Verbose] > │ struct (v16, v18, v19, v17) │
00:00:18 #430 [Verbose] > │ method0() │
00:00:18 #431 [Verbose] > │ │
00:00:18 #432 [Verbose] > │ │
00:00:18 #433 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #434 [Verbose] >
00:00:18 #435 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 #436 [Verbose] > // // test
00:00:18 #437 [Verbose] >
00:00:18 #438 [Verbose] > inl x : a _ f64 = am'.init_series -10 10 0.1
00:00:18 #439 [Verbose] > inl y_sin = x |> am.map sin
00:00:18 #440 [Verbose] > inl y_cos = x |> am.map cos
00:00:18 #441 [Verbose] > "sin cos", "x", "y", ;[[ "sin", x, y_sin; "cos", x, y_cos ]]
00:00:18 #442 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5194-9428-9f5275806a69\main.spi
00:00:18 #443 [Verbose] >
00:00:18 #444 [Verbose] > ╭─[ 254.66ms - return value ]──────────────────────────────────────────────────╮
00:00:18 #445 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:18 #446 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:18 #447 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:18 #448 [Verbose] > │ stroke="none"/> │
00:00:18 #449 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:18 #450 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:18 #451 [Verbose] > │ fill="#FFFFFF"> │
00:00:18 #452 [Verbose] > │ sin cos │
00:00:18 #453 [Verbose] > │ </text> │
00:00:18 #454 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="57" y1="424" x2="57" │
00:00:18 #455 [Verbose] > │ y2="75"/> │
00:00:18 #456 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:18 #457 [Verbose] > │ y2="75"/> │
00:00:18 #458 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="82" y1="424" x2="82" │
00:00:18 #459 [Verbose] > │ y2="75"/> │
00:00:18 #460 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:00:18 #461 [Verbose] > │ y2="75"/> │
00:00:18 #462 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="107" y1="424" │
00:00:18 #463 [Verbose] > │ x2="10... │
00:00:18 #464 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #465 [Verbose] >
00:00:18 #466 [Verbose] > ╭─[ 266.15ms - stdout ]────────────────────────────────────────────────────────╮
00:00:18 #467 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:18 #468 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:18 #469 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:18 #470 [Verbose] > │ let v2 : bool = v1 < 201 │
00:00:18 #471 [Verbose] > │ v2 │
00:00:18 #472 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:18 #473 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:18 #474 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:18 #475 [Verbose] > │ v3 │
00:00:18 #476 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:18 #477 [Verbose] > │ []) * (float [])) [])) = │
00:00:18 #478 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (201) │
00:00:18 #479 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #480 [Verbose] > │ while method1(v1) do │
00:00:18 #481 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:18 #482 [Verbose] > │ let v4 : float = float v3 │
00:00:18 #483 [Verbose] > │ let v5 : float = 0.1 * v4 │
00:00:18 #484 [Verbose] > │ let v6 : float = -10.0 + v5 │
00:00:18 #485 [Verbose] > │ v0.[int v3] <- v6 │
00:00:18 #486 [Verbose] > │ let v7 : int32 = v3 + 1 │
00:00:18 #487 [Verbose] > │ v1.l0 <- v7 │
00:00:18 #488 [Verbose] > │ () │
00:00:18 #489 [Verbose] > │ let v8 : int32 = v0.Length │
00:00:18 #490 [Verbose] > │ let v9 : (float []) = Array.zeroCreate<float> (v8) │
00:00:18 #491 [Verbose] > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #492 [Verbose] > │ while method2(v8, v10) do │
00:00:18 #493 [Verbose] > │ let v12 : int32 = v10.l0 │
00:00:18 #494 [Verbose] > │ let v13 : float = v0.[int v12] │
00:00:18 #495 [Verbose] > │ let v14 : float = sin v13 │
00:00:18 #496 [Verbose] > │ v9.[int v12] <- v14 │
00:00:18 #497 [Verbose] > │ let v15 : int32 = v12 + 1 │
00:00:18 #498 [Verbose] > │ v10.l0 <- v15 │
00:00:18 #499 [Verbose] > │ () │
00:00:18 #500 [Verbose] > │ let v16 : (float []) = Array.zeroCreate<float> (v8) │
00:00:18 #501 [Verbose] > │ let v17 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #502 [Verbose] > │ while method2(v8, v17) do │
00:00:18 #503 [Verbose] > │ let v19 : int32 = v17.l0 │
00:00:18 #504 [Verbose] > │ let v20 : float = v0.[int v19] │
00:00:18 #505 [Verbose] > │ let v21 : float = cos v20 │
00:00:18 #506 [Verbose] > │ v16.[int v19] <- v21 │
00:00:18 #507 [Verbose] > │ let v22 : int32 = v19 + 1 │
00:00:18 #508 [Verbose] > │ v17.l0 <- v22 │
00:00:18 #509 [Verbose] > │ () │
00:00:18 #510 [Verbose] > │ let v23 : string = "sin" │
00:00:18 #511 [Verbose] > │ let v24 : string = "cos" │
00:00:18 #512 [Verbose] > │ let v25 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:18 #513 [Verbose] > │ (v23, v0, v9); struct (v24, v0, v16)|] │
00:00:18 #514 [Verbose] > │ let v26 : string = "sin cos" │
00:00:18 #515 [Verbose] > │ let v27 : string = "x" │
00:00:18 #516 [Verbose] > │ let v28 : string = "y" │
00:00:18 #517 [Verbose] > │ struct (v26, v27, v28, v25) │
00:00:18 #518 [Verbose] > │ method0() │
00:00:18 #519 [Verbose] > │ │
00:00:18 #520 [Verbose] > │ │
00:00:18 #521 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #522 [Verbose] >
00:00:18 #523 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 #524 [Verbose] > // // test
00:00:18 #525 [Verbose] >
00:00:18 #526 [Verbose] > inl y_pos y0 vy0 ay t =
00:00:18 #527 [Verbose] > y0 + vy0 * t + ay * (t |> math.square) / 2
00:00:18 #528 [Verbose] >
00:00:18 #529 [Verbose] > inl x : a _ f64 = am'.init_series 0 5 0.01
00:00:18 #530 [Verbose] > inl y = x |> am.map (y_pos 0 20 -9.8)
00:00:18 #531 [Verbose] > "projectile motion", "time (s)", "", ;[[ "height of projectile (m)", x, y ]]
00:00:18 #532 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5223-2303-2050f66233ae\main.spi
00:00:18 #533 [Verbose] >
00:00:18 #534 [Verbose] > ╭─[ 195.99ms - return value ]──────────────────────────────────────────────────╮
00:00:18 #535 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:18 #536 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:18 #537 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:18 #538 [Verbose] > │ stroke="none"/> │
00:00:18 #539 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:18 #540 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:18 #541 [Verbose] > │ fill="#FFFFFF"> │
00:00:18 #542 [Verbose] > │ projectile motion │
00:00:18 #543 [Verbose] > │ </text> │
00:00:18 #544 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:00:18 #545 [Verbose] > │ y2="75"/> │
00:00:18 #546 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:18 #547 [Verbose] > │ y2="75"/> │
00:00:18 #548 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:00:18 #549 [Verbose] > │ y2="75"/> │
00:00:18 #550 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:00:18 #551 [Verbose] > │ y2="75"/> │
00:00:18 #552 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="99" y1="42... │
00:00:18 #553 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #554 [Verbose] >
00:00:18 #555 [Verbose] > ╭─[ 206.71ms - stdout ]────────────────────────────────────────────────────────╮
00:00:18 #556 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:18 #557 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:18 #558 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:18 #559 [Verbose] > │ let v2 : bool = v1 < 501 │
00:00:18 #560 [Verbose] > │ v2 │
00:00:18 #561 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:18 #562 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:18 #563 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:18 #564 [Verbose] > │ v3 │
00:00:18 #565 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:18 #566 [Verbose] > │ []) * (float [])) [])) = │
00:00:18 #567 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (501) │
00:00:18 #568 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #569 [Verbose] > │ while method1(v1) do │
00:00:18 #570 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:18 #571 [Verbose] > │ let v4 : float = float v3 │
00:00:18 #572 [Verbose] > │ let v5 : float = 0.01 * v4 │
00:00:18 #573 [Verbose] > │ v0.[int v3] <- v5 │
00:00:18 #574 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:18 #575 [Verbose] > │ v1.l0 <- v6 │
00:00:18 #576 [Verbose] > │ () │
00:00:18 #577 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:18 #578 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:18 #579 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:18 #580 [Verbose] > │ while method2(v7, v9) do │
00:00:18 #581 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:18 #582 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:18 #583 [Verbose] > │ let v13 : float = 20.0 * v12 │
00:00:18 #584 [Verbose] > │ let v14 : float = v12 ** 2.0 │
00:00:18 #585 [Verbose] > │ let v15 : float = -9.8 * v14 │
00:00:18 #586 [Verbose] > │ let v16 : float = v15 / 2.0 │
00:00:18 #587 [Verbose] > │ let v17 : float = v13 + v16 │
00:00:18 #588 [Verbose] > │ v8.[int v11] <- v17 │
00:00:18 #589 [Verbose] > │ let v18 : int32 = v11 + 1 │
00:00:18 #590 [Verbose] > │ v9.l0 <- v18 │
00:00:18 #591 [Verbose] > │ () │
00:00:18 #592 [Verbose] > │ let v19 : string = "height of projectile (m)" │
00:00:18 #593 [Verbose] > │ let v20 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:18 #594 [Verbose] > │ (v19, v0, v8)|] │
00:00:18 #595 [Verbose] > │ let v21 : string = "projectile motion" │
00:00:18 #596 [Verbose] > │ let v22 : string = "time (s)" │
00:00:18 #597 [Verbose] > │ let v23 : string = "" │
00:00:18 #598 [Verbose] > │ struct (v21, v22, v23, v20) │
00:00:18 #599 [Verbose] > │ method0() │
00:00:18 #600 [Verbose] > │ │
00:00:18 #601 [Verbose] > │ │
00:00:18 #602 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #603 [Verbose] >
00:00:18 #604 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:18 #605 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:18 #606 [Verbose] > │ ## velocity_cf │
00:00:18 #607 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #608 [Verbose] >
00:00:18 #609 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 #610 [Verbose] > type mass = f64
00:00:18 #611 [Verbose] > type time = f64
00:00:18 #612 [Verbose] > type position = f64
00:00:18 #613 [Verbose] > type velocity = f64
00:00:18 #614 [Verbose] > type force = f64
00:00:18 #615 [Verbose] >
00:00:18 #616 [Verbose] > type velocity_cf = mass -> velocity -> list force -> (time -> velocity)
00:00:18 #617 [Verbose] >
00:00:18 #618 [Verbose] > inl velocity_cf m v0 fs =
00:00:18 #619 [Verbose] > inl f_net = fs |> listm'.sum
00:00:18 #620 [Verbose] > inl a0 = f_net / m
00:00:18 #621 [Verbose] > inl v t = v0 + a0 * t
00:00:18 #622 [Verbose] > v
00:00:18 #623 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5245-4584-4ca5f09a6efa\main.spi
00:00:18 #624 [Verbose] >
00:00:18 #625 [Verbose] > ╭─[ 127.25ms - stdout ]────────────────────────────────────────────────────────╮
00:00:18 #626 [Verbose] > │ () │
00:00:18 #627 [Verbose] > │ │
00:00:18 #628 [Verbose] > │ │
00:00:18 #629 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #630 [Verbose] >
00:00:18 #631 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 #632 [Verbose] > // // test
00:00:18 #633 [Verbose] >
00:00:18 #634 [Verbose] > velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]] 0
00:00:18 #635 [Verbose] > |> _equal 0.6
00:00:18 #636 [Verbose] >
00:00:18 #637 [Verbose] > velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]] 1
00:00:18 #638 [Verbose] > |> _equal 0.2
00:00:18 #639 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5258-5868-5438462b4d72\main.spi
00:00:18 #640 [Verbose] >
00:00:18 #641 [Verbose] > ╭─[ 181.78ms - stdout ]────────────────────────────────────────────────────────╮
00:00:18 #642 [Verbose] > │ let rec method0 () : unit = │
00:00:18 #643 [Verbose] > │ let v0 : string = $"_equal / actual: %A{0.6} / expected: %A{0.6}" │
00:00:18 #644 [Verbose] > │ let v1 : string = $"_equal / actual: %A{0.2} / expected: %A{0.2}" │
00:00:18 #645 [Verbose] > │ () │
00:00:18 #646 [Verbose] > │ method0() │
00:00:18 #647 [Verbose] > │ │
00:00:18 #648 [Verbose] > │ │
00:00:18 #649 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:18 #650 [Verbose] >
00:00:18 #651 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:18 #652 [Verbose] > // // test
00:00:18 #653 [Verbose] >
00:00:18 #654 [Verbose] > inl x = am'.init_series 0 4 0.1
00:00:18 #655 [Verbose] > inl y = x |> am.map (velocity_cf 0.1f64 0.6 [[ 0.04; -0.08 ]])
00:00:18 #656 [Verbose] > "car on an air track", "time (s)", "", ;[[ "velocity of car (m/s)", x, y ]]
00:00:19 #657 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5277-7721-7dc739f69a08\main.spi
00:00:19 #658 [Verbose] >
00:00:19 #659 [Verbose] > ╭─[ 225.74ms - return value ]──────────────────────────────────────────────────╮
00:00:19 #660 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:19 #661 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:19 #662 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:19 #663 [Verbose] > │ stroke="none"/> │
00:00:19 #664 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:19 #665 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:19 #666 [Verbose] > │ fill="#FFFFFF"> │
00:00:19 #667 [Verbose] > │ car on an air track │
00:00:19 #668 [Verbose] > │ </text> │
00:00:19 #669 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="57" y1="424" x2="57" │
00:00:19 #670 [Verbose] > │ y2="75"/> │
00:00:19 #671 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:19 #672 [Verbose] > │ y2="75"/> │
00:00:19 #673 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="82" y1="424" x2="82" │
00:00:19 #674 [Verbose] > │ y2="75"/> │
00:00:19 #675 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x2="94" │
00:00:19 #676 [Verbose] > │ y2="75"/> │
00:00:19 #677 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="107" y1=... │
00:00:19 #678 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #679 [Verbose] >
00:00:19 #680 [Verbose] > ╭─[ 236.29ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 #681 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:19 #682 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:19 #683 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:19 #684 [Verbose] > │ let v2 : bool = v1 < 41 │
00:00:19 #685 [Verbose] > │ v2 │
00:00:19 #686 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:19 #687 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:19 #688 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:19 #689 [Verbose] > │ v3 │
00:00:19 #690 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:19 #691 [Verbose] > │ []) * (float [])) [])) = │
00:00:19 #692 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (41) │
00:00:19 #693 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:19 #694 [Verbose] > │ while method1(v1) do │
00:00:19 #695 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:19 #696 [Verbose] > │ let v4 : float = float v3 │
00:00:19 #697 [Verbose] > │ let v5 : float = 0.1 * v4 │
00:00:19 #698 [Verbose] > │ v0.[int v3] <- v5 │
00:00:19 #699 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:19 #700 [Verbose] > │ v1.l0 <- v6 │
00:00:19 #701 [Verbose] > │ () │
00:00:19 #702 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:19 #703 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:19 #704 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:19 #705 [Verbose] > │ while method2(v7, v9) do │
00:00:19 #706 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:19 #707 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:19 #708 [Verbose] > │ let v13 : float = -0.39999999999999997 * v12 │
00:00:19 #709 [Verbose] > │ let v14 : float = 0.6 + v13 │
00:00:19 #710 [Verbose] > │ v8.[int v11] <- v14 │
00:00:19 #711 [Verbose] > │ let v15 : int32 = v11 + 1 │
00:00:19 #712 [Verbose] > │ v9.l0 <- v15 │
00:00:19 #713 [Verbose] > │ () │
00:00:19 #714 [Verbose] > │ let v16 : string = "velocity of car (m/s)" │
00:00:19 #715 [Verbose] > │ let v17 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:19 #716 [Verbose] > │ (v16, v0, v8)|] │
00:00:19 #717 [Verbose] > │ let v18 : string = "car on an air track" │
00:00:19 #718 [Verbose] > │ let v19 : string = "time (s)" │
00:00:19 #719 [Verbose] > │ let v20 : string = "" │
00:00:19 #720 [Verbose] > │ struct (v18, v19, v20, v17) │
00:00:19 #721 [Verbose] > │ method0() │
00:00:19 #722 [Verbose] > │ │
00:00:19 #723 [Verbose] > │ │
00:00:19 #724 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #725 [Verbose] >
00:00:19 #726 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 #727 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 #728 [Verbose] > │ ## derivative │
00:00:19 #729 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #730 [Verbose] >
00:00:19 #731 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 #732 [Verbose] > type derivative = (f64 -> f64) -> f64 -> f64
00:00:19 #733 [Verbose] >
00:00:19 #734 [Verbose] > inl derivative dt : derivative =
00:00:19 #735 [Verbose] > fun x t =>
00:00:19 #736 [Verbose] > (x (t + dt / 2) - x (t - dt / 2)) / dt
00:00:19 #737 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5302-0299-0faaa10d8a8f\main.spi
00:00:19 #738 [Verbose] >
00:00:19 #739 [Verbose] > ╭─[ 166.72ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 #740 [Verbose] > │ () │
00:00:19 #741 [Verbose] > │ │
00:00:19 #742 [Verbose] > │ │
00:00:19 #743 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #744 [Verbose] >
00:00:19 #745 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 #746 [Verbose] > // // test
00:00:19 #747 [Verbose] >
00:00:19 #748 [Verbose] > derivative 1 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #749 [Verbose] > |> _almost_equal 0.25
00:00:19 #750 [Verbose] >
00:00:19 #751 [Verbose] > derivative 0.001 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #752 [Verbose] > |> _almost_equal 0.0000002499998827953931
00:00:19 #753 [Verbose] >
00:00:19 #754 [Verbose] > derivative 0.000001 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #755 [Verbose] > |> _almost_equal 0.000000000001000088900582341
00:00:19 #756 [Verbose] >
00:00:19 #757 [Verbose] > derivative 0.000000001 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #758 [Verbose] > |> _almost_equal 0.00000008274037099909037
00:00:19 #759 [Verbose] >
00:00:19 #760 [Verbose] > derivative 0.000000000001 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #761 [Verbose] > |> _almost_equal 0.00008890058234101161
00:00:19 #762 [Verbose] >
00:00:19 #763 [Verbose] > derivative 0.000000000000001 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #764 [Verbose] > |> _almost_equal -0.0007992778373592246
00:00:19 #765 [Verbose] >
00:00:19 #766 [Verbose] > derivative 0.000000000000000001 (fun x => x ** 4 / 4) 1 - 1
00:00:19 #767 [Verbose] > |> _almost_equal -1
00:00:19 #768 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5319-1989-1353f633d6c1\main.spi
00:00:19 #769 [Verbose] >
00:00:19 #770 [Verbose] > ╭─[ 154.10ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 #771 [Verbose] > │ let rec method0 () : unit = │
00:00:19 #772 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{0.25} / expected: │
00:00:19 #773 [Verbose] > │ %A{0.25}" │
00:00:19 #774 [Verbose] > │ let v1 : string = $"_almost_equal / actual: %A{2.499998827953931E-07} / │
00:00:19 #775 [Verbose] > │ expected: %A{2.499998827953931E-07}" │
00:00:19 #776 [Verbose] > │ let v2 : string = $"_almost_equal / actual: %A{1.000088900582341E-12} / │
00:00:19 #777 [Verbose] > │ expected: %A{1.000088900582341E-12}" │
00:00:19 #778 [Verbose] > │ let v3 : string = $"_almost_equal / actual: %A{8.274037099909037E-08} / │
00:00:19 #779 [Verbose] > │ expected: %A{8.274037099909037E-08}" │
00:00:19 #780 [Verbose] > │ let v4 : string = $"_almost_equal / actual: %A{8.890058234101161E-05} / │
00:00:19 #781 [Verbose] > │ expected: %A{8.890058234101161E-05}" │
00:00:19 #782 [Verbose] > │ let v5 : string = $"_almost_equal / actual: %A{-0.0007992778373592246} / │
00:00:19 #783 [Verbose] > │ expected: %A{-0.0007992778373592246}" │
00:00:19 #784 [Verbose] > │ let v6 : string = $"_almost_equal / actual: %A{-1.0} / expected: │
00:00:19 #785 [Verbose] > │ %A{-1.0}" │
00:00:19 #786 [Verbose] > │ () │
00:00:19 #787 [Verbose] > │ method0() │
00:00:19 #788 [Verbose] > │ │
00:00:19 #789 [Verbose] > │ │
00:00:19 #790 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #791 [Verbose] >
00:00:19 #792 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 #793 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 #794 [Verbose] > │ ## integration │
00:00:19 #795 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #796 [Verbose] >
00:00:19 #797 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 #798 [Verbose] > type integration = (f64 -> f64) -> f64 -> f64 -> f64
00:00:19 #799 [Verbose] >
00:00:19 #800 [Verbose] > inl integral dt : integration =
00:00:19 #801 [Verbose] > fun f a b =>
00:00:19 #802 [Verbose] > inl rec loop t y =
00:00:19 #803 [Verbose] > if t < b
00:00:19 #804 [Verbose] > then loop (t + dt) (y + f t * dt)
00:00:19 #805 [Verbose] > else t, y
00:00:19 #806 [Verbose] > loop (a + dt / 2) 0
00:00:19 #807 [Verbose] > |> snd
00:00:19 #808 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5336-3653-3bca7b46c3e8\main.spi
00:00:19 #809 [Verbose] >
00:00:19 #810 [Verbose] > ╭─[ 146.55ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 #811 [Verbose] > │ () │
00:00:19 #812 [Verbose] > │ │
00:00:19 #813 [Verbose] > │ │
00:00:19 #814 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #815 [Verbose] >
00:00:19 #816 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 #817 [Verbose] > // // test
00:00:19 #818 [Verbose] >
00:00:19 #819 [Verbose] > integral 0.01 math.square 0 1
00:00:19 #820 [Verbose] > |> _almost_equal 0.33332500000000004
00:00:19 #821 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5351-5131-5e1f014adc44\main.spi
00:00:19 #822 [Verbose] >
00:00:19 #823 [Verbose] > ╭─[ 172.21ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 #824 [Verbose] > │ let rec method0 () : unit = │
00:00:19 #825 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{0.3333250000000004} / │
00:00:19 #826 [Verbose] > │ expected: %A{0.33332500000000004}" │
00:00:19 #827 [Verbose] > │ () │
00:00:19 #828 [Verbose] > │ method0() │
00:00:19 #829 [Verbose] > │ │
00:00:19 #830 [Verbose] > │ │
00:00:19 #831 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #832 [Verbose] >
00:00:19 #833 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 #834 [Verbose] > inl integral' dt : integration =
00:00:19 #835 [Verbose] > fun f a b =>
00:00:19 #836 [Verbose] > listm'.init_series (a + dt / 2) (b - dt / 2) dt
00:00:19 #837 [Verbose] > |> listm.map (f >> (*) dt)
00:00:19 #838 [Verbose] > |> listm'.sum
00:00:19 #839 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5368-6888-6090094405a8\main.spi
00:00:19 #840 [Verbose] >
00:00:19 #841 [Verbose] > ╭─[ 181.75ms - stdout ]────────────────────────────────────────────────────────╮
00:00:19 #842 [Verbose] > │ () │
00:00:19 #843 [Verbose] > │ │
00:00:19 #844 [Verbose] > │ │
00:00:19 #845 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #846 [Verbose] >
00:00:19 #847 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:19 #848 [Verbose] > // // test
00:00:19 #849 [Verbose] >
00:00:19 #850 [Verbose] > integral' 0.1 math.square 0 1
00:00:19 #851 [Verbose] > |> _almost_equal (integral 0.1 math.square 0 1)
00:00:20 #852 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5387-8739-818aa12e8b9e\main.spi
00:00:20 #853 [Verbose] >
00:00:20 #854 [Verbose] > ╭─[ 174.34ms - stdout ]────────────────────────────────────────────────────────╮
00:00:20 #855 [Verbose] > │ let rec method0 () : unit = │
00:00:20 #856 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{0.3325000000000001} / │
00:00:20 #857 [Verbose] > │ expected: %A{0.33249999999999996}" │
00:00:20 #858 [Verbose] > │ () │
00:00:20 #859 [Verbose] > │ method0() │
00:00:20 #860 [Verbose] > │ │
00:00:20 #861 [Verbose] > │ │
00:00:20 #862 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #863 [Verbose] >
00:00:20 #864 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 #865 [Verbose] > inl integral'' dt : integration =
00:00:20 #866 [Verbose] > fun f a b =>
00:00:20 #867 [Verbose] > am'.init_series (a + dt / 2) (b - dt / 2) dt
00:00:20 #868 [Verbose] > |> am.map (f >> (*) dt)
00:00:20 #869 [Verbose] > |> am'.sum
00:00:20 #870 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5405-0515-02ad8690ff68\main.spi
00:00:20 #871 [Verbose] >
00:00:20 #872 [Verbose] > ╭─[ 149.76ms - stdout ]────────────────────────────────────────────────────────╮
00:00:20 #873 [Verbose] > │ () │
00:00:20 #874 [Verbose] > │ │
00:00:20 #875 [Verbose] > │ │
00:00:20 #876 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #877 [Verbose] >
00:00:20 #878 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 #879 [Verbose] > // // test
00:00:20 #880 [Verbose] >
00:00:20 #881 [Verbose] > integral'' 0.01 math.square 0 1
00:00:20 #882 [Verbose] > |> _almost_equal (integral 0.01 math.square 0 1)
00:00:20 #883 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5420-2031-25adf9057925\main.spi
00:00:20 #884 [Verbose] >
00:00:20 #885 [Verbose] > ╭─[ 299.43ms - stdout ]────────────────────────────────────────────────────────╮
00:00:20 #886 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:20 #887 [Verbose] > │ and Mut1 = {mutable l0 : int32; mutable l1 : float} │
00:00:20 #888 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:20 #889 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:20 #890 [Verbose] > │ let v2 : bool = v1 < 100 │
00:00:20 #891 [Verbose] > │ v2 │
00:00:20 #892 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:20 #893 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:20 #894 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:20 #895 [Verbose] > │ v3 │
00:00:20 #896 [Verbose] > │ and method3 (v0 : int32, v1 : Mut1) : bool = │
00:00:20 #897 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:20 #898 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:20 #899 [Verbose] > │ v3 │
00:00:20 #900 [Verbose] > │ and method0 () : unit = │
00:00:20 #901 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (100) │
00:00:20 #902 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:20 #903 [Verbose] > │ while method1(v1) do │
00:00:20 #904 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:20 #905 [Verbose] > │ let v4 : float = float v3 │
00:00:20 #906 [Verbose] > │ let v5 : float = 0.01 * v4 │
00:00:20 #907 [Verbose] > │ let v6 : float = 0.005 + v5 │
00:00:20 #908 [Verbose] > │ v0.[int v3] <- v6 │
00:00:20 #909 [Verbose] > │ let v7 : int32 = v3 + 1 │
00:00:20 #910 [Verbose] > │ v1.l0 <- v7 │
00:00:20 #911 [Verbose] > │ () │
00:00:20 #912 [Verbose] > │ let v8 : int32 = v0.Length │
00:00:20 #913 [Verbose] > │ let v9 : (float []) = Array.zeroCreate<float> (v8) │
00:00:20 #914 [Verbose] > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:00:20 #915 [Verbose] > │ while method2(v8, v10) do │
00:00:20 #916 [Verbose] > │ let v12 : int32 = v10.l0 │
00:00:20 #917 [Verbose] > │ let v13 : float = v0.[int v12] │
00:00:20 #918 [Verbose] > │ let v14 : float = v13 ** 2.0 │
00:00:20 #919 [Verbose] > │ let v15 : float = 0.01 * v14 │
00:00:20 #920 [Verbose] > │ v9.[int v12] <- v15 │
00:00:20 #921 [Verbose] > │ let v16 : int32 = v12 + 1 │
00:00:20 #922 [Verbose] > │ v10.l0 <- v16 │
00:00:20 #923 [Verbose] > │ () │
00:00:20 #924 [Verbose] > │ let v17 : int32 = v9.Length │
00:00:20 #925 [Verbose] > │ let v18 : Mut1 = {l0 = 0; l1 = 0.0} : Mut1 │
00:00:20 #926 [Verbose] > │ while method3(v17, v18) do │
00:00:20 #927 [Verbose] > │ let v20 : int32 = v18.l0 │
00:00:20 #928 [Verbose] > │ let v21 : float = v18.l1 │
00:00:20 #929 [Verbose] > │ let v22 : float = v9.[int v20] │
00:00:20 #930 [Verbose] > │ let v23 : float = v21 + v22 │
00:00:20 #931 [Verbose] > │ let v24 : int32 = v20 + 1 │
00:00:20 #932 [Verbose] > │ v18.l0 <- v24 │
00:00:20 #933 [Verbose] > │ v18.l1 <- v23 │
00:00:20 #934 [Verbose] > │ () │
00:00:20 #935 [Verbose] > │ let v25 : float = v18.l1 │
00:00:20 #936 [Verbose] > │ let v26 : float = 0.3333250000000004 - v25 │
00:00:20 #937 [Verbose] > │ let v27 : float = -v26 │
00:00:20 #938 [Verbose] > │ let v28 : bool = v26 >= v27 │
00:00:20 #939 [Verbose] > │ let v29 : float = │
00:00:20 #940 [Verbose] > │ if v28 then │
00:00:20 #941 [Verbose] > │ v26 │
00:00:20 #942 [Verbose] > │ else │
00:00:20 #943 [Verbose] > │ v27 │
00:00:20 #944 [Verbose] > │ let v30 : bool = v29 < 1E-08 │
00:00:20 #945 [Verbose] > │ let v31 : string = $"_almost_equal / actual: %A{v25} / expected: │
00:00:20 #946 [Verbose] > │ %A{0.3333250000000004}" │
00:00:20 #947 [Verbose] > │ let v32 : bool = v30 = false │
00:00:20 #948 [Verbose] > │ if v32 then │
00:00:20 #949 [Verbose] > │ failwith<unit> v31 │
00:00:20 #950 [Verbose] > │ method0() │
00:00:20 #951 [Verbose] > │ │
00:00:20 #952 [Verbose] > │ │
00:00:20 #953 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #954 [Verbose] >
00:00:20 #955 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:20 #956 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:20 #957 [Verbose] > │ ## anti_derivative │
00:00:20 #958 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #959 [Verbose] >
00:00:20 #960 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 #961 [Verbose] > inl anti_derivative dt v0 a t =
00:00:20 #962 [Verbose] > v0 + integral' dt a 0 t
00:00:20 #963 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5453-5324-5838cdbd25ea\main.spi
00:00:20 #964 [Verbose] >
00:00:20 #965 [Verbose] > ╭─[ 170.93ms - stdout ]────────────────────────────────────────────────────────╮
00:00:20 #966 [Verbose] > │ () │
00:00:20 #967 [Verbose] > │ │
00:00:20 #968 [Verbose] > │ │
00:00:20 #969 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #970 [Verbose] >
00:00:20 #971 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:20 #972 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:20 #973 [Verbose] > │ ## velocity_ft │
00:00:20 #974 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:20 #975 [Verbose] >
00:00:20 #976 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:20 #977 [Verbose] > type velocity_ft = mass -> velocity -> list (time -> force) -> (time ->
00:00:20 #978 [Verbose] > velocity)
00:00:20 #979 [Verbose] >
00:00:20 #980 [Verbose] > inl velocity_ft dt : velocity_ft =
00:00:20 #981 [Verbose] > fun m v0 fs =>
00:00:20 #982 [Verbose] > inl f_net t = fs |> listm.map (fun f => f t) |> listm'.sum
00:00:20 #983 [Verbose] > inl a t = f_net t / m
00:00:20 #984 [Verbose] > anti_derivative dt v0 a
00:00:20 #985 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5470-7065-7e9992e67def\main.spi
00:00:21 #986 [Verbose] >
00:00:21 #987 [Verbose] > ╭─[ 248.38ms - stdout ]────────────────────────────────────────────────────────╮
00:00:21 #988 [Verbose] > │ () │
00:00:21 #989 [Verbose] > │ │
00:00:21 #990 [Verbose] > │ │
00:00:21 #991 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #992 [Verbose] >
00:00:21 #993 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:21 #994 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:21 #995 [Verbose] > │ ## position_ft │
00:00:21 #996 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #997 [Verbose] >
00:00:21 #998 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:21 #999 [Verbose] > type position_ft = mass -> position -> velocity -> list (time -> force) -> (time
00:00:21 #1000 [Verbose] > -> position)
00:00:21 #1001 [Verbose] >
00:00:21 #1002 [Verbose] > inl position_ft dt : position_ft =
00:00:21 #1003 [Verbose] > fun m x0 v0 fs =>
00:00:21 #1004 [Verbose] > velocity_ft dt m v0 fs
00:00:21 #1005 [Verbose] > |> anti_derivative dt x0
00:00:21 #1006 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5495-9596-94683844ee39\main.spi
00:00:21 #1007 [Verbose] >
00:00:21 #1008 [Verbose] > ╭─[ 135.72ms - stdout ]────────────────────────────────────────────────────────╮
00:00:21 #1009 [Verbose] > │ () │
00:00:21 #1010 [Verbose] > │ │
00:00:21 #1011 [Verbose] > │ │
00:00:21 #1012 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #1013 [Verbose] >
00:00:21 #1014 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:21 #1015 [Verbose] > // // test
00:00:21 #1016 [Verbose] >
00:00:21 #1017 [Verbose] > inl pedal_coast (t : time) : force =
00:00:21 #1018 [Verbose] > inl t_cycle = 20
00:00:21 #1019 [Verbose] > inl n_complete : i32 = t / t_cycle |> conv
00:00:21 #1020 [Verbose] > inl remainder = t - conv n_complete * t_cycle
00:00:21 #1021 [Verbose] > if remainder > 0 && remainder < 10
00:00:21 #1022 [Verbose] > then 10
00:00:21 #1023 [Verbose] > else 0
00:00:21 #1024 [Verbose] >
00:00:21 #1025 [Verbose] > inl x = am'.init_series -5 45 0.1
00:00:21 #1026 [Verbose] > inl y = x |> am.map pedal_coast
00:00:21 #1027 [Verbose] > "child pedaling then coasting", "time (s)", "", ;[[ "force on bike (N)", x, y ]]
00:00:21 #1028 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5509-0977-0da2e91a2d49\main.spi
00:00:21 #1029 [Verbose] >
00:00:21 #1030 [Verbose] > ╭─[ 205.26ms - return value ]──────────────────────────────────────────────────╮
00:00:21 #1031 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:21 #1032 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:21 #1033 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:21 #1034 [Verbose] > │ stroke="none"/> │
00:00:21 #1035 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:21 #1036 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:21 #1037 [Verbose] > │ fill="#FFFFFF"> │
00:00:21 #1038 [Verbose] > │ child pedaling then coasting │
00:00:21 #1039 [Verbose] > │ </text> │
00:00:21 #1040 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:00:21 #1041 [Verbose] > │ y2="75"/> │
00:00:21 #1042 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:21 #1043 [Verbose] > │ y2="75"/> │
00:00:21 #1044 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:00:21 #1045 [Verbose] > │ y2="75"/> │
00:00:21 #1046 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:00:21 #1047 [Verbose] > │ y2="75"/> │
00:00:21 #1048 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=... │
00:00:21 #1049 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #1050 [Verbose] >
00:00:21 #1051 [Verbose] > ╭─[ 216.17ms - stdout ]────────────────────────────────────────────────────────╮
00:00:21 #1052 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:21 #1053 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:21 #1054 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:21 #1055 [Verbose] > │ let v2 : bool = v1 < 501 │
00:00:21 #1056 [Verbose] > │ v2 │
00:00:21 #1057 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:21 #1058 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:21 #1059 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:21 #1060 [Verbose] > │ v3 │
00:00:21 #1061 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:21 #1062 [Verbose] > │ []) * (float [])) [])) = │
00:00:21 #1063 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (501) │
00:00:21 #1064 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:21 #1065 [Verbose] > │ while method1(v1) do │
00:00:21 #1066 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:21 #1067 [Verbose] > │ let v4 : float = float v3 │
00:00:21 #1068 [Verbose] > │ let v5 : float = 0.1 * v4 │
00:00:21 #1069 [Verbose] > │ let v6 : float = -5.0 + v5 │
00:00:21 #1070 [Verbose] > │ v0.[int v3] <- v6 │
00:00:21 #1071 [Verbose] > │ let v7 : int32 = v3 + 1 │
00:00:21 #1072 [Verbose] > │ v1.l0 <- v7 │
00:00:21 #1073 [Verbose] > │ () │
00:00:21 #1074 [Verbose] > │ let v8 : int32 = v0.Length │
00:00:21 #1075 [Verbose] > │ let v9 : (float []) = Array.zeroCreate<float> (v8) │
00:00:21 #1076 [Verbose] > │ let v10 : Mut0 = {l0 = 0} : Mut0 │
00:00:21 #1077 [Verbose] > │ while method2(v8, v10) do │
00:00:21 #1078 [Verbose] > │ let v12 : int32 = v10.l0 │
00:00:21 #1079 [Verbose] > │ let v13 : float = v0.[int v12] │
00:00:21 #1080 [Verbose] > │ let v14 : float = v13 / 20.0 │
00:00:21 #1081 [Verbose] > │ let v15 : int32 = int32 v14 │
00:00:21 #1082 [Verbose] > │ let v16 : float = float v15 │
00:00:21 #1083 [Verbose] > │ let v17 : float = v16 * 20.0 │
00:00:21 #1084 [Verbose] > │ let v18 : float = v13 - v17 │
00:00:21 #1085 [Verbose] > │ let v19 : bool = v18 > 0.0 │
00:00:21 #1086 [Verbose] > │ let v21 : bool = │
00:00:21 #1087 [Verbose] > │ if v19 then │
00:00:21 #1088 [Verbose] > │ let v20 : bool = v18 < 10.0 │
00:00:21 #1089 [Verbose] > │ v20 │
00:00:21 #1090 [Verbose] > │ else │
00:00:21 #1091 [Verbose] > │ false │
00:00:21 #1092 [Verbose] > │ let v22 : float = │
00:00:21 #1093 [Verbose] > │ if v21 then │
00:00:21 #1094 [Verbose] > │ 10.0 │
00:00:21 #1095 [Verbose] > │ else │
00:00:21 #1096 [Verbose] > │ 0.0 │
00:00:21 #1097 [Verbose] > │ v9.[int v12] <- v22 │
00:00:21 #1098 [Verbose] > │ let v23 : int32 = v12 + 1 │
00:00:21 #1099 [Verbose] > │ v10.l0 <- v23 │
00:00:21 #1100 [Verbose] > │ () │
00:00:21 #1101 [Verbose] > │ let v24 : string = "force on bike (N)" │
00:00:21 #1102 [Verbose] > │ let v25 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:21 #1103 [Verbose] > │ (v24, v0, v9)|] │
00:00:21 #1104 [Verbose] > │ let v26 : string = "child pedaling then coasting" │
00:00:21 #1105 [Verbose] > │ let v27 : string = "time (s)" │
00:00:21 #1106 [Verbose] > │ let v28 : string = "" │
00:00:21 #1107 [Verbose] > │ struct (v26, v27, v28, v25) │
00:00:21 #1108 [Verbose] > │ method0() │
00:00:21 #1109 [Verbose] > │ │
00:00:21 #1110 [Verbose] > │ │
00:00:21 #1111 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #1112 [Verbose] >
00:00:21 #1113 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:21 #1114 [Verbose] > // // test
00:00:21 #1115 [Verbose] >
00:00:21 #1116 [Verbose] > inl x = am'.init_series -5 45 1
00:00:21 #1117 [Verbose] > inl y = x |> am.map (position_ft 0.1f64 20 0 0 [[ pedal_coast ]])
00:00:21 #1118 [Verbose] > "child pedaling then coasting", "time (s)", "", ;[[ "position of bike (m)", x, y
00:00:21 #1119 [Verbose] > ]]
00:00:21 #1120 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5533-3385-360a0da46209\main.spi
00:00:21 #1121 [Verbose] >
00:00:21 #1122 [Verbose] > ╭─[ 482.86ms - return value ]──────────────────────────────────────────────────╮
00:00:21 #1123 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:21 #1124 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:21 #1125 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:21 #1126 [Verbose] > │ stroke="none"/> │
00:00:21 #1127 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:21 #1128 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:21 #1129 [Verbose] > │ fill="#FFFFFF"> │
00:00:21 #1130 [Verbose] > │ child pedaling then coasting │
00:00:21 #1131 [Verbose] > │ </text> │
00:00:21 #1132 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:00:21 #1133 [Verbose] > │ y2="75"/> │
00:00:21 #1134 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:21 #1135 [Verbose] > │ y2="75"/> │
00:00:21 #1136 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:00:21 #1137 [Verbose] > │ y2="75"/> │
00:00:21 #1138 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:00:21 #1139 [Verbose] > │ y2="75"/> │
00:00:21 #1140 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=... │
00:00:21 #1141 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:21 #1142 [Verbose] >
00:00:21 #1143 [Verbose] > ╭─[ 496.11ms - stdout ]────────────────────────────────────────────────────────╮
00:00:21 #1144 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:21 #1145 [Verbose] > │ and UH0 = │
00:00:21 #1146 [Verbose] > │ | UH0_0 of float * UH0 │
00:00:21 #1147 [Verbose] > │ | UH0_1 │
00:00:21 #1148 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:21 #1149 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:21 #1150 [Verbose] > │ let v2 : bool = v1 < 51 │
00:00:21 #1151 [Verbose] > │ v2 │
00:00:21 #1152 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:21 #1153 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:21 #1154 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:21 #1155 [Verbose] > │ v3 │
00:00:21 #1156 [Verbose] > │ and method3 (v0 : float, v1 : float) : UH0 = │
00:00:21 #1157 [Verbose] > │ let v2 : bool = v1 < v0 │
00:00:21 #1158 [Verbose] > │ if v2 then │
00:00:21 #1159 [Verbose] > │ let v3 : float = 0.1 * v1 │
00:00:21 #1160 [Verbose] > │ let v4 : float = 0.05 + v3 │
00:00:21 #1161 [Verbose] > │ let v5 : float = v1 + 1.0 │
00:00:21 #1162 [Verbose] > │ let v6 : UH0 = method3(v0, v5) │
00:00:21 #1163 [Verbose] > │ UH0_0(v4, v6) │
00:00:21 #1164 [Verbose] > │ else │
00:00:21 #1165 [Verbose] > │ UH0_1 │
00:00:21 #1166 [Verbose] > │ and method5 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:21 #1167 [Verbose] > │ match v0 with │
00:00:21 #1168 [Verbose] > │ | UH0_0(v2, v3) -> (* Cons *) │
00:00:21 #1169 [Verbose] > │ let v4 : UH0 = method5(v3, v1) │
00:00:21 #1170 [Verbose] > │ let v5 : float = v2 / 20.0 │
00:00:21 #1171 [Verbose] > │ let v6 : int32 = int32 v5 │
00:00:21 #1172 [Verbose] > │ let v7 : float = float v6 │
00:00:21 #1173 [Verbose] > │ let v8 : float = v7 * 20.0 │
00:00:21 #1174 [Verbose] > │ let v9 : float = v2 - v8 │
00:00:21 #1175 [Verbose] > │ let v10 : bool = v9 > 0.0 │
00:00:21 #1176 [Verbose] > │ let v12 : bool = │
00:00:21 #1177 [Verbose] > │ if v10 then │
00:00:21 #1178 [Verbose] > │ let v11 : bool = v9 < 10.0 │
00:00:21 #1179 [Verbose] > │ v11 │
00:00:21 #1180 [Verbose] > │ else │
00:00:21 #1181 [Verbose] > │ false │
00:00:21 #1182 [Verbose] > │ let v13 : float = │
00:00:21 #1183 [Verbose] > │ if v12 then │
00:00:21 #1184 [Verbose] > │ 10.0 │
00:00:21 #1185 [Verbose] > │ else │
00:00:21 #1186 [Verbose] > │ 0.0 │
00:00:21 #1187 [Verbose] > │ let v14 : float = v13 / 20.0 │
00:00:21 #1188 [Verbose] > │ let v15 : float = 0.1 * v14 │
00:00:21 #1189 [Verbose] > │ UH0_0(v15, v4) │
00:00:21 #1190 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:21 #1191 [Verbose] > │ v1 │
00:00:21 #1192 [Verbose] > │ and method6 (v0 : UH0, v1 : float) : float = │
00:00:21 #1193 [Verbose] > │ match v0 with │
00:00:21 #1194 [Verbose] > │ | UH0_0(v2, v3) -> (* Cons *) │
00:00:21 #1195 [Verbose] > │ let v4 : float = v1 + v2 │
00:00:21 #1196 [Verbose] > │ method6(v3, v4) │
00:00:21 #1197 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:21 #1198 [Verbose] > │ v1 │
00:00:21 #1199 [Verbose] > │ and method4 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:21 #1200 [Verbose] > │ match v0 with │
00:00:21 #1201 [Verbose] > │ | UH0_0(v2, v3) -> (* Cons *) │
00:00:21 #1202 [Verbose] > │ let v4 : UH0 = method4(v3, v1) │
00:00:21 #1203 [Verbose] > │ let v5 : float = v2 - 0.05 │
00:00:21 #1204 [Verbose] > │ let v6 : float = v5 - 0.05 │
00:00:21 #1205 [Verbose] > │ let v7 : float = v6 / 0.1 │
00:00:21 #1206 [Verbose] > │ let v8 : float = v7 + 1.0 │
00:00:21 #1207 [Verbose] > │ let v9 : float = 0.0 │
00:00:21 #1208 [Verbose] > │ let v10 : UH0 = method3(v8, v9) │
00:00:21 #1209 [Verbose] > │ let v11 : UH0 = UH0_1 │
00:00:21 #1210 [Verbose] > │ let v12 : UH0 = method5(v10, v11) │
00:00:21 #1211 [Verbose] > │ let v13 : float = 0.0 │
00:00:21 #1212 [Verbose] > │ let v14 : float = method6(v12, v13) │
00:00:21 #1213 [Verbose] > │ let v15 : float = 0.1 * v14 │
00:00:21 #1214 [Verbose] > │ UH0_0(v15, v4) │
00:00:21 #1215 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:21 #1216 [Verbose] > │ v1 │
00:00:21 #1217 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:21 #1218 [Verbose] > │ []) * (float [])) [])) = │
00:00:21 #1219 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (51) │
00:00:21 #1220 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:21 #1221 [Verbose] > │ while method1(v1) do │
00:00:21 #1222 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:21 #1223 [Verbose] > │ let v4 : float = float v3 │
00:00:21 #1224 [Verbose] > │ let v5 : float = -5.0 + v4 │
00:00:21 #1225 [Verbose] > │ v0.[int v3] <- v5 │
00:00:21 #1226 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:21 #1227 [Verbose] > │ v1.l0 <- v6 │
00:00:21 #1228 [Verbose] > │ () │
00:00:21 #1229 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:21 #1230 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:21 #1231 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:21 #1232 [Verbose] > │ while method2(v7, v9) do │
00:00:21 #1233 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:21 #1234 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:21 #1235 [Verbose] > │ let v13 : float = v12 - 0.05 │
00:00:21 #1236 [Verbose] > │ let v14 : float = v13 - 0.05 │
00:00:21 #1237 [Verbose] > │ let v15 : float = v14 / 0.1 │
00:00:21 #1238 [Verbose] > │ let v16 : float = v15 + 1.0 │
00:00:21 #1239 [Verbose] > │ let v17 : float = 0.0 │
00:00:21 #1240 [Verbose] > │ let v18 : UH0 = method3(v16, v17) │
00:00:21 #1241 [Verbose] > │ let v19 : UH0 = UH0_1 │
00:00:21 #1242 [Verbose] > │ let v20 : UH0 = method4(v18, v19) │
00:00:21 #1243 [Verbose] > │ let v21 : float = 0.0 │
00:00:21 #1244 [Verbose] > │ let v22 : float = method6(v20, v21) │
00:00:21 #1245 [Verbose] > │ v8.[int v11] <- v22 │
00:00:21 #1246 [Verbose] > │ let v23 : int32 = v11 + 1 │
00:00:21 #1247 [Verbose] > │ v9.l0 <- v23 │
00:00:21 #1248 [Verbose] > │ () │
00:00:22 #1249 [Verbose] > │ let v24 : string = "position of bike (m)" │
00:00:22 #1250 [Verbose] > │ let v25 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:22 #1251 [Verbose] > │ (v24, v0, v8)|] │
00:00:22 #1252 [Verbose] > │ let v26 : string = "child pedaling then coasting" │
00:00:22 #1253 [Verbose] > │ let v27 : string = "time (s)" │
00:00:22 #1254 [Verbose] > │ let v28 : string = "" │
00:00:22 #1255 [Verbose] > │ struct (v26, v27, v28, v25) │
00:00:22 #1256 [Verbose] > │ method0() │
00:00:22 #1257 [Verbose] > │ │
00:00:22 #1258 [Verbose] > │ │
00:00:22 #1259 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 #1260 [Verbose] >
00:00:22 #1261 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:22 #1262 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:22 #1263 [Verbose] > │ ## velocity_fv │
00:00:22 #1264 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 #1265 [Verbose] >
00:00:22 #1266 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 #1267 [Verbose] > inl newton_second_v m fs v0 =
00:00:22 #1268 [Verbose] > fs |> listm.map (fun f => f v0) |> listm'.sum |> fun x => x / m
00:00:22 #1269 [Verbose] >
00:00:22 #1270 [Verbose] > inl update_velocity dt m fs v0 =
00:00:22 #1271 [Verbose] > v0 + newton_second_v m fs v0 * dt
00:00:22 #1272 [Verbose] >
00:00:22 #1273 [Verbose] > inl velocity_fv dt m v0 fs t =
00:00:22 #1274 [Verbose] > stream.iterate (update_velocity dt m fs) v0
00:00:22 #1275 [Verbose] > |> stream.try_item (t / dt |> math.round |> abs)
00:00:22 #1276 [Verbose] > |> optionm'.default_value 0
00:00:22 #1277 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5588-8866-808331900f3e\main.spi
00:00:22 #1278 [Verbose] >
00:00:22 #1279 [Verbose] > ╭─[ 167.34ms - stdout ]────────────────────────────────────────────────────────╮
00:00:22 #1280 [Verbose] > │ () │
00:00:22 #1281 [Verbose] > │ │
00:00:22 #1282 [Verbose] > │ │
00:00:22 #1283 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 #1284 [Verbose] >
00:00:22 #1285 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 #1286 [Verbose] > inl f_air drag rho area v =
00:00:22 #1287 [Verbose] > -drag * rho * area * abs v * v / 2
00:00:22 #1288 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5605-0546-091eacff83d7\main.spi
00:00:22 #1289 [Verbose] >
00:00:22 #1290 [Verbose] > ╭─[ 185.97ms - stdout ]────────────────────────────────────────────────────────╮
00:00:22 #1291 [Verbose] > │ () │
00:00:22 #1292 [Verbose] > │ │
00:00:22 #1293 [Verbose] > │ │
00:00:22 #1294 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 #1295 [Verbose] >
00:00:22 #1296 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:22 #1297 [Verbose] > // // test
00:00:22 #1298 [Verbose] >
00:00:22 #1299 [Verbose] > inl x = am'.init_series 0 60 0.5
00:00:22 #1300 [Verbose] > inl y = x |> am.map (velocity_fv 1 70 0f64 [[ fun _ => 100; f_air 2 1.225 0.6
00:00:22 #1301 [Verbose] > ]])
00:00:22 #1302 [Verbose] > "bike velocity", "time (s)", "", ;[[ "velocity of bike (m/s)", x, y ]]
00:00:22 #1303 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5624-2439-299ca65f78cf\main.spi
00:00:22 #1304 [Verbose] >
00:00:22 #1305 [Verbose] > ╭─[ 587.49ms - return value ]──────────────────────────────────────────────────╮
00:00:22 #1306 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:22 #1307 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:22 #1308 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:22 #1309 [Verbose] > │ stroke="none"/> │
00:00:22 #1310 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:22 #1311 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:22 #1312 [Verbose] > │ fill="#FFFFFF"> │
00:00:22 #1313 [Verbose] > │ bike velocity │
00:00:22 #1314 [Verbose] > │ </text> │
00:00:22 #1315 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:00:22 #1316 [Verbose] > │ y2="75"/> │
00:00:22 #1317 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:22 #1318 [Verbose] > │ y2="75"/> │
00:00:22 #1319 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:00:22 #1320 [Verbose] > │ y2="75"/> │
00:00:22 #1321 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:00:22 #1322 [Verbose] > │ y2="75"/> │
00:00:22 #1323 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="94" y1="424" x... │
00:00:22 #1324 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:22 #1325 [Verbose] >
00:00:23 #1326 [Verbose] > ╭─[ 606.82ms - stdout ]────────────────────────────────────────────────────────╮
00:00:23 #1327 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:23 #1328 [Verbose] > │ and UH0 = │
00:00:23 #1329 [Verbose] > │ | UH0_0 of float * (unit -> UH0) │
00:00:23 #1330 [Verbose] > │ | UH0_1 │
00:00:23 #1331 [Verbose] > │ and [<Struct>] US0 = │
00:00:23 #1332 [Verbose] > │ | US0_0 │
00:00:23 #1333 [Verbose] > │ | US0_1 of f1_0 : float │
00:00:23 #1334 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:23 #1335 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:23 #1336 [Verbose] > │ let v2 : bool = v1 < 121 │
00:00:23 #1337 [Verbose] > │ v2 │
00:00:23 #1338 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:23 #1339 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:23 #1340 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:23 #1341 [Verbose] > │ v3 │
00:00:23 #1342 [Verbose] > │ and closure129 () () : UH0 = │
00:00:23 #1343 [Verbose] > │ let v0 : (unit -> UH0) = closure129() │
00:00:23 #1344 [Verbose] > │ UH0_0(11.664236870396083, v0) │
00:00:23 #1345 [Verbose] > │ and closure128 () () : UH0 = │
00:00:23 #1346 [Verbose] > │ let v0 : (unit -> UH0) = closure129() │
00:00:23 #1347 [Verbose] > │ UH0_0(11.664236870396081, v0) │
00:00:23 #1348 [Verbose] > │ and closure127 () () : UH0 = │
00:00:23 #1349 [Verbose] > │ let v0 : (unit -> UH0) = closure128() │
00:00:23 #1350 [Verbose] > │ UH0_0(11.66423687039608, v0) │
00:00:23 #1351 [Verbose] > │ and closure126 () () : UH0 = │
00:00:23 #1352 [Verbose] > │ let v0 : (unit -> UH0) = closure127() │
00:00:23 #1353 [Verbose] > │ UH0_0(11.664236870396078, v0) │
00:00:23 #1354 [Verbose] > │ and closure125 () () : UH0 = │
00:00:23 #1355 [Verbose] > │ let v0 : (unit -> UH0) = closure126() │
00:00:23 #1356 [Verbose] > │ UH0_0(11.664236870396074, v0) │
00:00:23 #1357 [Verbose] > │ and closure124 () () : UH0 = │
00:00:23 #1358 [Verbose] > │ let v0 : (unit -> UH0) = closure125() │
00:00:23 #1359 [Verbose] > │ UH0_0(11.66423687039607, v0) │
00:00:23 #1360 [Verbose] > │ and closure123 () () : UH0 = │
00:00:23 #1361 [Verbose] > │ let v0 : (unit -> UH0) = closure124() │
00:00:23 #1362 [Verbose] > │ UH0_0(11.664236870396065, v0) │
00:00:23 #1363 [Verbose] > │ and closure122 () () : UH0 = │
00:00:23 #1364 [Verbose] > │ let v0 : (unit -> UH0) = closure123() │
00:00:23 #1365 [Verbose] > │ UH0_0(11.664236870396058, v0) │
00:00:23 #1366 [Verbose] > │ and closure121 () () : UH0 = │
00:00:23 #1367 [Verbose] > │ let v0 : (unit -> UH0) = closure122() │
00:00:23 #1368 [Verbose] > │ UH0_0(11.66423687039605, v0) │
00:00:23 #1369 [Verbose] > │ and closure120 () () : UH0 = │
00:00:23 #1370 [Verbose] > │ let v0 : (unit -> UH0) = closure121() │
00:00:23 #1371 [Verbose] > │ UH0_0(11.664236870396037, v0) │
00:00:23 #1372 [Verbose] > │ and closure119 () () : UH0 = │
00:00:23 #1373 [Verbose] > │ let v0 : (unit -> UH0) = closure120() │
00:00:23 #1374 [Verbose] > │ UH0_0(11.66423687039602, v0) │
00:00:23 #1375 [Verbose] > │ and closure118 () () : UH0 = │
00:00:23 #1376 [Verbose] > │ let v0 : (unit -> UH0) = closure119() │
00:00:23 #1377 [Verbose] > │ UH0_0(11.664236870396, v0) │
00:00:23 #1378 [Verbose] > │ and closure117 () () : UH0 = │
00:00:23 #1379 [Verbose] > │ let v0 : (unit -> UH0) = closure118() │
00:00:23 #1380 [Verbose] > │ UH0_0(11.664236870395971, v0) │
00:00:23 #1381 [Verbose] > │ and closure116 () () : UH0 = │
00:00:23 #1382 [Verbose] > │ let v0 : (unit -> UH0) = closure117() │
00:00:23 #1383 [Verbose] > │ UH0_0(11.664236870395934, v0) │
00:00:23 #1384 [Verbose] > │ and closure115 () () : UH0 = │
00:00:23 #1385 [Verbose] > │ let v0 : (unit -> UH0) = closure116() │
00:00:23 #1386 [Verbose] > │ UH0_0(11.664236870395884, v0) │
00:00:23 #1387 [Verbose] > │ and closure114 () () : UH0 = │
00:00:23 #1388 [Verbose] > │ let v0 : (unit -> UH0) = closure115() │
00:00:23 #1389 [Verbose] > │ UH0_0(11.664236870395818, v0) │
00:00:23 #1390 [Verbose] > │ and closure113 () () : UH0 = │
00:00:23 #1391 [Verbose] > │ let v0 : (unit -> UH0) = closure114() │
00:00:23 #1392 [Verbose] > │ UH0_0(11.664236870395731, v0) │
00:00:23 #1393 [Verbose] > │ and closure112 () () : UH0 = │
00:00:23 #1394 [Verbose] > │ let v0 : (unit -> UH0) = closure113() │
00:00:23 #1395 [Verbose] > │ UH0_0(11.664236870395616, v0) │
00:00:23 #1396 [Verbose] > │ and closure111 () () : UH0 = │
00:00:23 #1397 [Verbose] > │ let v0 : (unit -> UH0) = closure112() │
00:00:23 #1398 [Verbose] > │ UH0_0(11.664236870395463, v0) │
00:00:23 #1399 [Verbose] > │ and closure110 () () : UH0 = │
00:00:23 #1400 [Verbose] > │ let v0 : (unit -> UH0) = closure111() │
00:00:23 #1401 [Verbose] > │ UH0_0(11.66423687039526, v0) │
00:00:23 #1402 [Verbose] > │ and closure109 () () : UH0 = │
00:00:23 #1403 [Verbose] > │ let v0 : (unit -> UH0) = closure110() │
00:00:23 #1404 [Verbose] > │ UH0_0(11.664236870394992, v0) │
00:00:23 #1405 [Verbose] > │ and closure108 () () : UH0 = │
00:00:23 #1406 [Verbose] > │ let v0 : (unit -> UH0) = closure109() │
00:00:23 #1407 [Verbose] > │ UH0_0(11.664236870394637, v0) │
00:00:23 #1408 [Verbose] > │ and closure107 () () : UH0 = │
00:00:23 #1409 [Verbose] > │ let v0 : (unit -> UH0) = closure108() │
00:00:23 #1410 [Verbose] > │ UH0_0(11.664236870394168, v0) │
00:00:23 #1411 [Verbose] > │ and closure106 () () : UH0 = │
00:00:23 #1412 [Verbose] > │ let v0 : (unit -> UH0) = closure107() │
00:00:23 #1413 [Verbose] > │ UH0_0(11.664236870393546, v0) │
00:00:23 #1414 [Verbose] > │ and closure105 () () : UH0 = │
00:00:23 #1415 [Verbose] > │ let v0 : (unit -> UH0) = closure106() │
00:00:23 #1416 [Verbose] > │ UH0_0(11.664236870392722, v0) │
00:00:23 #1417 [Verbose] > │ and closure104 () () : UH0 = │
00:00:23 #1418 [Verbose] > │ let v0 : (unit -> UH0) = closure105() │
00:00:23 #1419 [Verbose] > │ UH0_0(11.664236870391631, v0) │
00:00:23 #1420 [Verbose] > │ and closure103 () () : UH0 = │
00:00:23 #1421 [Verbose] > │ let v0 : (unit -> UH0) = closure104() │
00:00:23 #1422 [Verbose] > │ UH0_0(11.664236870390187, v0) │
00:00:23 #1423 [Verbose] > │ and closure102 () () : UH0 = │
00:00:23 #1424 [Verbose] > │ let v0 : (unit -> UH0) = closure103() │
00:00:23 #1425 [Verbose] > │ UH0_0(11.664236870388274, v0) │
00:00:23 #1426 [Verbose] > │ and closure101 () () : UH0 = │
00:00:23 #1427 [Verbose] > │ let v0 : (unit -> UH0) = closure102() │
00:00:23 #1428 [Verbose] > │ UH0_0(11.66423687038574, v0) │
00:00:23 #1429 [Verbose] > │ and closure100 () () : UH0 = │
00:00:23 #1430 [Verbose] > │ let v0 : (unit -> UH0) = closure101() │
00:00:23 #1431 [Verbose] > │ UH0_0(11.664236870382384, v0) │
00:00:23 #1432 [Verbose] > │ and closure99 () () : UH0 = │
00:00:23 #1433 [Verbose] > │ let v0 : (unit -> UH0) = closure100() │
00:00:23 #1434 [Verbose] > │ UH0_0(11.664236870377938, v0) │
00:00:23 #1435 [Verbose] > │ and closure98 () () : UH0 = │
00:00:23 #1436 [Verbose] > │ let v0 : (unit -> UH0) = closure99() │
00:00:23 #1437 [Verbose] > │ UH0_0(11.66423687037205, v0) │
00:00:23 #1438 [Verbose] > │ and closure97 () () : UH0 = │
00:00:23 #1439 [Verbose] > │ let v0 : (unit -> UH0) = closure98() │
00:00:23 #1440 [Verbose] > │ UH0_0(11.664236870364254, v0) │
00:00:23 #1441 [Verbose] > │ and closure96 () () : UH0 = │
00:00:23 #1442 [Verbose] > │ let v0 : (unit -> UH0) = closure97() │
00:00:23 #1443 [Verbose] > │ UH0_0(11.664236870353927, v0) │
00:00:23 #1444 [Verbose] > │ and closure95 () () : UH0 = │
00:00:23 #1445 [Verbose] > │ let v0 : (unit -> UH0) = closure96() │
00:00:23 #1446 [Verbose] > │ UH0_0(11.664236870340249, v0) │
00:00:23 #1447 [Verbose] > │ and closure94 () () : UH0 = │
00:00:23 #1448 [Verbose] > │ let v0 : (unit -> UH0) = closure95() │
00:00:23 #1449 [Verbose] > │ UH0_0(11.664236870322135, v0) │
00:00:23 #1450 [Verbose] > │ and closure93 () () : UH0 = │
00:00:23 #1451 [Verbose] > │ let v0 : (unit -> UH0) = closure94() │
00:00:23 #1452 [Verbose] > │ UH0_0(11.664236870298145, v0) │
00:00:23 #1453 [Verbose] > │ and closure92 () () : UH0 = │
00:00:23 #1454 [Verbose] > │ let v0 : (unit -> UH0) = closure93() │
00:00:23 #1455 [Verbose] > │ UH0_0(11.664236870266372, v0) │
00:00:23 #1456 [Verbose] > │ and closure91 () () : UH0 = │
00:00:23 #1457 [Verbose] > │ let v0 : (unit -> UH0) = closure92() │
00:00:23 #1458 [Verbose] > │ UH0_0(11.664236870224292, v0) │
00:00:23 #1459 [Verbose] > │ and closure90 () () : UH0 = │
00:00:23 #1460 [Verbose] > │ let v0 : (unit -> UH0) = closure91() │
00:00:23 #1461 [Verbose] > │ UH0_0(11.66423687016856, v0) │
00:00:23 #1462 [Verbose] > │ and closure89 () () : UH0 = │
00:00:23 #1463 [Verbose] > │ let v0 : (unit -> UH0) = closure90() │
00:00:23 #1464 [Verbose] > │ UH0_0(11.664236870094747, v0) │
00:00:23 #1465 [Verbose] > │ and closure88 () () : UH0 = │
00:00:23 #1466 [Verbose] > │ let v0 : (unit -> UH0) = closure89() │
00:00:23 #1467 [Verbose] > │ UH0_0(11.664236869996989, v0) │
00:00:23 #1468 [Verbose] > │ and closure87 () () : UH0 = │
00:00:23 #1469 [Verbose] > │ let v0 : (unit -> UH0) = closure88() │
00:00:23 #1470 [Verbose] > │ UH0_0(11.664236869867516, v0) │
00:00:23 #1471 [Verbose] > │ and closure86 () () : UH0 = │
00:00:23 #1472 [Verbose] > │ let v0 : (unit -> UH0) = closure87() │
00:00:23 #1473 [Verbose] > │ UH0_0(11.66423686969604, v0) │
00:00:23 #1474 [Verbose] > │ and closure85 () () : UH0 = │
00:00:23 #1475 [Verbose] > │ let v0 : (unit -> UH0) = closure86() │
00:00:23 #1476 [Verbose] > │ UH0_0(11.664236869468937, v0) │
00:00:23 #1477 [Verbose] > │ and closure84 () () : UH0 = │
00:00:23 #1478 [Verbose] > │ let v0 : (unit -> UH0) = closure85() │
00:00:23 #1479 [Verbose] > │ UH0_0(11.664236869168157, v0) │
00:00:23 #1480 [Verbose] > │ and closure83 () () : UH0 = │
00:00:23 #1481 [Verbose] > │ let v0 : (unit -> UH0) = closure84() │
00:00:23 #1482 [Verbose] > │ UH0_0(11.6642368687698, v0) │
00:00:23 #1483 [Verbose] > │ and closure82 () () : UH0 = │
00:00:23 #1484 [Verbose] > │ let v0 : (unit -> UH0) = closure83() │
00:00:23 #1485 [Verbose] > │ UH0_0(11.664236868242211, v0) │
00:00:23 #1486 [Verbose] > │ and closure81 () () : UH0 = │
00:00:23 #1487 [Verbose] > │ let v0 : (unit -> UH0) = closure82() │
00:00:23 #1488 [Verbose] > │ UH0_0(11.664236867543465, v0) │
00:00:23 #1489 [Verbose] > │ and closure80 () () : UH0 = │
00:00:23 #1490 [Verbose] > │ let v0 : (unit -> UH0) = closure81() │
00:00:23 #1491 [Verbose] > │ UH0_0(11.664236866618037, v0) │
00:00:23 #1492 [Verbose] > │ and closure79 () () : UH0 = │
00:00:23 #1493 [Verbose] > │ let v0 : (unit -> UH0) = closure80() │
00:00:23 #1494 [Verbose] > │ UH0_0(11.664236865392386, v0) │
00:00:23 #1495 [Verbose] > │ and closure78 () () : UH0 = │
00:00:23 #1496 [Verbose] > │ let v0 : (unit -> UH0) = closure79() │
00:00:23 #1497 [Verbose] > │ UH0_0(11.664236863769117, v0) │
00:00:23 #1498 [Verbose] > │ and closure77 () () : UH0 = │
00:00:23 #1499 [Verbose] > │ let v0 : (unit -> UH0) = closure78() │
00:00:23 #1500 [Verbose] > │ UH0_0(11.664236861619237, v0) │
00:00:23 #1501 [Verbose] > │ and closure76 () () : UH0 = │
00:00:23 #1502 [Verbose] > │ let v0 : (unit -> UH0) = closure77() │
00:00:23 #1503 [Verbose] > │ UH0_0(11.664236858771906, v0) │
00:00:23 #1504 [Verbose] > │ and closure75 () () : UH0 = │
00:00:23 #1505 [Verbose] > │ let v0 : (unit -> UH0) = closure76() │
00:00:23 #1506 [Verbose] > │ UH0_0(11.66423685500086, v0) │
00:00:23 #1507 [Verbose] > │ and closure74 () () : UH0 = │
00:00:23 #1508 [Verbose] > │ let v0 : (unit -> UH0) = closure75() │
00:00:23 #1509 [Verbose] > │ UH0_0(11.664236850006436, v0) │
00:00:23 #1510 [Verbose] > │ and closure73 () () : UH0 = │
00:00:23 #1511 [Verbose] > │ let v0 : (unit -> UH0) = closure74() │
00:00:23 #1512 [Verbose] > │ UH0_0(11.664236843391752, v0) │
00:00:23 #1513 [Verbose] > │ and closure72 () () : UH0 = │
00:00:23 #1514 [Verbose] > │ let v0 : (unit -> UH0) = closure73() │
00:00:23 #1515 [Verbose] > │ UH0_0(11.664236834631172, v0) │
00:00:23 #1516 [Verbose] > │ and closure71 () () : UH0 = │
00:00:23 #1517 [Verbose] > │ let v0 : (unit -> UH0) = closure72() │
00:00:23 #1518 [Verbose] > │ UH0_0(11.66423682302854, v0) │
00:00:23 #1519 [Verbose] > │ and closure70 () () : UH0 = │
00:00:23 #1520 [Verbose] > │ let v0 : (unit -> UH0) = closure71() │
00:00:23 #1521 [Verbose] > │ UH0_0(11.664236807661855, v0) │
00:00:23 #1522 [Verbose] > │ and closure69 () () : UH0 = │
00:00:23 #1523 [Verbose] > │ let v0 : (unit -> UH0) = closure70() │
00:00:23 #1524 [Verbose] > │ UH0_0(11.664236787310005, v0) │
00:00:23 #1525 [Verbose] > │ and closure68 () () : UH0 = │
00:00:23 #1526 [Verbose] > │ let v0 : (unit -> UH0) = closure69() │
00:00:23 #1527 [Verbose] > │ UH0_0(11.664236760355733, v0) │
00:00:23 #1528 [Verbose] > │ and closure67 () () : UH0 = │
00:00:23 #1529 [Verbose] > │ let v0 : (unit -> UH0) = closure68() │
00:00:23 #1530 [Verbose] > │ UH0_0(11.664236724657123, v0) │
00:00:23 #1531 [Verbose] > │ and closure66 () () : UH0 = │
00:00:23 #1532 [Verbose] > │ let v0 : (unit -> UH0) = closure67() │
00:00:23 #1533 [Verbose] > │ UH0_0(11.66423667737739, v0) │
00:00:23 #1534 [Verbose] > │ and closure65 () () : UH0 = │
00:00:23 #1535 [Verbose] > │ let v0 : (unit -> UH0) = closure66() │
00:00:23 #1536 [Verbose] > │ UH0_0(11.664236614759462, v0) │
00:00:23 #1537 [Verbose] > │ and closure64 () () : UH0 = │
00:00:23 #1538 [Verbose] > │ let v0 : (unit -> UH0) = closure65() │
00:00:23 #1539 [Verbose] > │ UH0_0(11.664236531827415, v0) │
00:00:23 #1540 [Verbose] > │ and closure63 () () : UH0 = │
00:00:23 #1541 [Verbose] > │ let v0 : (unit -> UH0) = closure64() │
00:00:23 #1542 [Verbose] > │ UH0_0(11.664236421991067, v0) │
00:00:23 #1543 [Verbose] > │ and closure62 () () : UH0 = │
00:00:23 #1544 [Verbose] > │ let v0 : (unit -> UH0) = closure63() │
00:00:23 #1545 [Verbose] > │ UH0_0(11.664236276522294, v0) │
00:00:23 #1546 [Verbose] > │ and closure61 () () : UH0 = │
00:00:23 #1547 [Verbose] > │ let v0 : (unit -> UH0) = closure62() │
00:00:23 #1548 [Verbose] > │ UH0_0(11.664236083861448, v0) │
00:00:23 #1549 [Verbose] > │ and closure60 () () : UH0 = │
00:00:23 #1550 [Verbose] > │ let v0 : (unit -> UH0) = closure61() │
00:00:23 #1551 [Verbose] > │ UH0_0(11.664235828698772, v0) │
00:00:23 #1552 [Verbose] > │ and closure59 () () : UH0 = │
00:00:23 #1553 [Verbose] > │ let v0 : (unit -> UH0) = closure60() │
00:00:23 #1554 [Verbose] > │ UH0_0(11.664235490757811, v0) │
00:00:23 #1555 [Verbose] > │ and closure58 () () : UH0 = │
00:00:23 #1556 [Verbose] > │ let v0 : (unit -> UH0) = closure59() │
00:00:23 #1557 [Verbose] > │ UH0_0(11.664235043184158, v0) │
00:00:23 #1558 [Verbose] > │ and closure57 () () : UH0 = │
00:00:23 #1559 [Verbose] > │ let v0 : (unit -> UH0) = closure58() │
00:00:23 #1560 [Verbose] > │ UH0_0(11.66423445041147, v0) │
00:00:23 #1561 [Verbose] > │ and closure56 () () : UH0 = │
00:00:23 #1562 [Verbose] > │ let v0 : (unit -> UH0) = closure57() │
00:00:23 #1563 [Verbose] > │ UH0_0(11.664233665335203, v0) │
00:00:23 #1564 [Verbose] > │ and closure55 () () : UH0 = │
00:00:23 #1565 [Verbose] > │ let v0 : (unit -> UH0) = closure56() │
00:00:23 #1566 [Verbose] > │ UH0_0(11.664232625569467, v0) │
00:00:23 #1567 [Verbose] > │ and closure54 () () : UH0 = │
00:00:23 #1568 [Verbose] > │ let v0 : (unit -> UH0) = closure55() │
00:00:23 #1569 [Verbose] > │ UH0_0(11.664231248489562, v0) │
00:00:23 #1570 [Verbose] > │ and closure53 () () : UH0 = │
00:00:23 #1571 [Verbose] > │ let v0 : (unit -> UH0) = closure54() │
00:00:23 #1572 [Verbose] > │ UH0_0(11.664229424666262, v0) │
00:00:23 #1573 [Verbose] > │ and closure52 () () : UH0 = │
00:00:23 #1574 [Verbose] > │ let v0 : (unit -> UH0) = closure53() │
00:00:23 #1575 [Verbose] > │ UH0_0(11.66422700917009, v0) │
00:00:23 #1576 [Verbose] > │ and closure51 () () : UH0 = │
00:00:23 #1577 [Verbose] > │ let v0 : (unit -> UH0) = closure52() │
00:00:23 #1578 [Verbose] > │ UH0_0(11.664223810054642, v0) │
00:00:23 #1579 [Verbose] > │ and closure50 () () : UH0 = │
00:00:23 #1580 [Verbose] > │ let v0 : (unit -> UH0) = closure51() │
00:00:23 #1581 [Verbose] > │ UH0_0(11.664219573103773, v0) │
00:00:23 #1582 [Verbose] > │ and closure49 () () : UH0 = │
00:00:23 #1583 [Verbose] > │ let v0 : (unit -> UH0) = closure50() │
00:00:23 #1584 [Verbose] > │ UH0_0(11.6642139616307, v0) │
00:00:23 #1585 [Verbose] > │ and closure48 () () : UH0 = │
00:00:23 #1586 [Verbose] > │ let v0 : (unit -> UH0) = closure49() │
00:00:23 #1587 [Verbose] > │ UH0_0(11.664206529723813, v0) │
00:00:23 #1588 [Verbose] > │ and closure47 () () : UH0 = │
00:00:23 #1589 [Verbose] > │ let v0 : (unit -> UH0) = closure48() │
00:00:23 #1590 [Verbose] > │ UH0_0(11.664196686813408, v0) │
00:00:23 #1591 [Verbose] > │ and closure46 () () : UH0 = │
00:00:23 #1592 [Verbose] > │ let v0 : (unit -> UH0) = closure47() │
00:00:23 #1593 [Verbose] > │ UH0_0(11.664183650743945, v0) │
00:00:23 #1594 [Verbose] > │ and closure45 () () : UH0 = │
00:00:23 #1595 [Verbose] > │ let v0 : (unit -> UH0) = closure46() │
00:00:23 #1596 [Verbose] > │ UH0_0(11.664166385623318, v0) │
00:00:23 #1597 [Verbose] > │ and closure44 () () : UH0 = │
00:00:23 #1598 [Verbose] > │ let v0 : (unit -> UH0) = closure45() │
00:00:23 #1599 [Verbose] > │ UH0_0(11.664143519511356, v0) │
00:00:23 #1600 [Verbose] > │ and closure43 () () : UH0 = │
00:00:23 #1601 [Verbose] > │ let v0 : (unit -> UH0) = closure44() │
00:00:23 #1602 [Verbose] > │ UH0_0(11.664113235408447, v0) │
00:00:23 #1603 [Verbose] > │ and closure42 () () : UH0 = │
00:00:23 #1604 [Verbose] > │ let v0 : (unit -> UH0) = closure43() │
00:00:23 #1605 [Verbose] > │ UH0_0(11.66407312688485, v0) │
00:00:23 #1606 [Verbose] > │ and closure41 () () : UH0 = │
00:00:23 #1607 [Verbose] > │ let v0 : (unit -> UH0) = closure42() │
00:00:23 #1608 [Verbose] > │ UH0_0(11.664020006883758, v0) │
00:00:23 #1609 [Verbose] > │ and closure40 () () : UH0 = │
00:00:23 #1610 [Verbose] > │ let v0 : (unit -> UH0) = closure41() │
00:00:23 #1611 [Verbose] > │ UH0_0(11.663949654514292, v0) │
00:00:23 #1612 [Verbose] > │ and closure39 () () : UH0 = │
00:00:23 #1613 [Verbose] > │ let v0 : (unit -> UH0) = closure40() │
00:00:23 #1614 [Verbose] > │ UH0_0(11.663856479730171, v0) │
00:00:23 #1615 [Verbose] > │ and closure38 () () : UH0 = │
00:00:23 #1616 [Verbose] > │ let v0 : (unit -> UH0) = closure39() │
00:00:23 #1617 [Verbose] > │ UH0_0(11.663733079277343, v0) │
00:00:23 #1618 [Verbose] > │ and closure37 () () : UH0 = │
00:00:23 #1619 [Verbose] > │ let v0 : (unit -> UH0) = closure38() │
00:00:23 #1620 [Verbose] > │ UH0_0(11.663569648675777, v0) │
00:00:23 #1621 [Verbose] > │ and closure36 () () : UH0 = │
00:00:23 #1622 [Verbose] > │ let v0 : (unit -> UH0) = closure37() │
00:00:23 #1623 [Verbose] > │ UH0_0(11.663353203599439, v0) │
00:00:23 #1624 [Verbose] > │ and closure35 () () : UH0 = │
00:00:23 #1625 [Verbose] > │ let v0 : (unit -> UH0) = closure36() │
00:00:23 #1626 [Verbose] > │ UH0_0(11.663066548940721, v0) │
00:00:23 #1627 [Verbose] > │ and closure34 () () : UH0 = │
00:00:23 #1628 [Verbose] > │ let v0 : (unit -> UH0) = closure35() │
00:00:23 #1629 [Verbose] > │ UH0_0(11.662686913915445, v0) │
00:00:23 #1630 [Verbose] > │ and closure33 () () : UH0 = │
00:00:23 #1631 [Verbose] > │ let v0 : (unit -> UH0) = closure34() │
00:00:23 #1632 [Verbose] > │ UH0_0(11.662184145236864, v0) │
00:00:23 #1633 [Verbose] > │ and closure32 () () : UH0 = │
00:00:23 #1634 [Verbose] > │ let v0 : (unit -> UH0) = closure33() │
00:00:23 #1635 [Verbose] > │ UH0_0(11.661518315638029, v0) │
00:00:23 #1636 [Verbose] > │ and closure31 () () : UH0 = │
00:00:23 #1637 [Verbose] > │ let v0 : (unit -> UH0) = closure32() │
00:00:23 #1638 [Verbose] > │ UH0_0(11.66063655920926, v0) │
00:00:23 #1639 [Verbose] > │ and closure30 () () : UH0 = │
00:00:23 #1640 [Verbose] > │ let v0 : (unit -> UH0) = closure31() │
00:00:23 #1641 [Verbose] > │ UH0_0(11.659468884709733, v0) │
00:00:23 #1642 [Verbose] > │ and closure29 () () : UH0 = │
00:00:23 #1643 [Verbose] > │ let v0 : (unit -> UH0) = closure30() │
00:00:23 #1644 [Verbose] > │ UH0_0(11.657922638782631, v0) │
00:00:23 #1645 [Verbose] > │ and closure28 () () : UH0 = │
00:00:23 #1646 [Verbose] > │ let v0 : (unit -> UH0) = closure29() │
00:00:23 #1647 [Verbose] > │ UH0_0(11.655875187195818, v0) │
00:00:23 #1648 [Verbose] > │ and closure27 () () : UH0 = │
00:00:23 #1649 [Verbose] > │ let v0 : (unit -> UH0) = closure28() │
00:00:23 #1650 [Verbose] > │ UH0_0(11.653164246713697, v0) │
00:00:23 #1651 [Verbose] > │ and closure26 () () : UH0 = │
00:00:23 #1652 [Verbose] > │ let v0 : (unit -> UH0) = closure27() │
00:00:23 #1653 [Verbose] > │ UH0_0(11.64957512416459, v0) │
00:00:23 #1654 [Verbose] > │ and closure25 () () : UH0 = │
00:00:23 #1655 [Verbose] > │ let v0 : (unit -> UH0) = closure26() │
00:00:23 #1656 [Verbose] > │ UH0_0(11.644823892116417, v0) │
00:00:23 #1657 [Verbose] > │ and closure24 () () : UH0 = │
00:00:23 #1658 [Verbose] > │ let v0 : (unit -> UH0) = closure25() │
00:00:23 #1659 [Verbose] > │ UH0_0(11.63853524018339, v0) │
00:00:23 #1660 [Verbose] > │ and closure23 () () : UH0 = │
00:00:23 #1661 [Verbose] > │ let v0 : (unit -> UH0) = closure24() │
00:00:23 #1662 [Verbose] > │ UH0_0(11.630213374558416, v0) │
00:00:23 #1663 [Verbose] > │ and closure22 () () : UH0 = │
00:00:23 #1664 [Verbose] > │ let v0 : (unit -> UH0) = closure23() │
00:00:23 #1665 [Verbose] > │ UH0_0(11.619203884549703, v0) │
00:00:23 #1666 [Verbose] > │ and closure21 () () : UH0 = │
00:00:23 #1667 [Verbose] > │ let v0 : (unit -> UH0) = closure22() │
00:00:23 #1668 [Verbose] > │ UH0_0(11.604643948207235, v0) │
00:00:23 #1669 [Verbose] > │ and closure20 () () : UH0 = │
00:00:23 #1670 [Verbose] > │ let v0 : (unit -> UH0) = closure21() │
00:00:23 #1671 [Verbose] > │ UH0_0(11.585397618384544, v0) │
00:00:23 #1672 [Verbose] > │ and closure19 () () : UH0 = │
00:00:23 #1673 [Verbose] > │ let v0 : (unit -> UH0) = closure20() │
00:00:23 #1674 [Verbose] > │ UH0_0(11.559972254267073, v0) │
00:00:23 #1675 [Verbose] > │ and closure18 () () : UH0 = │
00:00:23 #1676 [Verbose] > │ let v0 : (unit -> UH0) = closure19() │
00:00:23 #1677 [Verbose] > │ UH0_0(11.526411536153837, v0) │
00:00:23 #1678 [Verbose] > │ and closure17 () () : UH0 = │
00:00:23 #1679 [Verbose] > │ let v0 : (unit -> UH0) = closure18() │
00:00:23 #1680 [Verbose] > │ UH0_0(11.48216011776808, v0) │
00:00:23 #1681 [Verbose] > │ and closure16 () () : UH0 = │
00:00:23 #1682 [Verbose] > │ let v0 : (unit -> UH0) = closure17() │
00:00:23 #1683 [Verbose] > │ UH0_0(11.42389519391233, v0) │
00:00:23 #1684 [Verbose] > │ and closure15 () () : UH0 = │
00:00:23 #1685 [Verbose] > │ let v0 : (unit -> UH0) = closure16() │
00:00:23 #1686 [Verbose] > │ UH0_0(11.347321723441393, v0) │
00:00:23 #1687 [Verbose] > │ and closure14 () () : UH0 = │
00:00:23 #1688 [Verbose] > │ let v0 : (unit -> UH0) = closure15() │
00:00:23 #1689 [Verbose] > │ UH0_0(11.246931775734161, v0) │
00:00:23 #1690 [Verbose] > │ and closure13 () () : UH0 = │
00:00:23 #1691 [Verbose] > │ let v0 : (unit -> UH0) = closure14() │
00:00:23 #1692 [Verbose] > │ UH0_0(11.115736011467376, v0) │
00:00:23 #1693 [Verbose] > │ and closure12 () () : UH0 = │
00:00:23 #1694 [Verbose] > │ let v0 : (unit -> UH0) = closure13() │
00:00:23 #1695 [Verbose] > │ UH0_0(10.94498876251829, v0) │
00:00:23 #1696 [Verbose] > │ and closure11 () () : UH0 = │
00:00:23 #1697 [Verbose] > │ let v0 : (unit -> UH0) = closure12() │
00:00:23 #1698 [Verbose] > │ UH0_0(10.72394989903564, v0) │
00:00:23 #1699 [Verbose] > │ and closure10 () () : UH0 = │
00:00:23 #1700 [Verbose] > │ let v0 : (unit -> UH0) = closure11() │
00:00:23 #1701 [Verbose] > │ UH0_0(10.439758275369812, v0) │
00:00:23 #1702 [Verbose] > │ and closure9 () () : UH0 = │
00:00:23 #1703 [Verbose] > │ let v0 : (unit -> UH0) = closure10() │
00:00:23 #1704 [Verbose] > │ UH0_0(10.077531599826058, v0) │
00:00:23 #1705 [Verbose] > │ and closure8 () () : UH0 = │
00:00:23 #1706 [Verbose] > │ let v0 : (unit -> UH0) = closure9() │
00:00:23 #1707 [Verbose] > │ UH0_0(9.62084761372258, v0) │
00:00:23 #1708 [Verbose] > │ and closure7 () () : UH0 = │
00:00:23 #1709 [Verbose] > │ let v0 : (unit -> UH0) = closure8() │
00:00:23 #1710 [Verbose] > │ UH0_0(9.052781056066443, v0) │
00:00:23 #1711 [Verbose] > │ and closure6 () () : UH0 = │
00:00:23 #1712 [Verbose] > │ let v0 : (unit -> UH0) = closure7() │
00:00:23 #1713 [Verbose] > │ UH0_0(8.357635347880503, v0) │
00:00:23 #1714 [Verbose] > │ and closure5 () () : UH0 = │
00:00:23 #1715 [Verbose] > │ let v0 : (unit -> UH0) = closure6() │
00:00:23 #1716 [Verbose] > │ UH0_0(7.523376447621674, v0) │
00:00:23 #1717 [Verbose] > │ and closure4 () () : UH0 = │
00:00:23 #1718 [Verbose] > │ let v0 : (unit -> UH0) = closure5() │
00:00:23 #1719 [Verbose] > │ UH0_0(6.544529054818572, v0) │
00:00:23 #1720 [Verbose] > │ and closure3 () () : UH0 = │
00:00:23 #1721 [Verbose] > │ let v0 : (unit -> UH0) = closure4() │
00:00:23 #1722 [Verbose] > │ UH0_0(5.424976512996006, v0) │
00:00:23 #1723 [Verbose] > │ and closure2 () () : UH0 = │
00:00:23 #1724 [Verbose] > │ let v0 : (unit -> UH0) = closure3() │
00:00:23 #1725 [Verbose] > │ UH0_0(4.179852321428571, v0) │
00:00:23 #1726 [Verbose] > │ and closure1 () () : UH0 = │
00:00:23 #1727 [Verbose] > │ let v0 : (unit -> UH0) = closure2() │
00:00:23 #1728 [Verbose] > │ UH0_0(2.835714285714286, v0) │
00:00:23 #1729 [Verbose] > │ and closure0 () () : UH0 = │
00:00:23 #1730 [Verbose] > │ let v0 : (unit -> UH0) = closure1() │
00:00:23 #1731 [Verbose] > │ UH0_0(1.4285714285714286, v0) │
00:00:23 #1732 [Verbose] > │ and method3 (v0 : float, v1 : UH0) : US0 = │
00:00:23 #1733 [Verbose] > │ match v1 with │
00:00:23 #1734 [Verbose] > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:00:23 #1735 [Verbose] > │ let v4 : bool = v0 <= 0.0 │
00:00:23 #1736 [Verbose] > │ if v4 then │
00:00:23 #1737 [Verbose] > │ US0_1(v2) │
00:00:23 #1738 [Verbose] > │ else │
00:00:23 #1739 [Verbose] > │ let v6 : float = v0 - 1.0 │
00:00:23 #1740 [Verbose] > │ let v7 : UH0 = v3 () │
00:00:23 #1741 [Verbose] > │ method3(v6, v7) │
00:00:23 #1742 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:23 #1743 [Verbose] > │ US0_0 │
00:00:23 #1744 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:23 #1745 [Verbose] > │ []) * (float [])) [])) = │
00:00:23 #1746 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (121) │
00:00:23 #1747 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:23 #1748 [Verbose] > │ while method1(v1) do │
00:00:23 #1749 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:23 #1750 [Verbose] > │ let v4 : float = float v3 │
00:00:23 #1751 [Verbose] > │ let v5 : float = 0.5 * v4 │
00:00:23 #1752 [Verbose] > │ v0.[int v3] <- v5 │
00:00:23 #1753 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:23 #1754 [Verbose] > │ v1.l0 <- v6 │
00:00:23 #1755 [Verbose] > │ () │
00:00:23 #1756 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:23 #1757 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:23 #1758 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:23 #1759 [Verbose] > │ while method2(v7, v9) do │
00:00:23 #1760 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:23 #1761 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:23 #1762 [Verbose] > │ let v13 : float = round v12 │
00:00:23 #1763 [Verbose] > │ let v14 : float = -v13 │
00:00:23 #1764 [Verbose] > │ let v15 : bool = v13 >= v14 │
00:00:23 #1765 [Verbose] > │ let v16 : float = │
00:00:23 #1766 [Verbose] > │ if v15 then │
00:00:23 #1767 [Verbose] > │ v13 │
00:00:23 #1768 [Verbose] > │ else │
00:00:23 #1769 [Verbose] > │ v14 │
00:00:23 #1770 [Verbose] > │ let v17 : float = 0.0 │
00:00:23 #1771 [Verbose] > │ let v18 : (unit -> UH0) = closure0() │
00:00:23 #1772 [Verbose] > │ let v19 : UH0 = UH0_0(v17, v18) │
00:00:23 #1773 [Verbose] > │ let v20 : US0 = method3(v16, v19) │
00:00:23 #1774 [Verbose] > │ let v23 : float = │
00:00:23 #1775 [Verbose] > │ match v20 with │
00:00:23 #1776 [Verbose] > │ | US0_0 -> (* None *) │
00:00:23 #1777 [Verbose] > │ 0.0 │
00:00:23 #1778 [Verbose] > │ | US0_1(v21) -> (* Some *) │
00:00:23 #1779 [Verbose] > │ v21 │
00:00:23 #1780 [Verbose] > │ v8.[int v11] <- v23 │
00:00:23 #1781 [Verbose] > │ let v24 : int32 = v11 + 1 │
00:00:23 #1782 [Verbose] > │ v9.l0 <- v24 │
00:00:23 #1783 [Verbose] > │ () │
00:00:23 #1784 [Verbose] > │ let v25 : string = "velocity of bike (m/s)" │
00:00:23 #1785 [Verbose] > │ let v26 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:23 #1786 [Verbose] > │ (v25, v0, v8)|] │
00:00:23 #1787 [Verbose] > │ let v27 : string = "bike velocity" │
00:00:23 #1788 [Verbose] > │ let v28 : string = "time (s)" │
00:00:23 #1789 [Verbose] > │ let v29 : string = "" │
00:00:23 #1790 [Verbose] > │ struct (v27, v28, v29, v26) │
00:00:23 #1791 [Verbose] > │ method0() │
00:00:23 #1792 [Verbose] > │ │
00:00:23 #1793 [Verbose] > │ │
00:00:23 #1794 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 #1795 [Verbose] >
00:00:23 #1796 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:23 #1797 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:23 #1798 [Verbose] > │ ## velocity_ftv │
00:00:23 #1799 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 #1800 [Verbose] >
00:00:23 #1801 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:23 #1802 [Verbose] > inl newton_second_tv m fs (t, v0) =
00:00:23 #1803 [Verbose] > inl f_net = fs |> listm.map (fun f => f (t, v0)) |> listm'.sum
00:00:23 #1804 [Verbose] > inl acc = f_net / m
00:00:23 #1805 [Verbose] > 1, acc
00:00:23 #1806 [Verbose] >
00:00:23 #1807 [Verbose] > inl update_tv dt m fs (t, v0) =
00:00:23 #1808 [Verbose] > inl dtdt, dvdt = newton_second_tv m fs (t, v0)
00:00:23 #1809 [Verbose] > t + dtdt * dt, v0 + dvdt * dt
00:00:23 #1810 [Verbose] >
00:00:23 #1811 [Verbose] > inl velocity_ftv dt m tv0 fs t =
00:00:23 #1812 [Verbose] > stream.iterate (join update_tv dt m fs) tv0
00:00:23 #1813 [Verbose] > |> stream.try_item (t / dt |> math.round |> abs)
00:00:23 #1814 [Verbose] > |> optionm.map snd
00:00:23 #1815 [Verbose] > |> optionm'.default_value 0
00:00:23 #1816 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5709-0911-01998b454e91\main.spi
00:00:23 #1817 [Verbose] >
00:00:23 #1818 [Verbose] > ╭─[ 172.66ms - stdout ]────────────────────────────────────────────────────────╮
00:00:23 #1819 [Verbose] > │ () │
00:00:23 #1820 [Verbose] > │ │
00:00:23 #1821 [Verbose] > │ │
00:00:23 #1822 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 #1823 [Verbose] >
00:00:23 #1824 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:23 #1825 [Verbose] > // // test
00:00:23 #1826 [Verbose] >
00:00:23 #1827 [Verbose] > inl x = am'.init_series 0 100 0.1
00:00:23 #1828 [Verbose] > inl y =
00:00:23 #1829 [Verbose] > x
00:00:23 #1830 [Verbose] > |> am.map (
00:00:23 #1831 [Verbose] > velocity_ftv 0.1 20 (dyn (0, 0)) [[ fun (t, _) => pedal_coast t; fun (_,
00:00:23 #1832 [Verbose] > v) => f_air 2 1.225 0.5 v ]]
00:00:23 #1833 [Verbose] > )
00:00:23 #1834 [Verbose] > "pedaling and coasting with air", "time (s)", "", ;[[ "velocity of bike (m/s)",
00:00:23 #1835 [Verbose] > x, y ]]
00:00:23 #1836 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5726-2651-2b0d777f0bea\main.spi
00:00:23 #1837 [Verbose] >
00:00:23 #1838 [Verbose] > ╭─[ 422.60ms - return value ]──────────────────────────────────────────────────╮
00:00:23 #1839 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:23 #1840 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:23 #1841 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:23 #1842 [Verbose] > │ stroke="none"/> │
00:00:23 #1843 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:23 #1844 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:23 #1845 [Verbose] > │ fill="#FFFFFF"> │
00:00:23 #1846 [Verbose] > │ pedaling and coasting with air │
00:00:23 #1847 [Verbose] > │ </text> │
00:00:23 #1848 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:00:23 #1849 [Verbose] > │ y2="75"/> │
00:00:23 #1850 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:23 #1851 [Verbose] > │ y2="75"/> │
00:00:23 #1852 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:00:23 #1853 [Verbose] > │ y2="75"/> │
00:00:23 #1854 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:00:23 #1855 [Verbose] > │ y2="75"/> │
00:00:23 #1856 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x... │
00:00:23 #1857 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 #1858 [Verbose] >
00:00:23 #1859 [Verbose] > ╭─[ 436.40ms - stdout ]────────────────────────────────────────────────────────╮
00:00:23 #1860 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:23 #1861 [Verbose] > │ and UH0 = │
00:00:23 #1862 [Verbose] > │ | UH0_0 of float * float * (unit -> UH0) │
00:00:23 #1863 [Verbose] > │ | UH0_1 │
00:00:23 #1864 [Verbose] > │ and [<Struct>] US0 = │
00:00:23 #1865 [Verbose] > │ | US0_0 │
00:00:23 #1866 [Verbose] > │ | US0_1 of f1_0 : float * f1_1 : float │
00:00:23 #1867 [Verbose] > │ and [<Struct>] US1 = │
00:00:23 #1868 [Verbose] > │ | US1_0 │
00:00:23 #1869 [Verbose] > │ | US1_1 of f1_0 : float │
00:00:23 #1870 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:23 #1871 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:23 #1872 [Verbose] > │ let v2 : bool = v1 < 1001 │
00:00:23 #1873 [Verbose] > │ v2 │
00:00:23 #1874 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:23 #1875 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:23 #1876 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:23 #1877 [Verbose] > │ v3 │
00:00:23 #1878 [Verbose] > │ and closure0 () struct (v0 : float, v1 : float) : struct (float * float) = │
00:00:23 #1879 [Verbose] > │ let v2 : float = -v1 │
00:00:23 #1880 [Verbose] > │ let v3 : bool = v1 >= v2 │
00:00:23 #1881 [Verbose] > │ let v4 : float = │
00:00:23 #1882 [Verbose] > │ if v3 then │
00:00:23 #1883 [Verbose] > │ v1 │
00:00:23 #1884 [Verbose] > │ else │
00:00:23 #1885 [Verbose] > │ v2 │
00:00:23 #1886 [Verbose] > │ let v5 : float = -1.225 * v4 │
00:00:23 #1887 [Verbose] > │ let v6 : float = v5 * v1 │
00:00:23 #1888 [Verbose] > │ let v7 : float = v6 / 2.0 │
00:00:23 #1889 [Verbose] > │ let v8 : float = v0 / 20.0 │
00:00:23 #1890 [Verbose] > │ let v9 : int32 = int32 v8 │
00:00:23 #1891 [Verbose] > │ let v10 : float = float v9 │
00:00:23 #1892 [Verbose] > │ let v11 : float = v10 * 20.0 │
00:00:23 #1893 [Verbose] > │ let v12 : float = v0 - v11 │
00:00:23 #1894 [Verbose] > │ let v13 : bool = v12 > 0.0 │
00:00:23 #1895 [Verbose] > │ let v15 : bool = │
00:00:23 #1896 [Verbose] > │ if v13 then │
00:00:23 #1897 [Verbose] > │ let v14 : bool = v12 < 10.0 │
00:00:23 #1898 [Verbose] > │ v14 │
00:00:23 #1899 [Verbose] > │ else │
00:00:23 #1900 [Verbose] > │ false │
00:00:23 #1901 [Verbose] > │ let v16 : float = │
00:00:23 #1902 [Verbose] > │ if v15 then │
00:00:23 #1903 [Verbose] > │ 10.0 │
00:00:23 #1904 [Verbose] > │ else │
00:00:23 #1905 [Verbose] > │ 0.0 │
00:00:23 #1906 [Verbose] > │ let v17 : float = v16 + v7 │
00:00:23 #1907 [Verbose] > │ let v18 : float = v17 / 20.0 │
00:00:23 #1908 [Verbose] > │ let v19 : float = v0 + 0.1 │
00:00:23 #1909 [Verbose] > │ let v20 : float = v18 * 0.1 │
00:00:23 #1910 [Verbose] > │ let v21 : float = v1 + v20 │
00:00:23 #1911 [Verbose] > │ struct (v19, v21) │
00:00:23 #1912 [Verbose] > │ and method3 () : (struct (float * float) -> struct (float * float)) = │
00:00:23 #1913 [Verbose] > │ closure0() │
00:00:23 #1914 [Verbose] > │ and closure1 (v0 : (struct (float * float) -> struct (float * float)), v1 : │
00:00:23 #1915 [Verbose] > │ float, v2 : float, v3 : float, v4 : float) () : UH0 = │
00:00:23 #1916 [Verbose] > │ let struct (v5 : float, v6 : float) = v0 struct (v3, v4) │
00:00:23 #1917 [Verbose] > │ let v7 : (unit -> UH0) = closure1(v0, v1, v2, v5, v6) │
00:00:23 #1918 [Verbose] > │ UH0_0(v3, v4, v7) │
00:00:23 #1919 [Verbose] > │ and method4 (v0 : float, v1 : UH0) : US0 = │
00:00:23 #1920 [Verbose] > │ match v1 with │
00:00:23 #1921 [Verbose] > │ | UH0_0(v2, v3, v4) -> (* StreamCons *) │
00:00:23 #1922 [Verbose] > │ let v5 : bool = v0 <= 0.0 │
00:00:23 #1923 [Verbose] > │ if v5 then │
00:00:23 #1924 [Verbose] > │ US0_1(v2, v3) │
00:00:23 #1925 [Verbose] > │ else │
00:00:23 #1926 [Verbose] > │ let v7 : float = v0 - 1.0 │
00:00:23 #1927 [Verbose] > │ let v8 : UH0 = v4 () │
00:00:23 #1928 [Verbose] > │ method4(v7, v8) │
00:00:23 #1929 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:23 #1930 [Verbose] > │ US0_0 │
00:00:23 #1931 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:23 #1932 [Verbose] > │ []) * (float [])) [])) = │
00:00:23 #1933 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (1001) │
00:00:23 #1934 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:23 #1935 [Verbose] > │ while method1(v1) do │
00:00:23 #1936 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:23 #1937 [Verbose] > │ let v4 : float = float v3 │
00:00:23 #1938 [Verbose] > │ let v5 : float = 0.1 * v4 │
00:00:23 #1939 [Verbose] > │ v0.[int v3] <- v5 │
00:00:23 #1940 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:23 #1941 [Verbose] > │ v1.l0 <- v6 │
00:00:23 #1942 [Verbose] > │ () │
00:00:23 #1943 [Verbose] > │ let v7 : float = 0.0 │
00:00:23 #1944 [Verbose] > │ let v8 : float = 0.0 │
00:00:23 #1945 [Verbose] > │ let v9 : int32 = v0.Length │
00:00:23 #1946 [Verbose] > │ let v10 : (float []) = Array.zeroCreate<float> (v9) │
00:00:23 #1947 [Verbose] > │ let v11 : Mut0 = {l0 = 0} : Mut0 │
00:00:23 #1948 [Verbose] > │ while method2(v9, v11) do │
00:00:23 #1949 [Verbose] > │ let v13 : int32 = v11.l0 │
00:00:23 #1950 [Verbose] > │ let v14 : float = v0.[int v13] │
00:00:23 #1951 [Verbose] > │ let v15 : (struct (float * float) -> struct (float * float)) = │
00:00:23 #1952 [Verbose] > │ method3() │
00:00:23 #1953 [Verbose] > │ let struct (v16 : float, v17 : float) = v15 struct (v7, v8) │
00:00:23 #1954 [Verbose] > │ let v18 : float = v14 / 0.1 │
00:00:23 #1955 [Verbose] > │ let v19 : float = round v18 │
00:00:23 #1956 [Verbose] > │ let v20 : float = -v19 │
00:00:23 #1957 [Verbose] > │ let v21 : bool = v19 >= v20 │
00:00:23 #1958 [Verbose] > │ let v22 : float = │
00:00:23 #1959 [Verbose] > │ if v21 then │
00:00:23 #1960 [Verbose] > │ v19 │
00:00:23 #1961 [Verbose] > │ else │
00:00:23 #1962 [Verbose] > │ v20 │
00:00:23 #1963 [Verbose] > │ let v23 : (unit -> UH0) = closure1(v15, v7, v8, v16, v17) │
00:00:23 #1964 [Verbose] > │ let v24 : UH0 = UH0_0(v7, v8, v23) │
00:00:23 #1965 [Verbose] > │ let v25 : US0 = method4(v22, v24) │
00:00:23 #1966 [Verbose] > │ let v31 : US1 = │
00:00:23 #1967 [Verbose] > │ match v25 with │
00:00:23 #1968 [Verbose] > │ | US0_0 -> (* None *) │
00:00:23 #1969 [Verbose] > │ US1_0 │
00:00:23 #1970 [Verbose] > │ | US0_1(v26, v27) -> (* Some *) │
00:00:23 #1971 [Verbose] > │ US1_1(v27) │
00:00:23 #1972 [Verbose] > │ let v34 : float = │
00:00:23 #1973 [Verbose] > │ match v31 with │
00:00:23 #1974 [Verbose] > │ | US1_0 -> (* None *) │
00:00:23 #1975 [Verbose] > │ 0.0 │
00:00:23 #1976 [Verbose] > │ | US1_1(v32) -> (* Some *) │
00:00:23 #1977 [Verbose] > │ v32 │
00:00:23 #1978 [Verbose] > │ v10.[int v13] <- v34 │
00:00:23 #1979 [Verbose] > │ let v35 : int32 = v13 + 1 │
00:00:23 #1980 [Verbose] > │ v11.l0 <- v35 │
00:00:23 #1981 [Verbose] > │ () │
00:00:23 #1982 [Verbose] > │ let v36 : string = "velocity of bike (m/s)" │
00:00:23 #1983 [Verbose] > │ let v37 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:23 #1984 [Verbose] > │ (v36, v0, v10)|] │
00:00:23 #1985 [Verbose] > │ let v38 : string = "pedaling and coasting with air" │
00:00:23 #1986 [Verbose] > │ let v39 : string = "time (s)" │
00:00:23 #1987 [Verbose] > │ let v40 : string = "" │
00:00:23 #1988 [Verbose] > │ struct (v38, v39, v40, v37) │
00:00:23 #1989 [Verbose] > │ method0() │
00:00:23 #1990 [Verbose] > │ │
00:00:23 #1991 [Verbose] > │ │
00:00:23 #1992 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 #1993 [Verbose] >
00:00:23 #1994 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:23 #1995 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:23 #1996 [Verbose] > │ ## velocity_ftxv │
00:00:23 #1997 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:23 #1998 [Verbose] >
00:00:23 #1999 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:23 #2000 [Verbose] > nominal state_1d = time * position * velocity
00:00:23 #2001 [Verbose] > nominal rrr = f64 * f64 * f64
00:00:23 #2002 [Verbose] >
00:00:23 #2003 [Verbose] > inl newton_second_1d m fs (state_1d (t, x0, v0)) =
00:00:23 #2004 [Verbose] > inl f_net = fs |> listm.map (fun f => f (state_1d (t, x0, v0))) |>
00:00:23 #2005 [Verbose] > listm'.sum
00:00:23 #2006 [Verbose] > inl acc = f_net / m
00:00:23 #2007 [Verbose] > rrr (1f64, v0, acc)
00:00:23 #2008 [Verbose] >
00:00:23 #2009 [Verbose] > inl euler_1d dt deriv (state_1d (t0, x0, v0) as t) =
00:00:23 #2010 [Verbose] > inl (rrr (_, _, dvdt)) = deriv t
00:00:23 #2011 [Verbose] > inl t1 = t0 + dt
00:00:23 #2012 [Verbose] > inl x1 = x0 + v0 * dt
00:00:23 #2013 [Verbose] > inl v1 = v0 + dvdt * dt
00:00:23 #2014 [Verbose] > state_1d (t1, x1, v1)
00:00:23 #2015 [Verbose] >
00:00:23 #2016 [Verbose] > inl update_txv dt m fs =
00:00:23 #2017 [Verbose] > newton_second_1d m fs |> euler_1d dt
00:00:23 #2018 [Verbose] >
00:00:23 #2019 [Verbose] > inl states_txv dt m txv0 fs =
00:00:23 #2020 [Verbose] > seq.iterate_ (update_txv dt m fs) txv0
00:00:23 #2021 [Verbose] >
00:00:23 #2022 [Verbose] > inl velocity_1d sts t =
00:00:23 #2023 [Verbose] > inl (state_1d (t0, _, _)) = sts 0
00:00:23 #2024 [Verbose] > inl (state_1d (t1, _, _)) = sts 1
00:00:23 #2025 [Verbose] > inl dt = t1 - t0
00:00:23 #2026 [Verbose] > inl num_steps = t / dt |> math.round |> abs
00:00:23 #2027 [Verbose] > inl (state_1d (_, _, v0)) = sts num_steps
00:00:23 #2028 [Verbose] > v0
00:00:23 #2029 [Verbose] >
00:00:23 #2030 [Verbose] > inl velocity_ftxv dt m txv0 fs =
00:00:23 #2031 [Verbose] > states_txv dt m txv0 fs |> velocity_1d
00:00:23 #2032 [Verbose] >
00:00:23 #2033 [Verbose] > inl position_1d sts t =
00:00:23 #2034 [Verbose] > inl (state_1d (t0, _, _)) = sts 0
00:00:23 #2035 [Verbose] > inl (state_1d (t1, _, _)) = sts 1
00:00:23 #2036 [Verbose] > inl dt = t1 - t0
00:00:23 #2037 [Verbose] > inl num_steps = t / dt |> math.round |> abs
00:00:23 #2038 [Verbose] > inl (state_1d (_, x0, _)) = sts num_steps
00:00:23 #2039 [Verbose] > x0
00:00:23 #2040 [Verbose] >
00:00:23 #2041 [Verbose] > inl position_ftxv dt m txv0 fs =
00:00:23 #2042 [Verbose] > states_txv dt m txv0 fs |> position_1d
00:00:23 #2043 [Verbose] >
00:00:23 #2044 [Verbose] > inl spring_force k (state_1d (_, x0, _)) =
00:00:23 #2045 [Verbose] > -k * x0
00:00:23 #2046 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5776-7603-7508b6d9902b\main.spi
00:00:24 #2047 [Verbose] >
00:00:24 #2048 [Verbose] > ╭─[ 178.81ms - stdout ]────────────────────────────────────────────────────────╮
00:00:24 #2049 [Verbose] > │ () │
00:00:24 #2050 [Verbose] > │ │
00:00:24 #2051 [Verbose] > │ │
00:00:24 #2052 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 #2053 [Verbose] >
00:00:24 #2054 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:24 #2055 [Verbose] > // // test
00:00:24 #2056 [Verbose] >
00:00:24 #2057 [Verbose] > inl damped_ho_forces () =
00:00:24 #2058 [Verbose] > [[
00:00:24 #2059 [Verbose] > spring_force 0.8
00:00:24 #2060 [Verbose] > fun (state_1d (_, _, v0)) => f_air 2 1.225 (pi * math.square 0.02) v0
00:00:24 #2061 [Verbose] > fun _ => -0.0027 * 9.80665
00:00:24 #2062 [Verbose] > ]]
00:00:24 #2063 [Verbose] >
00:00:24 #2064 [Verbose] > inl damped_ho_states () =
00:00:24 #2065 [Verbose] > states_txv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ())
00:00:24 #2066 [Verbose] >
00:00:24 #2067 [Verbose] > inl pingpong_position t =
00:00:24 #2068 [Verbose] > position_ftxv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ()) t
00:00:24 #2069 [Verbose] >
00:00:24 #2070 [Verbose] > inl x : a _ f64 = am'.init_series 0 3 0.01
00:00:24 #2071 [Verbose] > inl y = x |> am.map pingpong_position
00:00:24 #2072 [Verbose] > "ping pong ball on a slinky", "time (s)", "", ;[[ "position (m)", x, y ]]
00:00:24 #2073 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5794-9438-9b262f713aa5\main.spi
00:00:24 #2074 [Verbose] >
00:00:24 #2075 [Verbose] > ╭─[ 283.45ms - return value ]──────────────────────────────────────────────────╮
00:00:24 #2076 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:24 #2077 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:24 #2078 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:24 #2079 [Verbose] > │ stroke="none"/> │
00:00:24 #2080 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:24 #2081 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:24 #2082 [Verbose] > │ fill="#FFFFFF"> │
00:00:24 #2083 [Verbose] > │ ping pong ball on a slinky │
00:00:24 #2084 [Verbose] > │ </text> │
00:00:24 #2085 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:00:24 #2086 [Verbose] > │ y2="75"/> │
00:00:24 #2087 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:24 #2088 [Verbose] > │ y2="75"/> │
00:00:24 #2089 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:00:24 #2090 [Verbose] > │ y2="75"/> │
00:00:24 #2091 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:00:24 #2092 [Verbose] > │ y2="75"/> │
00:00:24 #2093 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="9... │
00:00:24 #2094 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 #2095 [Verbose] >
00:00:24 #2096 [Verbose] > ╭─[ 295.80ms - stdout ]────────────────────────────────────────────────────────╮
00:00:24 #2097 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:24 #2098 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:24 #2099 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:24 #2100 [Verbose] > │ let v2 : bool = v1 < 301 │
00:00:24 #2101 [Verbose] > │ v2 │
00:00:24 #2102 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:24 #2103 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:24 #2104 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:24 #2105 [Verbose] > │ v3 │
00:00:24 #2106 [Verbose] > │ and method3 (v0 : float, v1 : float, v2 : float, v3 : float) : struct (float │
00:00:24 #2107 [Verbose] > │ * float * float) = │
00:00:24 #2108 [Verbose] > │ let v4 : bool = v3 <= 0.0 │
00:00:24 #2109 [Verbose] > │ if v4 then │
00:00:24 #2110 [Verbose] > │ struct (v0, v1, v2) │
00:00:24 #2111 [Verbose] > │ else │
00:00:24 #2112 [Verbose] > │ let v5 : float = -v2 │
00:00:24 #2113 [Verbose] > │ let v6 : bool = v2 >= v5 │
00:00:24 #2114 [Verbose] > │ let v7 : float = │
00:00:24 #2115 [Verbose] > │ if v6 then │
00:00:24 #2116 [Verbose] > │ v2 │
00:00:24 #2117 [Verbose] > │ else │
00:00:24 #2118 [Verbose] > │ v5 │
00:00:24 #2119 [Verbose] > │ let v8 : float = -0.0030787608005179976 * v7 │
00:00:24 #2120 [Verbose] > │ let v9 : float = v8 * v2 │
00:00:24 #2121 [Verbose] > │ let v10 : float = v9 / 2.0 │
00:00:24 #2122 [Verbose] > │ let v11 : float = -0.8 * v1 │
00:00:24 #2123 [Verbose] > │ let v12 : float = v11 + v10 │
00:00:24 #2124 [Verbose] > │ let v13 : float = v12 + -0.026477955 │
00:00:24 #2125 [Verbose] > │ let v14 : float = v13 / 0.0027 │
00:00:24 #2126 [Verbose] > │ let v15 : float = v0 + 0.001 │
00:00:24 #2127 [Verbose] > │ let v16 : float = v2 * 0.001 │
00:00:24 #2128 [Verbose] > │ let v17 : float = v1 + v16 │
00:00:24 #2129 [Verbose] > │ let v18 : float = v14 * 0.001 │
00:00:24 #2130 [Verbose] > │ let v19 : float = v2 + v18 │
00:00:24 #2131 [Verbose] > │ let v20 : float = v3 - 1.0 │
00:00:24 #2132 [Verbose] > │ method3(v15, v17, v19, v20) │
00:00:24 #2133 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:24 #2134 [Verbose] > │ []) * (float [])) [])) = │
00:00:24 #2135 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (301) │
00:00:24 #2136 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:24 #2137 [Verbose] > │ while method1(v1) do │
00:00:24 #2138 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:24 #2139 [Verbose] > │ let v4 : float = float v3 │
00:00:24 #2140 [Verbose] > │ let v5 : float = 0.01 * v4 │
00:00:24 #2141 [Verbose] > │ v0.[int v3] <- v5 │
00:00:24 #2142 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:24 #2143 [Verbose] > │ v1.l0 <- v6 │
00:00:24 #2144 [Verbose] > │ () │
00:00:24 #2145 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:24 #2146 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:24 #2147 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:24 #2148 [Verbose] > │ while method2(v7, v9) do │
00:00:24 #2149 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:24 #2150 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:24 #2151 [Verbose] > │ let v13 : float = 0.0 │
00:00:24 #2152 [Verbose] > │ let v14 : float = 0.1 │
00:00:24 #2153 [Verbose] > │ let v15 : float = 0.0 │
00:00:24 #2154 [Verbose] > │ let v16 : float = 0.0 │
00:00:24 #2155 [Verbose] > │ let struct (v17 : float, v18 : float, v19 : float) = method3(v13, │
00:00:24 #2156 [Verbose] > │ v14, v15, v16) │
00:00:24 #2157 [Verbose] > │ let v20 : float = 0.0 │
00:00:24 #2158 [Verbose] > │ let v21 : float = 0.1 │
00:00:24 #2159 [Verbose] > │ let v22 : float = 0.0 │
00:00:24 #2160 [Verbose] > │ let v23 : float = 1.0 │
00:00:24 #2161 [Verbose] > │ let struct (v24 : float, v25 : float, v26 : float) = method3(v20, │
00:00:24 #2162 [Verbose] > │ v21, v22, v23) │
00:00:24 #2163 [Verbose] > │ let v27 : float = v24 - v17 │
00:00:24 #2164 [Verbose] > │ let v28 : float = v12 / v27 │
00:00:24 #2165 [Verbose] > │ let v29 : float = round v28 │
00:00:24 #2166 [Verbose] > │ let v30 : float = -v29 │
00:00:24 #2167 [Verbose] > │ let v31 : bool = v29 >= v30 │
00:00:24 #2168 [Verbose] > │ let v32 : float = │
00:00:24 #2169 [Verbose] > │ if v31 then │
00:00:24 #2170 [Verbose] > │ v29 │
00:00:24 #2171 [Verbose] > │ else │
00:00:24 #2172 [Verbose] > │ v30 │
00:00:24 #2173 [Verbose] > │ let v33 : float = 0.0 │
00:00:24 #2174 [Verbose] > │ let v34 : float = 0.1 │
00:00:24 #2175 [Verbose] > │ let v35 : float = 0.0 │
00:00:24 #2176 [Verbose] > │ let struct (v36 : float, v37 : float, v38 : float) = method3(v33, │
00:00:24 #2177 [Verbose] > │ v34, v35, v32) │
00:00:24 #2178 [Verbose] > │ v8.[int v11] <- v37 │
00:00:24 #2179 [Verbose] > │ let v39 : int32 = v11 + 1 │
00:00:24 #2180 [Verbose] > │ v9.l0 <- v39 │
00:00:24 #2181 [Verbose] > │ () │
00:00:24 #2182 [Verbose] > │ let v40 : string = "position (m)" │
00:00:24 #2183 [Verbose] > │ let v41 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:24 #2184 [Verbose] > │ (v40, v0, v8)|] │
00:00:24 #2185 [Verbose] > │ let v42 : string = "ping pong ball on a slinky" │
00:00:24 #2186 [Verbose] > │ let v43 : string = "time (s)" │
00:00:24 #2187 [Verbose] > │ let v44 : string = "" │
00:00:24 #2188 [Verbose] > │ struct (v42, v43, v44, v41) │
00:00:24 #2189 [Verbose] > │ method0() │
00:00:24 #2190 [Verbose] > │ │
00:00:24 #2191 [Verbose] > │ │
00:00:24 #2192 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 #2193 [Verbose] >
00:00:24 #2194 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:24 #2195 [Verbose] > // // test
00:00:24 #2196 [Verbose] >
00:00:24 #2197 [Verbose] > inl pingpong_velocity t =
00:00:24 #2198 [Verbose] > velocity_ftxv 0.001 0.0027 (state_1d (0, 0.1, 0)) (damped_ho_forces ()) t
00:00:24 #2199 [Verbose] >
00:00:24 #2200 [Verbose] > inl x = am'.init_series 0 3 0.01
00:00:24 #2201 [Verbose] > inl y = x |> am.map pingpong_velocity
00:00:24 #2202 [Verbose] > "ping pong ball on a slinky", "time (s)", "", ;[[ "velocity (m/s)", x, y ]]
00:00:24 #2203 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5827-2758-211bc690a66c\main.spi
00:00:24 #2204 [Verbose] >
00:00:24 #2205 [Verbose] > ╭─[ 268.32ms - return value ]──────────────────────────────────────────────────╮
00:00:24 #2206 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:24 #2207 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:24 #2208 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:24 #2209 [Verbose] > │ stroke="none"/> │
00:00:24 #2210 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:24 #2211 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:24 #2212 [Verbose] > │ fill="#FFFFFF"> │
00:00:24 #2213 [Verbose] > │ ping pong ball on a slinky │
00:00:24 #2214 [Verbose] > │ </text> │
00:00:24 #2215 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="61" y1="424" x2="61" │
00:00:24 #2216 [Verbose] > │ y2="75"/> │
00:00:24 #2217 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:24 #2218 [Verbose] > │ y2="75"/> │
00:00:24 #2219 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="78" y1="424" x2="78" │
00:00:24 #2220 [Verbose] > │ y2="75"/> │
00:00:24 #2221 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="86" y1="424" x2="86" │
00:00:24 #2222 [Verbose] > │ y2="75"/> │
00:00:24 #2223 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="9... │
00:00:24 #2224 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 #2225 [Verbose] >
00:00:24 #2226 [Verbose] > ╭─[ 278.20ms - stdout ]────────────────────────────────────────────────────────╮
00:00:24 #2227 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:24 #2228 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:24 #2229 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:24 #2230 [Verbose] > │ let v2 : bool = v1 < 301 │
00:00:24 #2231 [Verbose] > │ v2 │
00:00:24 #2232 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:24 #2233 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:24 #2234 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:24 #2235 [Verbose] > │ v3 │
00:00:24 #2236 [Verbose] > │ and method3 (v0 : float, v1 : float, v2 : float, v3 : float) : struct (float │
00:00:24 #2237 [Verbose] > │ * float * float) = │
00:00:24 #2238 [Verbose] > │ let v4 : bool = v3 <= 0.0 │
00:00:24 #2239 [Verbose] > │ if v4 then │
00:00:24 #2240 [Verbose] > │ struct (v0, v1, v2) │
00:00:24 #2241 [Verbose] > │ else │
00:00:24 #2242 [Verbose] > │ let v5 : float = -v2 │
00:00:24 #2243 [Verbose] > │ let v6 : bool = v2 >= v5 │
00:00:24 #2244 [Verbose] > │ let v7 : float = │
00:00:24 #2245 [Verbose] > │ if v6 then │
00:00:24 #2246 [Verbose] > │ v2 │
00:00:24 #2247 [Verbose] > │ else │
00:00:24 #2248 [Verbose] > │ v5 │
00:00:24 #2249 [Verbose] > │ let v8 : float = -0.0030787608005179976 * v7 │
00:00:24 #2250 [Verbose] > │ let v9 : float = v8 * v2 │
00:00:24 #2251 [Verbose] > │ let v10 : float = v9 / 2.0 │
00:00:24 #2252 [Verbose] > │ let v11 : float = -0.8 * v1 │
00:00:24 #2253 [Verbose] > │ let v12 : float = v11 + v10 │
00:00:24 #2254 [Verbose] > │ let v13 : float = v12 + -0.026477955 │
00:00:24 #2255 [Verbose] > │ let v14 : float = v13 / 0.0027 │
00:00:24 #2256 [Verbose] > │ let v15 : float = v0 + 0.001 │
00:00:24 #2257 [Verbose] > │ let v16 : float = v2 * 0.001 │
00:00:24 #2258 [Verbose] > │ let v17 : float = v1 + v16 │
00:00:24 #2259 [Verbose] > │ let v18 : float = v14 * 0.001 │
00:00:24 #2260 [Verbose] > │ let v19 : float = v2 + v18 │
00:00:24 #2261 [Verbose] > │ let v20 : float = v3 - 1.0 │
00:00:24 #2262 [Verbose] > │ method3(v15, v17, v19, v20) │
00:00:24 #2263 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:24 #2264 [Verbose] > │ []) * (float [])) [])) = │
00:00:24 #2265 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (301) │
00:00:24 #2266 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:24 #2267 [Verbose] > │ while method1(v1) do │
00:00:24 #2268 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:24 #2269 [Verbose] > │ let v4 : float = float v3 │
00:00:24 #2270 [Verbose] > │ let v5 : float = 0.01 * v4 │
00:00:24 #2271 [Verbose] > │ v0.[int v3] <- v5 │
00:00:24 #2272 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:24 #2273 [Verbose] > │ v1.l0 <- v6 │
00:00:24 #2274 [Verbose] > │ () │
00:00:24 #2275 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:24 #2276 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:24 #2277 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:24 #2278 [Verbose] > │ while method2(v7, v9) do │
00:00:24 #2279 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:24 #2280 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:24 #2281 [Verbose] > │ let v13 : float = 0.0 │
00:00:24 #2282 [Verbose] > │ let v14 : float = 0.1 │
00:00:24 #2283 [Verbose] > │ let v15 : float = 0.0 │
00:00:24 #2284 [Verbose] > │ let v16 : float = 0.0 │
00:00:24 #2285 [Verbose] > │ let struct (v17 : float, v18 : float, v19 : float) = method3(v13, │
00:00:24 #2286 [Verbose] > │ v14, v15, v16) │
00:00:24 #2287 [Verbose] > │ let v20 : float = 0.0 │
00:00:24 #2288 [Verbose] > │ let v21 : float = 0.1 │
00:00:24 #2289 [Verbose] > │ let v22 : float = 0.0 │
00:00:24 #2290 [Verbose] > │ let v23 : float = 1.0 │
00:00:24 #2291 [Verbose] > │ let struct (v24 : float, v25 : float, v26 : float) = method3(v20, │
00:00:24 #2292 [Verbose] > │ v21, v22, v23) │
00:00:24 #2293 [Verbose] > │ let v27 : float = v24 - v17 │
00:00:24 #2294 [Verbose] > │ let v28 : float = v12 / v27 │
00:00:24 #2295 [Verbose] > │ let v29 : float = round v28 │
00:00:24 #2296 [Verbose] > │ let v30 : float = -v29 │
00:00:24 #2297 [Verbose] > │ let v31 : bool = v29 >= v30 │
00:00:24 #2298 [Verbose] > │ let v32 : float = │
00:00:24 #2299 [Verbose] > │ if v31 then │
00:00:24 #2300 [Verbose] > │ v29 │
00:00:24 #2301 [Verbose] > │ else │
00:00:24 #2302 [Verbose] > │ v30 │
00:00:24 #2303 [Verbose] > │ let v33 : float = 0.0 │
00:00:24 #2304 [Verbose] > │ let v34 : float = 0.1 │
00:00:24 #2305 [Verbose] > │ let v35 : float = 0.0 │
00:00:24 #2306 [Verbose] > │ let struct (v36 : float, v37 : float, v38 : float) = method3(v33, │
00:00:24 #2307 [Verbose] > │ v34, v35, v32) │
00:00:24 #2308 [Verbose] > │ v8.[int v11] <- v38 │
00:00:24 #2309 [Verbose] > │ let v39 : int32 = v11 + 1 │
00:00:24 #2310 [Verbose] > │ v9.l0 <- v39 │
00:00:24 #2311 [Verbose] > │ () │
00:00:24 #2312 [Verbose] > │ let v40 : string = "velocity (m/s)" │
00:00:24 #2313 [Verbose] > │ let v41 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:24 #2314 [Verbose] > │ (v40, v0, v8)|] │
00:00:24 #2315 [Verbose] > │ let v42 : string = "ping pong ball on a slinky" │
00:00:24 #2316 [Verbose] > │ let v43 : string = "time (s)" │
00:00:24 #2317 [Verbose] > │ let v44 : string = "" │
00:00:24 #2318 [Verbose] > │ struct (v42, v43, v44, v41) │
00:00:24 #2319 [Verbose] > │ method0() │
00:00:24 #2320 [Verbose] > │ │
00:00:24 #2321 [Verbose] > │ │
00:00:24 #2322 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 #2323 [Verbose] >
00:00:24 #2324 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:24 #2325 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:24 #2326 [Verbose] > │ ## shift │
00:00:24 #2327 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 #2328 [Verbose] >
00:00:24 #2329 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:24 #2330 [Verbose] > type update_function s = s -> s
00:00:24 #2331 [Verbose] >
00:00:24 #2332 [Verbose] > type differential_equation s ds = s -> ds
00:00:24 #2333 [Verbose] >
00:00:24 #2334 [Verbose] > type numerical_method s ds = differential_equation s ds -> update_function s
00:00:24 #2335 [Verbose] >
00:00:24 #2336 [Verbose] >
00:00:24 #2337 [Verbose] > inl solver method =
00:00:24 #2338 [Verbose] > method >> seq.iterate
00:00:24 #2339 [Verbose] > inl solver' method =
00:00:24 #2340 [Verbose] > method >> seq.iterate'
00:00:24 #2341 [Verbose] > inl solver_ method =
00:00:24 #2342 [Verbose] > method >> seq.iterate_
00:00:24 #2343 [Verbose] >
00:00:24 #2344 [Verbose] >
00:00:24 #2345 [Verbose] > inl euler_cromer_1d dt deriv (state_1d (t0, x0, v0) as t) =
00:00:24 #2346 [Verbose] > inl (rrr (_, _, dvdt)) = deriv t
00:00:24 #2347 [Verbose] > inl t1 = t0 + dt
00:00:24 #2348 [Verbose] > inl v1 = v0 + dvdt * dt
00:00:24 #2349 [Verbose] > inl x1 = x0 + v1 * dt
00:00:24 #2350 [Verbose] > state_1d (t1, x1, v1)
00:00:24 #2351 [Verbose] >
00:00:24 #2352 [Verbose] > inl update_txv_ec dt m fs =
00:00:24 #2353 [Verbose] > euler_cromer_1d dt (newton_second_1d m fs)
00:00:24 #2354 [Verbose] >
00:00:24 #2355 [Verbose] > prototype (+++) ds : ds -> ds -> ds
00:00:24 #2356 [Verbose] > prototype scale ds : f64 -> ds -> ds
00:00:24 #2357 [Verbose] >
00:00:24 #2358 [Verbose] > instance (+++) rrr = fun (rrr (dtdt0, dxdt0, dvdt0)) (rrr (dtdt1, dxdt1, dvdt1))
00:00:24 #2359 [Verbose] > =>
00:00:24 #2360 [Verbose] > rrr (dtdt0 + dtdt1, dxdt0 + dxdt1, dvdt0 + dvdt1)
00:00:24 #2361 [Verbose] >
00:00:24 #2362 [Verbose] > instance scale rrr = fun w (rrr (dtdt0, dxdt0, dvdt0)) =>
00:00:24 #2363 [Verbose] > rrr (w * dtdt0, w * dxdt0, w * dvdt0)
00:00:24 #2364 [Verbose] >
00:00:24 #2365 [Verbose] > prototype shift s : forall ds. f64 -> ds -> s -> s
00:00:24 #2366 [Verbose] >
00:00:24 #2367 [Verbose] > instance shift state_1d = fun dt ds (state_1d (t, x, v)) =>
00:00:24 #2368 [Verbose] > inl dtdt, dxdt, dvdt =
00:00:24 #2369 [Verbose] > real
00:00:24 #2370 [Verbose] > match ds with
00:00:24 #2371 [Verbose] > | rrr x => x
00:00:24 #2372 [Verbose] > | state_1d x => x
00:00:24 #2373 [Verbose] > state_1d (t + dtdt * dt, x + dxdt * dt, v + dvdt * dt)
00:00:24 #2374 [Verbose] >
00:00:24 #2375 [Verbose] > inl euler dt deriv st0 =
00:00:24 #2376 [Verbose] > shift dt (deriv st0) st0
00:00:24 #2377 [Verbose] >
00:00:24 #2378 [Verbose] > inl runge_kutta_4 dt deriv st0 =
00:00:24 #2379 [Verbose] > inl m0 = deriv st0
00:00:24 #2380 [Verbose] > inl m1 = deriv (shift (dt / 2) m0 st0)
00:00:24 #2381 [Verbose] > inl m2 = deriv (shift (dt / 2) m1 st0)
00:00:24 #2382 [Verbose] > inl m3 = deriv (shift dt m2 st0)
00:00:24 #2383 [Verbose] > shift (dt / 6) (m0 +++ m1 +++ m1 +++ m2 +++ m2 +++ m3) st0
00:00:24 #2384 [Verbose] >
00:00:24 #2385 [Verbose] > inl exponential (_, x0, v0) =
00:00:24 #2386 [Verbose] > 1f64, v0, x0
00:00:24 #2387 [Verbose] >
00:00:24 #2388 [Verbose] > inl of_state_1d (state_1d (t, x, v)) =
00:00:24 #2389 [Verbose] > t, x, v
00:00:24 #2390 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5859-5934-53b5763dc537\main.spi
00:00:24 #2391 [Verbose] >
00:00:24 #2392 [Verbose] > ╭─[ 192.05ms - stdout ]────────────────────────────────────────────────────────╮
00:00:24 #2393 [Verbose] > │ () │
00:00:24 #2394 [Verbose] > │ │
00:00:24 #2395 [Verbose] > │ │
00:00:24 #2396 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:24 #2397 [Verbose] >
00:00:24 #2398 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:24 #2399 [Verbose] > // // test
00:00:24 #2400 [Verbose] >
00:00:24 #2401 [Verbose] > solver (euler 0.01) (of_state_1d >> exponential >> state_1d) (state_1d (0, 1,
00:00:24 #2402 [Verbose] > 1)) 800i32
00:00:24 #2403 [Verbose] > |> _equal (state_1d (7.999999999999874, 2864.8311229272326, 2864.8311229272326))
00:00:24 #2404 [Verbose] >
00:00:24 #2405 [Verbose] > solver (euler_cromer_1d 0.1) (of_state_1d >> exponential >> rrr) (state_1d (0,
00:00:24 #2406 [Verbose] > 1, 1)) 80i32
00:00:24 #2407 [Verbose] > |> _equal (state_1d (7.999999999999988, 3043.379244966009, 2895.0121485099035))
00:00:24 #2408 [Verbose] >
00:00:24 #2409 [Verbose] > solver (runge_kutta_4 1) (of_state_1d >> exponential >> rrr) (state_1d (0, 1,
00:00:24 #2410 [Verbose] > 1)) 8i32
00:00:24 #2411 [Verbose] > |> _equal (state_1d (8.0, 2894.789038540849, 2894.789038540849))
00:00:25 #2412 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5878-7859-7c0e5829e79c\main.spi
00:00:25 #2413 [Verbose] >
00:00:25 #2414 [Verbose] > ╭─[ 466.92ms - stdout ]────────────────────────────────────────────────────────╮
00:00:25 #2415 [Verbose] > │ let rec method0 () : unit = │
00:00:25 #2416 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (7.999999999999874, │
00:00:25 #2417 [Verbose] > │ 2864.8311229272326, 2864.8311229272326)} / expected: %A{struct │
00:00:25 #2418 [Verbose] > │ (7.999999999999874, 2864.8311229272326, 2864.8311229272326)}" │
00:00:25 #2419 [Verbose] > │ let v1 : string = $"_equal / actual: %A{struct (7.999999999999988, │
00:00:25 #2420 [Verbose] > │ 3043.379244966009, 2895.0121485099035)} / expected: %A{struct │
00:00:25 #2421 [Verbose] > │ (7.999999999999988, 3043.379244966009, 2895.0121485099035)}" │
00:00:25 #2422 [Verbose] > │ let v2 : string = $"_equal / actual: %A{struct (8.0, 2894.789038540849, │
00:00:25 #2423 [Verbose] > │ 2894.789038540849)} / expected: %A{struct (8.0, 2894.789038540849, │
00:00:25 #2424 [Verbose] > │ 2894.789038540849)}" │
00:00:25 #2425 [Verbose] > │ () │
00:00:25 #2426 [Verbose] > │ method0() │
00:00:25 #2427 [Verbose] > │ │
00:00:25 #2428 [Verbose] > │ │
00:00:25 #2429 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 #2430 [Verbose] >
00:00:25 #2431 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:25 #2432 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:25 #2433 [Verbose] > │ ## vec │
00:00:25 #2434 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 #2435 [Verbose] >
00:00:25 #2436 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:25 #2437 [Verbose] > type vec =
00:00:25 #2438 [Verbose] > {
00:00:25 #2439 [Verbose] > x : f64
00:00:25 #2440 [Verbose] > y : f64
00:00:25 #2441 [Verbose] > z : f64
00:00:25 #2442 [Verbose] > }
00:00:25 #2443 [Verbose] >
00:00:25 #2444 [Verbose] > inl vec x y z : vec =
00:00:25 #2445 [Verbose] > { x y z }
00:00:25 #2446 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5926-2607-2a0603ff1dd2\main.spi
00:00:25 #2447 [Verbose] >
00:00:25 #2448 [Verbose] > ╭─[ 245.40ms - stdout ]────────────────────────────────────────────────────────╮
00:00:25 #2449 [Verbose] > │ () │
00:00:25 #2450 [Verbose] > │ │
00:00:25 #2451 [Verbose] > │ │
00:00:25 #2452 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:25 #2453 [Verbose] >
00:00:25 #2454 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:25 #2455 [Verbose] > // // test
00:00:25 #2456 [Verbose] >
00:00:25 #2457 [Verbose] > vec 1 2 3 .z
00:00:25 #2458 [Verbose] > |> _equal 3
00:00:25 #2459 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5950-5081-57ec20c48248\main.spi
00:00:26 #2460 [Verbose] >
00:00:26 #2461 [Verbose] > ╭─[ 472.28ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 #2462 [Verbose] > │ let rec method0 () : unit = │
00:00:26 #2463 [Verbose] > │ let v0 : string = $"_equal / actual: %A{3.0} / expected: %A{3.0}" │
00:00:26 #2464 [Verbose] > │ () │
00:00:26 #2465 [Verbose] > │ method0() │
00:00:26 #2466 [Verbose] > │ │
00:00:26 #2467 [Verbose] > │ │
00:00:26 #2468 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2469 [Verbose] >
00:00:26 #2470 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:26 #2471 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:26 #2472 [Verbose] > │ ### consts │
00:00:26 #2473 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2474 [Verbose] >
00:00:26 #2475 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 #2476 [Verbose] > inl i_hat () = vec 1 0 0
00:00:26 #2477 [Verbose] > inl j_hat () = vec 0 1 0
00:00:26 #2478 [Verbose] > inl k_hat () = vec 0 0 1
00:00:26 #2479 [Verbose] > inl zero_vec () = vec 0 0 0
00:00:26 #2480 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1546-5998-9854-95f5027737c2\main.spi
00:00:26 #2481 [Verbose] >
00:00:26 #2482 [Verbose] > ╭─[ 164.89ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 #2483 [Verbose] > │ () │
00:00:26 #2484 [Verbose] > │ │
00:00:26 #2485 [Verbose] > │ │
00:00:26 #2486 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2487 [Verbose] >
00:00:26 #2488 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:26 #2489 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:26 #2490 [Verbose] > │ ### ^+^ │
00:00:26 #2491 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2492 [Verbose] >
00:00:26 #2493 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 #2494 [Verbose] > inl (^+^) (a : vec) (b : vec) =
00:00:26 #2495 [Verbose] > vec (a.x + b.x) (a.y + b.y) (a.z + b.z)
00:00:26 #2496 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0015-1551-10391448b196\main.spi
00:00:26 #2497 [Verbose] >
00:00:26 #2498 [Verbose] > ╭─[ 169.57ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 #2499 [Verbose] > │ () │
00:00:26 #2500 [Verbose] > │ │
00:00:26 #2501 [Verbose] > │ │
00:00:26 #2502 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2503 [Verbose] >
00:00:26 #2504 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 #2505 [Verbose] > // // test
00:00:26 #2506 [Verbose] >
00:00:26 #2507 [Verbose] > vec 1 2 3 ^+^ vec 4 5 6
00:00:26 #2508 [Verbose] > |> _equal (vec 5 7 9)
00:00:26 #2509 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0032-3266-346ba7903663\main.spi
00:00:26 #2510 [Verbose] >
00:00:26 #2511 [Verbose] > ╭─[ 186.54ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 #2512 [Verbose] > │ let rec method0 () : unit = │
00:00:26 #2513 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (5.0, 7.0, 9.0)} / │
00:00:26 #2514 [Verbose] > │ expected: %A{struct (5.0, 7.0, 9.0)}" │
00:00:26 #2515 [Verbose] > │ () │
00:00:26 #2516 [Verbose] > │ method0() │
00:00:26 #2517 [Verbose] > │ │
00:00:26 #2518 [Verbose] > │ │
00:00:26 #2519 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2520 [Verbose] >
00:00:26 #2521 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:26 #2522 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:26 #2523 [Verbose] > │ ### sum_vec │
00:00:26 #2524 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2525 [Verbose] >
00:00:26 #2526 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 #2527 [Verbose] > inl sum_vec vs =
00:00:26 #2528 [Verbose] > vs |> listm.fold (^+^) (zero_vec ())
00:00:26 #2529 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0051-5186-5310ea056c83\main.spi
00:00:26 #2530 [Verbose] >
00:00:26 #2531 [Verbose] > ╭─[ 168.04ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 #2532 [Verbose] > │ () │
00:00:26 #2533 [Verbose] > │ │
00:00:26 #2534 [Verbose] > │ │
00:00:26 #2535 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2536 [Verbose] >
00:00:26 #2537 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 #2538 [Verbose] > // // test
00:00:26 #2539 [Verbose] >
00:00:26 #2540 [Verbose] > [[ vec 1 2 3; vec 4 5 6 ]]
00:00:26 #2541 [Verbose] > |> sum_vec
00:00:26 #2542 [Verbose] > |> _equal (vec 5 7 9)
00:00:26 #2543 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0068-6895-69372ff29db7\main.spi
00:00:26 #2544 [Verbose] >
00:00:26 #2545 [Verbose] > ╭─[ 152.96ms - stdout ]────────────────────────────────────────────────────────╮
00:00:26 #2546 [Verbose] > │ let rec method0 () : unit = │
00:00:26 #2547 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (5.0, 7.0, 9.0)} / │
00:00:26 #2548 [Verbose] > │ expected: %A{struct (5.0, 7.0, 9.0)}" │
00:00:26 #2549 [Verbose] > │ () │
00:00:26 #2550 [Verbose] > │ method0() │
00:00:26 #2551 [Verbose] > │ │
00:00:26 #2552 [Verbose] > │ │
00:00:26 #2553 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2554 [Verbose] >
00:00:26 #2555 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:26 #2556 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:26 #2557 [Verbose] > │ ### *^ │
00:00:26 #2558 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:26 #2559 [Verbose] >
00:00:26 #2560 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:26 #2561 [Verbose] > inl (*^) c { x y z } =
00:00:26 #2562 [Verbose] > vec (c * x) (c * y) (c * z)
00:00:27 #2563 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0084-8474-8ad485e3cb0e\main.spi
00:00:27 #2564 [Verbose] >
00:00:27 #2565 [Verbose] > ╭─[ 164.80ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 #2566 [Verbose] > │ () │
00:00:27 #2567 [Verbose] > │ │
00:00:27 #2568 [Verbose] > │ │
00:00:27 #2569 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2570 [Verbose] >
00:00:27 #2571 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 #2572 [Verbose] > // // test
00:00:27 #2573 [Verbose] >
00:00:27 #2574 [Verbose] > 5 *^ vec 1 2 3
00:00:27 #2575 [Verbose] > |> _equal (vec 5 10 15)
00:00:27 #2576 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0101-0147-0454dbbc674a\main.spi
00:00:27 #2577 [Verbose] >
00:00:27 #2578 [Verbose] > ╭─[ 159.32ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 #2579 [Verbose] > │ let rec method0 () : unit = │
00:00:27 #2580 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (5.0, 10.0, 15.0)} / │
00:00:27 #2581 [Verbose] > │ expected: %A{struct (5.0, 10.0, 15.0)}" │
00:00:27 #2582 [Verbose] > │ () │
00:00:27 #2583 [Verbose] > │ method0() │
00:00:27 #2584 [Verbose] > │ │
00:00:27 #2585 [Verbose] > │ │
00:00:27 #2586 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2587 [Verbose] >
00:00:27 #2588 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 #2589 [Verbose] > // // test
00:00:27 #2590 [Verbose] >
00:00:27 #2591 [Verbose] > 3 *^ i_hat () ^+^ 4 *^ k_hat ()
00:00:27 #2592 [Verbose] > |> _equal (vec 3 0 4)
00:00:27 #2593 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0117-1786-12f288be948d\main.spi
00:00:27 #2594 [Verbose] >
00:00:27 #2595 [Verbose] > ╭─[ 170.28ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 #2596 [Verbose] > │ let rec method0 () : unit = │
00:00:27 #2597 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (3.0, 0.0, 4.0)} / │
00:00:27 #2598 [Verbose] > │ expected: %A{struct (3.0, 0.0, 4.0)}" │
00:00:27 #2599 [Verbose] > │ () │
00:00:27 #2600 [Verbose] > │ method0() │
00:00:27 #2601 [Verbose] > │ │
00:00:27 #2602 [Verbose] > │ │
00:00:27 #2603 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2604 [Verbose] >
00:00:27 #2605 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:27 #2606 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:27 #2607 [Verbose] > │ ### ^* │
00:00:27 #2608 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2609 [Verbose] >
00:00:27 #2610 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 #2611 [Verbose] > inl (^*) v c =
00:00:27 #2612 [Verbose] > (*^) c v
00:00:27 #2613 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0135-3540-31600be5e235\main.spi
00:00:27 #2614 [Verbose] >
00:00:27 #2615 [Verbose] > ╭─[ 161.42ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 #2616 [Verbose] > │ () │
00:00:27 #2617 [Verbose] > │ │
00:00:27 #2618 [Verbose] > │ │
00:00:27 #2619 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2620 [Verbose] >
00:00:27 #2621 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 #2622 [Verbose] > // // test
00:00:27 #2623 [Verbose] >
00:00:27 #2624 [Verbose] > vec 1 2 3 ^* 5
00:00:27 #2625 [Verbose] > |> _equal (vec 5 10 15)
00:00:27 #2626 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0151-5189-5d5f8abc65a4\main.spi
00:00:27 #2627 [Verbose] >
00:00:27 #2628 [Verbose] > ╭─[ 158.39ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 #2629 [Verbose] > │ let rec method0 () : unit = │
00:00:27 #2630 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (5.0, 10.0, 15.0)} / │
00:00:27 #2631 [Verbose] > │ expected: %A{struct (5.0, 10.0, 15.0)}" │
00:00:27 #2632 [Verbose] > │ () │
00:00:27 #2633 [Verbose] > │ method0() │
00:00:27 #2634 [Verbose] > │ │
00:00:27 #2635 [Verbose] > │ │
00:00:27 #2636 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2637 [Verbose] >
00:00:27 #2638 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:27 #2639 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:27 #2640 [Verbose] > │ ### ^/ │
00:00:27 #2641 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2642 [Verbose] >
00:00:27 #2643 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 #2644 [Verbose] > inl (^/) { x y z } c =
00:00:27 #2645 [Verbose] > vec (x / c) (y / c) (z / c)
00:00:27 #2646 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0168-6831-66ff4623a4b9\main.spi
00:00:27 #2647 [Verbose] >
00:00:27 #2648 [Verbose] > ╭─[ 178.23ms - stdout ]────────────────────────────────────────────────────────╮
00:00:27 #2649 [Verbose] > │ () │
00:00:27 #2650 [Verbose] > │ │
00:00:27 #2651 [Verbose] > │ │
00:00:27 #2652 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:27 #2653 [Verbose] >
00:00:27 #2654 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:27 #2655 [Verbose] > // // test
00:00:27 #2656 [Verbose] >
00:00:27 #2657 [Verbose] > vec 1 2 3 ^/ 5
00:00:27 #2658 [Verbose] > |> _equal (vec 0.2 0.4 0.6)
00:00:28 #2659 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0186-8628-817ffe2e6dd8\main.spi
00:00:28 #2660 [Verbose] >
00:00:28 #2661 [Verbose] > ╭─[ 157.73ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 #2662 [Verbose] > │ let rec method0 () : unit = │
00:00:28 #2663 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (0.2, 0.4, 0.6)} / │
00:00:28 #2664 [Verbose] > │ expected: %A{struct (0.2, 0.4, 0.6)}" │
00:00:28 #2665 [Verbose] > │ () │
00:00:28 #2666 [Verbose] > │ method0() │
00:00:28 #2667 [Verbose] > │ │
00:00:28 #2668 [Verbose] > │ │
00:00:28 #2669 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2670 [Verbose] >
00:00:28 #2671 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:28 #2672 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:28 #2673 [Verbose] > │ ### negate_vec │
00:00:28 #2674 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2675 [Verbose] >
00:00:28 #2676 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 #2677 [Verbose] > inl negate_vec v =
00:00:28 #2678 [Verbose] > v ^* -1
00:00:28 #2679 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0203-0310-02fa4e9a0ac2\main.spi
00:00:28 #2680 [Verbose] >
00:00:28 #2681 [Verbose] > ╭─[ 178.01ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 #2682 [Verbose] > │ () │
00:00:28 #2683 [Verbose] > │ │
00:00:28 #2684 [Verbose] > │ │
00:00:28 #2685 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2686 [Verbose] >
00:00:28 #2687 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 #2688 [Verbose] > // // test
00:00:28 #2689 [Verbose] >
00:00:28 #2690 [Verbose] > vec 1 2 3
00:00:28 #2691 [Verbose] > |> negate_vec
00:00:28 #2692 [Verbose] > |> _equal (vec -1 -2 -3)
00:00:28 #2693 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0220-2064-2051b1a9c3e0\main.spi
00:00:28 #2694 [Verbose] >
00:00:28 #2695 [Verbose] > ╭─[ 205.99ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 #2696 [Verbose] > │ let rec method0 () : unit = │
00:00:28 #2697 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (-1.0, -2.0, -3.0)} / │
00:00:28 #2698 [Verbose] > │ expected: %A{struct (-1.0, -2.0, -3.0)}" │
00:00:28 #2699 [Verbose] > │ () │
00:00:28 #2700 [Verbose] > │ method0() │
00:00:28 #2701 [Verbose] > │ │
00:00:28 #2702 [Verbose] > │ │
00:00:28 #2703 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2704 [Verbose] >
00:00:28 #2705 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:28 #2706 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:28 #2707 [Verbose] > │ ### ^-^ │
00:00:28 #2708 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2709 [Verbose] >
00:00:28 #2710 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 #2711 [Verbose] > inl (^-^) a b =
00:00:28 #2712 [Verbose] > a ^+^ (negate_vec b)
00:00:28 #2713 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0241-4197-43379cd67b2e\main.spi
00:00:28 #2714 [Verbose] >
00:00:28 #2715 [Verbose] > ╭─[ 197.11ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 #2716 [Verbose] > │ () │
00:00:28 #2717 [Verbose] > │ │
00:00:28 #2718 [Verbose] > │ │
00:00:28 #2719 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2720 [Verbose] >
00:00:28 #2721 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 #2722 [Verbose] > // // test
00:00:28 #2723 [Verbose] >
00:00:28 #2724 [Verbose] > vec 1 2 3 ^-^ vec 4 5 6
00:00:28 #2725 [Verbose] > |> _equal (vec -3 -3 -3)
00:00:28 #2726 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0261-6181-6bdd9102f7b9\main.spi
00:00:28 #2727 [Verbose] >
00:00:28 #2728 [Verbose] > ╭─[ 185.90ms - stdout ]────────────────────────────────────────────────────────╮
00:00:28 #2729 [Verbose] > │ let rec method0 () : unit = │
00:00:28 #2730 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (-3.0, -3.0, -3.0)} / │
00:00:28 #2731 [Verbose] > │ expected: %A{struct (-3.0, -3.0, -3.0)}" │
00:00:28 #2732 [Verbose] > │ () │
00:00:28 #2733 [Verbose] > │ method0() │
00:00:28 #2734 [Verbose] > │ │
00:00:28 #2735 [Verbose] > │ │
00:00:28 #2736 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2737 [Verbose] >
00:00:28 #2738 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:28 #2739 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:28 #2740 [Verbose] > │ ### <.> │
00:00:28 #2741 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #2742 [Verbose] >
00:00:28 #2743 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 #2744 [Verbose] > inl (<.>) { x = ax y = ay z = az } { x = bx y = by z = bz } =
00:00:28 #2745 [Verbose] > ax * bx + ay * by + az * bz
00:00:29 #2746 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0280-8091-8105ba72621d\main.spi
00:00:29 #2747 [Verbose] >
00:00:29 #2748 [Verbose] > ╭─[ 217.86ms - stdout ]────────────────────────────────────────────────────────╮
00:00:29 #2749 [Verbose] > │ () │
00:00:29 #2750 [Verbose] > │ │
00:00:29 #2751 [Verbose] > │ │
00:00:29 #2752 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2753 [Verbose] >
00:00:29 #2754 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:29 #2755 [Verbose] > // // test
00:00:29 #2756 [Verbose] >
00:00:29 #2757 [Verbose] > vec 1 2 3 <.> vec 4 5 6
00:00:29 #2758 [Verbose] > |> _equal 32
00:00:29 #2759 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0303-0312-05a9af58b960\main.spi
00:00:29 #2760 [Verbose] >
00:00:29 #2761 [Verbose] > ╭─[ 213.96ms - stdout ]────────────────────────────────────────────────────────╮
00:00:29 #2762 [Verbose] > │ let rec method0 () : unit = │
00:00:29 #2763 [Verbose] > │ let v0 : string = $"_equal / actual: %A{32.0} / expected: %A{32.0}" │
00:00:29 #2764 [Verbose] > │ () │
00:00:29 #2765 [Verbose] > │ method0() │
00:00:29 #2766 [Verbose] > │ │
00:00:29 #2767 [Verbose] > │ │
00:00:29 #2768 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2769 [Verbose] >
00:00:29 #2770 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:29 #2771 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:29 #2772 [Verbose] > │ ### \>\< │
00:00:29 #2773 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2774 [Verbose] >
00:00:29 #2775 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:29 #2776 [Verbose] > inl (><) (a : vec) (b : vec) =
00:00:29 #2777 [Verbose] > vec
00:00:29 #2778 [Verbose] > (a.y * b.z - a.z * b.y)
00:00:29 #2779 [Verbose] > (a.z * b.x - a.x * b.z)
00:00:29 #2780 [Verbose] > (a.x * b.y - a.y * b.x)
00:00:29 #2781 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0324-2489-2a60938286b0\main.spi
00:00:29 #2782 [Verbose] >
00:00:29 #2783 [Verbose] > ╭─[ 353.51ms - stdout ]────────────────────────────────────────────────────────╮
00:00:29 #2784 [Verbose] > │ () │
00:00:29 #2785 [Verbose] > │ │
00:00:29 #2786 [Verbose] > │ │
00:00:29 #2787 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2788 [Verbose] >
00:00:29 #2789 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:29 #2790 [Verbose] > // // test
00:00:29 #2791 [Verbose] >
00:00:29 #2792 [Verbose] > vec 1 2 3 >< vec 4 5 6
00:00:29 #2793 [Verbose] > |> _equal (vec -3 6 -3)
00:00:29 #2794 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0360-6045-6e50fa6b5fbb\main.spi
00:00:29 #2795 [Verbose] >
00:00:29 #2796 [Verbose] > ╭─[ 161.12ms - stdout ]────────────────────────────────────────────────────────╮
00:00:29 #2797 [Verbose] > │ let rec method0 () : unit = │
00:00:29 #2798 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (-3.0, 6.0, -3.0)} / │
00:00:29 #2799 [Verbose] > │ expected: %A{struct (-3.0, 6.0, -3.0)}" │
00:00:29 #2800 [Verbose] > │ () │
00:00:29 #2801 [Verbose] > │ method0() │
00:00:29 #2802 [Verbose] > │ │
00:00:29 #2803 [Verbose] > │ │
00:00:29 #2804 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2805 [Verbose] >
00:00:29 #2806 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:29 #2807 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:29 #2808 [Verbose] > │ ### magnitude │
00:00:29 #2809 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:29 #2810 [Verbose] >
00:00:29 #2811 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:29 #2812 [Verbose] > inl magnitude v =
00:00:29 #2813 [Verbose] > v <.> v |> sqrt
00:00:29 #2814 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0377-7754-7af9d73379c8\main.spi
00:00:30 #2815 [Verbose] >
00:00:30 #2816 [Verbose] > ╭─[ 159.12ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 #2817 [Verbose] > │ () │
00:00:30 #2818 [Verbose] > │ │
00:00:30 #2819 [Verbose] > │ │
00:00:30 #2820 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2821 [Verbose] >
00:00:30 #2822 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 #2823 [Verbose] > // // test
00:00:30 #2824 [Verbose] >
00:00:30 #2825 [Verbose] > vec 1 2 3
00:00:30 #2826 [Verbose] > |> magnitude
00:00:30 #2827 [Verbose] > |> _almost_equal 3.7416573867739413
00:00:30 #2828 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0393-9342-9d657e249070\main.spi
00:00:30 #2829 [Verbose] >
00:00:30 #2830 [Verbose] > ╭─[ 140.29ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 #2831 [Verbose] > │ let rec method0 () : unit = │
00:00:30 #2832 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{3.7416573867739413} / │
00:00:30 #2833 [Verbose] > │ expected: %A{3.7416573867739413}" │
00:00:30 #2834 [Verbose] > │ () │
00:00:30 #2835 [Verbose] > │ method0() │
00:00:30 #2836 [Verbose] > │ │
00:00:30 #2837 [Verbose] > │ │
00:00:30 #2838 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2839 [Verbose] >
00:00:30 #2840 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:30 #2841 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:30 #2842 [Verbose] > │ ### v1 │
00:00:30 #2843 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2844 [Verbose] >
00:00:30 #2845 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 #2846 [Verbose] > inl v1 t =
00:00:30 #2847 [Verbose] > 2 *^ (t ** 2 *^ i_hat () ^+^ 3 *^ (t ** 3 *^ j_hat () ^+^ t ** 4 *^ k_hat
00:00:30 #2848 [Verbose] > ()))
00:00:30 #2849 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0408-0803-084a5e65285d\main.spi
00:00:30 #2850 [Verbose] >
00:00:30 #2851 [Verbose] > ╭─[ 152.65ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 #2852 [Verbose] > │ () │
00:00:30 #2853 [Verbose] > │ │
00:00:30 #2854 [Verbose] > │ │
00:00:30 #2855 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2856 [Verbose] >
00:00:30 #2857 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 #2858 [Verbose] > // // test
00:00:30 #2859 [Verbose] >
00:00:30 #2860 [Verbose] > v1 1
00:00:30 #2861 [Verbose] > |> _equal (vec 2 6 6)
00:00:30 #2862 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0423-2359-2e703a708043\main.spi
00:00:30 #2863 [Verbose] >
00:00:30 #2864 [Verbose] > ╭─[ 154.75ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 #2865 [Verbose] > │ let rec method0 () : unit = │
00:00:30 #2866 [Verbose] > │ let v0 : string = $"_equal / actual: %A{struct (2.0, 6.0, 6.0)} / │
00:00:30 #2867 [Verbose] > │ expected: %A{struct (2.0, 6.0, 6.0)}" │
00:00:30 #2868 [Verbose] > │ () │
00:00:30 #2869 [Verbose] > │ method0() │
00:00:30 #2870 [Verbose] > │ │
00:00:30 #2871 [Verbose] > │ │
00:00:30 #2872 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2873 [Verbose] >
00:00:30 #2874 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:30 #2875 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:30 #2876 [Verbose] > │ ### vec_derivative │
00:00:30 #2877 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2878 [Verbose] >
00:00:30 #2879 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 #2880 [Verbose] > type vec_derivative = (f64 -> vec) -> f64 -> vec
00:00:30 #2881 [Verbose] >
00:00:30 #2882 [Verbose] > inl vec_derivative dt : vec_derivative =
00:00:30 #2883 [Verbose] > fun v t =>
00:00:30 #2884 [Verbose] > (v (t + dt / 2) ^-^ v (t - dt / 2)) ^/ dt
00:00:30 #2885 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0439-3959-3680eed1a855\main.spi
00:00:30 #2886 [Verbose] >
00:00:30 #2887 [Verbose] > ╭─[ 147.72ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 #2888 [Verbose] > │ () │
00:00:30 #2889 [Verbose] > │ │
00:00:30 #2890 [Verbose] > │ │
00:00:30 #2891 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2892 [Verbose] >
00:00:30 #2893 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 #2894 [Verbose] > // // test
00:00:30 #2895 [Verbose] >
00:00:30 #2896 [Verbose] > vec_derivative 0.01 v1 3 .x
00:00:30 #2897 [Verbose] > |> _almost_equal (derivative 0.01 (v1 >> fun v => v.x) 3)
00:00:30 #2898 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0454-5461-5dcb74f28136\main.spi
00:00:30 #2899 [Verbose] >
00:00:30 #2900 [Verbose] > ╭─[ 154.60ms - stdout ]────────────────────────────────────────────────────────╮
00:00:30 #2901 [Verbose] > │ let rec method0 () : unit = │
00:00:30 #2902 [Verbose] > │ let v0 : string = $"_almost_equal / actual: %A{11.999999999999744} / │
00:00:30 #2903 [Verbose] > │ expected: %A{11.999999999999744}" │
00:00:30 #2904 [Verbose] > │ () │
00:00:30 #2905 [Verbose] > │ method0() │
00:00:30 #2906 [Verbose] > │ │
00:00:30 #2907 [Verbose] > │ │
00:00:30 #2908 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2909 [Verbose] >
00:00:30 #2910 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:30 #2911 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:30 #2912 [Verbose] > │ ## states_ps │
00:00:30 #2913 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:30 #2914 [Verbose] >
00:00:30 #2915 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:30 #2916 [Verbose] > nominal particle_state =
00:00:30 #2917 [Verbose] > {
00:00:30 #2918 [Verbose] > mass : f64
00:00:30 #2919 [Verbose] > charge : f64
00:00:30 #2920 [Verbose] > time : f64
00:00:30 #2921 [Verbose] > pos_vec : vec
00:00:30 #2922 [Verbose] > velocity : vec
00:00:30 #2923 [Verbose] > }
00:00:30 #2924 [Verbose] >
00:00:30 #2925 [Verbose] > inl default_particle_state () : particle_state =
00:00:30 #2926 [Verbose] > particle_state {
00:00:30 #2927 [Verbose] > mass = 1
00:00:30 #2928 [Verbose] > charge = 0
00:00:30 #2929 [Verbose] > time = 0
00:00:30 #2930 [Verbose] > pos_vec = zero_vec ()
00:00:30 #2931 [Verbose] > velocity = zero_vec ()
00:00:30 #2932 [Verbose] > }
00:00:30 #2933 [Verbose] >
00:00:30 #2934 [Verbose] > type one_body_force = particle_state -> vec
00:00:30 #2935 [Verbose] >
00:00:30 #2936 [Verbose] > nominal d_particle_state =
00:00:30 #2937 [Verbose] > {
00:00:30 #2938 [Verbose] > dmdt : f64
00:00:30 #2939 [Verbose] > dqdt : f64
00:00:30 #2940 [Verbose] > dtdt : f64
00:00:30 #2941 [Verbose] > drdt : vec
00:00:30 #2942 [Verbose] > dvdt : vec
00:00:30 #2943 [Verbose] > }
00:00:30 #2944 [Verbose] >
00:00:30 #2945 [Verbose] > inl newton_second_ps (fs : list one_body_force) (st : particle_state) :
00:00:30 #2946 [Verbose] > d_particle_state =
00:00:30 #2947 [Verbose] > inl f_net = fs |> listm.map (fun f => f st) |> sum_vec
00:00:30 #2948 [Verbose] > d_particle_state {
00:00:30 #2949 [Verbose] > dmdt = 0
00:00:30 #2950 [Verbose] > dqdt = 0
00:00:30 #2951 [Verbose] > dtdt = 1
00:00:30 #2952 [Verbose] > drdt = st.velocity
00:00:30 #2953 [Verbose] > dvdt = f_net ^/ st.mass
00:00:30 #2954 [Verbose] > }
00:00:30 #2955 [Verbose] >
00:00:30 #2956 [Verbose] > inl earth_surface_gravity (st : particle_state) =
00:00:30 #2957 [Verbose] > inl g = 9.80665
00:00:30 #2958 [Verbose] > -st.mass * g *^ k_hat ()
00:00:30 #2959 [Verbose] >
00:00:30 #2960 [Verbose] > inl air_resistance drag rho area (st : particle_state) =
00:00:30 #2961 [Verbose] > -0.5 * drag * rho * area * magnitude st.velocity *^ st.velocity
00:00:30 #2962 [Verbose] >
00:00:30 #2963 [Verbose] > inl euler_cromer_ps dt (deriv : particle_state -> d_particle_state)
00:00:30 #2964 [Verbose] > (particle_state st) =
00:00:30 #2965 [Verbose] > inl dst : d_particle_state = deriv (particle_state st)
00:00:30 #2966 [Verbose] > inl v' = st.velocity ^+^ dst.dvdt ^* dt
00:00:30 #2967 [Verbose] > particle_state { st with
00:00:30 #2968 [Verbose] > time = st.time + dt
00:00:30 #2969 [Verbose] > pos_vec = st.pos_vec ^+^ v' ^* dt
00:00:30 #2970 [Verbose] > velocity = st.velocity ^+^ dst.dvdt ^* dt
00:00:30 #2971 [Verbose] > }
00:00:30 #2972 [Verbose] >
00:00:30 #2973 [Verbose] > instance (+++) d_particle_state = fun (dps : d_particle_state) (dps' :
00:00:30 #2974 [Verbose] > d_particle_state) =>
00:00:30 #2975 [Verbose] > d_particle_state {
00:00:30 #2976 [Verbose] > dmdt = dps.dmdt + dps'.dmdt
00:00:30 #2977 [Verbose] > dqdt = dps.dqdt + dps'.dqdt
00:00:30 #2978 [Verbose] > dtdt = dps.dtdt + dps'.dtdt
00:00:30 #2979 [Verbose] > drdt = dps.drdt ^+^ dps'.drdt
00:00:30 #2980 [Verbose] > dvdt = dps.dvdt ^+^ dps'.dvdt
00:00:30 #2981 [Verbose] > }
00:00:30 #2982 [Verbose] >
00:00:30 #2983 [Verbose] > instance scale d_particle_state = fun w (dps : d_particle_state) =>
00:00:30 #2984 [Verbose] > d_particle_state {
00:00:30 #2985 [Verbose] > dmdt = w * dps.dmdt
00:00:30 #2986 [Verbose] > dqdt = w * dps.dqdt
00:00:30 #2987 [Verbose] > dtdt = w * dps.dtdt
00:00:30 #2988 [Verbose] > drdt = w *^ dps.drdt
00:00:30 #2989 [Verbose] > dvdt = w *^ dps.dvdt
00:00:30 #2990 [Verbose] > }
00:00:30 #2991 [Verbose] >
00:00:30 #2992 [Verbose] > instance shift particle_state = fun dt dps (particle_state st) =>
00:00:30 #2993 [Verbose] > inl (d_particle_state dps) =
00:00:30 #2994 [Verbose] > real
00:00:30 #2995 [Verbose] > match dps with
00:00:30 #2996 [Verbose] > | d_particle_state _ => dps
00:00:30 #2997 [Verbose] > particle_state { st with
00:00:30 #2998 [Verbose] > time = st.time + dps.dtdt * dt
00:00:30 #2999 [Verbose] > pos_vec = st.pos_vec ^+^ dps.drdt ^* dt
00:00:30 #3000 [Verbose] > velocity = st.velocity ^+^ dps.dvdt ^* dt
00:00:30 #3001 [Verbose] > }
00:00:30 #3002 [Verbose] >
00:00:30 #3003 [Verbose] > inl states_ps (method : numerical_method particle_state d_particle_state) : _ ->
00:00:30 #3004 [Verbose] > _ -> i32 -> particle_state =
00:00:30 #3005 [Verbose] > newton_second_ps >> method >> seq.iterate_
00:00:30 #3006 [Verbose] >
00:00:30 #3007 [Verbose] > inl z_ge0 sts =
00:00:30 #3008 [Verbose] > sts
00:00:30 #3009 [Verbose] > |> seq.take_while_ (fun (particle_state st) _ => st.pos_vec.z >= 0)
00:00:30 #3010 [Verbose] >
00:00:30 #3011 [Verbose] > inl trajectory sts =
00:00:30 #3012 [Verbose] > sts |> listm.map (fun (particle_state st) => st.pos_vec.y, st.pos_vec.z)
00:00:30 #3013 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0470-7085-7bed4aefbd29\main.spi
00:00:31 #3014 [Verbose] >
00:00:31 #3015 [Verbose] > ╭─[ 197.14ms - stdout ]────────────────────────────────────────────────────────╮
00:00:31 #3016 [Verbose] > │ () │
00:00:31 #3017 [Verbose] > │ │
00:00:31 #3018 [Verbose] > │ │
00:00:31 #3019 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 #3020 [Verbose] >
00:00:31 #3021 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:31 #3022 [Verbose] > // // test
00:00:31 #3023 [Verbose] >
00:00:31 #3024 [Verbose] > inl update_ps (method : numerical_method particle_state d_particle_state) =
00:00:31 #3025 [Verbose] > newton_second_ps >> method
00:00:31 #3026 [Verbose] >
00:00:31 #3027 [Verbose] > inl position_ps (method : numerical_method particle_state d_particle_state) fs
00:00:31 #3028 [Verbose] > st t =
00:00:31 #3029 [Verbose] > inl states : i32 -> particle_state = states_ps method fs st
00:00:31 #3030 [Verbose] > inl dt = (states 1).time - (states 0).time
00:00:31 #3031 [Verbose] > inl num_steps = t / dt |> math.round |> abs
00:00:31 #3032 [Verbose] > inl st1 = solver' method (newton_second_ps fs) st num_steps
00:00:31 #3033 [Verbose] > st1.pos_vec
00:00:31 #3034 [Verbose] >
00:00:31 #3035 [Verbose] > inl sun_gravity (st : particle_state) : vec =
00:00:31 #3036 [Verbose] > inl big_g = 0.0000000000667408
00:00:31 #3037 [Verbose] > inl sun_mass = 1988480000000000000000000000000
00:00:31 #3038 [Verbose] > -big_g * sun_mass * st.mass *^ st.pos_vec ^/ magnitude st.pos_vec ** 3
00:00:31 #3039 [Verbose] >
00:00:31 #3040 [Verbose] > inl wind_force v_wind drag rho area (st : particle_state) =
00:00:31 #3041 [Verbose] > inl v_rel = st.velocity ^-^ v_wind
00:00:31 #3042 [Verbose] > -0.5 * drag * rho * area * magnitude v_rel *^ v_rel
00:00:31 #3043 [Verbose] >
00:00:31 #3044 [Verbose] > inl rock_state () =
00:00:31 #3045 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:31 #3046 [Verbose] > particle_state { default_particle_state' with
00:00:31 #3047 [Verbose] > mass = 2
00:00:31 #3048 [Verbose] > velocity = vec 3 0 4
00:00:31 #3049 [Verbose] > }
00:00:31 #3050 [Verbose] >
00:00:31 #3051 [Verbose] > inl halley_update dt =
00:00:31 #3052 [Verbose] > update_ps (euler_cromer_ps dt) [[ sun_gravity ]]
00:00:31 #3053 [Verbose] >
00:00:31 #3054 [Verbose] > inl halley_initial () =
00:00:31 #3055 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:31 #3056 [Verbose] > particle_state { default_particle_state' with
00:00:31 #3057 [Verbose] > mass = 220000000000000
00:00:31 #3058 [Verbose] > pos_vec = 87660000000 *^ i_hat ()
00:00:31 #3059 [Verbose] > velocity = 54569 *^ j_hat ()
00:00:31 #3060 [Verbose] > }
00:00:31 #3061 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0490-9060-92bee6437fbb\main.spi
00:00:31 #3062 [Verbose] >
00:00:31 #3063 [Verbose] > ╭─[ 186.92ms - stdout ]────────────────────────────────────────────────────────╮
00:00:31 #3064 [Verbose] > │ () │
00:00:31 #3065 [Verbose] > │ │
00:00:31 #3066 [Verbose] > │ │
00:00:31 #3067 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:31 #3068 [Verbose] >
00:00:31 #3069 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:31 #3070 [Verbose] > // // test
00:00:31 #3071 [Verbose] >
00:00:31 #3072 [Verbose] > inl baseball_forces () =
00:00:31 #3073 [Verbose] > inl area = pi * (0.074 / 2) ** 2
00:00:31 #3074 [Verbose] > [[
00:00:31 #3075 [Verbose] > earth_surface_gravity
00:00:31 #3076 [Verbose] > air_resistance 0.3 1.225 area
00:00:31 #3077 [Verbose] > ]]
00:00:31 #3078 [Verbose] >
00:00:31 #3079 [Verbose] > inl baseball_trajectory dt v0 theta_deg =
00:00:31 #3080 [Verbose] > inl theta_rad = theta_deg * pi / 180
00:00:31 #3081 [Verbose] > inl vy0 = v0 * cos theta_rad
00:00:31 #3082 [Verbose] > inl vz0 = v0 * sin theta_rad
00:00:31 #3083 [Verbose] > inl initial_state =
00:00:31 #3084 [Verbose] > particle_state {
00:00:31 #3085 [Verbose] > mass = 0.145
00:00:31 #3086 [Verbose] > charge = 0
00:00:31 #3087 [Verbose] > time = 0
00:00:31 #3088 [Verbose] > pos_vec = zero_vec ()
00:00:31 #3089 [Verbose] > velocity = vec 0 vy0 vz0
00:00:31 #3090 [Verbose] > }
00:00:31 #3091 [Verbose] > states_ps (euler_cromer_ps dt) (baseball_forces ()) initial_state
00:00:31 #3092 [Verbose] > >> Some
00:00:31 #3093 [Verbose] > |> z_ge0
00:00:31 #3094 [Verbose] > |> trajectory
00:00:31 #3095 [Verbose] >
00:00:31 #3096 [Verbose] > inl baseball_range dt v0 theta_deg =
00:00:31 #3097 [Verbose] > baseball_trajectory dt v0 theta_deg
00:00:31 #3098 [Verbose] > |> listm.fold (fun _ (y, _) => y) 0
00:00:31 #3099 [Verbose] >
00:00:31 #3100 [Verbose] > inl x : a _ f64 = am'.init_series 10 80 1
00:00:31 #3101 [Verbose] > inl y = x |> am.map (baseball_range 0.01 45)
00:00:31 #3102 [Verbose] > "range for a baseball hit at 45 m/s",
00:00:31 #3103 [Verbose] > "angle above horizontal (degrees)",
00:00:31 #3104 [Verbose] > "",
00:00:31 #3105 [Verbose] > ;[[ "horizontal range (m)", x, y ]]
00:00:31 #3106 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0509-0951-0b0043e2ebb2\main.spi
00:00:32 #3107 [Verbose] >
00:00:32 #3108 [Verbose] > ╭─[ 921.68ms - return value ]──────────────────────────────────────────────────╮
00:00:32 #3109 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:32 #3110 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:32 #3111 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:32 #3112 [Verbose] > │ stroke="none"/> │
00:00:32 #3113 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:32 #3114 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:32 #3115 [Verbose] > │ fill="#FFFFFF"> │
00:00:32 #3116 [Verbose] > │ range for a baseball hit at 45 m/s │
00:00:32 #3117 [Verbose] > │ </text> │
00:00:32 #3118 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="55" y1="424" x2="55" │
00:00:32 #3119 [Verbose] > │ y2="75"/> │
00:00:32 #3120 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │
00:00:32 #3121 [Verbose] > │ y2="75"/> │
00:00:32 #3122 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:32 #3123 [Verbose] > │ y2="75"/> │
00:00:32 #3124 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │
00:00:32 #3125 [Verbose] > │ y2="75"/> │
00:00:32 #3126 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="... │
00:00:32 #3127 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 #3128 [Verbose] >
00:00:32 #3129 [Verbose] > ╭─[ 933.69ms - stdout ]────────────────────────────────────────────────────────╮
00:00:32 #3130 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:00:32 #3131 [Verbose] > │ and UH0 = │
00:00:32 #3132 [Verbose] > │ | UH0_0 of float * float * float * float * float * float * float * float │
00:00:32 #3133 [Verbose] > │ * float * UH0 │
00:00:32 #3134 [Verbose] > │ | UH0_1 │
00:00:32 #3135 [Verbose] > │ and UH1 = │
00:00:32 #3136 [Verbose] > │ | UH1_0 of float * float * UH1 │
00:00:32 #3137 [Verbose] > │ | UH1_1 │
00:00:32 #3138 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:00:32 #3139 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:32 #3140 [Verbose] > │ let v2 : bool = v1 < 71 │
00:00:32 #3141 [Verbose] > │ v2 │
00:00:32 #3142 [Verbose] > │ and method2 (v0 : int32, v1 : Mut0) : bool = │
00:00:32 #3143 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:32 #3144 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:32 #3145 [Verbose] > │ v3 │
00:00:32 #3146 [Verbose] > │ and method4 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, v5 │
00:00:32 #3147 [Verbose] > │ : float, v6 : float, v7 : float, v8 : float, v9 : int32) : struct (float * │
00:00:32 #3148 [Verbose] > │ float * float * float * float * float * float * float * float) = │
00:00:32 #3149 [Verbose] > │ let v10 : bool = v9 <= 0 │
00:00:32 #3150 [Verbose] > │ if v10 then │
00:00:32 #3151 [Verbose] > │ struct (v0, v1, v2, v3, v4, v5, v6, v7, v8) │
00:00:32 #3152 [Verbose] > │ else │
00:00:32 #3153 [Verbose] > │ let v11 : float = v6 * v6 │
00:00:32 #3154 [Verbose] > │ let v12 : float = v7 * v7 │
00:00:32 #3155 [Verbose] > │ let v13 : float = v11 + v12 │
00:00:32 #3156 [Verbose] > │ let v14 : float = v8 * v8 │
00:00:32 #3157 [Verbose] > │ let v15 : float = v13 + v14 │
00:00:32 #3158 [Verbose] > │ let v16 : float = sqrt v15 │
00:00:32 #3159 [Verbose] > │ let v17 : float = -0.0007902794129829633 * v16 │
00:00:32 #3160 [Verbose] > │ let v18 : float = v17 * v6 │
00:00:32 #3161 [Verbose] > │ let v19 : float = v17 * v7 │
00:00:32 #3162 [Verbose] > │ let v20 : float = v17 * v8 │
00:00:32 #3163 [Verbose] > │ let v21 : float = -v1 │
00:00:32 #3164 [Verbose] > │ let v22 : float = v21 * 9.80665 │
00:00:32 #3165 [Verbose] > │ let v23 : float = v22 * 0.0 │
00:00:32 #3166 [Verbose] > │ let v24 : float = v23 + v18 │
00:00:32 #3167 [Verbose] > │ let v25 : float = v23 + v19 │
00:00:32 #3168 [Verbose] > │ let v26 : float = v22 + v20 │
00:00:32 #3169 [Verbose] > │ let v27 : float = v24 / v1 │
00:00:32 #3170 [Verbose] > │ let v28 : float = v25 / v1 │
00:00:32 #3171 [Verbose] > │ let v29 : float = v26 / v1 │
00:00:32 #3172 [Verbose] > │ let v30 : float = 0.01 * v27 │
00:00:32 #3173 [Verbose] > │ let v31 : float = 0.01 * v28 │
00:00:32 #3174 [Verbose] > │ let v32 : float = 0.01 * v29 │
00:00:32 #3175 [Verbose] > │ let v33 : float = v6 + v30 │
00:00:32 #3176 [Verbose] > │ let v34 : float = v7 + v31 │
00:00:32 #3177 [Verbose] > │ let v35 : float = v8 + v32 │
00:00:32 #3178 [Verbose] > │ let v36 : float = v5 + 0.01 │
00:00:32 #3179 [Verbose] > │ let v37 : float = 0.01 * v33 │
00:00:32 #3180 [Verbose] > │ let v38 : float = 0.01 * v34 │
00:00:32 #3181 [Verbose] > │ let v39 : float = 0.01 * v35 │
00:00:32 #3182 [Verbose] > │ let v40 : float = v2 + v37 │
00:00:32 #3183 [Verbose] > │ let v41 : float = v3 + v38 │
00:00:32 #3184 [Verbose] > │ let v42 : float = v4 + v39 │
00:00:32 #3185 [Verbose] > │ let v43 : int32 = v9 - 1 │
00:00:32 #3186 [Verbose] > │ method4(v0, v1, v40, v41, v42, v36, v33, v34, v35, v43) │
00:00:32 #3187 [Verbose] > │ and method5 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:32 #3188 [Verbose] > │ match v0 with │
00:00:32 #3189 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:32 #3190 [Verbose] > │ let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:00:32 #3191 [Verbose] > │ method5(v11, v12) │
00:00:32 #3192 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:32 #3193 [Verbose] > │ v1 │
00:00:32 #3194 [Verbose] > │ and method3 (v0 : float, v1 : float, v2 : UH0, v3 : int32) : UH0 = │
00:00:32 #3195 [Verbose] > │ let v4 : float = 0.0 │
00:00:32 #3196 [Verbose] > │ let v5 : float = 0.145 │
00:00:32 #3197 [Verbose] > │ let v6 : float = 0.0 │
00:00:32 #3198 [Verbose] > │ let v7 : float = 0.0 │
00:00:32 #3199 [Verbose] > │ let v8 : float = 0.0 │
00:00:32 #3200 [Verbose] > │ let v9 : float = 0.0 │
00:00:32 #3201 [Verbose] > │ let v10 : float = 0.0 │
00:00:32 #3202 [Verbose] > │ let struct (v11 : float, v12 : float, v13 : float, v14 : float, v15 : │
00:00:32 #3203 [Verbose] > │ float, v16 : float, v17 : float, v18 : float, v19 : float) = method4(v4, v5, │
00:00:32 #3204 [Verbose] > │ v6, v7, v8, v9, v10, v0, v1, v3) │
00:00:32 #3205 [Verbose] > │ let v20 : bool = v15 >= 0.0 │
00:00:32 #3206 [Verbose] > │ if v20 then │
00:00:32 #3207 [Verbose] > │ let v21 : UH0 = UH0_0(v11, v12, v13, v14, v15, v16, v17, v18, v19, │
00:00:32 #3208 [Verbose] > │ v2) │
00:00:32 #3209 [Verbose] > │ let v22 : int32 = v3 + 1 │
00:00:32 #3210 [Verbose] > │ method3(v0, v1, v21, v22) │
00:00:32 #3211 [Verbose] > │ else │
00:00:32 #3212 [Verbose] > │ let v24 : UH0 = UH0_1 │
00:00:32 #3213 [Verbose] > │ method5(v2, v24) │
00:00:32 #3214 [Verbose] > │ and method6 (v0 : UH0, v1 : UH1) : UH1 = │
00:00:32 #3215 [Verbose] > │ match v0 with │
00:00:32 #3216 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:32 #3217 [Verbose] > │ let v12 : UH1 = method6(v11, v1) │
00:00:32 #3218 [Verbose] > │ UH1_0(v5, v6, v12) │
00:00:32 #3219 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:32 #3220 [Verbose] > │ v1 │
00:00:32 #3221 [Verbose] > │ and method7 (v0 : UH1, v1 : float) : float = │
00:00:32 #3222 [Verbose] > │ match v0 with │
00:00:32 #3223 [Verbose] > │ | UH1_0(v2, v3, v4) -> (* Cons *) │
00:00:32 #3224 [Verbose] > │ method7(v4, v2) │
00:00:32 #3225 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:32 #3226 [Verbose] > │ v1 │
00:00:32 #3227 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:32 #3228 [Verbose] > │ []) * (float [])) [])) = │
00:00:32 #3229 [Verbose] > │ let v0 : (float []) = Array.zeroCreate<float> (71) │
00:00:32 #3230 [Verbose] > │ let v1 : Mut0 = {l0 = 0} : Mut0 │
00:00:32 #3231 [Verbose] > │ while method1(v1) do │
00:00:32 #3232 [Verbose] > │ let v3 : int32 = v1.l0 │
00:00:32 #3233 [Verbose] > │ let v4 : float = float v3 │
00:00:32 #3234 [Verbose] > │ let v5 : float = 10.0 + v4 │
00:00:32 #3235 [Verbose] > │ v0.[int v3] <- v5 │
00:00:32 #3236 [Verbose] > │ let v6 : int32 = v3 + 1 │
00:00:32 #3237 [Verbose] > │ v1.l0 <- v6 │
00:00:32 #3238 [Verbose] > │ () │
00:00:32 #3239 [Verbose] > │ let v7 : int32 = v0.Length │
00:00:32 #3240 [Verbose] > │ let v8 : (float []) = Array.zeroCreate<float> (v7) │
00:00:32 #3241 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:00:32 #3242 [Verbose] > │ while method2(v7, v9) do │
00:00:32 #3243 [Verbose] > │ let v11 : int32 = v9.l0 │
00:00:32 #3244 [Verbose] > │ let v12 : float = v0.[int v11] │
00:00:32 #3245 [Verbose] > │ let v13 : float = v12 * 3.141592653589793 │
00:00:32 #3246 [Verbose] > │ let v14 : float = v13 / 180.0 │
00:00:32 #3247 [Verbose] > │ let v15 : float = cos v14 │
00:00:32 #3248 [Verbose] > │ let v16 : float = 45.0 * v15 │
00:00:32 #3249 [Verbose] > │ let v17 : float = sin v14 │
00:00:32 #3250 [Verbose] > │ let v18 : float = 45.0 * v17 │
00:00:32 #3251 [Verbose] > │ let v19 : UH0 = UH0_1 │
00:00:32 #3252 [Verbose] > │ let v20 : int32 = 0 │
00:00:32 #3253 [Verbose] > │ let v21 : UH0 = method3(v16, v18, v19, v20) │
00:00:32 #3254 [Verbose] > │ let v22 : UH1 = UH1_1 │
00:00:32 #3255 [Verbose] > │ let v23 : UH1 = method6(v21, v22) │
00:00:32 #3256 [Verbose] > │ let v24 : float = 0.0 │
00:00:32 #3257 [Verbose] > │ let v25 : float = method7(v23, v24) │
00:00:32 #3258 [Verbose] > │ v8.[int v11] <- v25 │
00:00:32 #3259 [Verbose] > │ let v26 : int32 = v11 + 1 │
00:00:32 #3260 [Verbose] > │ v9.l0 <- v26 │
00:00:32 #3261 [Verbose] > │ () │
00:00:32 #3262 [Verbose] > │ let v27 : string = "horizontal range (m)" │
00:00:32 #3263 [Verbose] > │ let v28 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:32 #3264 [Verbose] > │ (v27, v0, v8)|] │
00:00:32 #3265 [Verbose] > │ let v29 : string = "range for a baseball hit at 45 m/s" │
00:00:32 #3266 [Verbose] > │ let v30 : string = "angle above horizontal (degrees)" │
00:00:32 #3267 [Verbose] > │ let v31 : string = "" │
00:00:32 #3268 [Verbose] > │ struct (v29, v30, v31, v28) │
00:00:32 #3269 [Verbose] > │ method0() │
00:00:32 #3270 [Verbose] > │ │
00:00:32 #3271 [Verbose] > │ │
00:00:32 #3272 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 #3273 [Verbose] >
00:00:32 #3274 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:32 #3275 [Verbose] > // // test
00:00:32 #3276 [Verbose] >
00:00:32 #3277 [Verbose] > inl best_angle (min, max) =
00:00:32 #3278 [Verbose] > let rec loop theta_deg (best_range, best_theta_deg) =
00:00:32 #3279 [Verbose] > if theta_deg > max
00:00:32 #3280 [Verbose] > then best_range, best_theta_deg
00:00:32 #3281 [Verbose] > else
00:00:32 #3282 [Verbose] > inl range = baseball_range 0.01 45 theta_deg
00:00:32 #3283 [Verbose] > loop
00:00:32 #3284 [Verbose] > (theta_deg + 1)
00:00:32 #3285 [Verbose] > (if range > best_range
00:00:32 #3286 [Verbose] > then range, theta_deg
00:00:32 #3287 [Verbose] > else best_range, best_theta_deg)
00:00:32 #3288 [Verbose] > loop min (0f64, min)
00:00:32 #3289 [Verbose] >
00:00:32 #3290 [Verbose] > best_angle (30f64, 60f64)
00:00:32 #3291 [Verbose] > |> _equal (116.77499158246208, 41)
00:00:32 #3292 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0609-0936-0d9b2b88eb45\main.spi
00:00:32 #3293 [Verbose] >
00:00:32 #3294 [Verbose] > ╭─[ 613.48ms - stdout ]────────────────────────────────────────────────────────╮
00:00:32 #3295 [Verbose] > │ type UH0 = │
00:00:32 #3296 [Verbose] > │ | UH0_0 of float * float * float * float * float * float * float * float │
00:00:32 #3297 [Verbose] > │ * float * UH0 │
00:00:32 #3298 [Verbose] > │ | UH0_1 │
00:00:32 #3299 [Verbose] > │ and UH1 = │
00:00:32 #3300 [Verbose] > │ | UH1_0 of float * float * UH1 │
00:00:32 #3301 [Verbose] > │ | UH1_1 │
00:00:32 #3302 [Verbose] > │ let rec method3 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, │
00:00:32 #3303 [Verbose] > │ v5 : float, v6 : float, v7 : float, v8 : float, v9 : int32) : struct (float │
00:00:32 #3304 [Verbose] > │ * float * float * float * float * float * float * float * float) = │
00:00:32 #3305 [Verbose] > │ let v10 : bool = v9 <= 0 │
00:00:32 #3306 [Verbose] > │ if v10 then │
00:00:32 #3307 [Verbose] > │ struct (v0, v1, v2, v3, v4, v5, v6, v7, v8) │
00:00:32 #3308 [Verbose] > │ else │
00:00:32 #3309 [Verbose] > │ let v11 : float = v6 * v6 │
00:00:32 #3310 [Verbose] > │ let v12 : float = v7 * v7 │
00:00:32 #3311 [Verbose] > │ let v13 : float = v11 + v12 │
00:00:32 #3312 [Verbose] > │ let v14 : float = v8 * v8 │
00:00:32 #3313 [Verbose] > │ let v15 : float = v13 + v14 │
00:00:32 #3314 [Verbose] > │ let v16 : float = sqrt v15 │
00:00:32 #3315 [Verbose] > │ let v17 : float = -0.0007902794129829633 * v16 │
00:00:32 #3316 [Verbose] > │ let v18 : float = v17 * v6 │
00:00:32 #3317 [Verbose] > │ let v19 : float = v17 * v7 │
00:00:32 #3318 [Verbose] > │ let v20 : float = v17 * v8 │
00:00:32 #3319 [Verbose] > │ let v21 : float = -v1 │
00:00:32 #3320 [Verbose] > │ let v22 : float = v21 * 9.80665 │
00:00:32 #3321 [Verbose] > │ let v23 : float = v22 * 0.0 │
00:00:32 #3322 [Verbose] > │ let v24 : float = v23 + v18 │
00:00:32 #3323 [Verbose] > │ let v25 : float = v23 + v19 │
00:00:32 #3324 [Verbose] > │ let v26 : float = v22 + v20 │
00:00:32 #3325 [Verbose] > │ let v27 : float = v24 / v1 │
00:00:32 #3326 [Verbose] > │ let v28 : float = v25 / v1 │
00:00:32 #3327 [Verbose] > │ let v29 : float = v26 / v1 │
00:00:32 #3328 [Verbose] > │ let v30 : float = 0.01 * v27 │
00:00:32 #3329 [Verbose] > │ let v31 : float = 0.01 * v28 │
00:00:32 #3330 [Verbose] > │ let v32 : float = 0.01 * v29 │
00:00:32 #3331 [Verbose] > │ let v33 : float = v6 + v30 │
00:00:32 #3332 [Verbose] > │ let v34 : float = v7 + v31 │
00:00:32 #3333 [Verbose] > │ let v35 : float = v8 + v32 │
00:00:32 #3334 [Verbose] > │ let v36 : float = v5 + 0.01 │
00:00:32 #3335 [Verbose] > │ let v37 : float = 0.01 * v33 │
00:00:32 #3336 [Verbose] > │ let v38 : float = 0.01 * v34 │
00:00:32 #3337 [Verbose] > │ let v39 : float = 0.01 * v35 │
00:00:32 #3338 [Verbose] > │ let v40 : float = v2 + v37 │
00:00:32 #3339 [Verbose] > │ let v41 : float = v3 + v38 │
00:00:32 #3340 [Verbose] > │ let v42 : float = v4 + v39 │
00:00:32 #3341 [Verbose] > │ let v43 : int32 = v9 - 1 │
00:00:32 #3342 [Verbose] > │ method3(v0, v1, v40, v41, v42, v36, v33, v34, v35, v43) │
00:00:32 #3343 [Verbose] > │ and method4 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:32 #3344 [Verbose] > │ match v0 with │
00:00:32 #3345 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:32 #3346 [Verbose] > │ let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:00:32 #3347 [Verbose] > │ method4(v11, v12) │
00:00:32 #3348 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:32 #3349 [Verbose] > │ v1 │
00:00:32 #3350 [Verbose] > │ and method2 (v0 : float, v1 : float, v2 : UH0, v3 : int32) : UH0 = │
00:00:32 #3351 [Verbose] > │ let v4 : float = 0.0 │
00:00:32 #3352 [Verbose] > │ let v5 : float = 0.145 │
00:00:32 #3353 [Verbose] > │ let v6 : float = 0.0 │
00:00:32 #3354 [Verbose] > │ let v7 : float = 0.0 │
00:00:32 #3355 [Verbose] > │ let v8 : float = 0.0 │
00:00:32 #3356 [Verbose] > │ let v9 : float = 0.0 │
00:00:32 #3357 [Verbose] > │ let v10 : float = 0.0 │
00:00:32 #3358 [Verbose] > │ let struct (v11 : float, v12 : float, v13 : float, v14 : float, v15 : │
00:00:32 #3359 [Verbose] > │ float, v16 : float, v17 : float, v18 : float, v19 : float) = method3(v4, v5, │
00:00:32 #3360 [Verbose] > │ v6, v7, v8, v9, v10, v0, v1, v3) │
00:00:32 #3361 [Verbose] > │ let v20 : bool = v15 >= 0.0 │
00:00:32 #3362 [Verbose] > │ if v20 then │
00:00:32 #3363 [Verbose] > │ let v21 : UH0 = UH0_0(v11, v12, v13, v14, v15, v16, v17, v18, v19, │
00:00:32 #3364 [Verbose] > │ v2) │
00:00:32 #3365 [Verbose] > │ let v22 : int32 = v3 + 1 │
00:00:32 #3366 [Verbose] > │ method2(v0, v1, v21, v22) │
00:00:32 #3367 [Verbose] > │ else │
00:00:32 #3368 [Verbose] > │ let v24 : UH0 = UH0_1 │
00:00:32 #3369 [Verbose] > │ method4(v2, v24) │
00:00:32 #3370 [Verbose] > │ and method5 (v0 : UH0, v1 : UH1) : UH1 = │
00:00:32 #3371 [Verbose] > │ match v0 with │
00:00:32 #3372 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:32 #3373 [Verbose] > │ let v12 : UH1 = method5(v11, v1) │
00:00:32 #3374 [Verbose] > │ UH1_0(v5, v6, v12) │
00:00:32 #3375 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:32 #3376 [Verbose] > │ v1 │
00:00:32 #3377 [Verbose] > │ and method6 (v0 : UH1, v1 : float) : float = │
00:00:32 #3378 [Verbose] > │ match v0 with │
00:00:32 #3379 [Verbose] > │ | UH1_0(v2, v3, v4) -> (* Cons *) │
00:00:32 #3380 [Verbose] > │ method6(v4, v2) │
00:00:32 #3381 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:32 #3382 [Verbose] > │ v1 │
00:00:32 #3383 [Verbose] > │ and method1 (v0 : float, v1 : float, v2 : float) : struct (float * float) = │
00:00:32 #3384 [Verbose] > │ let v3 : bool = v0 > 60.0 │
00:00:32 #3385 [Verbose] > │ if v3 then │
00:00:32 #3386 [Verbose] > │ struct (v2, v1) │
00:00:32 #3387 [Verbose] > │ else │
00:00:32 #3388 [Verbose] > │ let v4 : float = v0 * 3.141592653589793 │
00:00:32 #3389 [Verbose] > │ let v5 : float = v4 / 180.0 │
00:00:32 #3390 [Verbose] > │ let v6 : float = cos v5 │
00:00:32 #3391 [Verbose] > │ let v7 : float = 45.0 * v6 │
00:00:32 #3392 [Verbose] > │ let v8 : float = sin v5 │
00:00:32 #3393 [Verbose] > │ let v9 : float = 45.0 * v8 │
00:00:32 #3394 [Verbose] > │ let v10 : UH0 = UH0_1 │
00:00:32 #3395 [Verbose] > │ let v11 : int32 = 0 │
00:00:32 #3396 [Verbose] > │ let v12 : UH0 = method2(v7, v9, v10, v11) │
00:00:32 #3397 [Verbose] > │ let v13 : UH1 = UH1_1 │
00:00:32 #3398 [Verbose] > │ let v14 : UH1 = method5(v12, v13) │
00:00:32 #3399 [Verbose] > │ let v15 : float = 0.0 │
00:00:32 #3400 [Verbose] > │ let v16 : float = method6(v14, v15) │
00:00:32 #3401 [Verbose] > │ let v17 : float = v0 + 1.0 │
00:00:32 #3402 [Verbose] > │ let v18 : bool = v16 > v2 │
00:00:32 #3403 [Verbose] > │ let struct (v19 : float, v20 : float) = │
00:00:32 #3404 [Verbose] > │ if v18 then │
00:00:32 #3405 [Verbose] > │ struct (v16, v0) │
00:00:32 #3406 [Verbose] > │ else │
00:00:32 #3407 [Verbose] > │ struct (v2, v1) │
00:00:32 #3408 [Verbose] > │ method1(v17, v20, v19) │
00:00:32 #3409 [Verbose] > │ and method0 () : unit = │
00:00:32 #3410 [Verbose] > │ let v0 : float = 30.0 │
00:00:32 #3411 [Verbose] > │ let v1 : float = 0.0 │
00:00:32 #3412 [Verbose] > │ let v2 : float = 30.0 │
00:00:32 #3413 [Verbose] > │ let struct (v3 : float, v4 : float) = method1(v0, v2, v1) │
00:00:32 #3414 [Verbose] > │ let v5 : bool = v3 = 116.77499158246208 │
00:00:32 #3415 [Verbose] > │ let v7 : bool = │
00:00:32 #3416 [Verbose] > │ if v5 then │
00:00:32 #3417 [Verbose] > │ let v6 : bool = v4 = 41.0 │
00:00:32 #3418 [Verbose] > │ v6 │
00:00:32 #3419 [Verbose] > │ else │
00:00:32 #3420 [Verbose] > │ false │
00:00:32 #3421 [Verbose] > │ let v8 : string = $"_equal / actual: %A{struct (v3, v4)} / expected: │
00:00:32 #3422 [Verbose] > │ %A{struct (116.77499158246208, 41.0)}" │
00:00:32 #3423 [Verbose] > │ let v9 : bool = v7 = false │
00:00:32 #3424 [Verbose] > │ if v9 then │
00:00:32 #3425 [Verbose] > │ failwith<unit> v8 │
00:00:32 #3426 [Verbose] > │ method0() │
00:00:32 #3427 [Verbose] > │ │
00:00:32 #3428 [Verbose] > │ │
00:00:32 #3429 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 #3430 [Verbose] >
00:00:32 #3431 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:32 #3432 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:32 #3433 [Verbose] > │ ## relativity_ps │
00:00:32 #3434 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:32 #3435 [Verbose] >
00:00:32 #3436 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:32 #3437 [Verbose] > inl relativity_ps fs (st : particle_state) =
00:00:32 #3438 [Verbose] > inl f_net = fs |> listm.map (fun f => f st) |> sum_vec
00:00:32 #3439 [Verbose] > inl c = 299792458
00:00:32 #3440 [Verbose] > inl u = st.velocity ^/ c
00:00:32 #3441 [Verbose] > inl acc = sqrt (1 - (u <.> u)) *^ (f_net ^-^ (f_net <.> u) *^ u) ^/ st.mass
00:00:32 #3442 [Verbose] > d_particle_state {
00:00:32 #3443 [Verbose] > dmdt = 0
00:00:32 #3444 [Verbose] > dqdt = 0
00:00:32 #3445 [Verbose] > dtdt = 1
00:00:32 #3446 [Verbose] > drdt = st.velocity
00:00:32 #3447 [Verbose] > dvdt = acc
00:00:32 #3448 [Verbose] > }
00:00:32 #3449 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0675-7594-70f894d63eee\main.spi
00:00:33 #3450 [Verbose] >
00:00:33 #3451 [Verbose] > ╭─[ 185.76ms - stdout ]────────────────────────────────────────────────────────╮
00:00:33 #3452 [Verbose] > │ () │
00:00:33 #3453 [Verbose] > │ │
00:00:33 #3454 [Verbose] > │ │
00:00:33 #3455 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 #3456 [Verbose] >
00:00:33 #3457 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:33 #3458 [Verbose] > // // test
00:00:33 #3459 [Verbose] >
00:00:33 #3460 [Verbose] > inl year = 365.25 * 24 * 60 * 60
00:00:33 #3461 [Verbose] > inl c = 299792458
00:00:33 #3462 [Verbose] > inl ~method = runge_kutta_4 100000
00:00:33 #3463 [Verbose] > inl forces = [[ fun _ => 10 *^ i_hat () ]]
00:00:33 #3464 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:33 #3465 [Verbose] > inl initial_state =
00:00:33 #3466 [Verbose] > particle_state { default_particle_state' with
00:00:33 #3467 [Verbose] > mass = 1
00:00:33 #3468 [Verbose] > }
00:00:33 #3469 [Verbose] >
00:00:33 #3470 [Verbose] > inl newton_states = solver_ method (newton_second_ps forces) initial_state
00:00:33 #3471 [Verbose] > inl relativity_states = solver_ method (relativity_ps forces) initial_state
00:00:33 #3472 [Verbose] >
00:00:33 #3473 [Verbose] > inl newton_x, newton_y =
00:00:33 #3474 [Verbose] > newton_states
00:00:33 #3475 [Verbose] > >> Some
00:00:33 #3476 [Verbose] > |> seq.take_while_ (fun (particle_state st) (_ : i32) => st.time <= year)
00:00:33 #3477 [Verbose] > |> listm.map (fun (particle_state st) => st.time / year, st.velocity.x / c)
00:00:33 #3478 [Verbose] > |> listm'.unzip
00:00:33 #3479 [Verbose] >
00:00:33 #3480 [Verbose] > inl _, relativity_y =
00:00:33 #3481 [Verbose] > relativity_states
00:00:33 #3482 [Verbose] > >> Some
00:00:33 #3483 [Verbose] > |> seq.take_while_ (fun (particle_state st) (_ : i32) => st.time <= year)
00:00:33 #3484 [Verbose] > |> listm.map (fun (particle_state st) => st.time / year, st.velocity.x / c)
00:00:33 #3485 [Verbose] > |> listm'.unzip
00:00:33 #3486 [Verbose] >
00:00:33 #3487 [Verbose] > inl newton_x : a i32 _ = newton_x |> listm.toArray
00:00:33 #3488 [Verbose] > inl newton_y : a i32 _ = newton_y |> listm.toArray
00:00:33 #3489 [Verbose] > inl relativity_y : a i32 _ = relativity_y |> listm.toArray
00:00:33 #3490 [Verbose] >
00:00:33 #3491 [Verbose] > "response to a constant force",
00:00:33 #3492 [Verbose] > "time (years)",
00:00:33 #3493 [Verbose] > "velocity (multiples of c)",
00:00:33 #3494 [Verbose] > ;[[
00:00:33 #3495 [Verbose] > "newtonian", newton_x, newton_y
00:00:33 #3496 [Verbose] > "relativistic", newton_x, relativity_y
00:00:33 #3497 [Verbose] > ]]
00:00:33 #3498 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0694-9462-928c0a0db17c\main.spi
00:00:33 #3499 [Verbose] >
00:00:33 #3500 [Verbose] > ╭─[ 623.35ms - return value ]──────────────────────────────────────────────────╮
00:00:33 #3501 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:33 #3502 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:33 #3503 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:33 #3504 [Verbose] > │ stroke="none"/> │
00:00:33 #3505 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:33 #3506 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:33 #3507 [Verbose] > │ fill="#FFFFFF"> │
00:00:33 #3508 [Verbose] > │ response to a constant force │
00:00:33 #3509 [Verbose] > │ </text> │
00:00:33 #3510 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:00:33 #3511 [Verbose] > │ y2="75"/> │
00:00:33 #3512 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:33 #3513 [Verbose] > │ y2="75"/> │
00:00:33 #3514 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:00:33 #3515 [Verbose] > │ y2="75"/> │
00:00:33 #3516 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:00:33 #3517 [Verbose] > │ y2="75"/> │
00:00:33 #3518 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1=... │
00:00:33 #3519 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 #3520 [Verbose] >
00:00:33 #3521 [Verbose] > ╭─[ 636.09ms - stdout ]────────────────────────────────────────────────────────╮
00:00:33 #3522 [Verbose] > │ type UH0 = │
00:00:33 #3523 [Verbose] > │ | UH0_0 of float * float * float * float * float * float * float * float │
00:00:33 #3524 [Verbose] > │ * float * UH0 │
00:00:33 #3525 [Verbose] > │ | UH0_1 │
00:00:33 #3526 [Verbose] > │ and UH1 = │
00:00:33 #3527 [Verbose] > │ | UH1_0 of float * float * UH1 │
00:00:33 #3528 [Verbose] > │ | UH1_1 │
00:00:33 #3529 [Verbose] > │ and UH2 = │
00:00:33 #3530 [Verbose] > │ | UH2_0 of float * UH2 │
00:00:33 #3531 [Verbose] > │ | UH2_1 │
00:00:33 #3532 [Verbose] > │ let rec closure1 (v0 : (struct (float * float * float * float * float * │
00:00:33 #3533 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float * │
00:00:33 #3534 [Verbose] > │ float * float * float * float * float))) struct (v1 : float, v2 : float, v3 │
00:00:33 #3535 [Verbose] > │ : float, v4 : float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : │
00:00:33 #3536 [Verbose] > │ float) : struct (float * float * float * float * float * float * float * │
00:00:33 #3537 [Verbose] > │ float * float) = │
00:00:33 #3538 [Verbose] > │ let struct (v10 : float, v11 : float, v12 : float, v13 : float, v14 : │
00:00:33 #3539 [Verbose] > │ float, v15 : float, v16 : float, v17 : float, v18 : float) = v0 struct (v1, │
00:00:33 #3540 [Verbose] > │ v2, v3, v4, v5, v6, v7, v8, v9) │
00:00:33 #3541 [Verbose] > │ let v19 : float = v15 * 50000.0 │
00:00:33 #3542 [Verbose] > │ let v20 : float = v6 + v19 │
00:00:33 #3543 [Verbose] > │ let v21 : float = 50000.0 * v12 │
00:00:33 #3544 [Verbose] > │ let v22 : float = 50000.0 * v13 │
00:00:33 #3545 [Verbose] > │ let v23 : float = 50000.0 * v14 │
00:00:33 #3546 [Verbose] > │ let v24 : float = v3 + v21 │
00:00:33 #3547 [Verbose] > │ let v25 : float = v4 + v22 │
00:00:33 #3548 [Verbose] > │ let v26 : float = v5 + v23 │
00:00:33 #3549 [Verbose] > │ let v27 : float = 50000.0 * v16 │
00:00:33 #3550 [Verbose] > │ let v28 : float = 50000.0 * v17 │
00:00:33 #3551 [Verbose] > │ let v29 : float = 50000.0 * v18 │
00:00:33 #3552 [Verbose] > │ let v30 : float = v7 + v27 │
00:00:33 #3553 [Verbose] > │ let v31 : float = v8 + v28 │
00:00:33 #3554 [Verbose] > │ let v32 : float = v9 + v29 │
00:00:33 #3555 [Verbose] > │ let struct (v33 : float, v34 : float, v35 : float, v36 : float, v37 : │
00:00:33 #3556 [Verbose] > │ float, v38 : float, v39 : float, v40 : float, v41 : float) = v0 struct (v1, │
00:00:33 #3557 [Verbose] > │ v2, v24, v25, v26, v20, v30, v31, v32) │
00:00:33 #3558 [Verbose] > │ let v42 : float = v38 * 50000.0 │
00:00:33 #3559 [Verbose] > │ let v43 : float = v6 + v42 │
00:00:33 #3560 [Verbose] > │ let v44 : float = 50000.0 * v35 │
00:00:33 #3561 [Verbose] > │ let v45 : float = 50000.0 * v36 │
00:00:33 #3562 [Verbose] > │ let v46 : float = 50000.0 * v37 │
00:00:33 #3563 [Verbose] > │ let v47 : float = v3 + v44 │
00:00:33 #3564 [Verbose] > │ let v48 : float = v4 + v45 │
00:00:33 #3565 [Verbose] > │ let v49 : float = v5 + v46 │
00:00:33 #3566 [Verbose] > │ let v50 : float = 50000.0 * v39 │
00:00:33 #3567 [Verbose] > │ let v51 : float = 50000.0 * v40 │
00:00:33 #3568 [Verbose] > │ let v52 : float = 50000.0 * v41 │
00:00:33 #3569 [Verbose] > │ let v53 : float = v7 + v50 │
00:00:33 #3570 [Verbose] > │ let v54 : float = v8 + v51 │
00:00:33 #3571 [Verbose] > │ let v55 : float = v9 + v52 │
00:00:33 #3572 [Verbose] > │ let struct (v56 : float, v57 : float, v58 : float, v59 : float, v60 : │
00:00:33 #3573 [Verbose] > │ float, v61 : float, v62 : float, v63 : float, v64 : float) = v0 struct (v1, │
00:00:33 #3574 [Verbose] > │ v2, v47, v48, v49, v43, v53, v54, v55) │
00:00:33 #3575 [Verbose] > │ let v65 : float = v61 * 100000.0 │
00:00:33 #3576 [Verbose] > │ let v66 : float = v6 + v65 │
00:00:33 #3577 [Verbose] > │ let v67 : float = 100000.0 * v58 │
00:00:33 #3578 [Verbose] > │ let v68 : float = 100000.0 * v59 │
00:00:33 #3579 [Verbose] > │ let v69 : float = 100000.0 * v60 │
00:00:33 #3580 [Verbose] > │ let v70 : float = v3 + v67 │
00:00:33 #3581 [Verbose] > │ let v71 : float = v4 + v68 │
00:00:33 #3582 [Verbose] > │ let v72 : float = v5 + v69 │
00:00:33 #3583 [Verbose] > │ let v73 : float = 100000.0 * v62 │
00:00:33 #3584 [Verbose] > │ let v74 : float = 100000.0 * v63 │
00:00:33 #3585 [Verbose] > │ let v75 : float = 100000.0 * v64 │
00:00:33 #3586 [Verbose] > │ let v76 : float = v7 + v73 │
00:00:33 #3587 [Verbose] > │ let v77 : float = v8 + v74 │
00:00:33 #3588 [Verbose] > │ let v78 : float = v9 + v75 │
00:00:33 #3589 [Verbose] > │ let struct (v79 : float, v80 : float, v81 : float, v82 : float, v83 : │
00:00:33 #3590 [Verbose] > │ float, v84 : float, v85 : float, v86 : float, v87 : float) = v0 struct (v1, │
00:00:33 #3591 [Verbose] > │ v2, v70, v71, v72, v66, v76, v77, v78) │
00:00:33 #3592 [Verbose] > │ let v88 : float = v10 + v33 │
00:00:33 #3593 [Verbose] > │ let v89 : float = v11 + v34 │
00:00:33 #3594 [Verbose] > │ let v90 : float = v15 + v38 │
00:00:33 #3595 [Verbose] > │ let v91 : float = v12 + v35 │
00:00:33 #3596 [Verbose] > │ let v92 : float = v13 + v36 │
00:00:33 #3597 [Verbose] > │ let v93 : float = v14 + v37 │
00:00:33 #3598 [Verbose] > │ let v94 : float = v16 + v39 │
00:00:33 #3599 [Verbose] > │ let v95 : float = v17 + v40 │
00:00:33 #3600 [Verbose] > │ let v96 : float = v18 + v41 │
00:00:33 #3601 [Verbose] > │ let v97 : float = v88 + v33 │
00:00:33 #3602 [Verbose] > │ let v98 : float = v89 + v34 │
00:00:33 #3603 [Verbose] > │ let v99 : float = v90 + v38 │
00:00:33 #3604 [Verbose] > │ let v100 : float = v91 + v35 │
00:00:33 #3605 [Verbose] > │ let v101 : float = v92 + v36 │
00:00:33 #3606 [Verbose] > │ let v102 : float = v93 + v37 │
00:00:33 #3607 [Verbose] > │ let v103 : float = v94 + v39 │
00:00:33 #3608 [Verbose] > │ let v104 : float = v95 + v40 │
00:00:33 #3609 [Verbose] > │ let v105 : float = v96 + v41 │
00:00:33 #3610 [Verbose] > │ let v106 : float = v97 + v56 │
00:00:33 #3611 [Verbose] > │ let v107 : float = v98 + v57 │
00:00:33 #3612 [Verbose] > │ let v108 : float = v99 + v61 │
00:00:33 #3613 [Verbose] > │ let v109 : float = v100 + v58 │
00:00:33 #3614 [Verbose] > │ let v110 : float = v101 + v59 │
00:00:33 #3615 [Verbose] > │ let v111 : float = v102 + v60 │
00:00:33 #3616 [Verbose] > │ let v112 : float = v103 + v62 │
00:00:33 #3617 [Verbose] > │ let v113 : float = v104 + v63 │
00:00:33 #3618 [Verbose] > │ let v114 : float = v105 + v64 │
00:00:33 #3619 [Verbose] > │ let v115 : float = v106 + v56 │
00:00:33 #3620 [Verbose] > │ let v116 : float = v107 + v57 │
00:00:33 #3621 [Verbose] > │ let v117 : float = v108 + v61 │
00:00:33 #3622 [Verbose] > │ let v118 : float = v109 + v58 │
00:00:33 #3623 [Verbose] > │ let v119 : float = v110 + v59 │
00:00:33 #3624 [Verbose] > │ let v120 : float = v111 + v60 │
00:00:33 #3625 [Verbose] > │ let v121 : float = v112 + v62 │
00:00:33 #3626 [Verbose] > │ let v122 : float = v113 + v63 │
00:00:33 #3627 [Verbose] > │ let v123 : float = v114 + v64 │
00:00:33 #3628 [Verbose] > │ let v124 : float = v115 + v79 │
00:00:33 #3629 [Verbose] > │ let v125 : float = v116 + v80 │
00:00:33 #3630 [Verbose] > │ let v126 : float = v117 + v84 │
00:00:33 #3631 [Verbose] > │ let v127 : float = v118 + v81 │
00:00:33 #3632 [Verbose] > │ let v128 : float = v119 + v82 │
00:00:33 #3633 [Verbose] > │ let v129 : float = v120 + v83 │
00:00:33 #3634 [Verbose] > │ let v130 : float = v121 + v85 │
00:00:33 #3635 [Verbose] > │ let v131 : float = v122 + v86 │
00:00:33 #3636 [Verbose] > │ let v132 : float = v123 + v87 │
00:00:33 #3637 [Verbose] > │ let v133 : float = v126 * 16666.666666666668 │
00:00:33 #3638 [Verbose] > │ let v134 : float = v6 + v133 │
00:00:33 #3639 [Verbose] > │ let v135 : float = 16666.666666666668 * v127 │
00:00:33 #3640 [Verbose] > │ let v136 : float = 16666.666666666668 * v128 │
00:00:33 #3641 [Verbose] > │ let v137 : float = 16666.666666666668 * v129 │
00:00:33 #3642 [Verbose] > │ let v138 : float = v3 + v135 │
00:00:33 #3643 [Verbose] > │ let v139 : float = v4 + v136 │
00:00:33 #3644 [Verbose] > │ let v140 : float = v5 + v137 │
00:00:33 #3645 [Verbose] > │ let v141 : float = 16666.666666666668 * v130 │
00:00:33 #3646 [Verbose] > │ let v142 : float = 16666.666666666668 * v131 │
00:00:33 #3647 [Verbose] > │ let v143 : float = 16666.666666666668 * v132 │
00:00:33 #3648 [Verbose] > │ let v144 : float = v7 + v141 │
00:00:33 #3649 [Verbose] > │ let v145 : float = v8 + v142 │
00:00:33 #3650 [Verbose] > │ let v146 : float = v9 + v143 │
00:00:33 #3651 [Verbose] > │ struct (v1, v2, v138, v139, v140, v134, v144, v145, v146) │
00:00:33 #3652 [Verbose] > │ and closure0 () (v0 : (struct (float * float * float * float * float * float │
00:00:33 #3653 [Verbose] > │ * float * float * float) -> struct (float * float * float * float * float * │
00:00:33 #3654 [Verbose] > │ float * float * float * float))) : (struct (float * float * float * float * │
00:00:33 #3655 [Verbose] > │ float * float * float * float * float) -> struct (float * float * float * │
00:00:33 #3656 [Verbose] > │ float * float * float * float * float * float)) = │
00:00:33 #3657 [Verbose] > │ closure1(v0) │
00:00:33 #3658 [Verbose] > │ and closure2 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:00:33 #3659 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:33 #3660 [Verbose] > │ float * float * float * float * float * float * float * float) = │
00:00:33 #3661 [Verbose] > │ let v9 : float = 10.0 / v1 │
00:00:33 #3662 [Verbose] > │ let v10 : float = 0.0 / v1 │
00:00:33 #3663 [Verbose] > │ struct (0.0, 0.0, v6, v7, v8, 1.0, v9, v10, v10) │
00:00:33 #3664 [Verbose] > │ and closure3 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:00:33 #3665 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:33 #3666 [Verbose] > │ float * float * float * float * float * float * float * float) = │
00:00:33 #3667 [Verbose] > │ let v9 : float = v6 / 299792458.0 │
00:00:33 #3668 [Verbose] > │ let v10 : float = v7 / 299792458.0 │
00:00:33 #3669 [Verbose] > │ let v11 : float = v8 / 299792458.0 │
00:00:33 #3670 [Verbose] > │ let v12 : float = v9 * v9 │
00:00:33 #3671 [Verbose] > │ let v13 : float = v10 * v10 │
00:00:33 #3672 [Verbose] > │ let v14 : float = v12 + v13 │
00:00:33 #3673 [Verbose] > │ let v15 : float = v11 * v11 │
00:00:33 #3674 [Verbose] > │ let v16 : float = v14 + v15 │
00:00:33 #3675 [Verbose] > │ let v17 : float = 1.0 - v16 │
00:00:33 #3676 [Verbose] > │ let v18 : float = sqrt v17 │
00:00:33 #3677 [Verbose] > │ let v19 : float = 10.0 * v9 │
00:00:33 #3678 [Verbose] > │ let v20 : float = 0.0 * v10 │
00:00:33 #3679 [Verbose] > │ let v21 : float = v19 + v20 │
00:00:33 #3680 [Verbose] > │ let v22 : float = 0.0 * v11 │
00:00:33 #3681 [Verbose] > │ let v23 : float = v21 + v22 │
00:00:33 #3682 [Verbose] > │ let v24 : float = v23 * v9 │
00:00:33 #3683 [Verbose] > │ let v25 : float = v23 * v10 │
00:00:33 #3684 [Verbose] > │ let v26 : float = v23 * v11 │
00:00:33 #3685 [Verbose] > │ let v27 : float = -1.0 * v24 │
00:00:33 #3686 [Verbose] > │ let v28 : float = -1.0 * v25 │
00:00:33 #3687 [Verbose] > │ let v29 : float = -1.0 * v26 │
00:00:33 #3688 [Verbose] > │ let v30 : float = 10.0 + v27 │
00:00:33 #3689 [Verbose] > │ let v31 : float = v18 * v30 │
00:00:33 #3690 [Verbose] > │ let v32 : float = v18 * v28 │
00:00:33 #3691 [Verbose] > │ let v33 : float = v18 * v29 │
00:00:33 #3692 [Verbose] > │ let v34 : float = v31 / v1 │
00:00:33 #3693 [Verbose] > │ let v35 : float = v32 / v1 │
00:00:33 #3694 [Verbose] > │ let v36 : float = v33 / v1 │
00:00:33 #3695 [Verbose] > │ struct (0.0, 0.0, v6, v7, v8, 1.0, v34, v35, v36) │
00:00:33 #3696 [Verbose] > │ and method2 (v0 : (struct (float * float * float * float * float * float * │
00:00:33 #3697 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float * │
00:00:33 #3698 [Verbose] > │ float * float * float * float)), v1 : float, v2 : float, v3 : float, v4 : │
00:00:33 #3699 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : float, v10 : │
00:00:33 #3700 [Verbose] > │ int32) : struct (float * float * float * float * float * float * float * │
00:00:33 #3701 [Verbose] > │ float * float) = │
00:00:33 #3702 [Verbose] > │ let v11 : bool = v10 <= 0 │
00:00:33 #3703 [Verbose] > │ if v11 then │
00:00:33 #3704 [Verbose] > │ struct (v1, v2, v3, v4, v5, v6, v7, v8, v9) │
00:00:33 #3705 [Verbose] > │ else │
00:00:33 #3706 [Verbose] > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 │
00:00:33 #3707 [Verbose] > │ : float, v17 : float, v18 : float, v19 : float, v20 : float) = v0 struct │
00:00:33 #3708 [Verbose] > │ (v1, v2, v3, v4, v5, v6, v7, v8, v9) │
00:00:33 #3709 [Verbose] > │ let v21 : int32 = v10 - 1 │
00:00:33 #3710 [Verbose] > │ method2(v0, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21) │
00:00:33 #3711 [Verbose] > │ and method3 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:33 #3712 [Verbose] > │ match v0 with │
00:00:33 #3713 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:33 #3714 [Verbose] > │ let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:00:33 #3715 [Verbose] > │ method3(v11, v12) │
00:00:33 #3716 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:33 #3717 [Verbose] > │ v1 │
00:00:33 #3718 [Verbose] > │ and method1 (v0 : (struct (float * float * float * float * float * float * │
00:00:33 #3719 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float * │
00:00:33 #3720 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 = │
00:00:33 #3721 [Verbose] > │ let v3 : float = 0.0 │
00:00:33 #3722 [Verbose] > │ let v4 : float = 1.0 │
00:00:33 #3723 [Verbose] > │ let v5 : float = 0.0 │
00:00:33 #3724 [Verbose] > │ let v6 : float = 0.0 │
00:00:33 #3725 [Verbose] > │ let v7 : float = 0.0 │
00:00:33 #3726 [Verbose] > │ let v8 : float = 0.0 │
00:00:33 #3727 [Verbose] > │ let v9 : float = 0.0 │
00:00:33 #3728 [Verbose] > │ let v10 : float = 0.0 │
00:00:33 #3729 [Verbose] > │ let v11 : float = 0.0 │
00:00:33 #3730 [Verbose] > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 : │
00:00:33 #3731 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │
00:00:33 #3732 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2) │
00:00:33 #3733 [Verbose] > │ let v21 : bool = v17 <= 31557600.0 │
00:00:33 #3734 [Verbose] > │ if v21 then │
00:00:33 #3735 [Verbose] > │ let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20, │
00:00:33 #3736 [Verbose] > │ v1) │
00:00:33 #3737 [Verbose] > │ let v23 : int32 = v2 + 1 │
00:00:33 #3738 [Verbose] > │ method1(v0, v22, v23) │
00:00:33 #3739 [Verbose] > │ else │
00:00:33 #3740 [Verbose] > │ let v25 : UH0 = UH0_1 │
00:00:33 #3741 [Verbose] > │ method3(v1, v25) │
00:00:33 #3742 [Verbose] > │ and method4 (v0 : UH0, v1 : UH1) : UH1 = │
00:00:33 #3743 [Verbose] > │ match v0 with │
00:00:33 #3744 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:33 #3745 [Verbose] > │ let v12 : UH1 = method4(v11, v1) │
00:00:33 #3746 [Verbose] > │ let v13 : float = v7 / 31557600.0 │
00:00:33 #3747 [Verbose] > │ let v14 : float = v8 / 299792458.0 │
00:00:33 #3748 [Verbose] > │ UH1_0(v13, v14, v12) │
00:00:33 #3749 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:33 #3750 [Verbose] > │ v1 │
00:00:33 #3751 [Verbose] > │ and method5 (v0 : UH1, v1 : UH2, v2 : UH2) : struct (UH2 * UH2) = │
00:00:33 #3752 [Verbose] > │ match v0 with │
00:00:33 #3753 [Verbose] > │ | UH1_0(v3, v4, v5) -> (* Cons *) │
00:00:33 #3754 [Verbose] > │ let v6 : UH2 = UH2_0(v3, v1) │
00:00:33 #3755 [Verbose] > │ let v7 : UH2 = UH2_0(v4, v2) │
00:00:33 #3756 [Verbose] > │ method5(v5, v6, v7) │
00:00:33 #3757 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:33 #3758 [Verbose] > │ struct (v1, v2) │
00:00:33 #3759 [Verbose] > │ and method6 (v0 : UH2, v1 : UH2) : UH2 = │
00:00:33 #3760 [Verbose] > │ match v0 with │
00:00:33 #3761 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:33 #3762 [Verbose] > │ let v4 : UH2 = UH2_0(v2, v1) │
00:00:33 #3763 [Verbose] > │ method6(v3, v4) │
00:00:33 #3764 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:33 #3765 [Verbose] > │ v1 │
00:00:33 #3766 [Verbose] > │ and method7 (v0 : (struct (float * float * float * float * float * float * │
00:00:33 #3767 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float * │
00:00:33 #3768 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 = │
00:00:33 #3769 [Verbose] > │ let v3 : float = 0.0 │
00:00:33 #3770 [Verbose] > │ let v4 : float = 1.0 │
00:00:33 #3771 [Verbose] > │ let v5 : float = 0.0 │
00:00:33 #3772 [Verbose] > │ let v6 : float = 0.0 │
00:00:33 #3773 [Verbose] > │ let v7 : float = 0.0 │
00:00:33 #3774 [Verbose] > │ let v8 : float = 0.0 │
00:00:33 #3775 [Verbose] > │ let v9 : float = 0.0 │
00:00:33 #3776 [Verbose] > │ let v10 : float = 0.0 │
00:00:33 #3777 [Verbose] > │ let v11 : float = 0.0 │
00:00:33 #3778 [Verbose] > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 : │
00:00:33 #3779 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │
00:00:33 #3780 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2) │
00:00:33 #3781 [Verbose] > │ let v21 : bool = v17 <= 31557600.0 │
00:00:33 #3782 [Verbose] > │ if v21 then │
00:00:33 #3783 [Verbose] > │ let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20, │
00:00:33 #3784 [Verbose] > │ v1) │
00:00:33 #3785 [Verbose] > │ let v23 : int32 = v2 + 1 │
00:00:33 #3786 [Verbose] > │ method7(v0, v22, v23) │
00:00:33 #3787 [Verbose] > │ else │
00:00:33 #3788 [Verbose] > │ let v25 : UH0 = UH0_1 │
00:00:33 #3789 [Verbose] > │ method3(v1, v25) │
00:00:33 #3790 [Verbose] > │ and method8 (v0 : UH0, v1 : UH1) : UH1 = │
00:00:33 #3791 [Verbose] > │ match v0 with │
00:00:33 #3792 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:33 #3793 [Verbose] > │ let v12 : UH1 = method8(v11, v1) │
00:00:33 #3794 [Verbose] > │ let v13 : float = v7 / 31557600.0 │
00:00:33 #3795 [Verbose] > │ let v14 : float = v8 / 299792458.0 │
00:00:33 #3796 [Verbose] > │ UH1_0(v13, v14, v12) │
00:00:33 #3797 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:33 #3798 [Verbose] > │ v1 │
00:00:33 #3799 [Verbose] > │ and method10 (v0 : UH2, v1 : int32) : int32 = │
00:00:33 #3800 [Verbose] > │ match v0 with │
00:00:33 #3801 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:33 #3802 [Verbose] > │ let v4 : int32 = v1 + 1 │
00:00:33 #3803 [Verbose] > │ method10(v3, v4) │
00:00:33 #3804 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:33 #3805 [Verbose] > │ v1 │
00:00:33 #3806 [Verbose] > │ and method11 (v0 : (float []), v1 : UH2, v2 : int32) : int32 = │
00:00:33 #3807 [Verbose] > │ match v1 with │
00:00:33 #3808 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:00:33 #3809 [Verbose] > │ v0.[int v2] <- v3 │
00:00:33 #3810 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:33 #3811 [Verbose] > │ method11(v0, v4, v5) │
00:00:33 #3812 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:33 #3813 [Verbose] > │ v2 │
00:00:33 #3814 [Verbose] > │ and method9 (v0 : UH2) : (float []) = │
00:00:33 #3815 [Verbose] > │ let v1 : int32 = 0 │
00:00:33 #3816 [Verbose] > │ let v2 : int32 = method10(v0, v1) │
00:00:33 #3817 [Verbose] > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:00:33 #3818 [Verbose] > │ let v4 : int32 = 0 │
00:00:33 #3819 [Verbose] > │ let v5 : int32 = method11(v3, v0, v4) │
00:00:33 #3820 [Verbose] > │ v3 │
00:00:33 #3821 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:33 #3822 [Verbose] > │ []) * (float [])) [])) = │
00:00:33 #3823 [Verbose] > │ let v0 : ((struct (float * float * float * float * float * float * float │
00:00:33 #3824 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:33 #3825 [Verbose] > │ float * float * float)) -> (struct (float * float * float * float * float * │
00:00:33 #3826 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float * │
00:00:33 #3827 [Verbose] > │ float * float * float * float * float))) = closure0() │
00:00:33 #3828 [Verbose] > │ let v1 : (struct (float * float * float * float * float * float * float │
00:00:33 #3829 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:33 #3830 [Verbose] > │ float * float * float)) = closure2() │
00:00:33 #3831 [Verbose] > │ let v2 : (struct (float * float * float * float * float * float * float │
00:00:33 #3832 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:33 #3833 [Verbose] > │ float * float * float)) = v0 v1 │
00:00:33 #3834 [Verbose] > │ let v3 : (struct (float * float * float * float * float * float * float │
00:00:33 #3835 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:33 #3836 [Verbose] > │ float * float * float)) = closure3() │
00:00:33 #3837 [Verbose] > │ let v4 : (struct (float * float * float * float * float * float * float │
00:00:33 #3838 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:33 #3839 [Verbose] > │ float * float * float)) = v0 v3 │
00:00:33 #3840 [Verbose] > │ let v5 : UH0 = UH0_1 │
00:00:33 #3841 [Verbose] > │ let v6 : int32 = 0 │
00:00:33 #3842 [Verbose] > │ let v7 : UH0 = method1(v2, v5, v6) │
00:00:33 #3843 [Verbose] > │ let v8 : UH1 = UH1_1 │
00:00:33 #3844 [Verbose] > │ let v9 : UH1 = method4(v7, v8) │
00:00:33 #3845 [Verbose] > │ let v10 : UH2 = UH2_1 │
00:00:33 #3846 [Verbose] > │ let v11 : UH2 = UH2_1 │
00:00:33 #3847 [Verbose] > │ let struct (v12 : UH2, v13 : UH2) = method5(v9, v10, v11) │
00:00:33 #3848 [Verbose] > │ let v14 : UH2 = UH2_1 │
00:00:33 #3849 [Verbose] > │ let v15 : UH2 = method6(v12, v14) │
00:00:33 #3850 [Verbose] > │ let v16 : UH2 = UH2_1 │
00:00:33 #3851 [Verbose] > │ let v17 : UH2 = method6(v13, v16) │
00:00:33 #3852 [Verbose] > │ let v18 : UH0 = UH0_1 │
00:00:33 #3853 [Verbose] > │ let v19 : int32 = 0 │
00:00:33 #3854 [Verbose] > │ let v20 : UH0 = method7(v4, v18, v19) │
00:00:33 #3855 [Verbose] > │ let v21 : UH1 = UH1_1 │
00:00:33 #3856 [Verbose] > │ let v22 : UH1 = method8(v20, v21) │
00:00:33 #3857 [Verbose] > │ let v23 : UH2 = UH2_1 │
00:00:33 #3858 [Verbose] > │ let v24 : UH2 = UH2_1 │
00:00:33 #3859 [Verbose] > │ let struct (v25 : UH2, v26 : UH2) = method5(v22, v23, v24) │
00:00:33 #3860 [Verbose] > │ let v27 : UH2 = UH2_1 │
00:00:33 #3861 [Verbose] > │ let v28 : UH2 = method6(v25, v27) │
00:00:33 #3862 [Verbose] > │ let v29 : UH2 = UH2_1 │
00:00:33 #3863 [Verbose] > │ let v30 : UH2 = method6(v26, v29) │
00:00:33 #3864 [Verbose] > │ let v31 : (float []) = method9(v15) │
00:00:33 #3865 [Verbose] > │ let v32 : (float []) = method9(v17) │
00:00:33 #3866 [Verbose] > │ let v33 : (float []) = method9(v30) │
00:00:33 #3867 [Verbose] > │ let v34 : string = "newtonian" │
00:00:33 #3868 [Verbose] > │ let v35 : string = "relativistic" │
00:00:33 #3869 [Verbose] > │ let v36 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:33 #3870 [Verbose] > │ (v34, v31, v32); struct (v35, v31, v33)|] │
00:00:33 #3871 [Verbose] > │ let v37 : string = "response to a constant force" │
00:00:33 #3872 [Verbose] > │ let v38 : string = "time (years)" │
00:00:33 #3873 [Verbose] > │ let v39 : string = "velocity (multiples of c)" │
00:00:33 #3874 [Verbose] > │ struct (v37, v38, v39, v36) │
00:00:33 #3875 [Verbose] > │ method0() │
00:00:33 #3876 [Verbose] > │ │
00:00:33 #3877 [Verbose] > │ │
00:00:33 #3878 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:33 #3879 [Verbose] >
00:00:33 #3880 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:33 #3881 [Verbose] > inl uniform_lorentz_force v_e v_b (st : particle_state) =
00:00:33 #3882 [Verbose] > st.charge *^ (v_e ^+^ st.velocity >< v_b)
00:00:33 #3883 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0771-7126-7d1f85e2622b\main.spi
00:00:34 #3884 [Verbose] >
00:00:34 #3885 [Verbose] > ╭─[ 172.54ms - stdout ]────────────────────────────────────────────────────────╮
00:00:34 #3886 [Verbose] > │ () │
00:00:34 #3887 [Verbose] > │ │
00:00:34 #3888 [Verbose] > │ │
00:00:34 #3889 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 #3890 [Verbose] >
00:00:34 #3891 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:34 #3892 [Verbose] > // // test
00:00:34 #3893 [Verbose] >
00:00:34 #3894 [Verbose] > inl c : f64 = 299792458
00:00:34 #3895 [Verbose] > inl ~method = runge_kutta_4 0.000000001
00:00:34 #3896 [Verbose] > inl forces = [[ uniform_lorentz_force (zero_vec ()) (k_hat ()) ]]
00:00:34 #3897 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:34 #3898 [Verbose] > inl initial_state =
00:00:34 #3899 [Verbose] > particle_state { default_particle_state' with
00:00:34 #3900 [Verbose] > mass = 0.000000000000000000000000001672621898
00:00:34 #3901 [Verbose] > charge = 0.0000000000000000001602176621
00:00:34 #3902 [Verbose] > velocity = 0.8 *^ (c *^ j_hat ())
00:00:34 #3903 [Verbose] > }
00:00:34 #3904 [Verbose] >
00:00:34 #3905 [Verbose] > inl newton_states = solver_ method (newton_second_ps forces) initial_state
00:00:34 #3906 [Verbose] > inl relativity_states = solver_ method (relativity_ps forces) initial_state
00:00:34 #3907 [Verbose] >
00:00:34 #3908 [Verbose] > inl newton_x, newton_y =
00:00:34 #3909 [Verbose] > newton_states
00:00:34 #3910 [Verbose] > >> Some
00:00:34 #3911 [Verbose] > |> seq.take_while_ (fun (particle_state st) i => i < 100i32)
00:00:34 #3912 [Verbose] > |> listm.map (fun (particle_state st) => st.pos_vec.x, st.pos_vec.y)
00:00:34 #3913 [Verbose] > |> listm'.unzip
00:00:34 #3914 [Verbose] >
00:00:34 #3915 [Verbose] > inl relativity_x, relativity_y =
00:00:34 #3916 [Verbose] > relativity_states
00:00:34 #3917 [Verbose] > >> Some
00:00:34 #3918 [Verbose] > |> seq.take_while_ (fun (particle_state st) i => i < 165i32)
00:00:34 #3919 [Verbose] > |> listm.map (fun (particle_state st) => st.pos_vec.x, st.pos_vec.y)
00:00:34 #3920 [Verbose] > |> listm'.unzip
00:00:34 #3921 [Verbose] >
00:00:34 #3922 [Verbose] > inl newton_x : a i32 _ = newton_x |> listm.toArray
00:00:34 #3923 [Verbose] > inl newton_y : a i32 _ = newton_y |> listm.toArray
00:00:34 #3924 [Verbose] >
00:00:34 #3925 [Verbose] > inl relativity_x : a i32 _ = relativity_x |> listm.toArray
00:00:34 #3926 [Verbose] > inl relativity_y : a i32 _ = relativity_y |> listm.toArray
00:00:34 #3927 [Verbose] >
00:00:34 #3928 [Verbose] > "proton in a 1-t magnetic field",
00:00:34 #3929 [Verbose] > "x (m)",
00:00:34 #3930 [Verbose] > "y (m)",
00:00:34 #3931 [Verbose] > ;[[
00:00:34 #3932 [Verbose] > "newtonian", newton_x, newton_y
00:00:34 #3933 [Verbose] > "relativistic", relativity_x, relativity_y
00:00:34 #3934 [Verbose] > ]]
00:00:34 #3935 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0788-8874-8c462839469b\main.spi
00:00:34 #3936 [Verbose] >
00:00:34 #3937 [Verbose] > ╭─[ 513.99ms - return value ]──────────────────────────────────────────────────╮
00:00:34 #3938 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:34 #3939 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:34 #3940 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:34 #3941 [Verbose] > │ stroke="none"/> │
00:00:34 #3942 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:34 #3943 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:34 #3944 [Verbose] > │ fill="#FFFFFF"> │
00:00:34 #3945 [Verbose] > │ proton in a 1-t magnetic field │
00:00:34 #3946 [Verbose] > │ </text> │
00:00:34 #3947 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="58" y1="424" x2="58" │
00:00:34 #3948 [Verbose] > │ y2="75"/> │
00:00:34 #3949 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:34 #3950 [Verbose] > │ y2="75"/> │
00:00:34 #3951 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="81" y1="424" x2="81" │
00:00:34 #3952 [Verbose] > │ y2="75"/> │
00:00:34 #3953 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="93" y1="424" x2="93" │
00:00:34 #3954 [Verbose] > │ y2="75"/> │
00:00:34 #3955 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x... │
00:00:34 #3956 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 #3957 [Verbose] >
00:00:34 #3958 [Verbose] > ╭─[ 529.71ms - stdout ]────────────────────────────────────────────────────────╮
00:00:34 #3959 [Verbose] > │ type UH0 = │
00:00:34 #3960 [Verbose] > │ | UH0_0 of float * float * float * float * float * float * float * float │
00:00:34 #3961 [Verbose] > │ * float * UH0 │
00:00:34 #3962 [Verbose] > │ | UH0_1 │
00:00:34 #3963 [Verbose] > │ and UH1 = │
00:00:34 #3964 [Verbose] > │ | UH1_0 of float * float * UH1 │
00:00:34 #3965 [Verbose] > │ | UH1_1 │
00:00:34 #3966 [Verbose] > │ and UH2 = │
00:00:34 #3967 [Verbose] > │ | UH2_0 of float * UH2 │
00:00:34 #3968 [Verbose] > │ | UH2_1 │
00:00:34 #3969 [Verbose] > │ let rec closure1 (v0 : (struct (float * float * float * float * float * │
00:00:34 #3970 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float * │
00:00:34 #3971 [Verbose] > │ float * float * float * float * float))) struct (v1 : float, v2 : float, v3 │
00:00:34 #3972 [Verbose] > │ : float, v4 : float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : │
00:00:34 #3973 [Verbose] > │ float) : struct (float * float * float * float * float * float * float * │
00:00:34 #3974 [Verbose] > │ float * float) = │
00:00:34 #3975 [Verbose] > │ let struct (v10 : float, v11 : float, v12 : float, v13 : float, v14 : │
00:00:34 #3976 [Verbose] > │ float, v15 : float, v16 : float, v17 : float, v18 : float) = v0 struct (v1, │
00:00:34 #3977 [Verbose] > │ v2, v3, v4, v5, v6, v7, v8, v9) │
00:00:34 #3978 [Verbose] > │ let v19 : float = v15 * 5E-10 │
00:00:34 #3979 [Verbose] > │ let v20 : float = v6 + v19 │
00:00:34 #3980 [Verbose] > │ let v21 : float = 5E-10 * v12 │
00:00:34 #3981 [Verbose] > │ let v22 : float = 5E-10 * v13 │
00:00:34 #3982 [Verbose] > │ let v23 : float = 5E-10 * v14 │
00:00:34 #3983 [Verbose] > │ let v24 : float = v3 + v21 │
00:00:34 #3984 [Verbose] > │ let v25 : float = v4 + v22 │
00:00:34 #3985 [Verbose] > │ let v26 : float = v5 + v23 │
00:00:34 #3986 [Verbose] > │ let v27 : float = 5E-10 * v16 │
00:00:34 #3987 [Verbose] > │ let v28 : float = 5E-10 * v17 │
00:00:34 #3988 [Verbose] > │ let v29 : float = 5E-10 * v18 │
00:00:34 #3989 [Verbose] > │ let v30 : float = v7 + v27 │
00:00:34 #3990 [Verbose] > │ let v31 : float = v8 + v28 │
00:00:34 #3991 [Verbose] > │ let v32 : float = v9 + v29 │
00:00:34 #3992 [Verbose] > │ let struct (v33 : float, v34 : float, v35 : float, v36 : float, v37 : │
00:00:34 #3993 [Verbose] > │ float, v38 : float, v39 : float, v40 : float, v41 : float) = v0 struct (v1, │
00:00:34 #3994 [Verbose] > │ v2, v24, v25, v26, v20, v30, v31, v32) │
00:00:34 #3995 [Verbose] > │ let v42 : float = v38 * 5E-10 │
00:00:34 #3996 [Verbose] > │ let v43 : float = v6 + v42 │
00:00:34 #3997 [Verbose] > │ let v44 : float = 5E-10 * v35 │
00:00:34 #3998 [Verbose] > │ let v45 : float = 5E-10 * v36 │
00:00:34 #3999 [Verbose] > │ let v46 : float = 5E-10 * v37 │
00:00:34 #4000 [Verbose] > │ let v47 : float = v3 + v44 │
00:00:34 #4001 [Verbose] > │ let v48 : float = v4 + v45 │
00:00:34 #4002 [Verbose] > │ let v49 : float = v5 + v46 │
00:00:34 #4003 [Verbose] > │ let v50 : float = 5E-10 * v39 │
00:00:34 #4004 [Verbose] > │ let v51 : float = 5E-10 * v40 │
00:00:34 #4005 [Verbose] > │ let v52 : float = 5E-10 * v41 │
00:00:34 #4006 [Verbose] > │ let v53 : float = v7 + v50 │
00:00:34 #4007 [Verbose] > │ let v54 : float = v8 + v51 │
00:00:34 #4008 [Verbose] > │ let v55 : float = v9 + v52 │
00:00:34 #4009 [Verbose] > │ let struct (v56 : float, v57 : float, v58 : float, v59 : float, v60 : │
00:00:34 #4010 [Verbose] > │ float, v61 : float, v62 : float, v63 : float, v64 : float) = v0 struct (v1, │
00:00:34 #4011 [Verbose] > │ v2, v47, v48, v49, v43, v53, v54, v55) │
00:00:34 #4012 [Verbose] > │ let v65 : float = v61 * 1E-09 │
00:00:34 #4013 [Verbose] > │ let v66 : float = v6 + v65 │
00:00:34 #4014 [Verbose] > │ let v67 : float = 1E-09 * v58 │
00:00:34 #4015 [Verbose] > │ let v68 : float = 1E-09 * v59 │
00:00:34 #4016 [Verbose] > │ let v69 : float = 1E-09 * v60 │
00:00:34 #4017 [Verbose] > │ let v70 : float = v3 + v67 │
00:00:34 #4018 [Verbose] > │ let v71 : float = v4 + v68 │
00:00:34 #4019 [Verbose] > │ let v72 : float = v5 + v69 │
00:00:34 #4020 [Verbose] > │ let v73 : float = 1E-09 * v62 │
00:00:34 #4021 [Verbose] > │ let v74 : float = 1E-09 * v63 │
00:00:34 #4022 [Verbose] > │ let v75 : float = 1E-09 * v64 │
00:00:34 #4023 [Verbose] > │ let v76 : float = v7 + v73 │
00:00:34 #4024 [Verbose] > │ let v77 : float = v8 + v74 │
00:00:34 #4025 [Verbose] > │ let v78 : float = v9 + v75 │
00:00:34 #4026 [Verbose] > │ let struct (v79 : float, v80 : float, v81 : float, v82 : float, v83 : │
00:00:34 #4027 [Verbose] > │ float, v84 : float, v85 : float, v86 : float, v87 : float) = v0 struct (v1, │
00:00:34 #4028 [Verbose] > │ v2, v70, v71, v72, v66, v76, v77, v78) │
00:00:34 #4029 [Verbose] > │ let v88 : float = v10 + v33 │
00:00:34 #4030 [Verbose] > │ let v89 : float = v11 + v34 │
00:00:34 #4031 [Verbose] > │ let v90 : float = v15 + v38 │
00:00:34 #4032 [Verbose] > │ let v91 : float = v12 + v35 │
00:00:34 #4033 [Verbose] > │ let v92 : float = v13 + v36 │
00:00:34 #4034 [Verbose] > │ let v93 : float = v14 + v37 │
00:00:34 #4035 [Verbose] > │ let v94 : float = v16 + v39 │
00:00:34 #4036 [Verbose] > │ let v95 : float = v17 + v40 │
00:00:34 #4037 [Verbose] > │ let v96 : float = v18 + v41 │
00:00:34 #4038 [Verbose] > │ let v97 : float = v88 + v33 │
00:00:34 #4039 [Verbose] > │ let v98 : float = v89 + v34 │
00:00:34 #4040 [Verbose] > │ let v99 : float = v90 + v38 │
00:00:34 #4041 [Verbose] > │ let v100 : float = v91 + v35 │
00:00:34 #4042 [Verbose] > │ let v101 : float = v92 + v36 │
00:00:34 #4043 [Verbose] > │ let v102 : float = v93 + v37 │
00:00:34 #4044 [Verbose] > │ let v103 : float = v94 + v39 │
00:00:34 #4045 [Verbose] > │ let v104 : float = v95 + v40 │
00:00:34 #4046 [Verbose] > │ let v105 : float = v96 + v41 │
00:00:34 #4047 [Verbose] > │ let v106 : float = v97 + v56 │
00:00:34 #4048 [Verbose] > │ let v107 : float = v98 + v57 │
00:00:34 #4049 [Verbose] > │ let v108 : float = v99 + v61 │
00:00:34 #4050 [Verbose] > │ let v109 : float = v100 + v58 │
00:00:34 #4051 [Verbose] > │ let v110 : float = v101 + v59 │
00:00:34 #4052 [Verbose] > │ let v111 : float = v102 + v60 │
00:00:34 #4053 [Verbose] > │ let v112 : float = v103 + v62 │
00:00:34 #4054 [Verbose] > │ let v113 : float = v104 + v63 │
00:00:34 #4055 [Verbose] > │ let v114 : float = v105 + v64 │
00:00:34 #4056 [Verbose] > │ let v115 : float = v106 + v56 │
00:00:34 #4057 [Verbose] > │ let v116 : float = v107 + v57 │
00:00:34 #4058 [Verbose] > │ let v117 : float = v108 + v61 │
00:00:34 #4059 [Verbose] > │ let v118 : float = v109 + v58 │
00:00:34 #4060 [Verbose] > │ let v119 : float = v110 + v59 │
00:00:34 #4061 [Verbose] > │ let v120 : float = v111 + v60 │
00:00:34 #4062 [Verbose] > │ let v121 : float = v112 + v62 │
00:00:34 #4063 [Verbose] > │ let v122 : float = v113 + v63 │
00:00:34 #4064 [Verbose] > │ let v123 : float = v114 + v64 │
00:00:34 #4065 [Verbose] > │ let v124 : float = v115 + v79 │
00:00:34 #4066 [Verbose] > │ let v125 : float = v116 + v80 │
00:00:34 #4067 [Verbose] > │ let v126 : float = v117 + v84 │
00:00:34 #4068 [Verbose] > │ let v127 : float = v118 + v81 │
00:00:34 #4069 [Verbose] > │ let v128 : float = v119 + v82 │
00:00:34 #4070 [Verbose] > │ let v129 : float = v120 + v83 │
00:00:34 #4071 [Verbose] > │ let v130 : float = v121 + v85 │
00:00:34 #4072 [Verbose] > │ let v131 : float = v122 + v86 │
00:00:34 #4073 [Verbose] > │ let v132 : float = v123 + v87 │
00:00:34 #4074 [Verbose] > │ let v133 : float = v126 * 1.6666666666666669E-10 │
00:00:34 #4075 [Verbose] > │ let v134 : float = v6 + v133 │
00:00:34 #4076 [Verbose] > │ let v135 : float = 1.6666666666666669E-10 * v127 │
00:00:34 #4077 [Verbose] > │ let v136 : float = 1.6666666666666669E-10 * v128 │
00:00:34 #4078 [Verbose] > │ let v137 : float = 1.6666666666666669E-10 * v129 │
00:00:34 #4079 [Verbose] > │ let v138 : float = v3 + v135 │
00:00:34 #4080 [Verbose] > │ let v139 : float = v4 + v136 │
00:00:34 #4081 [Verbose] > │ let v140 : float = v5 + v137 │
00:00:34 #4082 [Verbose] > │ let v141 : float = 1.6666666666666669E-10 * v130 │
00:00:34 #4083 [Verbose] > │ let v142 : float = 1.6666666666666669E-10 * v131 │
00:00:34 #4084 [Verbose] > │ let v143 : float = 1.6666666666666669E-10 * v132 │
00:00:34 #4085 [Verbose] > │ let v144 : float = v7 + v141 │
00:00:34 #4086 [Verbose] > │ let v145 : float = v8 + v142 │
00:00:34 #4087 [Verbose] > │ let v146 : float = v9 + v143 │
00:00:34 #4088 [Verbose] > │ struct (v1, v2, v138, v139, v140, v134, v144, v145, v146) │
00:00:34 #4089 [Verbose] > │ and closure0 () (v0 : (struct (float * float * float * float * float * float │
00:00:34 #4090 [Verbose] > │ * float * float * float) -> struct (float * float * float * float * float * │
00:00:34 #4091 [Verbose] > │ float * float * float * float))) : (struct (float * float * float * float * │
00:00:34 #4092 [Verbose] > │ float * float * float * float * float) -> struct (float * float * float * │
00:00:34 #4093 [Verbose] > │ float * float * float * float * float * float)) = │
00:00:34 #4094 [Verbose] > │ closure1(v0) │
00:00:34 #4095 [Verbose] > │ and closure2 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:00:34 #4096 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:34 #4097 [Verbose] > │ float * float * float * float * float * float * float * float) = │
00:00:34 #4098 [Verbose] > │ let v9 : float = v8 * 0.0 │
00:00:34 #4099 [Verbose] > │ let v10 : float = v7 - v9 │
00:00:34 #4100 [Verbose] > │ let v11 : float = v9 - v6 │
00:00:34 #4101 [Verbose] > │ let v12 : float = v6 * 0.0 │
00:00:34 #4102 [Verbose] > │ let v13 : float = v7 * 0.0 │
00:00:34 #4103 [Verbose] > │ let v14 : float = v12 - v13 │
00:00:34 #4104 [Verbose] > │ let v15 : float = v0 * v10 │
00:00:34 #4105 [Verbose] > │ let v16 : float = v0 * v11 │
00:00:34 #4106 [Verbose] > │ let v17 : float = v0 * v14 │
00:00:34 #4107 [Verbose] > │ let v18 : float = v15 / v1 │
00:00:34 #4108 [Verbose] > │ let v19 : float = v16 / v1 │
00:00:34 #4109 [Verbose] > │ let v20 : float = v17 / v1 │
00:00:34 #4110 [Verbose] > │ struct (0.0, 0.0, v6, v7, v8, 1.0, v18, v19, v20) │
00:00:34 #4111 [Verbose] > │ and closure3 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:00:34 #4112 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:34 #4113 [Verbose] > │ float * float * float * float * float * float * float * float) = │
00:00:34 #4114 [Verbose] > │ let v9 : float = v8 * 0.0 │
00:00:34 #4115 [Verbose] > │ let v10 : float = v7 - v9 │
00:00:34 #4116 [Verbose] > │ let v11 : float = v9 - v6 │
00:00:34 #4117 [Verbose] > │ let v12 : float = v6 * 0.0 │
00:00:34 #4118 [Verbose] > │ let v13 : float = v7 * 0.0 │
00:00:34 #4119 [Verbose] > │ let v14 : float = v12 - v13 │
00:00:34 #4120 [Verbose] > │ let v15 : float = v0 * v10 │
00:00:34 #4121 [Verbose] > │ let v16 : float = v0 * v11 │
00:00:34 #4122 [Verbose] > │ let v17 : float = v0 * v14 │
00:00:34 #4123 [Verbose] > │ let v18 : float = v6 / 299792458.0 │
00:00:34 #4124 [Verbose] > │ let v19 : float = v7 / 299792458.0 │
00:00:34 #4125 [Verbose] > │ let v20 : float = v8 / 299792458.0 │
00:00:34 #4126 [Verbose] > │ let v21 : float = v18 * v18 │
00:00:34 #4127 [Verbose] > │ let v22 : float = v19 * v19 │
00:00:34 #4128 [Verbose] > │ let v23 : float = v21 + v22 │
00:00:34 #4129 [Verbose] > │ let v24 : float = v20 * v20 │
00:00:34 #4130 [Verbose] > │ let v25 : float = v23 + v24 │
00:00:34 #4131 [Verbose] > │ let v26 : float = 1.0 - v25 │
00:00:34 #4132 [Verbose] > │ let v27 : float = sqrt v26 │
00:00:34 #4133 [Verbose] > │ let v28 : float = v15 * v18 │
00:00:34 #4134 [Verbose] > │ let v29 : float = v16 * v19 │
00:00:34 #4135 [Verbose] > │ let v30 : float = v28 + v29 │
00:00:34 #4136 [Verbose] > │ let v31 : float = v17 * v20 │
00:00:34 #4137 [Verbose] > │ let v32 : float = v30 + v31 │
00:00:34 #4138 [Verbose] > │ let v33 : float = v32 * v18 │
00:00:34 #4139 [Verbose] > │ let v34 : float = v32 * v19 │
00:00:34 #4140 [Verbose] > │ let v35 : float = v32 * v20 │
00:00:34 #4141 [Verbose] > │ let v36 : float = -1.0 * v33 │
00:00:34 #4142 [Verbose] > │ let v37 : float = -1.0 * v34 │
00:00:34 #4143 [Verbose] > │ let v38 : float = -1.0 * v35 │
00:00:34 #4144 [Verbose] > │ let v39 : float = v15 + v36 │
00:00:34 #4145 [Verbose] > │ let v40 : float = v16 + v37 │
00:00:34 #4146 [Verbose] > │ let v41 : float = v17 + v38 │
00:00:34 #4147 [Verbose] > │ let v42 : float = v27 * v39 │
00:00:34 #4148 [Verbose] > │ let v43 : float = v27 * v40 │
00:00:34 #4149 [Verbose] > │ let v44 : float = v27 * v41 │
00:00:34 #4150 [Verbose] > │ let v45 : float = v42 / v1 │
00:00:34 #4151 [Verbose] > │ let v46 : float = v43 / v1 │
00:00:34 #4152 [Verbose] > │ let v47 : float = v44 / v1 │
00:00:34 #4153 [Verbose] > │ struct (0.0, 0.0, v6, v7, v8, 1.0, v45, v46, v47) │
00:00:34 #4154 [Verbose] > │ and method2 (v0 : (struct (float * float * float * float * float * float * │
00:00:34 #4155 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float * │
00:00:34 #4156 [Verbose] > │ float * float * float * float)), v1 : float, v2 : float, v3 : float, v4 : │
00:00:34 #4157 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float, v9 : float, v10 : │
00:00:34 #4158 [Verbose] > │ int32) : struct (float * float * float * float * float * float * float * │
00:00:34 #4159 [Verbose] > │ float * float) = │
00:00:34 #4160 [Verbose] > │ let v11 : bool = v10 <= 0 │
00:00:34 #4161 [Verbose] > │ if v11 then │
00:00:34 #4162 [Verbose] > │ struct (v1, v2, v3, v4, v5, v6, v7, v8, v9) │
00:00:34 #4163 [Verbose] > │ else │
00:00:34 #4164 [Verbose] > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 │
00:00:34 #4165 [Verbose] > │ : float, v17 : float, v18 : float, v19 : float, v20 : float) = v0 struct │
00:00:34 #4166 [Verbose] > │ (v1, v2, v3, v4, v5, v6, v7, v8, v9) │
00:00:34 #4167 [Verbose] > │ let v21 : int32 = v10 - 1 │
00:00:34 #4168 [Verbose] > │ method2(v0, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21) │
00:00:34 #4169 [Verbose] > │ and method3 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:34 #4170 [Verbose] > │ match v0 with │
00:00:34 #4171 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:34 #4172 [Verbose] > │ let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:00:34 #4173 [Verbose] > │ method3(v11, v12) │
00:00:34 #4174 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:34 #4175 [Verbose] > │ v1 │
00:00:34 #4176 [Verbose] > │ and method1 (v0 : (struct (float * float * float * float * float * float * │
00:00:34 #4177 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float * │
00:00:34 #4178 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 = │
00:00:34 #4179 [Verbose] > │ let v3 : float = 1.602176621E-19 │
00:00:34 #4180 [Verbose] > │ let v4 : float = 1.672621898E-27 │
00:00:34 #4181 [Verbose] > │ let v5 : float = 0.0 │
00:00:34 #4182 [Verbose] > │ let v6 : float = 0.0 │
00:00:34 #4183 [Verbose] > │ let v7 : float = 0.0 │
00:00:34 #4184 [Verbose] > │ let v8 : float = 0.0 │
00:00:34 #4185 [Verbose] > │ let v9 : float = 0.0 │
00:00:34 #4186 [Verbose] > │ let v10 : float = 239833966.4 │
00:00:34 #4187 [Verbose] > │ let v11 : float = 0.0 │
00:00:34 #4188 [Verbose] > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 : │
00:00:34 #4189 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │
00:00:34 #4190 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2) │
00:00:34 #4191 [Verbose] > │ let v21 : bool = v2 < 100 │
00:00:34 #4192 [Verbose] > │ if v21 then │
00:00:34 #4193 [Verbose] > │ let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20, │
00:00:34 #4194 [Verbose] > │ v1) │
00:00:34 #4195 [Verbose] > │ let v23 : int32 = v2 + 1 │
00:00:34 #4196 [Verbose] > │ method1(v0, v22, v23) │
00:00:34 #4197 [Verbose] > │ else │
00:00:34 #4198 [Verbose] > │ let v25 : UH0 = UH0_1 │
00:00:34 #4199 [Verbose] > │ method3(v1, v25) │
00:00:34 #4200 [Verbose] > │ and method4 (v0 : UH0, v1 : UH1) : UH1 = │
00:00:34 #4201 [Verbose] > │ match v0 with │
00:00:34 #4202 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:34 #4203 [Verbose] > │ let v12 : UH1 = method4(v11, v1) │
00:00:34 #4204 [Verbose] > │ UH1_0(v4, v5, v12) │
00:00:34 #4205 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:34 #4206 [Verbose] > │ v1 │
00:00:34 #4207 [Verbose] > │ and method5 (v0 : UH1, v1 : UH2, v2 : UH2) : struct (UH2 * UH2) = │
00:00:34 #4208 [Verbose] > │ match v0 with │
00:00:34 #4209 [Verbose] > │ | UH1_0(v3, v4, v5) -> (* Cons *) │
00:00:34 #4210 [Verbose] > │ let v6 : UH2 = UH2_0(v3, v1) │
00:00:34 #4211 [Verbose] > │ let v7 : UH2 = UH2_0(v4, v2) │
00:00:34 #4212 [Verbose] > │ method5(v5, v6, v7) │
00:00:34 #4213 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:34 #4214 [Verbose] > │ struct (v1, v2) │
00:00:34 #4215 [Verbose] > │ and method6 (v0 : UH2, v1 : UH2) : UH2 = │
00:00:34 #4216 [Verbose] > │ match v0 with │
00:00:34 #4217 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:34 #4218 [Verbose] > │ let v4 : UH2 = UH2_0(v2, v1) │
00:00:34 #4219 [Verbose] > │ method6(v3, v4) │
00:00:34 #4220 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:34 #4221 [Verbose] > │ v1 │
00:00:34 #4222 [Verbose] > │ and method7 (v0 : (struct (float * float * float * float * float * float * │
00:00:34 #4223 [Verbose] > │ float * float * float) -> struct (float * float * float * float * float * │
00:00:34 #4224 [Verbose] > │ float * float * float * float)), v1 : UH0, v2 : int32) : UH0 = │
00:00:34 #4225 [Verbose] > │ let v3 : float = 1.602176621E-19 │
00:00:34 #4226 [Verbose] > │ let v4 : float = 1.672621898E-27 │
00:00:34 #4227 [Verbose] > │ let v5 : float = 0.0 │
00:00:34 #4228 [Verbose] > │ let v6 : float = 0.0 │
00:00:34 #4229 [Verbose] > │ let v7 : float = 0.0 │
00:00:34 #4230 [Verbose] > │ let v8 : float = 0.0 │
00:00:34 #4231 [Verbose] > │ let v9 : float = 0.0 │
00:00:34 #4232 [Verbose] > │ let v10 : float = 239833966.4 │
00:00:34 #4233 [Verbose] > │ let v11 : float = 0.0 │
00:00:34 #4234 [Verbose] > │ let struct (v12 : float, v13 : float, v14 : float, v15 : float, v16 : │
00:00:34 #4235 [Verbose] > │ float, v17 : float, v18 : float, v19 : float, v20 : float) = method2(v0, v3, │
00:00:34 #4236 [Verbose] > │ v4, v5, v6, v7, v8, v9, v10, v11, v2) │
00:00:34 #4237 [Verbose] > │ let v21 : bool = v2 < 165 │
00:00:34 #4238 [Verbose] > │ if v21 then │
00:00:34 #4239 [Verbose] > │ let v22 : UH0 = UH0_0(v12, v13, v14, v15, v16, v17, v18, v19, v20, │
00:00:34 #4240 [Verbose] > │ v1) │
00:00:34 #4241 [Verbose] > │ let v23 : int32 = v2 + 1 │
00:00:34 #4242 [Verbose] > │ method7(v0, v22, v23) │
00:00:34 #4243 [Verbose] > │ else │
00:00:34 #4244 [Verbose] > │ let v25 : UH0 = UH0_1 │
00:00:34 #4245 [Verbose] > │ method3(v1, v25) │
00:00:34 #4246 [Verbose] > │ and method8 (v0 : UH0, v1 : UH1) : UH1 = │
00:00:34 #4247 [Verbose] > │ match v0 with │
00:00:34 #4248 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:34 #4249 [Verbose] > │ let v12 : UH1 = method8(v11, v1) │
00:00:34 #4250 [Verbose] > │ UH1_0(v4, v5, v12) │
00:00:34 #4251 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:34 #4252 [Verbose] > │ v1 │
00:00:34 #4253 [Verbose] > │ and method10 (v0 : UH2, v1 : int32) : int32 = │
00:00:34 #4254 [Verbose] > │ match v0 with │
00:00:34 #4255 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:34 #4256 [Verbose] > │ let v4 : int32 = v1 + 1 │
00:00:34 #4257 [Verbose] > │ method10(v3, v4) │
00:00:34 #4258 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:34 #4259 [Verbose] > │ v1 │
00:00:34 #4260 [Verbose] > │ and method11 (v0 : (float []), v1 : UH2, v2 : int32) : int32 = │
00:00:34 #4261 [Verbose] > │ match v1 with │
00:00:34 #4262 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:00:34 #4263 [Verbose] > │ v0.[int v2] <- v3 │
00:00:34 #4264 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:34 #4265 [Verbose] > │ method11(v0, v4, v5) │
00:00:34 #4266 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:34 #4267 [Verbose] > │ v2 │
00:00:34 #4268 [Verbose] > │ and method9 (v0 : UH2) : (float []) = │
00:00:34 #4269 [Verbose] > │ let v1 : int32 = 0 │
00:00:34 #4270 [Verbose] > │ let v2 : int32 = method10(v0, v1) │
00:00:34 #4271 [Verbose] > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:00:34 #4272 [Verbose] > │ let v4 : int32 = 0 │
00:00:34 #4273 [Verbose] > │ let v5 : int32 = method11(v3, v0, v4) │
00:00:34 #4274 [Verbose] > │ v3 │
00:00:34 #4275 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:34 #4276 [Verbose] > │ []) * (float [])) [])) = │
00:00:34 #4277 [Verbose] > │ let v0 : ((struct (float * float * float * float * float * float * float │
00:00:34 #4278 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:34 #4279 [Verbose] > │ float * float * float)) -> (struct (float * float * float * float * float * │
00:00:34 #4280 [Verbose] > │ float * float * float * float) -> struct (float * float * float * float * │
00:00:34 #4281 [Verbose] > │ float * float * float * float * float))) = closure0() │
00:00:34 #4282 [Verbose] > │ let v1 : (struct (float * float * float * float * float * float * float │
00:00:34 #4283 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:34 #4284 [Verbose] > │ float * float * float)) = closure2() │
00:00:34 #4285 [Verbose] > │ let v2 : (struct (float * float * float * float * float * float * float │
00:00:34 #4286 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:34 #4287 [Verbose] > │ float * float * float)) = v0 v1 │
00:00:34 #4288 [Verbose] > │ let v3 : (struct (float * float * float * float * float * float * float │
00:00:34 #4289 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:34 #4290 [Verbose] > │ float * float * float)) = closure3() │
00:00:34 #4291 [Verbose] > │ let v4 : (struct (float * float * float * float * float * float * float │
00:00:34 #4292 [Verbose] > │ * float * float) -> struct (float * float * float * float * float * float * │
00:00:34 #4293 [Verbose] > │ float * float * float)) = v0 v3 │
00:00:34 #4294 [Verbose] > │ let v5 : UH0 = UH0_1 │
00:00:34 #4295 [Verbose] > │ let v6 : int32 = 0 │
00:00:34 #4296 [Verbose] > │ let v7 : UH0 = method1(v2, v5, v6) │
00:00:34 #4297 [Verbose] > │ let v8 : UH1 = UH1_1 │
00:00:34 #4298 [Verbose] > │ let v9 : UH1 = method4(v7, v8) │
00:00:34 #4299 [Verbose] > │ let v10 : UH2 = UH2_1 │
00:00:34 #4300 [Verbose] > │ let v11 : UH2 = UH2_1 │
00:00:34 #4301 [Verbose] > │ let struct (v12 : UH2, v13 : UH2) = method5(v9, v10, v11) │
00:00:34 #4302 [Verbose] > │ let v14 : UH2 = UH2_1 │
00:00:34 #4303 [Verbose] > │ let v15 : UH2 = method6(v12, v14) │
00:00:34 #4304 [Verbose] > │ let v16 : UH2 = UH2_1 │
00:00:34 #4305 [Verbose] > │ let v17 : UH2 = method6(v13, v16) │
00:00:34 #4306 [Verbose] > │ let v18 : UH0 = UH0_1 │
00:00:34 #4307 [Verbose] > │ let v19 : int32 = 0 │
00:00:34 #4308 [Verbose] > │ let v20 : UH0 = method7(v4, v18, v19) │
00:00:34 #4309 [Verbose] > │ let v21 : UH1 = UH1_1 │
00:00:34 #4310 [Verbose] > │ let v22 : UH1 = method8(v20, v21) │
00:00:34 #4311 [Verbose] > │ let v23 : UH2 = UH2_1 │
00:00:34 #4312 [Verbose] > │ let v24 : UH2 = UH2_1 │
00:00:34 #4313 [Verbose] > │ let struct (v25 : UH2, v26 : UH2) = method5(v22, v23, v24) │
00:00:34 #4314 [Verbose] > │ let v27 : UH2 = UH2_1 │
00:00:34 #4315 [Verbose] > │ let v28 : UH2 = method6(v25, v27) │
00:00:34 #4316 [Verbose] > │ let v29 : UH2 = UH2_1 │
00:00:34 #4317 [Verbose] > │ let v30 : UH2 = method6(v26, v29) │
00:00:34 #4318 [Verbose] > │ let v31 : (float []) = method9(v15) │
00:00:34 #4319 [Verbose] > │ let v32 : (float []) = method9(v17) │
00:00:34 #4320 [Verbose] > │ let v33 : (float []) = method9(v28) │
00:00:34 #4321 [Verbose] > │ let v34 : (float []) = method9(v30) │
00:00:34 #4322 [Verbose] > │ let v35 : string = "newtonian" │
00:00:34 #4323 [Verbose] > │ let v36 : string = "relativistic" │
00:00:34 #4324 [Verbose] > │ let v37 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:34 #4325 [Verbose] > │ (v35, v31, v32); struct (v36, v33, v34)|] │
00:00:34 #4326 [Verbose] > │ let v38 : string = "proton in a 1-t magnetic field" │
00:00:34 #4327 [Verbose] > │ let v39 : string = "x (m)" │
00:00:34 #4328 [Verbose] > │ let v40 : string = "y (m)" │
00:00:34 #4329 [Verbose] > │ struct (v38, v39, v40, v37) │
00:00:34 #4330 [Verbose] > │ method0() │
00:00:34 #4331 [Verbose] > │ │
00:00:34 #4332 [Verbose] > │ │
00:00:34 #4333 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 #4334 [Verbose] >
00:00:34 #4335 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:34 #4336 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:34 #4337 [Verbose] > │ ### system kinetic energy versus time 1 │
00:00:34 #4338 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:34 #4339 [Verbose] >
00:00:34 #4340 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:34 #4341 [Verbose] > // // test
00:00:34 #4342 [Verbose] >
00:00:34 #4343 [Verbose] > inl central_force f (particle_state st1) (particle_state st2) =
00:00:34 #4344 [Verbose] > inl r1 = st1.pos_vec
00:00:34 #4345 [Verbose] > inl r2 = st2.pos_vec
00:00:34 #4346 [Verbose] > inl r21 = r2 ^-^ r1
00:00:34 #4347 [Verbose] > inl r21mag = magnitude r21
00:00:34 #4348 [Verbose] > f r21mag *^ r21 ^/ r21mag
00:00:34 #4349 [Verbose] >
00:00:34 #4350 [Verbose] > inl billiard_force k re =
00:00:34 #4351 [Verbose] > inl f r =
00:00:34 #4352 [Verbose] > if r >= re
00:00:34 #4353 [Verbose] > then 0
00:00:34 #4354 [Verbose] > else -k * (r - re)
00:00:34 #4355 [Verbose] > central_force f
00:00:34 #4356 [Verbose] >
00:00:34 #4357 [Verbose] > type force_vector = vec
00:00:34 #4358 [Verbose] > type two_body_force = particle_state -> particle_state -> force_vector
00:00:34 #4359 [Verbose] >
00:00:34 #4360 [Verbose] > union force =
00:00:34 #4361 [Verbose] > | ExternalForce : i32 * one_body_force
00:00:34 #4362 [Verbose] > | InternalForce : i32 * i32 * two_body_force
00:00:34 #4363 [Verbose] >
00:00:34 #4364 [Verbose] > nominal multi_particle_state = list particle_state
00:00:34 #4365 [Verbose] >
00:00:34 #4366 [Verbose] > nominal d_multi_particle_state = list d_particle_state
00:00:34 #4367 [Verbose] >
00:00:34 #4368 [Verbose] > inl force_on n sts force =
00:00:34 #4369 [Verbose] > match force with
00:00:34 #4370 [Verbose] > | ExternalForce (n0, f_one_body) =>
00:00:34 #4371 [Verbose] > if n = n0
00:00:34 #4372 [Verbose] > then f_one_body
00:00:34 #4373 [Verbose] > else fun _ => zero_vec ()
00:00:34 #4374 [Verbose] > | InternalForce (n0, n1, f_two_body) =>
00:00:34 #4375 [Verbose] > if n = n0
00:00:34 #4376 [Verbose] > then f_two_body (sts |> listm'.item n1)
00:00:34 #4377 [Verbose] > elif n = n1
00:00:34 #4378 [Verbose] > then f_two_body (sts |> listm'.item n0)
00:00:34 #4379 [Verbose] > else fun _ => zero_vec ()
00:00:34 #4380 [Verbose] >
00:00:34 #4381 [Verbose] > inl forces_on n (multi_particle_state sts) fs =
00:00:34 #4382 [Verbose] > fs |> listm.map (force_on n sts)
00:00:34 #4383 [Verbose] >
00:00:34 #4384 [Verbose] > inl newton_second_mps fs (multi_particle_state sts) : d_multi_particle_state =
00:00:34 #4385 [Verbose] > inl deriv (n, st) =
00:00:34 #4386 [Verbose] > newton_second_ps (forces_on n (multi_particle_state sts) fs) st
00:00:34 #4387 [Verbose] > sts |> listm'.indexed |> listm.map deriv |> d_multi_particle_state
00:00:34 #4388 [Verbose] >
00:00:34 #4389 [Verbose] > instance (+++) d_multi_particle_state = fun (d_multi_particle_state dsts1)
00:00:34 #4390 [Verbose] > (d_multi_particle_state dsts2) =>
00:00:34 #4391 [Verbose] > d_multi_particle_state (listm'.zip_with_ (+++) dsts1 dsts2)
00:00:34 #4392 [Verbose] >
00:00:34 #4393 [Verbose] > instance scale d_multi_particle_state = fun w (d_multi_particle_state dsts) =>
00:00:34 #4394 [Verbose] > d_multi_particle_state (dsts |> listm.map (scale w))
00:00:34 #4395 [Verbose] >
00:00:34 #4396 [Verbose] > instance shift multi_particle_state = fun dt dsts (multi_particle_state sts) =>
00:00:34 #4397 [Verbose] > inl (d_multi_particle_state dsts) =
00:00:34 #4398 [Verbose] > real
00:00:34 #4399 [Verbose] > match dsts with
00:00:34 #4400 [Verbose] > | d_multi_particle_state _ => dsts
00:00:34 #4401 [Verbose] > listm'.zip_with_ (shift dt) dsts sts |> multi_particle_state
00:00:34 #4402 [Verbose] >
00:00:34 #4403 [Verbose] > inl euler_cromer_mps dt : numerical_method multi_particle_state
00:00:34 #4404 [Verbose] > d_multi_particle_state =
00:00:34 #4405 [Verbose] > fun deriv mpst0 =>
00:00:34 #4406 [Verbose] > inl mpst1 = euler dt deriv mpst0
00:00:34 #4407 [Verbose] > inl (multi_particle_state sts0) = mpst0
00:00:34 #4408 [Verbose] > inl (multi_particle_state sts1) = mpst1
00:00:34 #4409 [Verbose] > sts1
00:00:34 #4410 [Verbose] > |> listm'.zip_ sts0
00:00:34 #4411 [Verbose] > |> listm.map (fun ((particle_state st0), (particle_state st1)) =>
00:00:34 #4412 [Verbose] > particle_state {
00:00:34 #4413 [Verbose] > st1 with
00:00:34 #4414 [Verbose] > pos_vec = st0.pos_vec ^+^ st1.velocity ^* dt
00:00:34 #4415 [Verbose] > }
00:00:34 #4416 [Verbose] > )
00:00:34 #4417 [Verbose] > |> multi_particle_state
00:00:34 #4418 [Verbose] >
00:00:34 #4419 [Verbose] > inl update_mps (method : numerical_method multi_particle_state
00:00:34 #4420 [Verbose] > d_multi_particle_state) =
00:00:34 #4421 [Verbose] > newton_second_mps >> method
00:00:34 #4422 [Verbose] >
00:00:34 #4423 [Verbose] > inl states_mps (method : numerical_method multi_particle_state
00:00:34 #4424 [Verbose] > d_multi_particle_state) =
00:00:34 #4425 [Verbose] > newton_second_mps >> method >> seq.iterate_
00:00:34 #4426 [Verbose] >
00:00:34 #4427 [Verbose] >
00:00:34 #4428 [Verbose] > inl kinetic_energy (particle_state st) =
00:00:34 #4429 [Verbose] > inl m = st.mass
00:00:34 #4430 [Verbose] > inl v = magnitude st.velocity
00:00:34 #4431 [Verbose] > 0.5 * m * v ** 2
00:00:34 #4432 [Verbose] >
00:00:34 #4433 [Verbose] > inl system_ke (multi_particle_state sts) =
00:00:34 #4434 [Verbose] > sts |> listm.map kinetic_energy |> listm'.sum
00:00:34 #4435 [Verbose] >
00:00:34 #4436 [Verbose] > inl linear_spring_pe k re (particle_state st1) (particle_state st2) =
00:00:34 #4437 [Verbose] > inl r1 = st1.pos_vec
00:00:34 #4438 [Verbose] > inl r2 = st2.pos_vec
00:00:34 #4439 [Verbose] > inl r21 = r2 ^-^ r1
00:00:34 #4440 [Verbose] > inl r21mag = magnitude r21
00:00:34 #4441 [Verbose] > k * (r21mag - re) ** 2 / 2
00:00:34 #4442 [Verbose] >
00:00:34 #4443 [Verbose] > inl earth_surface_gravity_pe (particle_state st) =
00:00:34 #4444 [Verbose] > inl g = 9.80665
00:00:34 #4445 [Verbose] > inl m = st.mass
00:00:34 #4446 [Verbose] > inl z = st.pos_vec.z
00:00:34 #4447 [Verbose] > m * g * z
00:00:34 #4448 [Verbose] >
00:00:34 #4449 [Verbose] > inl two_springs_pe (multi_particle_state sts) =
00:00:34 #4450 [Verbose] > inl st0 = sts |> listm'.item 0i32
00:00:34 #4451 [Verbose] > inl st1 = sts |> listm'.item 1i32
00:00:34 #4452 [Verbose] > linear_spring_pe 100 0.5 (default_particle_state ()) st0
00:00:34 #4453 [Verbose] > + linear_spring_pe 100 0.5 st0 st1
00:00:34 #4454 [Verbose] > + earth_surface_gravity_pe st0
00:00:34 #4455 [Verbose] > + earth_surface_gravity_pe st1
00:00:34 #4456 [Verbose] >
00:00:34 #4457 [Verbose] > inl two_springs_me mpst =
00:00:34 #4458 [Verbose] > system_ke mpst + two_springs_pe mpst
00:00:34 #4459 [Verbose] >
00:00:34 #4460 [Verbose] > inl ball_radius () = 0.03
00:00:34 #4461 [Verbose] >
00:00:34 #4462 [Verbose] > inl billiard_forces k =
00:00:34 #4463 [Verbose] > [[ InternalForce (0, 1, billiard_force k (2 * ball_radius ())) ]]
00:00:34 #4464 [Verbose] >
00:00:34 #4465 [Verbose] > inl billiard_update n_method k dt =
00:00:34 #4466 [Verbose] > update_mps (n_method dt) (billiard_forces k)
00:00:34 #4467 [Verbose] >
00:00:34 #4468 [Verbose] > inl billiard_initial () =
00:00:34 #4469 [Verbose] > inl ball_mass = 0.160
00:00:34 #4470 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:34 #4471 [Verbose] > multi_particle_state [[
00:00:34 #4472 [Verbose] > particle_state {
00:00:34 #4473 [Verbose] > default_particle_state' with
00:00:34 #4474 [Verbose] > mass = ball_mass
00:00:34 #4475 [Verbose] > pos_vec = zero_vec ()
00:00:34 #4476 [Verbose] > velocity = 0.2 *^ i_hat ()
00:00:34 #4477 [Verbose] > }
00:00:34 #4478 [Verbose] > particle_state {
00:00:34 #4479 [Verbose] > default_particle_state' with
00:00:34 #4480 [Verbose] > mass = ball_mass
00:00:34 #4481 [Verbose] > pos_vec = i_hat () ^+^ 0.02 *^ j_hat ()
00:00:34 #4482 [Verbose] > velocity = zero_vec ()
00:00:34 #4483 [Verbose] > }
00:00:34 #4484 [Verbose] > ]]
00:00:34 #4485 [Verbose] >
00:00:34 #4486 [Verbose] > inl billiard_states ~n_method k dt =
00:00:34 #4487 [Verbose] > states_mps (n_method dt) (billiard_forces k) (billiard_initial ())
00:00:34 #4488 [Verbose] >
00:00:34 #4489 [Verbose] > inl billiard_states_finite n_method k dt =
00:00:34 #4490 [Verbose] > billiard_states n_method k dt
00:00:34 #4491 [Verbose] > >> Some
00:00:34 #4492 [Verbose] > |> seq.take_while_ (fun (multi_particle_state mpst) (_ : i32) =>
00:00:34 #4493 [Verbose] > (mpst |> listm'.item 0i32).time <= 10
00:00:34 #4494 [Verbose] > )
00:00:34 #4495 [Verbose] >
00:00:34 #4496 [Verbose] > inl momentum (particle_state st) =
00:00:34 #4497 [Verbose] > inl m = st.mass
00:00:34 #4498 [Verbose] > inl v = st.velocity
00:00:34 #4499 [Verbose] > m *^ v
00:00:34 #4500 [Verbose] >
00:00:34 #4501 [Verbose] > inl system_p (multi_particle_state sts) =
00:00:34 #4502 [Verbose] > sts |> listm.map momentum |> sum_vec
00:00:34 #4503 [Verbose] >
00:00:34 #4504 [Verbose] >
00:00:34 #4505 [Verbose] > inl time_ke_ec_x, time_ke_ec_y =
00:00:34 #4506 [Verbose] > billiard_states_finite euler_cromer_mps 30 0.03
00:00:34 #4507 [Verbose] > |> listm.map (fun (multi_particle_state mpst) =>
00:00:34 #4508 [Verbose] > (mpst |> listm'.item 0i32).time, system_ke (multi_particle_state mpst)
00:00:34 #4509 [Verbose] > )
00:00:34 #4510 [Verbose] > |> listm'.unzip
00:00:34 #4511 [Verbose] >
00:00:34 #4512 [Verbose] > inl time_ke_rk4_x, time_ke_rk4_y =
00:00:34 #4513 [Verbose] > billiard_states_finite runge_kutta_4 30 0.03
00:00:34 #4514 [Verbose] > |> listm.map (fun (multi_particle_state mpst) =>
00:00:34 #4515 [Verbose] > (mpst |> listm'.item 0i32).time, system_ke (multi_particle_state mpst)
00:00:34 #4516 [Verbose] > )
00:00:34 #4517 [Verbose] > |> listm'.unzip
00:00:34 #4518 [Verbose] >
00:00:34 #4519 [Verbose] > inl time_ke_ec_x : a i32 _ = time_ke_ec_x |> listm.toArray
00:00:34 #4520 [Verbose] > inl time_ke_ec_y : a i32 _ = time_ke_ec_y |> listm.toArray
00:00:34 #4521 [Verbose] >
00:00:34 #4522 [Verbose] > inl time_ke_rk4_x : a i32 _ = time_ke_rk4_x |> listm.toArray
00:00:34 #4523 [Verbose] > inl time_ke_rk4_y : a i32 _ = time_ke_rk4_y |> listm.toArray
00:00:34 #4524 [Verbose] >
00:00:34 #4525 [Verbose] > "system kinetic energy versus time",
00:00:34 #4526 [Verbose] > "time (s)",
00:00:34 #4527 [Verbose] > "system kinetic energy (j)",
00:00:34 #4528 [Verbose] > ;[[
00:00:34 #4529 [Verbose] > "euler-cromer", time_ke_ec_x, time_ke_ec_y
00:00:34 #4530 [Verbose] > "runge-kutta 4", time_ke_rk4_x, time_ke_rk4_y
00:00:34 #4531 [Verbose] > ]]
00:00:34 #4532 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-0856-5674-5f5bae73f8a0\main.spi
00:00:36 #4533 [Verbose] >
00:00:36 #4534 [Verbose] > ╭─[ 1.43s - return value ]─────────────────────────────────────────────────────╮
00:00:36 #4535 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:36 #4536 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:36 #4537 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:36 #4538 [Verbose] > │ stroke="none"/> │
00:00:36 #4539 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:36 #4540 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:36 #4541 [Verbose] > │ fill="#FFFFFF"> │
00:00:36 #4542 [Verbose] > │ system kinetic energy versus time │
00:00:36 #4543 [Verbose] > │ </text> │
00:00:36 #4544 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:00:36 #4545 [Verbose] > │ y2="75"/> │
00:00:36 #4546 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:36 #4547 [Verbose] > │ y2="75"/> │
00:00:36 #4548 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:00:36 #4549 [Verbose] > │ y2="75"/> │
00:00:36 #4550 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:00:36 #4551 [Verbose] > │ y2="75"/> │
00:00:36 #4552 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1... │
00:00:36 #4553 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 #4554 [Verbose] >
00:00:36 #4555 [Verbose] > ╭─[ 1.44s - stdout ]───────────────────────────────────────────────────────────╮
00:00:36 #4556 [Verbose] > │ type UH0 = │
00:00:36 #4557 [Verbose] > │ | UH0_0 of float * float * float * float * float * float * float * float │
00:00:36 #4558 [Verbose] > │ * float * UH0 │
00:00:36 #4559 [Verbose] > │ | UH0_1 │
00:00:36 #4560 [Verbose] > │ and UH1 = │
00:00:36 #4561 [Verbose] > │ | UH1_0 of float * float * float * float * float * float * float * float │
00:00:36 #4562 [Verbose] > │ * float * UH1 │
00:00:36 #4563 [Verbose] > │ | UH1_1 │
00:00:36 #4564 [Verbose] > │ and UH2 = │
00:00:36 #4565 [Verbose] > │ | UH2_0 of float * float * float * float * float * float * float * float │
00:00:36 #4566 [Verbose] > │ * float * float * float * float * float * float * float * float * float * │
00:00:36 #4567 [Verbose] > │ float * UH2 │
00:00:36 #4568 [Verbose] > │ | UH2_1 │
00:00:36 #4569 [Verbose] > │ and UH3 = │
00:00:36 #4570 [Verbose] > │ | UH3_0 of int32 * float * float * float * float * float * float * float │
00:00:36 #4571 [Verbose] > │ * float * float * UH3 │
00:00:36 #4572 [Verbose] > │ | UH3_1 │
00:00:36 #4573 [Verbose] > │ and [<Struct>] US0 = │
00:00:36 #4574 [Verbose] > │ | US0_0 │
00:00:36 #4575 [Verbose] > │ | US0_1 of f1_0 : float * f1_1 : float * f1_2 : float * f1_3 : float * │
00:00:36 #4576 [Verbose] > │ f1_4 : float * f1_5 : float * f1_6 : float * f1_7 : float * f1_8 : float │
00:00:36 #4577 [Verbose] > │ and UH4 = │
00:00:36 #4578 [Verbose] > │ | UH4_0 of UH0 * UH4 │
00:00:36 #4579 [Verbose] > │ | UH4_1 │
00:00:36 #4580 [Verbose] > │ and UH5 = │
00:00:36 #4581 [Verbose] > │ | UH5_0 of float * float * UH5 │
00:00:36 #4582 [Verbose] > │ | UH5_1 │
00:00:36 #4583 [Verbose] > │ and UH6 = │
00:00:36 #4584 [Verbose] > │ | UH6_0 of float * UH6 │
00:00:36 #4585 [Verbose] > │ | UH6_1 │
00:00:36 #4586 [Verbose] > │ let rec method2 (v0 : UH0, v1 : UH0) : UH0 = │
00:00:36 #4587 [Verbose] > │ match v0 with │
00:00:36 #4588 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:36 #4589 [Verbose] > │ let v12 : UH0 = UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:00:36 #4590 [Verbose] > │ method2(v11, v12) │
00:00:36 #4591 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4592 [Verbose] > │ v1 │
00:00:36 #4593 [Verbose] > │ and method1 (v0 : float, v1 : UH0, v2 : UH1, v3 : UH0) : UH0 = │
00:00:36 #4594 [Verbose] > │ match v2 with │
00:00:36 #4595 [Verbose] > │ | UH1_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* Cons *) │
00:00:36 #4596 [Verbose] > │ match v3 with │
00:00:36 #4597 [Verbose] > │ | UH0_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* Cons │
00:00:36 #4598 [Verbose] > │ *) │
00:00:36 #4599 [Verbose] > │ let v24 : float = v9 * v0 │
00:00:36 #4600 [Verbose] > │ let v25 : float = v19 + v24 │
00:00:36 #4601 [Verbose] > │ let v26 : float = v0 * v6 │
00:00:36 #4602 [Verbose] > │ let v27 : float = v0 * v7 │
00:00:36 #4603 [Verbose] > │ let v28 : float = v0 * v8 │
00:00:36 #4604 [Verbose] > │ let v29 : float = v16 + v26 │
00:00:36 #4605 [Verbose] > │ let v30 : float = v17 + v27 │
00:00:36 #4606 [Verbose] > │ let v31 : float = v18 + v28 │
00:00:36 #4607 [Verbose] > │ let v32 : float = v0 * v10 │
00:00:36 #4608 [Verbose] > │ let v33 : float = v0 * v11 │
00:00:36 #4609 [Verbose] > │ let v34 : float = v0 * v12 │
00:00:36 #4610 [Verbose] > │ let v35 : float = v20 + v32 │
00:00:36 #4611 [Verbose] > │ let v36 : float = v21 + v33 │
00:00:36 #4612 [Verbose] > │ let v37 : float = v22 + v34 │
00:00:36 #4613 [Verbose] > │ let v38 : UH0 = UH0_0(v14, v15, v29, v30, v31, v25, v35, v36, │
00:00:36 #4614 [Verbose] > │ v37, v1) │
00:00:36 #4615 [Verbose] > │ method1(v0, v38, v13, v23) │
00:00:36 #4616 [Verbose] > │ | _ -> │
00:00:36 #4617 [Verbose] > │ let v40 : UH0 = UH0_1 │
00:00:36 #4618 [Verbose] > │ method2(v1, v40) │
00:00:36 #4619 [Verbose] > │ | _ -> │
00:00:36 #4620 [Verbose] > │ let v43 : UH0 = UH0_1 │
00:00:36 #4621 [Verbose] > │ method2(v1, v43) │
00:00:36 #4622 [Verbose] > │ and method4 (v0 : UH2, v1 : UH2) : UH2 = │
00:00:36 #4623 [Verbose] > │ match v0 with │
00:00:36 #4624 [Verbose] > │ | UH2_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, │
00:00:36 #4625 [Verbose] > │ v16, v17, v18, v19, v20) -> (* Cons *) │
00:00:36 #4626 [Verbose] > │ let v21 : UH2 = UH2_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, │
00:00:36 #4627 [Verbose] > │ v13, v14, v15, v16, v17, v18, v19, v1) │
00:00:36 #4628 [Verbose] > │ method4(v20, v21) │
00:00:36 #4629 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:36 #4630 [Verbose] > │ v1 │
00:00:36 #4631 [Verbose] > │ and method3 (v0 : UH2, v1 : UH0, v2 : UH0) : UH2 = │
00:00:36 #4632 [Verbose] > │ match v1 with │
00:00:36 #4633 [Verbose] > │ | UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *) │
00:00:36 #4634 [Verbose] > │ match v2 with │
00:00:36 #4635 [Verbose] > │ | UH0_0(v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) -> (* Cons │
00:00:36 #4636 [Verbose] > │ *) │
00:00:36 #4637 [Verbose] > │ let v23 : UH2 = UH2_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v13, │
00:00:36 #4638 [Verbose] > │ v14, v15, v16, v17, v18, v19, v20, v21, v0) │
00:00:36 #4639 [Verbose] > │ method3(v23, v12, v22) │
00:00:36 #4640 [Verbose] > │ | _ -> │
00:00:36 #4641 [Verbose] > │ let v25 : UH2 = UH2_1 │
00:00:36 #4642 [Verbose] > │ method4(v0, v25) │
00:00:36 #4643 [Verbose] > │ | _ -> │
00:00:36 #4644 [Verbose] > │ let v28 : UH2 = UH2_1 │
00:00:36 #4645 [Verbose] > │ method4(v0, v28) │
00:00:36 #4646 [Verbose] > │ and method5 (v0 : float, v1 : UH2, v2 : UH0) : UH0 = │
00:00:36 #4647 [Verbose] > │ match v1 with │
00:00:36 #4648 [Verbose] > │ | UH2_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, │
00:00:36 #4649 [Verbose] > │ v17, v18, v19, v20, v21) -> (* Cons *) │
00:00:36 #4650 [Verbose] > │ let v22 : UH0 = method5(v0, v21, v2) │
00:00:36 #4651 [Verbose] > │ let v23 : float = v0 * v18 │
00:00:36 #4652 [Verbose] > │ let v24 : float = v0 * v19 │
00:00:36 #4653 [Verbose] > │ let v25 : float = v0 * v20 │
00:00:36 #4654 [Verbose] > │ let v26 : float = v5 + v23 │
00:00:36 #4655 [Verbose] > │ let v27 : float = v6 + v24 │
00:00:36 #4656 [Verbose] > │ let v28 : float = v7 + v25 │
00:00:36 #4657 [Verbose] > │ UH0_0(v12, v13, v26, v27, v28, v17, v18, v19, v20, v22) │
00:00:36 #4658 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:36 #4659 [Verbose] > │ v2 │
00:00:36 #4660 [Verbose] > │ and closure2 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 = │
00:00:36 #4661 [Verbose] > │ let v3 : UH1 = v1 v2 │
00:00:36 #4662 [Verbose] > │ let v4 : UH0 = UH0_1 │
00:00:36 #4663 [Verbose] > │ let v5 : UH0 = method1(v0, v4, v3, v2) │
00:00:36 #4664 [Verbose] > │ let v6 : UH2 = UH2_1 │
00:00:36 #4665 [Verbose] > │ let v7 : UH2 = method3(v6, v2, v5) │
00:00:36 #4666 [Verbose] > │ let v8 : UH0 = UH0_1 │
00:00:36 #4667 [Verbose] > │ let v9 : UH0 = method5(v0, v7, v8) │
00:00:36 #4668 [Verbose] > │ v9 │
00:00:36 #4669 [Verbose] > │ and closure1 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) = │
00:00:36 #4670 [Verbose] > │ closure2(v0, v1) │
00:00:36 #4671 [Verbose] > │ and closure0 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) = │
00:00:36 #4672 [Verbose] > │ closure1(v0) │
00:00:36 #4673 [Verbose] > │ and method6 (v0 : UH0, v1 : UH3, v2 : int32) : struct (UH3 * int32) = │
00:00:36 #4674 [Verbose] > │ match v0 with │
00:00:36 #4675 [Verbose] > │ | UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *) │
00:00:36 #4676 [Verbose] > │ let v13 : int32 = v2 + 1 │
00:00:36 #4677 [Verbose] > │ let v14 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v1) │
00:00:36 #4678 [Verbose] > │ method6(v12, v14, v13) │
00:00:36 #4679 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4680 [Verbose] > │ struct (v1, v2) │
00:00:36 #4681 [Verbose] > │ and method7 (v0 : UH3, v1 : UH3) : UH3 = │
00:00:36 #4682 [Verbose] > │ match v0 with │
00:00:36 #4683 [Verbose] > │ | UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *) │
00:00:36 #4684 [Verbose] > │ let v13 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v1) │
00:00:36 #4685 [Verbose] > │ method7(v12, v13) │
00:00:36 #4686 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:00:36 #4687 [Verbose] > │ v1 │
00:00:36 #4688 [Verbose] > │ and closure4 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, v5 │
00:00:36 #4689 [Verbose] > │ : float, v6 : float, v7 : float, v8 : float) struct (v9 : float, v10 : │
00:00:36 #4690 [Verbose] > │ float, v11 : float, v12 : float, v13 : float, v14 : float, v15 : float, v16 │
00:00:36 #4691 [Verbose] > │ : float, v17 : float) : struct (float * float * float) = │
00:00:36 #4692 [Verbose] > │ let v18 : float = -1.0 * v2 │
00:00:36 #4693 [Verbose] > │ let v19 : float = -1.0 * v3 │
00:00:36 #4694 [Verbose] > │ let v20 : float = -1.0 * v4 │
00:00:36 #4695 [Verbose] > │ let v21 : float = v11 + v18 │
00:00:36 #4696 [Verbose] > │ let v22 : float = v12 + v19 │
00:00:36 #4697 [Verbose] > │ let v23 : float = v13 + v20 │
00:00:36 #4698 [Verbose] > │ let v24 : float = v21 * v21 │
00:00:36 #4699 [Verbose] > │ let v25 : float = v22 * v22 │
00:00:36 #4700 [Verbose] > │ let v26 : float = v24 + v25 │
00:00:36 #4701 [Verbose] > │ let v27 : float = v23 * v23 │
00:00:36 #4702 [Verbose] > │ let v28 : float = v26 + v27 │
00:00:36 #4703 [Verbose] > │ let v29 : float = sqrt v28 │
00:00:36 #4704 [Verbose] > │ let v30 : bool = v29 >= 0.06 │
00:00:36 #4705 [Verbose] > │ let v33 : float = │
00:00:36 #4706 [Verbose] > │ if v30 then │
00:00:36 #4707 [Verbose] > │ 0.0 │
00:00:36 #4708 [Verbose] > │ else │
00:00:36 #4709 [Verbose] > │ let v31 : float = v29 - 0.06 │
00:00:36 #4710 [Verbose] > │ let v32 : float = -30.0 * v31 │
00:00:36 #4711 [Verbose] > │ v32 │
00:00:36 #4712 [Verbose] > │ let v34 : float = v33 * v21 │
00:00:36 #4713 [Verbose] > │ let v35 : float = v33 * v22 │
00:00:36 #4714 [Verbose] > │ let v36 : float = v33 * v23 │
00:00:36 #4715 [Verbose] > │ let v37 : float = v34 / v29 │
00:00:36 #4716 [Verbose] > │ let v38 : float = v35 / v29 │
00:00:36 #4717 [Verbose] > │ let v39 : float = v36 / v29 │
00:00:36 #4718 [Verbose] > │ struct (v37, v38, v39) │
00:00:36 #4719 [Verbose] > │ and closure5 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 : │
00:00:36 #4720 [Verbose] > │ float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:36 #4721 [Verbose] > │ float * float) = │
00:00:36 #4722 [Verbose] > │ struct (0.0, 0.0, 0.0) │
00:00:36 #4723 [Verbose] > │ and method8 (v0 : UH0, v1 : UH3, v2 : UH1) : UH1 = │
00:00:36 #4724 [Verbose] > │ match v1 with │
00:00:36 #4725 [Verbose] > │ | UH3_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* Cons *) │
00:00:36 #4726 [Verbose] > │ let v14 : UH1 = method8(v0, v13, v2) │
00:00:36 #4727 [Verbose] > │ let v15 : bool = v3 = 0 │
00:00:36 #4728 [Verbose] > │ let v134 : (struct (float * float * float * float * float * float * │
00:00:36 #4729 [Verbose] > │ float * float * float) -> struct (float * float * float)) = │
00:00:36 #4730 [Verbose] > │ if v15 then │
00:00:36 #4731 [Verbose] > │ let v42 : US0 = │
00:00:36 #4732 [Verbose] > │ match v0 with │
00:00:36 #4733 [Verbose] > │ | UH0_0(v16, v17, v18, v19, v20, v21, v22, v23, v24, │
00:00:36 #4734 [Verbose] > │ v25) -> (* Cons *) │
00:00:36 #4735 [Verbose] > │ match v25 with │
00:00:36 #4736 [Verbose] > │ | UH0_0(v26, v27, v28, v29, v30, v31, v32, v33, v34, │
00:00:36 #4737 [Verbose] > │ v35) -> (* Cons *) │
00:00:36 #4738 [Verbose] > │ US0_1(v26, v27, v28, v29, v30, v31, v32, v33, │
00:00:36 #4739 [Verbose] > │ v34) │
00:00:36 #4740 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4741 [Verbose] > │ US0_0 │
00:00:36 #4742 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4743 [Verbose] > │ US0_0 │
00:00:36 #4744 [Verbose] > │ let struct (v70 : float, v71 : float, v72 : float, v73 : │
00:00:36 #4745 [Verbose] > │ float, v74 : float, v75 : float, v76 : float, v77 : float, v78 : float) = │
00:00:36 #4746 [Verbose] > │ match v42 with │
00:00:36 #4747 [Verbose] > │ | US0_0 -> (* None *) │
00:00:36 #4748 [Verbose] > │ failwith<struct (float * float * float * float * │
00:00:36 #4749 [Verbose] > │ float * float * float * float * float)> "Option does not have a value." │
00:00:36 #4750 [Verbose] > │ | US0_1(v43, v44, v45, v46, v47, v48, v49, v50, v51) -> │
00:00:36 #4751 [Verbose] > │ (* Some *) │
00:00:36 #4752 [Verbose] > │ struct (v43, v44, v45, v46, v47, v48, v49, v50, v51) │
00:00:36 #4753 [Verbose] > │ closure4(v70, v71, v72, v73, v74, v75, v76, v77, v78) │
00:00:36 #4754 [Verbose] > │ else │
00:00:36 #4755 [Verbose] > │ let v80 : bool = v3 = 1 │
00:00:36 #4756 [Verbose] > │ if v80 then │
00:00:36 #4757 [Verbose] > │ let v94 : US0 = │
00:00:36 #4758 [Verbose] > │ match v0 with │
00:00:36 #4759 [Verbose] > │ | UH0_0(v81, v82, v83, v84, v85, v86, v87, v88, v89, │
00:00:36 #4760 [Verbose] > │ v90) -> (* Cons *) │
00:00:36 #4761 [Verbose] > │ US0_1(v81, v82, v83, v84, v85, v86, v87, v88, │
00:00:36 #4762 [Verbose] > │ v89) │
00:00:36 #4763 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4764 [Verbose] > │ US0_0 │
00:00:36 #4765 [Verbose] > │ let struct (v122 : float, v123 : float, v124 : float, │
00:00:36 #4766 [Verbose] > │ v125 : float, v126 : float, v127 : float, v128 : float, v129 : float, v130 : │
00:00:36 #4767 [Verbose] > │ float) = │
00:00:36 #4768 [Verbose] > │ match v94 with │
00:00:36 #4769 [Verbose] > │ | US0_0 -> (* None *) │
00:00:36 #4770 [Verbose] > │ failwith<struct (float * float * float * float * │
00:00:36 #4771 [Verbose] > │ float * float * float * float * float)> "Option does not have a value." │
00:00:36 #4772 [Verbose] > │ | US0_1(v95, v96, v97, v98, v99, v100, v101, v102, │
00:00:36 #4773 [Verbose] > │ v103) -> (* Some *) │
00:00:36 #4774 [Verbose] > │ struct (v95, v96, v97, v98, v99, v100, v101, │
00:00:36 #4775 [Verbose] > │ v102, v103) │
00:00:36 #4776 [Verbose] > │ closure4(v122, v123, v124, v125, v126, v127, v128, v129, │
00:00:36 #4777 [Verbose] > │ v130) │
00:00:36 #4778 [Verbose] > │ else │
00:00:36 #4779 [Verbose] > │ closure5() │
00:00:36 #4780 [Verbose] > │ let struct (v135 : float, v136 : float, v137 : float) = v134 struct │
00:00:36 #4781 [Verbose] > │ (v4, v5, v6, v7, v8, v9, v10, v11, v12) │
00:00:36 #4782 [Verbose] > │ let v138 : float = v135 / v5 │
00:00:36 #4783 [Verbose] > │ let v139 : float = v136 / v5 │
00:00:36 #4784 [Verbose] > │ let v140 : float = v137 / v5 │
00:00:36 #4785 [Verbose] > │ UH1_0(0.0, 0.0, v10, v11, v12, 1.0, v138, v139, v140, v14) │
00:00:36 #4786 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:00:36 #4787 [Verbose] > │ v2 │
00:00:36 #4788 [Verbose] > │ and closure3 () (v0 : UH0) : UH1 = │
00:00:36 #4789 [Verbose] > │ let v1 : UH3 = UH3_1 │
00:00:36 #4790 [Verbose] > │ let v2 : int32 = 0 │
00:00:36 #4791 [Verbose] > │ let struct (v3 : UH3, v4 : int32) = method6(v0, v1, v2) │
00:00:36 #4792 [Verbose] > │ let v5 : UH3 = UH3_1 │
00:00:36 #4793 [Verbose] > │ let v6 : UH3 = method7(v3, v5) │
00:00:36 #4794 [Verbose] > │ let v7 : UH1 = UH1_1 │
00:00:36 #4795 [Verbose] > │ let v8 : UH1 = method8(v0, v6, v7) │
00:00:36 #4796 [Verbose] > │ v8 │
00:00:36 #4797 [Verbose] > │ and method10 (v0 : (UH0 -> UH0), v1 : UH0, v2 : int32) : UH0 = │
00:00:36 #4798 [Verbose] > │ let v3 : bool = v2 <= 0 │
00:00:36 #4799 [Verbose] > │ if v3 then │
00:00:36 #4800 [Verbose] > │ v1 │
00:00:36 #4801 [Verbose] > │ else │
00:00:36 #4802 [Verbose] > │ let v4 : UH0 = v0 v1 │
00:00:36 #4803 [Verbose] > │ let v5 : int32 = v2 - 1 │
00:00:36 #4804 [Verbose] > │ method10(v0, v4, v5) │
00:00:36 #4805 [Verbose] > │ and method11 (v0 : UH4, v1 : UH4) : UH4 = │
00:00:36 #4806 [Verbose] > │ match v0 with │
00:00:36 #4807 [Verbose] > │ | UH4_0(v2, v3) -> (* Cons *) │
00:00:36 #4808 [Verbose] > │ let v4 : UH4 = UH4_0(v2, v1) │
00:00:36 #4809 [Verbose] > │ method11(v3, v4) │
00:00:36 #4810 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:36 #4811 [Verbose] > │ v1 │
00:00:36 #4812 [Verbose] > │ and method9 (v0 : (UH0 -> UH0), v1 : UH4, v2 : int32) : UH4 = │
00:00:36 #4813 [Verbose] > │ let v3 : float = 0.0 │
00:00:36 #4814 [Verbose] > │ let v4 : float = 0.16 │
00:00:36 #4815 [Verbose] > │ let v5 : float = 0.0 │
00:00:36 #4816 [Verbose] > │ let v6 : float = 0.0 │
00:00:36 #4817 [Verbose] > │ let v7 : float = 0.0 │
00:00:36 #4818 [Verbose] > │ let v8 : float = 0.0 │
00:00:36 #4819 [Verbose] > │ let v9 : float = 0.2 │
00:00:36 #4820 [Verbose] > │ let v10 : float = 0.0 │
00:00:36 #4821 [Verbose] > │ let v11 : float = 0.0 │
00:00:36 #4822 [Verbose] > │ let v12 : float = 1.0 │
00:00:36 #4823 [Verbose] > │ let v13 : float = 0.02 │
00:00:36 #4824 [Verbose] > │ let v14 : float = 0.0 │
00:00:36 #4825 [Verbose] > │ let v15 : float = 0.0 │
00:00:36 #4826 [Verbose] > │ let v16 : float = 0.0 │
00:00:36 #4827 [Verbose] > │ let v17 : float = 0.0 │
00:00:36 #4828 [Verbose] > │ let v18 : UH0 = UH0_1 │
00:00:36 #4829 [Verbose] > │ let v19 : UH0 = UH0_0(v3, v4, v12, v13, v14, v8, v15, v16, v17, v18) │
00:00:36 #4830 [Verbose] > │ let v20 : UH0 = UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v19) │
00:00:36 #4831 [Verbose] > │ let v21 : UH0 = method10(v0, v20, v2) │
00:00:36 #4832 [Verbose] > │ let v35 : US0 = │
00:00:36 #4833 [Verbose] > │ match v21 with │
00:00:36 #4834 [Verbose] > │ | UH0_0(v22, v23, v24, v25, v26, v27, v28, v29, v30, v31) -> (* Cons │
00:00:36 #4835 [Verbose] > │ *) │
00:00:36 #4836 [Verbose] > │ US0_1(v22, v23, v24, v25, v26, v27, v28, v29, v30) │
00:00:36 #4837 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4838 [Verbose] > │ US0_0 │
00:00:36 #4839 [Verbose] > │ let struct (v63 : float, v64 : float, v65 : float, v66 : float, v67 : │
00:00:36 #4840 [Verbose] > │ float, v68 : float, v69 : float, v70 : float, v71 : float) = │
00:00:36 #4841 [Verbose] > │ match v35 with │
00:00:36 #4842 [Verbose] > │ | US0_0 -> (* None *) │
00:00:36 #4843 [Verbose] > │ failwith<struct (float * float * float * float * float * float * │
00:00:36 #4844 [Verbose] > │ float * float * float)> "Option does not have a value." │
00:00:36 #4845 [Verbose] > │ | US0_1(v36, v37, v38, v39, v40, v41, v42, v43, v44) -> (* Some *) │
00:00:36 #4846 [Verbose] > │ struct (v36, v37, v38, v39, v40, v41, v42, v43, v44) │
00:00:36 #4847 [Verbose] > │ let v72 : bool = v68 <= 10.0 │
00:00:36 #4848 [Verbose] > │ if v72 then │
00:00:36 #4849 [Verbose] > │ let v73 : UH4 = UH4_0(v21, v1) │
00:00:36 #4850 [Verbose] > │ let v74 : int32 = v2 + 1 │
00:00:36 #4851 [Verbose] > │ method9(v0, v73, v74) │
00:00:36 #4852 [Verbose] > │ else │
00:00:36 #4853 [Verbose] > │ let v76 : UH4 = UH4_1 │
00:00:36 #4854 [Verbose] > │ method11(v1, v76) │
00:00:36 #4855 [Verbose] > │ and method13 (v0 : UH0, v1 : UH6) : UH6 = │
00:00:36 #4856 [Verbose] > │ match v0 with │
00:00:36 #4857 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:36 #4858 [Verbose] > │ let v12 : UH6 = method13(v11, v1) │
00:00:36 #4859 [Verbose] > │ let v13 : float = v8 * v8 │
00:00:36 #4860 [Verbose] > │ let v14 : float = v9 * v9 │
00:00:36 #4861 [Verbose] > │ let v15 : float = v13 + v14 │
00:00:36 #4862 [Verbose] > │ let v16 : float = v10 * v10 │
00:00:36 #4863 [Verbose] > │ let v17 : float = v15 + v16 │
00:00:36 #4864 [Verbose] > │ let v18 : float = sqrt v17 │
00:00:36 #4865 [Verbose] > │ let v19 : float = 0.5 * v3 │
00:00:36 #4866 [Verbose] > │ let v20 : float = v18 ** 2.0 │
00:00:36 #4867 [Verbose] > │ let v21 : float = v19 * v20 │
00:00:36 #4868 [Verbose] > │ UH6_0(v21, v12) │
00:00:36 #4869 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4870 [Verbose] > │ v1 │
00:00:36 #4871 [Verbose] > │ and method14 (v0 : UH6, v1 : float) : float = │
00:00:36 #4872 [Verbose] > │ match v0 with │
00:00:36 #4873 [Verbose] > │ | UH6_0(v2, v3) -> (* Cons *) │
00:00:36 #4874 [Verbose] > │ let v4 : float = v1 + v2 │
00:00:36 #4875 [Verbose] > │ method14(v3, v4) │
00:00:36 #4876 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:36 #4877 [Verbose] > │ v1 │
00:00:36 #4878 [Verbose] > │ and method12 (v0 : UH4, v1 : UH5) : UH5 = │
00:00:36 #4879 [Verbose] > │ match v0 with │
00:00:36 #4880 [Verbose] > │ | UH4_0(v2, v3) -> (* Cons *) │
00:00:36 #4881 [Verbose] > │ let v4 : UH5 = method12(v3, v1) │
00:00:36 #4882 [Verbose] > │ let v18 : US0 = │
00:00:36 #4883 [Verbose] > │ match v2 with │
00:00:36 #4884 [Verbose] > │ | UH0_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* Cons │
00:00:36 #4885 [Verbose] > │ *) │
00:00:36 #4886 [Verbose] > │ US0_1(v5, v6, v7, v8, v9, v10, v11, v12, v13) │
00:00:36 #4887 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4888 [Verbose] > │ US0_0 │
00:00:36 #4889 [Verbose] > │ let struct (v46 : float, v47 : float, v48 : float, v49 : float, v50 │
00:00:36 #4890 [Verbose] > │ : float, v51 : float, v52 : float, v53 : float, v54 : float) = │
00:00:36 #4891 [Verbose] > │ match v18 with │
00:00:36 #4892 [Verbose] > │ | US0_0 -> (* None *) │
00:00:36 #4893 [Verbose] > │ failwith<struct (float * float * float * float * float * │
00:00:36 #4894 [Verbose] > │ float * float * float * float)> "Option does not have a value." │
00:00:36 #4895 [Verbose] > │ | US0_1(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* Some │
00:00:36 #4896 [Verbose] > │ *) │
00:00:36 #4897 [Verbose] > │ struct (v19, v20, v21, v22, v23, v24, v25, v26, v27) │
00:00:36 #4898 [Verbose] > │ let v55 : UH6 = UH6_1 │
00:00:36 #4899 [Verbose] > │ let v56 : UH6 = method13(v2, v55) │
00:00:36 #4900 [Verbose] > │ let v57 : float = 0.0 │
00:00:36 #4901 [Verbose] > │ let v58 : float = method14(v56, v57) │
00:00:36 #4902 [Verbose] > │ UH5_0(v51, v58, v4) │
00:00:36 #4903 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:36 #4904 [Verbose] > │ v1 │
00:00:36 #4905 [Verbose] > │ and method15 (v0 : UH5, v1 : UH6, v2 : UH6) : struct (UH6 * UH6) = │
00:00:36 #4906 [Verbose] > │ match v0 with │
00:00:36 #4907 [Verbose] > │ | UH5_0(v3, v4, v5) -> (* Cons *) │
00:00:36 #4908 [Verbose] > │ let v6 : UH6 = UH6_0(v3, v1) │
00:00:36 #4909 [Verbose] > │ let v7 : UH6 = UH6_0(v4, v2) │
00:00:36 #4910 [Verbose] > │ method15(v5, v6, v7) │
00:00:36 #4911 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:36 #4912 [Verbose] > │ struct (v1, v2) │
00:00:36 #4913 [Verbose] > │ and method16 (v0 : UH6, v1 : UH6) : UH6 = │
00:00:36 #4914 [Verbose] > │ match v0 with │
00:00:36 #4915 [Verbose] > │ | UH6_0(v2, v3) -> (* Cons *) │
00:00:36 #4916 [Verbose] > │ let v4 : UH6 = UH6_0(v2, v1) │
00:00:36 #4917 [Verbose] > │ method16(v3, v4) │
00:00:36 #4918 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:36 #4919 [Verbose] > │ v1 │
00:00:36 #4920 [Verbose] > │ and method18 (v0 : UH1, v1 : UH1) : UH1 = │
00:00:36 #4921 [Verbose] > │ match v0 with │
00:00:36 #4922 [Verbose] > │ | UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* Cons *) │
00:00:36 #4923 [Verbose] > │ let v12 : UH1 = UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v1) │
00:00:36 #4924 [Verbose] > │ method18(v11, v12) │
00:00:36 #4925 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:36 #4926 [Verbose] > │ v1 │
00:00:36 #4927 [Verbose] > │ and method17 (v0 : UH1, v1 : UH1, v2 : UH1) : UH1 = │
00:00:36 #4928 [Verbose] > │ match v1 with │
00:00:36 #4929 [Verbose] > │ | UH1_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* Cons *) │
00:00:36 #4930 [Verbose] > │ match v2 with │
00:00:36 #4931 [Verbose] > │ | UH1_0(v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) -> (* Cons │
00:00:36 #4932 [Verbose] > │ *) │
00:00:36 #4933 [Verbose] > │ let v23 : float = v3 + v13 │
00:00:36 #4934 [Verbose] > │ let v24 : float = v4 + v14 │
00:00:36 #4935 [Verbose] > │ let v25 : float = v8 + v18 │
00:00:36 #4936 [Verbose] > │ let v26 : float = v5 + v15 │
00:00:36 #4937 [Verbose] > │ let v27 : float = v6 + v16 │
00:00:36 #4938 [Verbose] > │ let v28 : float = v7 + v17 │
00:00:36 #4939 [Verbose] > │ let v29 : float = v9 + v19 │
00:00:36 #4940 [Verbose] > │ let v30 : float = v10 + v20 │
00:00:36 #4941 [Verbose] > │ let v31 : float = v11 + v21 │
00:00:36 #4942 [Verbose] > │ let v32 : UH1 = UH1_0(v23, v24, v26, v27, v28, v25, v29, v30, │
00:00:36 #4943 [Verbose] > │ v31, v0) │
00:00:36 #4944 [Verbose] > │ method17(v32, v12, v22) │
00:00:36 #4945 [Verbose] > │ | _ -> │
00:00:36 #4946 [Verbose] > │ let v34 : UH1 = UH1_1 │
00:00:36 #4947 [Verbose] > │ method18(v0, v34) │
00:00:36 #4948 [Verbose] > │ | _ -> │
00:00:36 #4949 [Verbose] > │ let v37 : UH1 = UH1_1 │
00:00:36 #4950 [Verbose] > │ method18(v0, v37) │
00:00:36 #4951 [Verbose] > │ and closure8 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 = │
00:00:36 #4952 [Verbose] > │ let v3 : UH1 = v1 v2 │
00:00:36 #4953 [Verbose] > │ let v4 : float = v0 / 2.0 │
00:00:36 #4954 [Verbose] > │ let v5 : UH0 = UH0_1 │
00:00:36 #4955 [Verbose] > │ let v6 : UH0 = method1(v4, v5, v3, v2) │
00:00:36 #4956 [Verbose] > │ let v7 : UH1 = v1 v6 │
00:00:36 #4957 [Verbose] > │ let v8 : UH0 = UH0_1 │
00:00:36 #4958 [Verbose] > │ let v9 : UH0 = method1(v4, v8, v7, v2) │
00:00:36 #4959 [Verbose] > │ let v10 : UH1 = v1 v9 │
00:00:36 #4960 [Verbose] > │ let v11 : UH0 = UH0_1 │
00:00:36 #4961 [Verbose] > │ let v12 : UH0 = method1(v0, v11, v10, v2) │
00:00:36 #4962 [Verbose] > │ let v13 : UH1 = v1 v12 │
00:00:36 #4963 [Verbose] > │ let v14 : float = v0 / 6.0 │
00:00:36 #4964 [Verbose] > │ let v15 : UH1 = UH1_1 │
00:00:36 #4965 [Verbose] > │ let v16 : UH1 = method17(v15, v3, v7) │
00:00:36 #4966 [Verbose] > │ let v17 : UH1 = UH1_1 │
00:00:36 #4967 [Verbose] > │ let v18 : UH1 = method17(v17, v16, v7) │
00:00:36 #4968 [Verbose] > │ let v19 : UH1 = UH1_1 │
00:00:36 #4969 [Verbose] > │ let v20 : UH1 = method17(v19, v18, v10) │
00:00:36 #4970 [Verbose] > │ let v21 : UH1 = UH1_1 │
00:00:36 #4971 [Verbose] > │ let v22 : UH1 = method17(v21, v20, v10) │
00:00:36 #4972 [Verbose] > │ let v23 : UH1 = UH1_1 │
00:00:36 #4973 [Verbose] > │ let v24 : UH1 = method17(v23, v22, v13) │
00:00:36 #4974 [Verbose] > │ let v25 : UH0 = UH0_1 │
00:00:36 #4975 [Verbose] > │ let v26 : UH0 = method1(v14, v25, v24, v2) │
00:00:36 #4976 [Verbose] > │ v26 │
00:00:36 #4977 [Verbose] > │ and closure7 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) = │
00:00:36 #4978 [Verbose] > │ closure8(v0, v1) │
00:00:36 #4979 [Verbose] > │ and closure6 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) = │
00:00:36 #4980 [Verbose] > │ closure7(v0) │
00:00:36 #4981 [Verbose] > │ and method19 (v0 : UH4, v1 : UH5) : UH5 = │
00:00:36 #4982 [Verbose] > │ match v0 with │
00:00:36 #4983 [Verbose] > │ | UH4_0(v2, v3) -> (* Cons *) │
00:00:36 #4984 [Verbose] > │ let v4 : UH5 = method19(v3, v1) │
00:00:36 #4985 [Verbose] > │ let v18 : US0 = │
00:00:36 #4986 [Verbose] > │ match v2 with │
00:00:36 #4987 [Verbose] > │ | UH0_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* Cons │
00:00:36 #4988 [Verbose] > │ *) │
00:00:36 #4989 [Verbose] > │ US0_1(v5, v6, v7, v8, v9, v10, v11, v12, v13) │
00:00:36 #4990 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #4991 [Verbose] > │ US0_0 │
00:00:36 #4992 [Verbose] > │ let struct (v46 : float, v47 : float, v48 : float, v49 : float, v50 │
00:00:36 #4993 [Verbose] > │ : float, v51 : float, v52 : float, v53 : float, v54 : float) = │
00:00:36 #4994 [Verbose] > │ match v18 with │
00:00:36 #4995 [Verbose] > │ | US0_0 -> (* None *) │
00:00:36 #4996 [Verbose] > │ failwith<struct (float * float * float * float * float * │
00:00:36 #4997 [Verbose] > │ float * float * float * float)> "Option does not have a value." │
00:00:36 #4998 [Verbose] > │ | US0_1(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* Some │
00:00:36 #4999 [Verbose] > │ *) │
00:00:36 #5000 [Verbose] > │ struct (v19, v20, v21, v22, v23, v24, v25, v26, v27) │
00:00:36 #5001 [Verbose] > │ let v55 : UH6 = UH6_1 │
00:00:36 #5002 [Verbose] > │ let v56 : UH6 = method13(v2, v55) │
00:00:36 #5003 [Verbose] > │ let v57 : float = 0.0 │
00:00:36 #5004 [Verbose] > │ let v58 : float = method14(v56, v57) │
00:00:36 #5005 [Verbose] > │ UH5_0(v51, v58, v4) │
00:00:36 #5006 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:36 #5007 [Verbose] > │ v1 │
00:00:36 #5008 [Verbose] > │ and method21 (v0 : UH6, v1 : int32) : int32 = │
00:00:36 #5009 [Verbose] > │ match v0 with │
00:00:36 #5010 [Verbose] > │ | UH6_0(v2, v3) -> (* Cons *) │
00:00:36 #5011 [Verbose] > │ let v4 : int32 = v1 + 1 │
00:00:36 #5012 [Verbose] > │ method21(v3, v4) │
00:00:36 #5013 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:36 #5014 [Verbose] > │ v1 │
00:00:36 #5015 [Verbose] > │ and method22 (v0 : (float []), v1 : UH6, v2 : int32) : int32 = │
00:00:36 #5016 [Verbose] > │ match v1 with │
00:00:36 #5017 [Verbose] > │ | UH6_0(v3, v4) -> (* Cons *) │
00:00:36 #5018 [Verbose] > │ v0.[int v2] <- v3 │
00:00:36 #5019 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:36 #5020 [Verbose] > │ method22(v0, v4, v5) │
00:00:36 #5021 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:36 #5022 [Verbose] > │ v2 │
00:00:36 #5023 [Verbose] > │ and method20 (v0 : UH6) : (float []) = │
00:00:36 #5024 [Verbose] > │ let v1 : int32 = 0 │
00:00:36 #5025 [Verbose] > │ let v2 : int32 = method21(v0, v1) │
00:00:36 #5026 [Verbose] > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:00:36 #5027 [Verbose] > │ let v4 : int32 = 0 │
00:00:36 #5028 [Verbose] > │ let v5 : int32 = method22(v3, v0, v4) │
00:00:36 #5029 [Verbose] > │ v3 │
00:00:36 #5030 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:36 #5031 [Verbose] > │ []) * (float [])) [])) = │
00:00:36 #5032 [Verbose] > │ let v0 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure0() │
00:00:36 #5033 [Verbose] > │ let v1 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v0 0.03 │
00:00:36 #5034 [Verbose] > │ let v2 : (UH0 -> UH1) = closure3() │
00:00:36 #5035 [Verbose] > │ let v3 : (UH0 -> UH0) = v1 v2 │
00:00:36 #5036 [Verbose] > │ let v4 : UH4 = UH4_1 │
00:00:36 #5037 [Verbose] > │ let v5 : int32 = 0 │
00:00:36 #5038 [Verbose] > │ let v6 : UH4 = method9(v3, v4, v5) │
00:00:36 #5039 [Verbose] > │ let v7 : UH5 = UH5_1 │
00:00:36 #5040 [Verbose] > │ let v8 : UH5 = method12(v6, v7) │
00:00:36 #5041 [Verbose] > │ let v9 : UH6 = UH6_1 │
00:00:36 #5042 [Verbose] > │ let v10 : UH6 = UH6_1 │
00:00:36 #5043 [Verbose] > │ let struct (v11 : UH6, v12 : UH6) = method15(v8, v9, v10) │
00:00:36 #5044 [Verbose] > │ let v13 : UH6 = UH6_1 │
00:00:36 #5045 [Verbose] > │ let v14 : UH6 = method16(v11, v13) │
00:00:36 #5046 [Verbose] > │ let v15 : UH6 = UH6_1 │
00:00:36 #5047 [Verbose] > │ let v16 : UH6 = method16(v12, v15) │
00:00:36 #5048 [Verbose] > │ let v17 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure6() │
00:00:36 #5049 [Verbose] > │ let v18 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v17 0.03 │
00:00:36 #5050 [Verbose] > │ let v19 : (UH0 -> UH0) = v18 v2 │
00:00:36 #5051 [Verbose] > │ let v20 : UH4 = UH4_1 │
00:00:36 #5052 [Verbose] > │ let v21 : int32 = 0 │
00:00:36 #5053 [Verbose] > │ let v22 : UH4 = method9(v19, v20, v21) │
00:00:36 #5054 [Verbose] > │ let v23 : UH5 = UH5_1 │
00:00:36 #5055 [Verbose] > │ let v24 : UH5 = method19(v22, v23) │
00:00:36 #5056 [Verbose] > │ let v25 : UH6 = UH6_1 │
00:00:36 #5057 [Verbose] > │ let v26 : UH6 = UH6_1 │
00:00:36 #5058 [Verbose] > │ let struct (v27 : UH6, v28 : UH6) = method15(v24, v25, v26) │
00:00:36 #5059 [Verbose] > │ let v29 : UH6 = UH6_1 │
00:00:36 #5060 [Verbose] > │ let v30 : UH6 = method16(v27, v29) │
00:00:36 #5061 [Verbose] > │ let v31 : UH6 = UH6_1 │
00:00:36 #5062 [Verbose] > │ let v32 : UH6 = method16(v28, v31) │
00:00:36 #5063 [Verbose] > │ let v33 : (float []) = method20(v14) │
00:00:36 #5064 [Verbose] > │ let v34 : (float []) = method20(v16) │
00:00:36 #5065 [Verbose] > │ let v35 : (float []) = method20(v30) │
00:00:36 #5066 [Verbose] > │ let v36 : (float []) = method20(v32) │
00:00:36 #5067 [Verbose] > │ let v37 : string = "euler-cromer" │
00:00:36 #5068 [Verbose] > │ let v38 : string = "runge-kutta 4" │
00:00:36 #5069 [Verbose] > │ let v39 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:36 #5070 [Verbose] > │ (v37, v33, v34); struct (v38, v35, v36)|] │
00:00:36 #5071 [Verbose] > │ let v40 : string = "system kinetic energy versus time" │
00:00:36 #5072 [Verbose] > │ let v41 : string = "time (s)" │
00:00:36 #5073 [Verbose] > │ let v42 : string = "system kinetic energy (j)" │
00:00:36 #5074 [Verbose] > │ struct (v40, v41, v42, v39) │
00:00:36 #5075 [Verbose] > │ method0() │
00:00:36 #5076 [Verbose] > │ │
00:00:36 #5077 [Verbose] > │ │
00:00:36 #5078 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 #5079 [Verbose] >
00:00:36 #5080 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:36 #5081 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:36 #5082 [Verbose] > │ ### wave 1 │
00:00:36 #5083 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 #5084 [Verbose] >
00:00:36 #5085 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:36 #5086 [Verbose] > // // test
00:00:36 #5087 [Verbose] >
00:00:36 #5088 [Verbose] > inl linear_spring k re (particle_state st1) (particle_state st2) =
00:00:36 #5089 [Verbose] > inl r1 = st1.pos_vec
00:00:36 #5090 [Verbose] > inl r2 = st2.pos_vec
00:00:36 #5091 [Verbose] > inl r21 = r2 ^-^ r1
00:00:36 #5092 [Verbose] > inl r21mag = magnitude r21
00:00:36 #5093 [Verbose] > -k * (r21mag - re) *^ r21 ^/ r21mag
00:00:36 #5094 [Verbose] >
00:00:36 #5095 [Verbose] > inl fixed_linear_spring k re r1 =
00:00:36 #5096 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:36 #5097 [Verbose] > linear_spring k re (particle_state { default_particle_state' with pos_vec =
00:00:36 #5098 [Verbose] > r1 })
00:00:36 #5099 [Verbose] >
00:00:36 #5100 [Verbose] > inl forces_string () =
00:00:36 #5101 [Verbose] > [[
00:00:36 #5102 [Verbose] > ExternalForce (0, fixed_linear_spring 5384 0 (zero_vec ()))
00:00:36 #5103 [Verbose] > ExternalForce (63, fixed_linear_spring 5384 0 (0.65 *^ i_hat ()))
00:00:36 #5104 [Verbose] > ]] /@ (
00:00:36 #5105 [Verbose] > listm'.init_series 0 59 1
00:00:36 #5106 [Verbose] > |> listm.map (fun n => InternalForce (n, n + 1, linear_spring 5384 0))
00:00:36 #5107 [Verbose] > )
00:00:36 #5108 [Verbose] >
00:00:36 #5109 [Verbose] > inl string_update dt =
00:00:36 #5110 [Verbose] > update_mps (runge_kutta_4 dt) (forces_string ())
00:00:36 #5111 [Verbose] >
00:00:36 #5112 [Verbose] > inl string_initial_overtone n =
00:00:36 #5113 [Verbose] > inl ball_mass = 0.0008293 * 0.65 / 64
00:00:36 #5114 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:36 #5115 [Verbose] > listm'.init_series 0.01 0.64 0.01
00:00:36 #5116 [Verbose] > |> listm.map (fun x =>
00:00:36 #5117 [Verbose] > inl y = 0.005 * sin (conv n * pi * x / 0.65)
00:00:36 #5118 [Verbose] > particle_state {
00:00:36 #5119 [Verbose] > default_particle_state' with
00:00:36 #5120 [Verbose] > mass = ball_mass
00:00:36 #5121 [Verbose] > pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()
00:00:36 #5122 [Verbose] > velocity = zero_vec ()
00:00:36 #5123 [Verbose] > }
00:00:36 #5124 [Verbose] > )
00:00:36 #5125 [Verbose] > |> multi_particle_state
00:00:36 #5126 [Verbose] >
00:00:36 #5127 [Verbose] > inl string_initial_pluck () =
00:00:36 #5128 [Verbose] > inl ball_mass = 0.0008293 * 0.65 / 64
00:00:36 #5129 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:36 #5130 [Verbose] > listm'.init_series 0.01 0.64 0.01
00:00:36 #5131 [Verbose] > |> listm.map (fun x =>
00:00:36 #5132 [Verbose] > inl y =
00:00:36 #5133 [Verbose] > inl n = if x <= 0.51 then 0 else 0.65
00:00:36 #5134 [Verbose] > 0.005 / (0.51 - n) * (x - n)
00:00:36 #5135 [Verbose] > particle_state {
00:00:36 #5136 [Verbose] > default_particle_state' with
00:00:36 #5137 [Verbose] > mass = ball_mass
00:00:36 #5138 [Verbose] > pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()
00:00:36 #5139 [Verbose] > velocity = zero_vec ()
00:00:36 #5140 [Verbose] > }
00:00:36 #5141 [Verbose] > )
00:00:36 #5142 [Verbose] > |> multi_particle_state
00:00:36 #5143 [Verbose] >
00:00:36 #5144 [Verbose] > let main () =
00:00:36 #5145 [Verbose] > inl ~frames = listm'.init_series 0 9 1f64
00:00:36 #5146 [Verbose] > inl initial_state = string_initial_overtone 3i32
00:00:36 #5147 [Verbose] > inl frames =
00:00:36 #5148 [Verbose] > frames
00:00:36 #5149 [Verbose] > |> listm.map (fun n =>
00:00:36 #5150 [Verbose] > inl (multi_particle_state sts) =
00:00:36 #5151 [Verbose] > seq.iterate' (string_update 0.000025) initial_state |> fun f =>
00:00:36 #5152 [Verbose] > f 0f64
00:00:36 #5153 [Verbose] > inl rs =
00:00:36 #5154 [Verbose] > [[ zero_vec () ]]
00:00:36 #5155 [Verbose] > /@ (sts |> listm.map (fun (particle_state st) => st.pos_vec))
00:00:36 #5156 [Verbose] > /@ [[ 0.65 *^ i_hat () ]]
00:00:36 #5157 [Verbose] > inl x, y =
00:00:36 #5158 [Verbose] > rs
00:00:36 #5159 [Verbose] > |> listm.map (fun r => r.x, r.y)
00:00:36 #5160 [Verbose] > |> listm'.unzip
00:00:36 #5161 [Verbose] > inl x : a i32 _ = x |> listm.toArray
00:00:36 #5162 [Verbose] > inl y : a i32 _ = y |> listm.toArray
00:00:36 #5163 [Verbose] > x, y
00:00:36 #5164 [Verbose] > )
00:00:36 #5165 [Verbose] > |> listm.toArray : a i32 _
00:00:36 #5166 [Verbose] >
00:00:36 #5167 [Verbose] > inl n = 0i32
00:00:36 #5168 [Verbose] >
00:00:36 #5169 [Verbose] > inl x, y = index frames n
00:00:36 #5170 [Verbose] >
00:00:36 #5171 [Verbose] > "wave",
00:00:36 #5172 [Verbose] > "position (m)",
00:00:36 #5173 [Verbose] > "displacement (m)",
00:00:36 #5174 [Verbose] > ;[[
00:00:36 #5175 [Verbose] > ($"$\"{!n}\"" : string), x, y
00:00:36 #5176 [Verbose] > ]]
00:00:36 #5177 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-1018-1857-151bcb2b1f37\main.spi
00:00:36 #5178 [Verbose] >
00:00:36 #5179 [Verbose] > ╭─[ 418.91ms - return value ]──────────────────────────────────────────────────╮
00:00:36 #5180 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:36 #5181 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:36 #5182 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:36 #5183 [Verbose] > │ stroke="none"/> │
00:00:36 #5184 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:36 #5185 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:36 #5186 [Verbose] > │ fill="#FFFFFF"> │
00:00:36 #5187 [Verbose] > │ wave │
00:00:36 #5188 [Verbose] > │ </text> │
00:00:36 #5189 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │
00:00:36 #5190 [Verbose] > │ y2="75"/> │
00:00:36 #5191 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:36 #5192 [Verbose] > │ y2="75"/> │
00:00:36 #5193 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │
00:00:36 #5194 [Verbose] > │ y2="75"/> │
00:00:36 #5195 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="85" y1="424" x2="85" │
00:00:36 #5196 [Verbose] > │ y2="75"/> │
00:00:36 #5197 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="93" y1="424" x2="93" │
00:00:36 #5198 [Verbose] > │ y2... │
00:00:36 #5199 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 #5200 [Verbose] >
00:00:36 #5201 [Verbose] > ╭─[ 429.52ms - stdout ]────────────────────────────────────────────────────────╮
00:00:36 #5202 [Verbose] > │ type UH0 = │
00:00:36 #5203 [Verbose] > │ | UH0_0 of float * UH0 │
00:00:36 #5204 [Verbose] > │ | UH0_1 │
00:00:36 #5205 [Verbose] > │ and UH1 = │
00:00:36 #5206 [Verbose] > │ | UH1_0 of (float []) * (float []) * UH1 │
00:00:36 #5207 [Verbose] > │ | UH1_1 │
00:00:36 #5208 [Verbose] > │ let rec method3 (v0 : UH0, v1 : int32) : int32 = │
00:00:36 #5209 [Verbose] > │ match v0 with │
00:00:36 #5210 [Verbose] > │ | UH0_0(v2, v3) -> (* Cons *) │
00:00:36 #5211 [Verbose] > │ let v4 : int32 = v1 + 1 │
00:00:36 #5212 [Verbose] > │ method3(v3, v4) │
00:00:36 #5213 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #5214 [Verbose] > │ v1 │
00:00:36 #5215 [Verbose] > │ and method4 (v0 : (float []), v1 : UH0, v2 : int32) : int32 = │
00:00:36 #5216 [Verbose] > │ match v1 with │
00:00:36 #5217 [Verbose] > │ | UH0_0(v3, v4) -> (* Cons *) │
00:00:36 #5218 [Verbose] > │ v0.[int v2] <- v3 │
00:00:36 #5219 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:36 #5220 [Verbose] > │ method4(v0, v4, v5) │
00:00:36 #5221 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #5222 [Verbose] > │ v2 │
00:00:36 #5223 [Verbose] > │ and method2 (v0 : UH0) : (float []) = │
00:00:36 #5224 [Verbose] > │ let v1 : int32 = 0 │
00:00:36 #5225 [Verbose] > │ let v2 : int32 = method3(v0, v1) │
00:00:36 #5226 [Verbose] > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:00:36 #5227 [Verbose] > │ let v4 : int32 = 0 │
00:00:36 #5228 [Verbose] > │ let v5 : int32 = method4(v3, v0, v4) │
00:00:36 #5229 [Verbose] > │ v3 │
00:00:36 #5230 [Verbose] > │ and method1 (v0 : UH0, v1 : UH1) : UH1 = │
00:00:36 #5231 [Verbose] > │ match v0 with │
00:00:36 #5232 [Verbose] > │ | UH0_0(v2, v3) -> (* Cons *) │
00:00:36 #5233 [Verbose] > │ let v4 : UH1 = method1(v3, v1) │
00:00:36 #5234 [Verbose] > │ let v5 : float = 0.0 │
00:00:36 #5235 [Verbose] > │ let v6 : float = 0.01 │
00:00:36 #5236 [Verbose] > │ let v7 : float = 0.02 │
00:00:36 #5237 [Verbose] > │ let v8 : float = 0.03 │
00:00:36 #5238 [Verbose] > │ let v9 : float = 0.04 │
00:00:36 #5239 [Verbose] > │ let v10 : float = 0.05 │
00:00:36 #5240 [Verbose] > │ let v11 : float = 0.060000000000000005 │
00:00:36 #5241 [Verbose] > │ let v12 : float = 0.06999999999999999 │
00:00:36 #5242 [Verbose] > │ let v13 : float = 0.08 │
00:00:36 #5243 [Verbose] > │ let v14 : float = 0.09 │
00:00:36 #5244 [Verbose] > │ let v15 : float = 0.09999999999999999 │
00:00:36 #5245 [Verbose] > │ let v16 : float = 0.11 │
00:00:36 #5246 [Verbose] > │ let v17 : float = 0.12 │
00:00:36 #5247 [Verbose] > │ let v18 : float = 0.13 │
00:00:36 #5248 [Verbose] > │ let v19 : float = 0.14 │
00:00:36 #5249 [Verbose] > │ let v20 : float = 0.15000000000000002 │
00:00:36 #5250 [Verbose] > │ let v21 : float = 0.16 │
00:00:36 #5251 [Verbose] > │ let v22 : float = 0.17 │
00:00:36 #5252 [Verbose] > │ let v23 : float = 0.18000000000000002 │
00:00:36 #5253 [Verbose] > │ let v24 : float = 0.19 │
00:00:36 #5254 [Verbose] > │ let v25 : float = 0.2 │
00:00:36 #5255 [Verbose] > │ let v26 : float = 0.21000000000000002 │
00:00:36 #5256 [Verbose] > │ let v27 : float = 0.22 │
00:00:36 #5257 [Verbose] > │ let v28 : float = 0.23 │
00:00:36 #5258 [Verbose] > │ let v29 : float = 0.24000000000000002 │
00:00:36 #5259 [Verbose] > │ let v30 : float = 0.25 │
00:00:36 #5260 [Verbose] > │ let v31 : float = 0.26 │
00:00:36 #5261 [Verbose] > │ let v32 : float = 0.27 │
00:00:36 #5262 [Verbose] > │ let v33 : float = 0.28 │
00:00:36 #5263 [Verbose] > │ let v34 : float = 0.29000000000000004 │
00:00:36 #5264 [Verbose] > │ let v35 : float = 0.3 │
00:00:36 #5265 [Verbose] > │ let v36 : float = 0.31 │
00:00:36 #5266 [Verbose] > │ let v37 : float = 0.32 │
00:00:36 #5267 [Verbose] > │ let v38 : float = 0.33 │
00:00:36 #5268 [Verbose] > │ let v39 : float = 0.34 │
00:00:36 #5269 [Verbose] > │ let v40 : float = 0.35000000000000003 │
00:00:36 #5270 [Verbose] > │ let v41 : float = 0.36000000000000004 │
00:00:36 #5271 [Verbose] > │ let v42 : float = 0.37 │
00:00:36 #5272 [Verbose] > │ let v43 : float = 0.38 │
00:00:36 #5273 [Verbose] > │ let v44 : float = 0.39 │
00:00:36 #5274 [Verbose] > │ let v45 : float = 0.4 │
00:00:36 #5275 [Verbose] > │ let v46 : float = 0.41000000000000003 │
00:00:36 #5276 [Verbose] > │ let v47 : float = 0.42000000000000004 │
00:00:36 #5277 [Verbose] > │ let v48 : float = 0.43 │
00:00:36 #5278 [Verbose] > │ let v49 : float = 0.44 │
00:00:36 #5279 [Verbose] > │ let v50 : float = 0.45 │
00:00:36 #5280 [Verbose] > │ let v51 : float = 0.46 │
00:00:36 #5281 [Verbose] > │ let v52 : float = 0.47000000000000003 │
00:00:36 #5282 [Verbose] > │ let v53 : float = 0.48000000000000004 │
00:00:36 #5283 [Verbose] > │ let v54 : float = 0.49 │
00:00:36 #5284 [Verbose] > │ let v55 : float = 0.5 │
00:00:36 #5285 [Verbose] > │ let v56 : float = 0.51 │
00:00:36 #5286 [Verbose] > │ let v57 : float = 0.52 │
00:00:36 #5287 [Verbose] > │ let v58 : float = 0.53 │
00:00:36 #5288 [Verbose] > │ let v59 : float = 0.54 │
00:00:36 #5289 [Verbose] > │ let v60 : float = 0.55 │
00:00:36 #5290 [Verbose] > │ let v61 : float = 0.56 │
00:00:36 #5291 [Verbose] > │ let v62 : float = 0.5700000000000001 │
00:00:36 #5292 [Verbose] > │ let v63 : float = 0.5800000000000001 │
00:00:36 #5293 [Verbose] > │ let v64 : float = 0.59 │
00:00:36 #5294 [Verbose] > │ let v65 : float = 0.6 │
00:00:36 #5295 [Verbose] > │ let v66 : float = 0.61 │
00:00:36 #5296 [Verbose] > │ let v67 : float = 0.62 │
00:00:36 #5297 [Verbose] > │ let v68 : float = 0.63 │
00:00:36 #5298 [Verbose] > │ let v69 : float = 0.64 │
00:00:36 #5299 [Verbose] > │ let v70 : float = 0.65 │
00:00:36 #5300 [Verbose] > │ let v71 : UH0 = UH0_1 │
00:00:36 #5301 [Verbose] > │ let v72 : UH0 = UH0_0(v70, v71) │
00:00:36 #5302 [Verbose] > │ let v73 : UH0 = UH0_0(v69, v72) │
00:00:36 #5303 [Verbose] > │ let v74 : UH0 = UH0_0(v68, v73) │
00:00:36 #5304 [Verbose] > │ let v75 : UH0 = UH0_0(v67, v74) │
00:00:36 #5305 [Verbose] > │ let v76 : UH0 = UH0_0(v66, v75) │
00:00:36 #5306 [Verbose] > │ let v77 : UH0 = UH0_0(v65, v76) │
00:00:36 #5307 [Verbose] > │ let v78 : UH0 = UH0_0(v64, v77) │
00:00:36 #5308 [Verbose] > │ let v79 : UH0 = UH0_0(v63, v78) │
00:00:36 #5309 [Verbose] > │ let v80 : UH0 = UH0_0(v62, v79) │
00:00:36 #5310 [Verbose] > │ let v81 : UH0 = UH0_0(v61, v80) │
00:00:36 #5311 [Verbose] > │ let v82 : UH0 = UH0_0(v60, v81) │
00:00:36 #5312 [Verbose] > │ let v83 : UH0 = UH0_0(v59, v82) │
00:00:36 #5313 [Verbose] > │ let v84 : UH0 = UH0_0(v58, v83) │
00:00:36 #5314 [Verbose] > │ let v85 : UH0 = UH0_0(v57, v84) │
00:00:36 #5315 [Verbose] > │ let v86 : UH0 = UH0_0(v56, v85) │
00:00:36 #5316 [Verbose] > │ let v87 : UH0 = UH0_0(v55, v86) │
00:00:36 #5317 [Verbose] > │ let v88 : UH0 = UH0_0(v54, v87) │
00:00:36 #5318 [Verbose] > │ let v89 : UH0 = UH0_0(v53, v88) │
00:00:36 #5319 [Verbose] > │ let v90 : UH0 = UH0_0(v52, v89) │
00:00:36 #5320 [Verbose] > │ let v91 : UH0 = UH0_0(v51, v90) │
00:00:36 #5321 [Verbose] > │ let v92 : UH0 = UH0_0(v50, v91) │
00:00:36 #5322 [Verbose] > │ let v93 : UH0 = UH0_0(v49, v92) │
00:00:36 #5323 [Verbose] > │ let v94 : UH0 = UH0_0(v48, v93) │
00:00:36 #5324 [Verbose] > │ let v95 : UH0 = UH0_0(v47, v94) │
00:00:36 #5325 [Verbose] > │ let v96 : UH0 = UH0_0(v46, v95) │
00:00:36 #5326 [Verbose] > │ let v97 : UH0 = UH0_0(v45, v96) │
00:00:36 #5327 [Verbose] > │ let v98 : UH0 = UH0_0(v44, v97) │
00:00:36 #5328 [Verbose] > │ let v99 : UH0 = UH0_0(v43, v98) │
00:00:36 #5329 [Verbose] > │ let v100 : UH0 = UH0_0(v42, v99) │
00:00:36 #5330 [Verbose] > │ let v101 : UH0 = UH0_0(v41, v100) │
00:00:36 #5331 [Verbose] > │ let v102 : UH0 = UH0_0(v40, v101) │
00:00:36 #5332 [Verbose] > │ let v103 : UH0 = UH0_0(v39, v102) │
00:00:36 #5333 [Verbose] > │ let v104 : UH0 = UH0_0(v38, v103) │
00:00:36 #5334 [Verbose] > │ let v105 : UH0 = UH0_0(v37, v104) │
00:00:36 #5335 [Verbose] > │ let v106 : UH0 = UH0_0(v36, v105) │
00:00:36 #5336 [Verbose] > │ let v107 : UH0 = UH0_0(v35, v106) │
00:00:36 #5337 [Verbose] > │ let v108 : UH0 = UH0_0(v34, v107) │
00:00:36 #5338 [Verbose] > │ let v109 : UH0 = UH0_0(v33, v108) │
00:00:36 #5339 [Verbose] > │ let v110 : UH0 = UH0_0(v32, v109) │
00:00:36 #5340 [Verbose] > │ let v111 : UH0 = UH0_0(v31, v110) │
00:00:36 #5341 [Verbose] > │ let v112 : UH0 = UH0_0(v30, v111) │
00:00:36 #5342 [Verbose] > │ let v113 : UH0 = UH0_0(v29, v112) │
00:00:36 #5343 [Verbose] > │ let v114 : UH0 = UH0_0(v28, v113) │
00:00:36 #5344 [Verbose] > │ let v115 : UH0 = UH0_0(v27, v114) │
00:00:36 #5345 [Verbose] > │ let v116 : UH0 = UH0_0(v26, v115) │
00:00:36 #5346 [Verbose] > │ let v117 : UH0 = UH0_0(v25, v116) │
00:00:36 #5347 [Verbose] > │ let v118 : UH0 = UH0_0(v24, v117) │
00:00:36 #5348 [Verbose] > │ let v119 : UH0 = UH0_0(v23, v118) │
00:00:36 #5349 [Verbose] > │ let v120 : UH0 = UH0_0(v22, v119) │
00:00:36 #5350 [Verbose] > │ let v121 : UH0 = UH0_0(v21, v120) │
00:00:36 #5351 [Verbose] > │ let v122 : UH0 = UH0_0(v20, v121) │
00:00:36 #5352 [Verbose] > │ let v123 : UH0 = UH0_0(v19, v122) │
00:00:36 #5353 [Verbose] > │ let v124 : UH0 = UH0_0(v18, v123) │
00:00:36 #5354 [Verbose] > │ let v125 : UH0 = UH0_0(v17, v124) │
00:00:36 #5355 [Verbose] > │ let v126 : UH0 = UH0_0(v16, v125) │
00:00:36 #5356 [Verbose] > │ let v127 : UH0 = UH0_0(v15, v126) │
00:00:36 #5357 [Verbose] > │ let v128 : UH0 = UH0_0(v14, v127) │
00:00:36 #5358 [Verbose] > │ let v129 : UH0 = UH0_0(v13, v128) │
00:00:36 #5359 [Verbose] > │ let v130 : UH0 = UH0_0(v12, v129) │
00:00:36 #5360 [Verbose] > │ let v131 : UH0 = UH0_0(v11, v130) │
00:00:36 #5361 [Verbose] > │ let v132 : UH0 = UH0_0(v10, v131) │
00:00:36 #5362 [Verbose] > │ let v133 : UH0 = UH0_0(v9, v132) │
00:00:36 #5363 [Verbose] > │ let v134 : UH0 = UH0_0(v8, v133) │
00:00:36 #5364 [Verbose] > │ let v135 : UH0 = UH0_0(v7, v134) │
00:00:36 #5365 [Verbose] > │ let v136 : UH0 = UH0_0(v6, v135) │
00:00:36 #5366 [Verbose] > │ let v137 : UH0 = UH0_0(v5, v136) │
00:00:36 #5367 [Verbose] > │ let v138 : (float []) = method2(v137) │
00:00:36 #5368 [Verbose] > │ let v139 : float = 0.0 │
00:00:36 #5369 [Verbose] > │ let v140 : float = 0.0007224452478461068 │
00:00:36 #5370 [Verbose] > │ let v141 : float = 0.0014297283919934465 │
00:00:36 #5371 [Verbose] > │ let v142 : float = 0.0021070055388626454 │
00:00:36 #5372 [Verbose] > │ let v143 : float = 0.00274006253677335 │
00:00:36 #5373 [Verbose] > │ let v144 : float = 0.0033156132912039757 │
00:00:36 #5374 [Verbose] > │ let v145 : float = 0.0038215786027292415 │
00:00:36 #5375 [Verbose] > │ let v146 : float = 0.004247339675607605 │
00:00:36 #5376 [Verbose] > │ let v147 : float = 0.004583960976582912 │
00:00:36 #5377 [Verbose] > │ let v148 : float = 0.004824377766717757 │
00:00:36 #5378 [Verbose] > │ let v149 : float = 0.00496354437049027 │
00:00:36 #5379 [Verbose] > │ let v150 : float = 0.004998540070400965 │
00:00:36 #5380 [Verbose] > │ let v151 : float = 0.004928630404658255 │
00:00:36 #5381 [Verbose] > │ let v152 : float = 0.004755282581475768 │
00:00:36 #5382 [Verbose] > │ let v153 : float = 0.004482134686478519 │
00:00:36 #5383 [Verbose] > │ let v154 : float = 0.0041149193294682815 │
00:00:36 #5384 [Verbose] > │ let v155 : float = 0.0036613433329888666 │
00:00:36 #5385 [Verbose] > │ let v156 : float = 0.0031309259876915697 │
00:00:36 #5386 [Verbose] > │ let v157 : float = 0.002534799269067951 │
00:00:36 #5387 [Verbose] > │ let v158 : float = 0.0018854742084416015 │
00:00:36 #5388 [Verbose] > │ let v159 : float = 0.0011965783214377905 │
00:00:36 #5389 [Verbose] > │ let v160 : float = 0.00048256960457257535 │
00:00:36 #5390 [Verbose] > │ let v161 : float = -0.00024156689762753317 │
00:00:36 #5391 [Verbose] > │ let v162 : float = -0.0009606335867685418 │
00:00:36 #5392 [Verbose] > │ let v163 : float = -0.001659539265642642 │
00:00:36 #5393 [Verbose] > │ let v164 : float = -0.002323615860218842 │
00:00:36 #5394 [Verbose] > │ let v165 : float = -0.0029389262614623636 │
00:00:36 #5395 [Verbose] > │ let v166 : float = -0.003492556826244686 │
00:00:36 #5396 [Verbose] > │ let v167 : float = -0.003972888398568771 │
00:00:36 #5397 [Verbose] > │ let v168 : float = -0.00436984016313259 │
00:00:36 #5398 [Verbose] > │ let v169 : float = -0.004675081213427074 │
00:00:36 #5399 [Verbose] > │ let v170 : float = -0.004882205394146359 │
00:00:36 #5400 [Verbose] > │ let v171 : float = -0.004986865748457456 │
00:00:36 #5401 [Verbose] > │ let v172 : float = -0.004986865748457456 │
00:00:36 #5402 [Verbose] > │ let v173 : float = -0.004882205394146361 │
00:00:36 #5403 [Verbose] > │ let v174 : float = -0.004675081213427074 │
00:00:36 #5404 [Verbose] > │ let v175 : float = -0.004369840163132589 │
00:00:36 #5405 [Verbose] > │ let v176 : float = -0.003972888398568774 │
00:00:36 #5406 [Verbose] > │ let v177 : float = -0.0034925568262446837 │
00:00:36 #5407 [Verbose] > │ let v178 : float = -0.002938926261462367 │
00:00:36 #5408 [Verbose] > │ let v179 : float = -0.002323615860218846 │
00:00:36 #5409 [Verbose] > │ let v180 : float = -0.0016595392656426435 │
00:00:36 #5410 [Verbose] > │ let v181 : float = -0.0009606335867685414 │
00:00:36 #5411 [Verbose] > │ let v182 : float = -0.00024156689762753724 │
00:00:36 #5412 [Verbose] > │ let v183 : float = 0.0004825696045725713 │
00:00:36 #5413 [Verbose] > │ let v184 : float = 0.0011965783214377866 │
00:00:36 #5414 [Verbose] > │ let v185 : float = 0.0018854742084416021 │
00:00:36 #5415 [Verbose] > │ let v186 : float = 0.002534799269067953 │
00:00:36 #5416 [Verbose] > │ let v187 : float = 0.003130925987691568 │
00:00:36 #5417 [Verbose] > │ let v188 : float = 0.0036613433329888622 │
00:00:36 #5418 [Verbose] > │ let v189 : float = 0.0041149193294682815 │
00:00:36 #5419 [Verbose] > │ let v190 : float = 0.0044821346864785195 │
00:00:36 #5420 [Verbose] > │ let v191 : float = 0.004755282581475766 │
00:00:36 #5421 [Verbose] > │ let v192 : float = 0.004928630404658255 │
00:00:36 #5422 [Verbose] > │ let v193 : float = 0.004998540070400965 │
00:00:36 #5423 [Verbose] > │ let v194 : float = 0.004963544370490271 │
00:00:36 #5424 [Verbose] > │ let v195 : float = 0.004824377766717758 │
00:00:36 #5425 [Verbose] > │ let v196 : float = 0.004583960976582912 │
00:00:36 #5426 [Verbose] > │ let v197 : float = 0.004247339675607605 │
00:00:36 #5427 [Verbose] > │ let v198 : float = 0.003821578602729245 │
00:00:36 #5428 [Verbose] > │ let v199 : float = 0.0033156132912039783 │
00:00:36 #5429 [Verbose] > │ let v200 : float = 0.0027400625367733585 │
00:00:36 #5430 [Verbose] > │ let v201 : float = 0.0021070055388626528 │
00:00:36 #5431 [Verbose] > │ let v202 : float = 0.001429728391993452 │
00:00:36 #5432 [Verbose] > │ let v203 : float = 0.0007224452478461016 │
00:00:36 #5433 [Verbose] > │ let v204 : float = 0.0 │
00:00:36 #5434 [Verbose] > │ let v205 : UH0 = UH0_1 │
00:00:36 #5435 [Verbose] > │ let v206 : UH0 = UH0_0(v204, v205) │
00:00:36 #5436 [Verbose] > │ let v207 : UH0 = UH0_0(v203, v206) │
00:00:36 #5437 [Verbose] > │ let v208 : UH0 = UH0_0(v202, v207) │
00:00:36 #5438 [Verbose] > │ let v209 : UH0 = UH0_0(v201, v208) │
00:00:36 #5439 [Verbose] > │ let v210 : UH0 = UH0_0(v200, v209) │
00:00:36 #5440 [Verbose] > │ let v211 : UH0 = UH0_0(v199, v210) │
00:00:36 #5441 [Verbose] > │ let v212 : UH0 = UH0_0(v198, v211) │
00:00:36 #5442 [Verbose] > │ let v213 : UH0 = UH0_0(v197, v212) │
00:00:36 #5443 [Verbose] > │ let v214 : UH0 = UH0_0(v196, v213) │
00:00:36 #5444 [Verbose] > │ let v215 : UH0 = UH0_0(v195, v214) │
00:00:36 #5445 [Verbose] > │ let v216 : UH0 = UH0_0(v194, v215) │
00:00:36 #5446 [Verbose] > │ let v217 : UH0 = UH0_0(v193, v216) │
00:00:36 #5447 [Verbose] > │ let v218 : UH0 = UH0_0(v192, v217) │
00:00:36 #5448 [Verbose] > │ let v219 : UH0 = UH0_0(v191, v218) │
00:00:36 #5449 [Verbose] > │ let v220 : UH0 = UH0_0(v190, v219) │
00:00:36 #5450 [Verbose] > │ let v221 : UH0 = UH0_0(v189, v220) │
00:00:36 #5451 [Verbose] > │ let v222 : UH0 = UH0_0(v188, v221) │
00:00:36 #5452 [Verbose] > │ let v223 : UH0 = UH0_0(v187, v222) │
00:00:36 #5453 [Verbose] > │ let v224 : UH0 = UH0_0(v186, v223) │
00:00:36 #5454 [Verbose] > │ let v225 : UH0 = UH0_0(v185, v224) │
00:00:36 #5455 [Verbose] > │ let v226 : UH0 = UH0_0(v184, v225) │
00:00:36 #5456 [Verbose] > │ let v227 : UH0 = UH0_0(v183, v226) │
00:00:36 #5457 [Verbose] > │ let v228 : UH0 = UH0_0(v182, v227) │
00:00:36 #5458 [Verbose] > │ let v229 : UH0 = UH0_0(v181, v228) │
00:00:36 #5459 [Verbose] > │ let v230 : UH0 = UH0_0(v180, v229) │
00:00:36 #5460 [Verbose] > │ let v231 : UH0 = UH0_0(v179, v230) │
00:00:36 #5461 [Verbose] > │ let v232 : UH0 = UH0_0(v178, v231) │
00:00:36 #5462 [Verbose] > │ let v233 : UH0 = UH0_0(v177, v232) │
00:00:36 #5463 [Verbose] > │ let v234 : UH0 = UH0_0(v176, v233) │
00:00:36 #5464 [Verbose] > │ let v235 : UH0 = UH0_0(v175, v234) │
00:00:36 #5465 [Verbose] > │ let v236 : UH0 = UH0_0(v174, v235) │
00:00:36 #5466 [Verbose] > │ let v237 : UH0 = UH0_0(v173, v236) │
00:00:36 #5467 [Verbose] > │ let v238 : UH0 = UH0_0(v172, v237) │
00:00:36 #5468 [Verbose] > │ let v239 : UH0 = UH0_0(v171, v238) │
00:00:36 #5469 [Verbose] > │ let v240 : UH0 = UH0_0(v170, v239) │
00:00:36 #5470 [Verbose] > │ let v241 : UH0 = UH0_0(v169, v240) │
00:00:36 #5471 [Verbose] > │ let v242 : UH0 = UH0_0(v168, v241) │
00:00:36 #5472 [Verbose] > │ let v243 : UH0 = UH0_0(v167, v242) │
00:00:36 #5473 [Verbose] > │ let v244 : UH0 = UH0_0(v166, v243) │
00:00:36 #5474 [Verbose] > │ let v245 : UH0 = UH0_0(v165, v244) │
00:00:36 #5475 [Verbose] > │ let v246 : UH0 = UH0_0(v164, v245) │
00:00:36 #5476 [Verbose] > │ let v247 : UH0 = UH0_0(v163, v246) │
00:00:36 #5477 [Verbose] > │ let v248 : UH0 = UH0_0(v162, v247) │
00:00:36 #5478 [Verbose] > │ let v249 : UH0 = UH0_0(v161, v248) │
00:00:36 #5479 [Verbose] > │ let v250 : UH0 = UH0_0(v160, v249) │
00:00:36 #5480 [Verbose] > │ let v251 : UH0 = UH0_0(v159, v250) │
00:00:36 #5481 [Verbose] > │ let v252 : UH0 = UH0_0(v158, v251) │
00:00:36 #5482 [Verbose] > │ let v253 : UH0 = UH0_0(v157, v252) │
00:00:36 #5483 [Verbose] > │ let v254 : UH0 = UH0_0(v156, v253) │
00:00:36 #5484 [Verbose] > │ let v255 : UH0 = UH0_0(v155, v254) │
00:00:36 #5485 [Verbose] > │ let v256 : UH0 = UH0_0(v154, v255) │
00:00:36 #5486 [Verbose] > │ let v257 : UH0 = UH0_0(v153, v256) │
00:00:36 #5487 [Verbose] > │ let v258 : UH0 = UH0_0(v152, v257) │
00:00:36 #5488 [Verbose] > │ let v259 : UH0 = UH0_0(v151, v258) │
00:00:36 #5489 [Verbose] > │ let v260 : UH0 = UH0_0(v150, v259) │
00:00:36 #5490 [Verbose] > │ let v261 : UH0 = UH0_0(v149, v260) │
00:00:36 #5491 [Verbose] > │ let v262 : UH0 = UH0_0(v148, v261) │
00:00:36 #5492 [Verbose] > │ let v263 : UH0 = UH0_0(v147, v262) │
00:00:36 #5493 [Verbose] > │ let v264 : UH0 = UH0_0(v146, v263) │
00:00:36 #5494 [Verbose] > │ let v265 : UH0 = UH0_0(v145, v264) │
00:00:36 #5495 [Verbose] > │ let v266 : UH0 = UH0_0(v144, v265) │
00:00:36 #5496 [Verbose] > │ let v267 : UH0 = UH0_0(v143, v266) │
00:00:36 #5497 [Verbose] > │ let v268 : UH0 = UH0_0(v142, v267) │
00:00:36 #5498 [Verbose] > │ let v269 : UH0 = UH0_0(v141, v268) │
00:00:36 #5499 [Verbose] > │ let v270 : UH0 = UH0_0(v140, v269) │
00:00:36 #5500 [Verbose] > │ let v271 : UH0 = UH0_0(v139, v270) │
00:00:36 #5501 [Verbose] > │ let v272 : (float []) = method2(v271) │
00:00:36 #5502 [Verbose] > │ UH1_0(v138, v272, v4) │
00:00:36 #5503 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:36 #5504 [Verbose] > │ v1 │
00:00:36 #5505 [Verbose] > │ and method6 (v0 : UH1, v1 : int32) : int32 = │
00:00:36 #5506 [Verbose] > │ match v0 with │
00:00:36 #5507 [Verbose] > │ | UH1_0(v2, v3, v4) -> (* Cons *) │
00:00:36 #5508 [Verbose] > │ let v5 : int32 = v1 + 1 │
00:00:36 #5509 [Verbose] > │ method6(v4, v5) │
00:00:36 #5510 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:36 #5511 [Verbose] > │ v1 │
00:00:36 #5512 [Verbose] > │ and method7 (v0 : (struct ((float []) * (float [])) []), v1 : UH1, v2 : │
00:00:36 #5513 [Verbose] > │ int32) : int32 = │
00:00:36 #5514 [Verbose] > │ match v1 with │
00:00:36 #5515 [Verbose] > │ | UH1_0(v3, v4, v5) -> (* Cons *) │
00:00:36 #5516 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:36 #5517 [Verbose] > │ let v6 : int32 = v2 + 1 │
00:00:36 #5518 [Verbose] > │ method7(v0, v5, v6) │
00:00:36 #5519 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:36 #5520 [Verbose] > │ v2 │
00:00:36 #5521 [Verbose] > │ and method5 (v0 : UH1) : (struct ((float []) * (float [])) []) = │
00:00:36 #5522 [Verbose] > │ let v1 : int32 = 0 │
00:00:36 #5523 [Verbose] > │ let v2 : int32 = method6(v0, v1) │
00:00:36 #5524 [Verbose] > │ let v3 : (struct ((float []) * (float [])) []) = Array.zeroCreate<struct │
00:00:36 #5525 [Verbose] > │ ((float []) * (float []))> (v2) │
00:00:36 #5526 [Verbose] > │ let v4 : int32 = 0 │
00:00:36 #5527 [Verbose] > │ let v5 : int32 = method7(v3, v0, v4) │
00:00:36 #5528 [Verbose] > │ v3 │
00:00:36 #5529 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:36 #5530 [Verbose] > │ []) * (float [])) [])) = │
00:00:36 #5531 [Verbose] > │ let v0 : float = 0.0 │
00:00:36 #5532 [Verbose] > │ let v1 : float = 1.0 │
00:00:36 #5533 [Verbose] > │ let v2 : float = 2.0 │
00:00:36 #5534 [Verbose] > │ let v3 : float = 3.0 │
00:00:36 #5535 [Verbose] > │ let v4 : float = 4.0 │
00:00:36 #5536 [Verbose] > │ let v5 : float = 5.0 │
00:00:36 #5537 [Verbose] > │ let v6 : float = 6.0 │
00:00:36 #5538 [Verbose] > │ let v7 : float = 7.0 │
00:00:36 #5539 [Verbose] > │ let v8 : float = 8.0 │
00:00:36 #5540 [Verbose] > │ let v9 : float = 9.0 │
00:00:36 #5541 [Verbose] > │ let v10 : UH0 = UH0_1 │
00:00:36 #5542 [Verbose] > │ let v11 : UH0 = UH0_0(v9, v10) │
00:00:36 #5543 [Verbose] > │ let v12 : UH0 = UH0_0(v8, v11) │
00:00:36 #5544 [Verbose] > │ let v13 : UH0 = UH0_0(v7, v12) │
00:00:36 #5545 [Verbose] > │ let v14 : UH0 = UH0_0(v6, v13) │
00:00:36 #5546 [Verbose] > │ let v15 : UH0 = UH0_0(v5, v14) │
00:00:36 #5547 [Verbose] > │ let v16 : UH0 = UH0_0(v4, v15) │
00:00:36 #5548 [Verbose] > │ let v17 : UH0 = UH0_0(v3, v16) │
00:00:36 #5549 [Verbose] > │ let v18 : UH0 = UH0_0(v2, v17) │
00:00:36 #5550 [Verbose] > │ let v19 : UH0 = UH0_0(v1, v18) │
00:00:36 #5551 [Verbose] > │ let v20 : UH0 = UH0_0(v0, v19) │
00:00:36 #5552 [Verbose] > │ let v21 : UH1 = UH1_1 │
00:00:36 #5553 [Verbose] > │ let v22 : UH1 = method1(v20, v21) │
00:00:36 #5554 [Verbose] > │ let v23 : (struct ((float []) * (float [])) []) = method5(v22) │
00:00:36 #5555 [Verbose] > │ let struct (v24 : (float []), v25 : (float [])) = v23.[int 0] │
00:00:36 #5556 [Verbose] > │ let v26 : string = $"{0}" │
00:00:36 #5557 [Verbose] > │ let v27 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:36 #5558 [Verbose] > │ (v26, v24, v25)|] │
00:00:36 #5559 [Verbose] > │ let v28 : string = "wave" │
00:00:36 #5560 [Verbose] > │ let v29 : string = "position (m)" │
00:00:36 #5561 [Verbose] > │ let v30 : string = "displacement (m)" │
00:00:36 #5562 [Verbose] > │ struct (v28, v29, v30, v27) │
00:00:36 #5563 [Verbose] > │ method0() │
00:00:36 #5564 [Verbose] > │ │
00:00:36 #5565 [Verbose] > │ │
00:00:36 #5566 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 #5567 [Verbose] >
00:00:36 #5568 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:36 #5569 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:36 #5570 [Verbose] > │ ### system kinetic energy versus time 2 │
00:00:36 #5571 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:36 #5572 [Verbose] >
00:00:36 #5573 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:36 #5574 [Verbose] > // // test
00:00:36 #5575 [Verbose] >
00:00:36 #5576 [Verbose] > inl central_force f (particle_state st1) (particle_state st2) =
00:00:36 #5577 [Verbose] > inl r1 = st1.pos_vec
00:00:36 #5578 [Verbose] > inl r2 = st2.pos_vec
00:00:36 #5579 [Verbose] > inl r21 = r2 ^-^ r1
00:00:36 #5580 [Verbose] > inl r21mag = magnitude r21
00:00:36 #5581 [Verbose] > f r21mag *^ r21 ^/ r21mag
00:00:36 #5582 [Verbose] >
00:00:36 #5583 [Verbose] > inl billiard_force k re =
00:00:36 #5584 [Verbose] > inl f r =
00:00:36 #5585 [Verbose] > if r >= re
00:00:36 #5586 [Verbose] > then 0
00:00:36 #5587 [Verbose] > else -k * (r - re)
00:00:36 #5588 [Verbose] > central_force f
00:00:36 #5589 [Verbose] >
00:00:36 #5590 [Verbose] > type force_vector = vec
00:00:36 #5591 [Verbose] > type two_body_force = particle_state -> particle_state -> force_vector
00:00:36 #5592 [Verbose] >
00:00:36 #5593 [Verbose] > union force t =
00:00:36 #5594 [Verbose] > | ExternalForce : t * one_body_force
00:00:36 #5595 [Verbose] > | InternalForce : t * t * two_body_force
00:00:36 #5596 [Verbose] >
00:00:36 #5597 [Verbose] > nominal multi_particle_state = stream.stream particle_state
00:00:36 #5598 [Verbose] >
00:00:36 #5599 [Verbose] > nominal d_multi_particle_state = stream.stream d_particle_state
00:00:36 #5600 [Verbose] >
00:00:36 #5601 [Verbose] > inl force_on n s force =
00:00:36 #5602 [Verbose] > match force with
00:00:36 #5603 [Verbose] > | ExternalForce (n0, f_one_body) =>
00:00:36 #5604 [Verbose] > if n = n0
00:00:36 #5605 [Verbose] > then f_one_body
00:00:36 #5606 [Verbose] > else fun _ => zero_vec ()
00:00:36 #5607 [Verbose] > | InternalForce (n0, n1, f_two_body) =>
00:00:36 #5608 [Verbose] > if n = n0
00:00:36 #5609 [Verbose] > then s |> stream.try_item n1 |> optionm.map f_two_body
00:00:36 #5610 [Verbose] > elif n = n1
00:00:36 #5611 [Verbose] > then s |> stream.try_item n0 |> optionm.map f_two_body
00:00:36 #5612 [Verbose] > else None
00:00:36 #5613 [Verbose] > |> optionm'.default_value (fun _ => zero_vec ())
00:00:36 #5614 [Verbose] >
00:00:36 #5615 [Verbose] > inl forces_on n (multi_particle_state sts) fs =
00:00:36 #5616 [Verbose] > fs
00:00:36 #5617 [Verbose] > |> listm.map (force_on n sts)
00:00:36 #5618 [Verbose] >
00:00:36 #5619 [Verbose] > inl newton_second_mps fs ((multi_particle_state sts) as mpst) =
00:00:36 #5620 [Verbose] > inl deriv (n, st) =
00:00:36 #5621 [Verbose] > newton_second_ps (forces_on n mpst fs) st
00:00:36 #5622 [Verbose] > sts |> stream.indexed |> stream.map deriv |> d_multi_particle_state
00:00:36 #5623 [Verbose] >
00:00:36 #5624 [Verbose] > instance (+++) d_multi_particle_state =
00:00:36 #5625 [Verbose] > fun (d_multi_particle_state dsts1) (d_multi_particle_state dsts2) =>
00:00:36 #5626 [Verbose] > (dsts1, dsts2)
00:00:36 #5627 [Verbose] > ||> stream.zip_with (+++)
00:00:36 #5628 [Verbose] > |> d_multi_particle_state
00:00:36 #5629 [Verbose] >
00:00:36 #5630 [Verbose] > instance scale d_multi_particle_state = fun w (d_multi_particle_state dsts) =>
00:00:36 #5631 [Verbose] > dsts
00:00:36 #5632 [Verbose] > |> stream.map (scale w)
00:00:36 #5633 [Verbose] > |> d_multi_particle_state
00:00:36 #5634 [Verbose] >
00:00:36 #5635 [Verbose] > instance shift multi_particle_state = fun dt dsts (multi_particle_state sts) =>
00:00:36 #5636 [Verbose] > inl (d_multi_particle_state dsts) =
00:00:36 #5637 [Verbose] > real
00:00:36 #5638 [Verbose] > match dsts with
00:00:36 #5639 [Verbose] > | d_multi_particle_state _ => dsts
00:00:36 #5640 [Verbose] > (dsts, sts)
00:00:36 #5641 [Verbose] > ||> stream.zip_with (shift dt)
00:00:36 #5642 [Verbose] > |> stream.memoize
00:00:36 #5643 [Verbose] > |> fun x => x ()
00:00:36 #5644 [Verbose] > |> multi_particle_state
00:00:36 #5645 [Verbose] >
00:00:36 #5646 [Verbose] > inl euler_cromer_mps dt : numerical_method multi_particle_state
00:00:36 #5647 [Verbose] > d_multi_particle_state =
00:00:36 #5648 [Verbose] > fun deriv ((multi_particle_state sts0) as mpst0) =>
00:00:36 #5649 [Verbose] > inl (multi_particle_state sts1) = euler dt deriv mpst0
00:00:36 #5650 [Verbose] > (sts0, sts1)
00:00:36 #5651 [Verbose] > ||> stream.zip
00:00:36 #5652 [Verbose] > |> stream.map (fun ((particle_state st0), (particle_state st1)) =>
00:00:36 #5653 [Verbose] > particle_state {
00:00:36 #5654 [Verbose] > st1 with
00:00:36 #5655 [Verbose] > pos_vec = st0.pos_vec ^+^ st1.velocity ^* dt
00:00:36 #5656 [Verbose] > }
00:00:36 #5657 [Verbose] > )
00:00:36 #5658 [Verbose] > |> multi_particle_state
00:00:36 #5659 [Verbose] >
00:00:36 #5660 [Verbose] > inl update_mps (method : numerical_method multi_particle_state
00:00:36 #5661 [Verbose] > d_multi_particle_state) =
00:00:36 #5662 [Verbose] > newton_second_mps >> method
00:00:36 #5663 [Verbose] >
00:00:36 #5664 [Verbose] > inl states_mps (method : numerical_method multi_particle_state
00:00:36 #5665 [Verbose] > d_multi_particle_state) =
00:00:36 #5666 [Verbose] > newton_second_mps
00:00:36 #5667 [Verbose] > >> method
00:00:36 #5668 [Verbose] > >> (fun x (multi_particle_state y) =>
00:00:36 #5669 [Verbose] > y
00:00:36 #5670 [Verbose] > |> stream.memoize
00:00:36 #5671 [Verbose] > |> (fun x => x ())
00:00:36 #5672 [Verbose] > |> multi_particle_state |> x
00:00:36 #5673 [Verbose] > )
00:00:36 #5674 [Verbose] > // >> stream.iterate
00:00:36 #5675 [Verbose] > >> seq.iterate'
00:00:36 #5676 [Verbose] >
00:00:36 #5677 [Verbose] > inl kinetic_energy (particle_state st) =
00:00:36 #5678 [Verbose] > inl m = st.mass
00:00:36 #5679 [Verbose] > inl v = magnitude st.velocity
00:00:36 #5680 [Verbose] > 0.5 * m * v ** 2
00:00:36 #5681 [Verbose] >
00:00:36 #5682 [Verbose] > inl system_ke (multi_particle_state sts) =
00:00:36 #5683 [Verbose] > sts
00:00:36 #5684 [Verbose] > |> stream.map kinetic_energy
00:00:36 #5685 [Verbose] > |> stream.sum
00:00:36 #5686 [Verbose] >
00:00:36 #5687 [Verbose] > inl linear_spring_pe k re (particle_state st1) (particle_state st2) =
00:00:36 #5688 [Verbose] > inl r1 = st1.pos_vec
00:00:36 #5689 [Verbose] > inl r2 = st2.pos_vec
00:00:36 #5690 [Verbose] > inl r21 = r2 ^-^ r1
00:00:36 #5691 [Verbose] > inl r21mag = magnitude r21
00:00:36 #5692 [Verbose] > k * (r21mag - re) ** 2 / 2
00:00:36 #5693 [Verbose] >
00:00:36 #5694 [Verbose] > inl earth_surface_gravity_pe (particle_state st) =
00:00:36 #5695 [Verbose] > inl g = 9.80665
00:00:36 #5696 [Verbose] > inl m = st.mass
00:00:36 #5697 [Verbose] > inl z = st.pos_vec.z
00:00:36 #5698 [Verbose] > m * g * z
00:00:36 #5699 [Verbose] >
00:00:36 #5700 [Verbose] > inl ball_radius () = 0.03
00:00:36 #5701 [Verbose] >
00:00:36 #5702 [Verbose] > inl billiard_forces k =
00:00:36 #5703 [Verbose] > [[ InternalForce (0i32, 1, billiard_force k (2 * ball_radius ())) ]]
00:00:36 #5704 [Verbose] >
00:00:36 #5705 [Verbose] > inl billiard_initial () =
00:00:36 #5706 [Verbose] > inl ball_mass = 0.160
00:00:36 #5707 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:36 #5708 [Verbose] > [[
00:00:36 #5709 [Verbose] > particle_state {
00:00:36 #5710 [Verbose] > default_particle_state' with
00:00:36 #5711 [Verbose] > mass = ball_mass
00:00:36 #5712 [Verbose] > pos_vec = zero_vec ()
00:00:36 #5713 [Verbose] > velocity = 0.2 *^ i_hat ()
00:00:36 #5714 [Verbose] > }
00:00:36 #5715 [Verbose] > particle_state {
00:00:36 #5716 [Verbose] > default_particle_state' with
00:00:36 #5717 [Verbose] > mass = ball_mass
00:00:36 #5718 [Verbose] > pos_vec = i_hat () ^+^ 0.02 *^ j_hat ()
00:00:36 #5719 [Verbose] > velocity = zero_vec ()
00:00:36 #5720 [Verbose] > }
00:00:36 #5721 [Verbose] > ]]
00:00:36 #5722 [Verbose] > |> stream.from_list
00:00:36 #5723 [Verbose] > |> multi_particle_state
00:00:36 #5724 [Verbose] >
00:00:36 #5725 [Verbose] > inl billiard_states ~n_method k dt =
00:00:36 #5726 [Verbose] > states_mps (n_method dt) (billiard_forces k) (billiard_initial ())
00:00:36 #5727 [Verbose] >
00:00:36 #5728 [Verbose] > inl billiard_states_finite n_method k dt =
00:00:36 #5729 [Verbose] > billiard_states n_method k dt
00:00:36 #5730 [Verbose] > >> Some
00:00:36 #5731 [Verbose] > |> seq.take_while_ (fun (multi_particle_state mpst) (_ : i32) =>
00:00:36 #5732 [Verbose] > match mpst |> stream.try_item 0i32 with
00:00:36 #5733 [Verbose] > | Some st =>
00:00:36 #5734 [Verbose] > st.time <= 10
00:00:36 #5735 [Verbose] > | None => false
00:00:36 #5736 [Verbose] > )
00:00:36 #5737 [Verbose] >
00:00:36 #5738 [Verbose] > inl momentum (particle_state st) =
00:00:36 #5739 [Verbose] > inl m = st.mass
00:00:36 #5740 [Verbose] > inl v = st.velocity
00:00:36 #5741 [Verbose] > m *^ v
00:00:36 #5742 [Verbose] >
00:00:36 #5743 [Verbose] > inl system_p (multi_particle_state sts) =
00:00:36 #5744 [Verbose] > sts
00:00:36 #5745 [Verbose] > |> stream.map momentum
00:00:36 #5746 [Verbose] > |> stream.fold (^+^) (zero_vec ())
00:00:36 #5747 [Verbose] >
00:00:36 #5748 [Verbose] > inl time_ke_ec_x, time_ke_ec_y =
00:00:36 #5749 [Verbose] > billiard_states_finite euler_cromer_mps 30 0.03
00:00:36 #5750 [Verbose] > |> listm.map (fun (multi_particle_state mpst) =>
00:00:36 #5751 [Verbose] > mpst |> stream.try_item 0i32
00:00:36 #5752 [Verbose] > |> optionm.map (fun st =>
00:00:36 #5753 [Verbose] > st.time, system_ke (multi_particle_state mpst)
00:00:36 #5754 [Verbose] > )
00:00:36 #5755 [Verbose] > )
00:00:36 #5756 [Verbose] > // |> stream.to_list
00:00:36 #5757 [Verbose] > |> listm'.choose id
00:00:36 #5758 [Verbose] > |> listm'.unzip
00:00:36 #5759 [Verbose] >
00:00:36 #5760 [Verbose] > inl time_ke_rk4_x, time_ke_rk4_y =
00:00:36 #5761 [Verbose] > billiard_states_finite runge_kutta_4 30 0.03
00:00:36 #5762 [Verbose] > |> listm.map (fun (multi_particle_state mpst) =>
00:00:36 #5763 [Verbose] > mpst |> stream.try_item 0i32
00:00:36 #5764 [Verbose] > |> optionm.map (fun st =>
00:00:36 #5765 [Verbose] > st.time, system_ke (multi_particle_state mpst)
00:00:36 #5766 [Verbose] > )
00:00:36 #5767 [Verbose] > )
00:00:36 #5768 [Verbose] > // |> stream.to_list
00:00:36 #5769 [Verbose] > |> listm'.choose id
00:00:36 #5770 [Verbose] > |> listm'.unzip
00:00:36 #5771 [Verbose] >
00:00:36 #5772 [Verbose] > inl time_ke_ec_x : a i32 _ = time_ke_ec_x |> listm.toArray
00:00:36 #5773 [Verbose] > inl time_ke_ec_y : a i32 _ = time_ke_ec_y |> listm.toArray
00:00:36 #5774 [Verbose] >
00:00:36 #5775 [Verbose] > inl time_ke_rk4_x : a i32 _ = time_ke_rk4_x |> listm.toArray
00:00:36 #5776 [Verbose] > inl time_ke_rk4_y : a i32 _ = time_ke_rk4_y |> listm.toArray
00:00:36 #5777 [Verbose] >
00:00:36 #5778 [Verbose] > "system kinetic energy versus time",
00:00:36 #5779 [Verbose] > "time (s)",
00:00:36 #5780 [Verbose] > "system kinetic energy (j)",
00:00:36 #5781 [Verbose] > ;[[
00:00:36 #5782 [Verbose] > "euler-cromer", time_ke_ec_x, time_ke_ec_y
00:00:36 #5783 [Verbose] > "runge-kutta 4", time_ke_rk4_x, time_ke_rk4_y
00:00:36 #5784 [Verbose] > ]]
00:00:36 #5785 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-1074-7471-75a331eef2e0\main.spi
00:00:39 #5786 [Verbose] >
00:00:39 #5787 [Verbose] > ╭─[ 2.38s - return value ]─────────────────────────────────────────────────────╮
00:00:39 #5788 [Verbose] > │ <svg width="640" height="480" viewBox="0 0 640 480" │
00:00:39 #5789 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:39 #5790 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:39 #5791 [Verbose] > │ stroke="none"/> │
00:00:39 #5792 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:39 #5793 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:39 #5794 [Verbose] > │ fill="#FFFFFF"> │
00:00:39 #5795 [Verbose] > │ system kinetic energy versus time │
00:00:39 #5796 [Verbose] > │ </text> │
00:00:39 #5797 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="59" y1="424" x2="59" │
00:00:39 #5798 [Verbose] > │ y2="75"/> │
00:00:39 #5799 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:39 #5800 [Verbose] > │ y2="75"/> │
00:00:39 #5801 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="79" y1="424" x2="79" │
00:00:39 #5802 [Verbose] > │ y2="75"/> │
00:00:39 #5803 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="89" y1="424" x2="89" │
00:00:39 #5804 [Verbose] > │ y2="75"/> │
00:00:39 #5805 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1... │
00:00:39 #5806 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 #5807 [Verbose] >
00:00:39 #5808 [Verbose] > ╭─[ 2.39s - stdout ]───────────────────────────────────────────────────────────╮
00:00:39 #5809 [Verbose] > │ type UH0 = │
00:00:39 #5810 [Verbose] > │ | UH0_0 of float * float * float * float * float * float * float * float │
00:00:39 #5811 [Verbose] > │ * float * (unit -> UH0) │
00:00:39 #5812 [Verbose] > │ | UH0_1 │
00:00:39 #5813 [Verbose] > │ and UH1 = │
00:00:39 #5814 [Verbose] > │ | UH1_0 of float * float * float * float * float * float * float * float │
00:00:39 #5815 [Verbose] > │ * float * (unit -> UH1) │
00:00:39 #5816 [Verbose] > │ | UH1_1 │
00:00:39 #5817 [Verbose] > │ and [<Struct>] US0 = │
00:00:39 #5818 [Verbose] > │ | US0_0 of f0_0 : UH0 │
00:00:39 #5819 [Verbose] > │ | US0_1 of f1_0 : (unit -> UH0) │
00:00:39 #5820 [Verbose] > │ and Mut0 = {mutable l0 : US0} │
00:00:39 #5821 [Verbose] > │ and UH2 = │
00:00:39 #5822 [Verbose] > │ | UH2_0 of float * float * float * float * float * float * float * float │
00:00:39 #5823 [Verbose] > │ * float * float * float * float * float * float * float * float * float * │
00:00:39 #5824 [Verbose] > │ float * (unit -> UH2) │
00:00:39 #5825 [Verbose] > │ | UH2_1 │
00:00:39 #5826 [Verbose] > │ and UH3 = │
00:00:39 #5827 [Verbose] > │ | UH3_0 of int32 * float * float * float * float * float * float * float │
00:00:39 #5828 [Verbose] > │ * float * float * (unit -> UH3) │
00:00:39 #5829 [Verbose] > │ | UH3_1 │
00:00:39 #5830 [Verbose] > │ and [<Struct>] US1 = │
00:00:39 #5831 [Verbose] > │ | US1_0 │
00:00:39 #5832 [Verbose] > │ | US1_1 of f1_0 : (struct (float * float * float * float * float * float │
00:00:39 #5833 [Verbose] > │ * float * float * float) -> struct (float * float * float)) │
00:00:39 #5834 [Verbose] > │ and [<Struct>] US2 = │
00:00:39 #5835 [Verbose] > │ | US2_0 │
00:00:39 #5836 [Verbose] > │ | US2_1 of f1_0 : float * f1_1 : float * f1_2 : float * f1_3 : float * │
00:00:39 #5837 [Verbose] > │ f1_4 : float * f1_5 : float * f1_6 : float * f1_7 : float * f1_8 : float │
00:00:39 #5838 [Verbose] > │ and UH4 = │
00:00:39 #5839 [Verbose] > │ | UH4_0 of UH0 * UH4 │
00:00:39 #5840 [Verbose] > │ | UH4_1 │
00:00:39 #5841 [Verbose] > │ and UH5 = │
00:00:39 #5842 [Verbose] > │ | UH5_0 of int32 * UH5 │
00:00:39 #5843 [Verbose] > │ | UH5_1 │
00:00:39 #5844 [Verbose] > │ and [<Struct>] US3 = │
00:00:39 #5845 [Verbose] > │ | US3_0 │
00:00:39 #5846 [Verbose] > │ | US3_1 of f1_0 : float * f1_1 : float │
00:00:39 #5847 [Verbose] > │ and UH6 = │
00:00:39 #5848 [Verbose] > │ | UH6_0 of US3 * UH6 │
00:00:39 #5849 [Verbose] > │ | UH6_1 │
00:00:39 #5850 [Verbose] > │ and UH7 = │
00:00:39 #5851 [Verbose] > │ | UH7_0 of float * (unit -> UH7) │
00:00:39 #5852 [Verbose] > │ | UH7_1 │
00:00:39 #5853 [Verbose] > │ and UH8 = │
00:00:39 #5854 [Verbose] > │ | UH8_0 of float * float * UH8 │
00:00:39 #5855 [Verbose] > │ | UH8_1 │
00:00:39 #5856 [Verbose] > │ and UH9 = │
00:00:39 #5857 [Verbose] > │ | UH9_0 of float * UH9 │
00:00:39 #5858 [Verbose] > │ | UH9_1 │
00:00:39 #5859 [Verbose] > │ let rec closure3 (v0 : float, v1 : (unit -> UH0), v2 : (unit -> UH1)) () : │
00:00:39 #5860 [Verbose] > │ UH0 = │
00:00:39 #5861 [Verbose] > │ let v3 : UH1 = v2 () │
00:00:39 #5862 [Verbose] > │ let v4 : UH0 = v1 () │
00:00:39 #5863 [Verbose] > │ match v3 with │
00:00:39 #5864 [Verbose] > │ | UH1_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* StreamCons *) │
00:00:39 #5865 [Verbose] > │ match v4 with │
00:00:39 #5866 [Verbose] > │ | UH0_0(v15, v16, v17, v18, v19, v20, v21, v22, v23, v24) -> (* │
00:00:39 #5867 [Verbose] > │ StreamCons *) │
00:00:39 #5868 [Verbose] > │ let v25 : float = v10 * v0 │
00:00:39 #5869 [Verbose] > │ let v26 : float = v20 + v25 │
00:00:39 #5870 [Verbose] > │ let v27 : float = v0 * v7 │
00:00:39 #5871 [Verbose] > │ let v28 : float = v0 * v8 │
00:00:39 #5872 [Verbose] > │ let v29 : float = v0 * v9 │
00:00:39 #5873 [Verbose] > │ let v30 : float = v17 + v27 │
00:00:39 #5874 [Verbose] > │ let v31 : float = v18 + v28 │
00:00:39 #5875 [Verbose] > │ let v32 : float = v19 + v29 │
00:00:39 #5876 [Verbose] > │ let v33 : float = v0 * v11 │
00:00:39 #5877 [Verbose] > │ let v34 : float = v0 * v12 │
00:00:39 #5878 [Verbose] > │ let v35 : float = v0 * v13 │
00:00:39 #5879 [Verbose] > │ let v36 : float = v21 + v33 │
00:00:39 #5880 [Verbose] > │ let v37 : float = v22 + v34 │
00:00:39 #5881 [Verbose] > │ let v38 : float = v23 + v35 │
00:00:39 #5882 [Verbose] > │ let v39 : (unit -> UH0) = closure3(v0, v24, v14) │
00:00:39 #5883 [Verbose] > │ UH0_0(v15, v16, v30, v31, v32, v26, v36, v37, v38, v39) │
00:00:39 #5884 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #5885 [Verbose] > │ UH0_1 │
00:00:39 #5886 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #5887 [Verbose] > │ UH0_1 │
00:00:39 #5888 [Verbose] > │ and closure4 (v0 : UH0) () : UH0 = │
00:00:39 #5889 [Verbose] > │ v0 │
00:00:39 #5890 [Verbose] > │ and closure5 (v0 : UH0, v1 : Mut0) () : UH0 = │
00:00:39 #5891 [Verbose] > │ let v2 : US0 = v1.l0 │
00:00:39 #5892 [Verbose] > │ match v2 with │
00:00:39 #5893 [Verbose] > │ | US0_0(v3) -> (* Computed *) │
00:00:39 #5894 [Verbose] > │ v3 │
00:00:39 #5895 [Verbose] > │ | US0_1(v4) -> (* NotComputed *) │
00:00:39 #5896 [Verbose] > │ let v5 : UH0 = v4 () │
00:00:39 #5897 [Verbose] > │ let v20 : UH0 = │
00:00:39 #5898 [Verbose] > │ match v5 with │
00:00:39 #5899 [Verbose] > │ | UH0_0(v7, v8, v9, v10, v11, v12, v13, v14, v15, v16) -> (* │
00:00:39 #5900 [Verbose] > │ StreamCons *) │
00:00:39 #5901 [Verbose] > │ let v17 : (unit -> UH0) = method1(v0, v16) │
00:00:39 #5902 [Verbose] > │ UH0_0(v7, v8, v9, v10, v11, v12, v13, v14, v15, v17) │
00:00:39 #5903 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #5904 [Verbose] > │ UH0_1 │
00:00:39 #5905 [Verbose] > │ let v21 : US0 = US0_0(v20) │
00:00:39 #5906 [Verbose] > │ v1.l0 <- v21 │
00:00:39 #5907 [Verbose] > │ v20 │
00:00:39 #5908 [Verbose] > │ and method1 (v0 : UH0, v1 : (unit -> UH0)) : (unit -> UH0) = │
00:00:39 #5909 [Verbose] > │ let v2 : US0 = US0_1(v1) │
00:00:39 #5910 [Verbose] > │ let v3 : Mut0 = {l0 = v2} : Mut0 │
00:00:39 #5911 [Verbose] > │ closure5(v0, v3) │
00:00:39 #5912 [Verbose] > │ and closure6 (v0 : (unit -> UH0), v1 : (unit -> UH0)) () : UH2 = │
00:00:39 #5913 [Verbose] > │ let v2 : UH0 = v1 () │
00:00:39 #5914 [Verbose] > │ let v3 : UH0 = v0 () │
00:00:39 #5915 [Verbose] > │ match v2 with │
00:00:39 #5916 [Verbose] > │ | UH0_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *) │
00:00:39 #5917 [Verbose] > │ match v3 with │
00:00:39 #5918 [Verbose] > │ | UH0_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:00:39 #5919 [Verbose] > │ StreamCons *) │
00:00:39 #5920 [Verbose] > │ let v24 : (unit -> UH2) = closure6(v23, v13) │
00:00:39 #5921 [Verbose] > │ UH2_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v14, v15, v16, v17, │
00:00:39 #5922 [Verbose] > │ v18, v19, v20, v21, v22, v24) │
00:00:39 #5923 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #5924 [Verbose] > │ UH2_1 │
00:00:39 #5925 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #5926 [Verbose] > │ UH2_1 │
00:00:39 #5927 [Verbose] > │ and closure7 (v0 : UH0) () : UH0 = │
00:00:39 #5928 [Verbose] > │ v0 │
00:00:39 #5929 [Verbose] > │ and method2 (v0 : float, v1 : UH2, v2 : UH0) : UH0 = │
00:00:39 #5930 [Verbose] > │ match v1 with │
00:00:39 #5931 [Verbose] > │ | UH2_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, │
00:00:39 #5932 [Verbose] > │ v17, v18, v19, v20, v21) -> (* StreamCons *) │
00:00:39 #5933 [Verbose] > │ let v22 : UH2 = v21 () │
00:00:39 #5934 [Verbose] > │ let v23 : UH0 = method2(v0, v22, v2) │
00:00:39 #5935 [Verbose] > │ let v24 : float = v0 * v18 │
00:00:39 #5936 [Verbose] > │ let v25 : float = v0 * v19 │
00:00:39 #5937 [Verbose] > │ let v26 : float = v0 * v20 │
00:00:39 #5938 [Verbose] > │ let v27 : float = v5 + v24 │
00:00:39 #5939 [Verbose] > │ let v28 : float = v6 + v25 │
00:00:39 #5940 [Verbose] > │ let v29 : float = v7 + v26 │
00:00:39 #5941 [Verbose] > │ let v30 : (unit -> UH0) = closure7(v23) │
00:00:39 #5942 [Verbose] > │ UH0_0(v12, v13, v27, v28, v29, v17, v18, v19, v20, v30) │
00:00:39 #5943 [Verbose] > │ | UH2_1 -> (* StreamNil *) │
00:00:39 #5944 [Verbose] > │ v2 │
00:00:39 #5945 [Verbose] > │ and closure2 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 = │
00:00:39 #5946 [Verbose] > │ let v3 : UH1 = v1 v2 │
00:00:39 #5947 [Verbose] > │ let v45 : UH0 = │
00:00:39 #5948 [Verbose] > │ match v3 with │
00:00:39 #5949 [Verbose] > │ | UH1_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons │
00:00:39 #5950 [Verbose] > │ *) │
00:00:39 #5951 [Verbose] > │ match v2 with │
00:00:39 #5952 [Verbose] > │ | UH0_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:00:39 #5953 [Verbose] > │ StreamCons *) │
00:00:39 #5954 [Verbose] > │ let v24 : float = v9 * v0 │
00:00:39 #5955 [Verbose] > │ let v25 : float = v19 + v24 │
00:00:39 #5956 [Verbose] > │ let v26 : float = v0 * v6 │
00:00:39 #5957 [Verbose] > │ let v27 : float = v0 * v7 │
00:00:39 #5958 [Verbose] > │ let v28 : float = v0 * v8 │
00:00:39 #5959 [Verbose] > │ let v29 : float = v16 + v26 │
00:00:39 #5960 [Verbose] > │ let v30 : float = v17 + v27 │
00:00:39 #5961 [Verbose] > │ let v31 : float = v18 + v28 │
00:00:39 #5962 [Verbose] > │ let v32 : float = v0 * v10 │
00:00:39 #5963 [Verbose] > │ let v33 : float = v0 * v11 │
00:00:39 #5964 [Verbose] > │ let v34 : float = v0 * v12 │
00:00:39 #5965 [Verbose] > │ let v35 : float = v20 + v32 │
00:00:39 #5966 [Verbose] > │ let v36 : float = v21 + v33 │
00:00:39 #5967 [Verbose] > │ let v37 : float = v22 + v34 │
00:00:39 #5968 [Verbose] > │ let v38 : (unit -> UH0) = closure3(v0, v23, v13) │
00:00:39 #5969 [Verbose] > │ UH0_0(v14, v15, v29, v30, v31, v25, v35, v36, v37, v38) │
00:00:39 #5970 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #5971 [Verbose] > │ UH0_1 │
00:00:39 #5972 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #5973 [Verbose] > │ UH0_1 │
00:00:39 #5974 [Verbose] > │ let v46 : (unit -> UH0) = closure4(v45) │
00:00:39 #5975 [Verbose] > │ let v47 : (unit -> UH0) = method1(v45, v46) │
00:00:39 #5976 [Verbose] > │ let v48 : UH0 = v47 () │
00:00:39 #5977 [Verbose] > │ let v76 : UH2 = │
00:00:39 #5978 [Verbose] > │ match v2 with │
00:00:39 #5979 [Verbose] > │ | UH0_0(v49, v50, v51, v52, v53, v54, v55, v56, v57, v58) -> (* │
00:00:39 #5980 [Verbose] > │ StreamCons *) │
00:00:39 #5981 [Verbose] > │ match v48 with │
00:00:39 #5982 [Verbose] > │ | UH0_0(v59, v60, v61, v62, v63, v64, v65, v66, v67, v68) -> (* │
00:00:39 #5983 [Verbose] > │ StreamCons *) │
00:00:39 #5984 [Verbose] > │ let v69 : (unit -> UH2) = closure6(v68, v58) │
00:00:39 #5985 [Verbose] > │ UH2_0(v49, v50, v51, v52, v53, v54, v55, v56, v57, v59, v60, │
00:00:39 #5986 [Verbose] > │ v61, v62, v63, v64, v65, v66, v67, v69) │
00:00:39 #5987 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #5988 [Verbose] > │ UH2_1 │
00:00:39 #5989 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #5990 [Verbose] > │ UH2_1 │
00:00:39 #5991 [Verbose] > │ let v77 : UH0 = UH0_1 │
00:00:39 #5992 [Verbose] > │ let v78 : UH0 = method2(v0, v76, v77) │
00:00:39 #5993 [Verbose] > │ v78 │
00:00:39 #5994 [Verbose] > │ and closure1 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) = │
00:00:39 #5995 [Verbose] > │ closure2(v0, v1) │
00:00:39 #5996 [Verbose] > │ and closure0 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) = │
00:00:39 #5997 [Verbose] > │ closure1(v0) │
00:00:39 #5998 [Verbose] > │ and closure9 (v0 : UH3) () : UH3 = │
00:00:39 #5999 [Verbose] > │ v0 │
00:00:39 #6000 [Verbose] > │ and method3 (v0 : UH0, v1 : UH3, v2 : int32) : struct (UH3 * int32) = │
00:00:39 #6001 [Verbose] > │ match v0 with │
00:00:39 #6002 [Verbose] > │ | UH0_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons *) │
00:00:39 #6003 [Verbose] > │ let v13 : int32 = v2 + 1 │
00:00:39 #6004 [Verbose] > │ let v14 : UH0 = v12 () │
00:00:39 #6005 [Verbose] > │ let v15 : (unit -> UH3) = closure9(v1) │
00:00:39 #6006 [Verbose] > │ let v16 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v15) │
00:00:39 #6007 [Verbose] > │ method3(v14, v16, v13) │
00:00:39 #6008 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #6009 [Verbose] > │ struct (v1, v2) │
00:00:39 #6010 [Verbose] > │ and closure10 (v0 : UH3) () : UH3 = │
00:00:39 #6011 [Verbose] > │ v0 │
00:00:39 #6012 [Verbose] > │ and method4 (v0 : UH3, v1 : UH3) : UH3 = │
00:00:39 #6013 [Verbose] > │ match v0 with │
00:00:39 #6014 [Verbose] > │ | UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons │
00:00:39 #6015 [Verbose] > │ *) │
00:00:39 #6016 [Verbose] > │ let v13 : UH3 = v12 () │
00:00:39 #6017 [Verbose] > │ let v14 : (unit -> UH3) = closure10(v1) │
00:00:39 #6018 [Verbose] > │ let v15 : UH3 = UH3_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v14) │
00:00:39 #6019 [Verbose] > │ method4(v13, v15) │
00:00:39 #6020 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:39 #6021 [Verbose] > │ v1 │
00:00:39 #6022 [Verbose] > │ and method6 (v0 : int32, v1 : UH0) : US2 = │
00:00:39 #6023 [Verbose] > │ match v1 with │
00:00:39 #6024 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* StreamCons *) │
00:00:39 #6025 [Verbose] > │ let v12 : bool = v0 <= 0 │
00:00:39 #6026 [Verbose] > │ if v12 then │
00:00:39 #6027 [Verbose] > │ US2_1(v2, v3, v4, v5, v6, v7, v8, v9, v10) │
00:00:39 #6028 [Verbose] > │ else │
00:00:39 #6029 [Verbose] > │ let v14 : int32 = v0 - 1 │
00:00:39 #6030 [Verbose] > │ let v15 : UH0 = v11 () │
00:00:39 #6031 [Verbose] > │ method6(v14, v15) │
00:00:39 #6032 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #6033 [Verbose] > │ US2_0 │
00:00:39 #6034 [Verbose] > │ and closure11 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, │
00:00:39 #6035 [Verbose] > │ v5 : float, v6 : float, v7 : float, v8 : float) struct (v9 : float, v10 : │
00:00:39 #6036 [Verbose] > │ float, v11 : float, v12 : float, v13 : float, v14 : float, v15 : float, v16 │
00:00:39 #6037 [Verbose] > │ : float, v17 : float) : struct (float * float * float) = │
00:00:39 #6038 [Verbose] > │ let v18 : float = -1.0 * v2 │
00:00:39 #6039 [Verbose] > │ let v19 : float = -1.0 * v3 │
00:00:39 #6040 [Verbose] > │ let v20 : float = -1.0 * v4 │
00:00:39 #6041 [Verbose] > │ let v21 : float = v11 + v18 │
00:00:39 #6042 [Verbose] > │ let v22 : float = v12 + v19 │
00:00:39 #6043 [Verbose] > │ let v23 : float = v13 + v20 │
00:00:39 #6044 [Verbose] > │ let v24 : float = v21 * v21 │
00:00:39 #6045 [Verbose] > │ let v25 : float = v22 * v22 │
00:00:39 #6046 [Verbose] > │ let v26 : float = v24 + v25 │
00:00:39 #6047 [Verbose] > │ let v27 : float = v23 * v23 │
00:00:39 #6048 [Verbose] > │ let v28 : float = v26 + v27 │
00:00:39 #6049 [Verbose] > │ let v29 : float = sqrt v28 │
00:00:39 #6050 [Verbose] > │ let v30 : bool = v29 >= 0.06 │
00:00:39 #6051 [Verbose] > │ let v33 : float = │
00:00:39 #6052 [Verbose] > │ if v30 then │
00:00:39 #6053 [Verbose] > │ 0.0 │
00:00:39 #6054 [Verbose] > │ else │
00:00:39 #6055 [Verbose] > │ let v31 : float = v29 - 0.06 │
00:00:39 #6056 [Verbose] > │ let v32 : float = -30.0 * v31 │
00:00:39 #6057 [Verbose] > │ v32 │
00:00:39 #6058 [Verbose] > │ let v34 : float = v33 * v21 │
00:00:39 #6059 [Verbose] > │ let v35 : float = v33 * v22 │
00:00:39 #6060 [Verbose] > │ let v36 : float = v33 * v23 │
00:00:39 #6061 [Verbose] > │ let v37 : float = v34 / v29 │
00:00:39 #6062 [Verbose] > │ let v38 : float = v35 / v29 │
00:00:39 #6063 [Verbose] > │ let v39 : float = v36 / v29 │
00:00:39 #6064 [Verbose] > │ struct (v37, v38, v39) │
00:00:39 #6065 [Verbose] > │ and closure12 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │
00:00:39 #6066 [Verbose] > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:39 #6067 [Verbose] > │ float * float) = │
00:00:39 #6068 [Verbose] > │ struct (0.0, 0.0, 0.0) │
00:00:39 #6069 [Verbose] > │ and closure13 (v0 : UH1) () : UH1 = │
00:00:39 #6070 [Verbose] > │ v0 │
00:00:39 #6071 [Verbose] > │ and method5 (v0 : UH0, v1 : UH3, v2 : UH1) : UH1 = │
00:00:39 #6072 [Verbose] > │ match v1 with │
00:00:39 #6073 [Verbose] > │ | UH3_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons │
00:00:39 #6074 [Verbose] > │ *) │
00:00:39 #6075 [Verbose] > │ let v14 : UH3 = v13 () │
00:00:39 #6076 [Verbose] > │ let v15 : UH1 = method5(v0, v14, v2) │
00:00:39 #6077 [Verbose] > │ let v16 : bool = v3 = 0 │
00:00:39 #6078 [Verbose] > │ let v52 : US1 = │
00:00:39 #6079 [Verbose] > │ if v16 then │
00:00:39 #6080 [Verbose] > │ let v17 : int32 = 1 │
00:00:39 #6081 [Verbose] > │ let v18 : US2 = method6(v17, v0) │
00:00:39 #6082 [Verbose] > │ match v18 with │
00:00:39 #6083 [Verbose] > │ | US2_0 -> (* None *) │
00:00:39 #6084 [Verbose] > │ US1_0 │
00:00:39 #6085 [Verbose] > │ | US2_1(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* │
00:00:39 #6086 [Verbose] > │ Some *) │
00:00:39 #6087 [Verbose] > │ let v28 : (struct (float * float * float * float * float │
00:00:39 #6088 [Verbose] > │ * float * float * float * float) -> struct (float * float * float)) = │
00:00:39 #6089 [Verbose] > │ closure11(v19, v20, v21, v22, v23, v24, v25, v26, v27) │
00:00:39 #6090 [Verbose] > │ US1_1(v28) │
00:00:39 #6091 [Verbose] > │ else │
00:00:39 #6092 [Verbose] > │ let v33 : bool = v3 = 1 │
00:00:39 #6093 [Verbose] > │ if v33 then │
00:00:39 #6094 [Verbose] > │ let v34 : int32 = 0 │
00:00:39 #6095 [Verbose] > │ let v35 : US2 = method6(v34, v0) │
00:00:39 #6096 [Verbose] > │ match v35 with │
00:00:39 #6097 [Verbose] > │ | US2_0 -> (* None *) │
00:00:39 #6098 [Verbose] > │ US1_0 │
00:00:39 #6099 [Verbose] > │ | US2_1(v36, v37, v38, v39, v40, v41, v42, v43, v44) -> │
00:00:39 #6100 [Verbose] > │ (* Some *) │
00:00:39 #6101 [Verbose] > │ let v45 : (struct (float * float * float * float * │
00:00:39 #6102 [Verbose] > │ float * float * float * float * float) -> struct (float * float * float)) = │
00:00:39 #6103 [Verbose] > │ closure11(v36, v37, v38, v39, v40, v41, v42, v43, v44) │
00:00:39 #6104 [Verbose] > │ US1_1(v45) │
00:00:39 #6105 [Verbose] > │ else │
00:00:39 #6106 [Verbose] > │ US1_0 │
00:00:39 #6107 [Verbose] > │ let v56 : (struct (float * float * float * float * float * float * │
00:00:39 #6108 [Verbose] > │ float * float * float) -> struct (float * float * float)) = │
00:00:39 #6109 [Verbose] > │ match v52 with │
00:00:39 #6110 [Verbose] > │ | US1_0 -> (* None *) │
00:00:39 #6111 [Verbose] > │ closure12() │
00:00:39 #6112 [Verbose] > │ | US1_1(v53) -> (* Some *) │
00:00:39 #6113 [Verbose] > │ v53 │
00:00:39 #6114 [Verbose] > │ let struct (v57 : float, v58 : float, v59 : float) = v56 struct (v4, │
00:00:39 #6115 [Verbose] > │ v5, v6, v7, v8, v9, v10, v11, v12) │
00:00:39 #6116 [Verbose] > │ let v60 : float = v57 / v5 │
00:00:39 #6117 [Verbose] > │ let v61 : float = v58 / v5 │
00:00:39 #6118 [Verbose] > │ let v62 : float = v59 / v5 │
00:00:39 #6119 [Verbose] > │ let v63 : (unit -> UH1) = closure13(v15) │
00:00:39 #6120 [Verbose] > │ UH1_0(0.0, 0.0, v10, v11, v12, 1.0, v60, v61, v62, v63) │
00:00:39 #6121 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:39 #6122 [Verbose] > │ v2 │
00:00:39 #6123 [Verbose] > │ and closure8 () (v0 : UH0) : UH1 = │
00:00:39 #6124 [Verbose] > │ let v1 : UH3 = UH3_1 │
00:00:39 #6125 [Verbose] > │ let v2 : int32 = 0 │
00:00:39 #6126 [Verbose] > │ let struct (v3 : UH3, v4 : int32) = method3(v0, v1, v2) │
00:00:39 #6127 [Verbose] > │ let v5 : UH3 = UH3_1 │
00:00:39 #6128 [Verbose] > │ let v6 : UH3 = method4(v3, v5) │
00:00:39 #6129 [Verbose] > │ let v7 : UH1 = UH1_1 │
00:00:39 #6130 [Verbose] > │ let v8 : UH1 = method5(v0, v6, v7) │
00:00:39 #6131 [Verbose] > │ v8 │
00:00:39 #6132 [Verbose] > │ and method8 (v0 : int32, v1 : int32) : UH5 = │
00:00:39 #6133 [Verbose] > │ let v2 : bool = v1 < v0 │
00:00:39 #6134 [Verbose] > │ if v2 then │
00:00:39 #6135 [Verbose] > │ let v3 : int32 = v1 + 1 │
00:00:39 #6136 [Verbose] > │ let v4 : UH5 = method8(v0, v3) │
00:00:39 #6137 [Verbose] > │ UH5_0(v1, v4) │
00:00:39 #6138 [Verbose] > │ else │
00:00:39 #6139 [Verbose] > │ UH5_1 │
00:00:39 #6140 [Verbose] > │ and closure15 () () : UH0 = │
00:00:39 #6141 [Verbose] > │ UH0_1 │
00:00:39 #6142 [Verbose] > │ and closure14 () () : UH0 = │
00:00:39 #6143 [Verbose] > │ let v0 : (unit -> UH0) = closure15() │
00:00:39 #6144 [Verbose] > │ UH0_0(0.0, 0.16, 1.0, 0.02, 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:39 #6145 [Verbose] > │ and method9 (v0 : (UH0 -> UH0), v1 : UH5, v2 : UH0) : UH0 = │
00:00:39 #6146 [Verbose] > │ match v1 with │
00:00:39 #6147 [Verbose] > │ | UH5_0(v3, v4) -> (* Cons *) │
00:00:39 #6148 [Verbose] > │ let v5 : (unit -> UH0) = closure4(v2) │
00:00:39 #6149 [Verbose] > │ let v6 : (unit -> UH0) = method1(v2, v5) │
00:00:39 #6150 [Verbose] > │ let v7 : UH0 = v6 () │
00:00:39 #6151 [Verbose] > │ let v8 : UH0 = v0 v7 │
00:00:39 #6152 [Verbose] > │ method9(v0, v4, v8) │
00:00:39 #6153 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:39 #6154 [Verbose] > │ v2 │
00:00:39 #6155 [Verbose] > │ and method10 (v0 : UH4, v1 : UH4) : UH4 = │
00:00:39 #6156 [Verbose] > │ match v0 with │
00:00:39 #6157 [Verbose] > │ | UH4_0(v2, v3) -> (* Cons *) │
00:00:39 #6158 [Verbose] > │ let v4 : UH4 = UH4_0(v2, v1) │
00:00:39 #6159 [Verbose] > │ method10(v3, v4) │
00:00:39 #6160 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:39 #6161 [Verbose] > │ v1 │
00:00:39 #6162 [Verbose] > │ and method7 (v0 : (UH0 -> UH0), v1 : UH4, v2 : int32) : UH4 = │
00:00:39 #6163 [Verbose] > │ let v3 : int32 = 0 │
00:00:39 #6164 [Verbose] > │ let v4 : UH5 = method8(v2, v3) │
00:00:39 #6165 [Verbose] > │ let v5 : float = 0.0 │
00:00:39 #6166 [Verbose] > │ let v6 : float = 0.16 │
00:00:39 #6167 [Verbose] > │ let v7 : float = 0.0 │
00:00:39 #6168 [Verbose] > │ let v8 : float = 0.0 │
00:00:39 #6169 [Verbose] > │ let v9 : float = 0.0 │
00:00:39 #6170 [Verbose] > │ let v10 : float = 0.0 │
00:00:39 #6171 [Verbose] > │ let v11 : float = 0.2 │
00:00:39 #6172 [Verbose] > │ let v12 : float = 0.0 │
00:00:39 #6173 [Verbose] > │ let v13 : float = 0.0 │
00:00:39 #6174 [Verbose] > │ let v14 : (unit -> UH0) = closure14() │
00:00:39 #6175 [Verbose] > │ let v15 : UH0 = UH0_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) │
00:00:39 #6176 [Verbose] > │ let v16 : UH0 = method9(v0, v4, v15) │
00:00:39 #6177 [Verbose] > │ let v17 : int32 = 0 │
00:00:39 #6178 [Verbose] > │ let v18 : US2 = method6(v17, v16) │
00:00:39 #6179 [Verbose] > │ let v30 : bool = │
00:00:39 #6180 [Verbose] > │ match v18 with │
00:00:39 #6181 [Verbose] > │ | US2_0 -> (* None *) │
00:00:39 #6182 [Verbose] > │ false │
00:00:39 #6183 [Verbose] > │ | US2_1(v19, v20, v21, v22, v23, v24, v25, v26, v27) -> (* Some *) │
00:00:39 #6184 [Verbose] > │ let v28 : bool = v24 <= 10.0 │
00:00:39 #6185 [Verbose] > │ v28 │
00:00:39 #6186 [Verbose] > │ if v30 then │
00:00:39 #6187 [Verbose] > │ let v31 : UH4 = UH4_0(v16, v1) │
00:00:39 #6188 [Verbose] > │ let v32 : int32 = v2 + 1 │
00:00:39 #6189 [Verbose] > │ method7(v0, v31, v32) │
00:00:39 #6190 [Verbose] > │ else │
00:00:39 #6191 [Verbose] > │ let v34 : UH4 = UH4_1 │
00:00:39 #6192 [Verbose] > │ method10(v1, v34) │
00:00:39 #6193 [Verbose] > │ and closure16 (v0 : UH7) () : UH7 = │
00:00:39 #6194 [Verbose] > │ v0 │
00:00:39 #6195 [Verbose] > │ and method12 (v0 : UH0, v1 : UH7) : UH7 = │
00:00:39 #6196 [Verbose] > │ match v0 with │
00:00:39 #6197 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* StreamCons *) │
00:00:39 #6198 [Verbose] > │ let v12 : UH0 = v11 () │
00:00:39 #6199 [Verbose] > │ let v13 : UH7 = method12(v12, v1) │
00:00:39 #6200 [Verbose] > │ let v14 : float = v8 * v8 │
00:00:39 #6201 [Verbose] > │ let v15 : float = v9 * v9 │
00:00:39 #6202 [Verbose] > │ let v16 : float = v14 + v15 │
00:00:39 #6203 [Verbose] > │ let v17 : float = v10 * v10 │
00:00:39 #6204 [Verbose] > │ let v18 : float = v16 + v17 │
00:00:39 #6205 [Verbose] > │ let v19 : float = sqrt v18 │
00:00:39 #6206 [Verbose] > │ let v20 : float = 0.5 * v3 │
00:00:39 #6207 [Verbose] > │ let v21 : float = v19 ** 2.0 │
00:00:39 #6208 [Verbose] > │ let v22 : float = v20 * v21 │
00:00:39 #6209 [Verbose] > │ let v23 : (unit -> UH7) = closure16(v13) │
00:00:39 #6210 [Verbose] > │ UH7_0(v22, v23) │
00:00:39 #6211 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #6212 [Verbose] > │ v1 │
00:00:39 #6213 [Verbose] > │ and method13 (v0 : UH7, v1 : float) : float = │
00:00:39 #6214 [Verbose] > │ match v0 with │
00:00:39 #6215 [Verbose] > │ | UH7_0(v2, v3) -> (* StreamCons *) │
00:00:39 #6216 [Verbose] > │ let v4 : float = v1 + v2 │
00:00:39 #6217 [Verbose] > │ let v5 : UH7 = v3 () │
00:00:39 #6218 [Verbose] > │ method13(v5, v4) │
00:00:39 #6219 [Verbose] > │ | UH7_1 -> (* StreamNil *) │
00:00:39 #6220 [Verbose] > │ v1 │
00:00:39 #6221 [Verbose] > │ and method11 (v0 : UH4, v1 : UH6) : UH6 = │
00:00:39 #6222 [Verbose] > │ match v0 with │
00:00:39 #6223 [Verbose] > │ | UH4_0(v2, v3) -> (* Cons *) │
00:00:39 #6224 [Verbose] > │ let v4 : UH6 = method11(v3, v1) │
00:00:39 #6225 [Verbose] > │ let v5 : int32 = 0 │
00:00:39 #6226 [Verbose] > │ let v6 : US2 = method6(v5, v2) │
00:00:39 #6227 [Verbose] > │ let v23 : US3 = │
00:00:39 #6228 [Verbose] > │ match v6 with │
00:00:39 #6229 [Verbose] > │ | US2_0 -> (* None *) │
00:00:39 #6230 [Verbose] > │ US3_0 │
00:00:39 #6231 [Verbose] > │ | US2_1(v7, v8, v9, v10, v11, v12, v13, v14, v15) -> (* Some *) │
00:00:39 #6232 [Verbose] > │ let v16 : UH7 = UH7_1 │
00:00:39 #6233 [Verbose] > │ let v17 : UH7 = method12(v2, v16) │
00:00:39 #6234 [Verbose] > │ let v18 : float = 0.0 │
00:00:39 #6235 [Verbose] > │ let v19 : float = method13(v17, v18) │
00:00:39 #6236 [Verbose] > │ US3_1(v12, v19) │
00:00:39 #6237 [Verbose] > │ UH6_0(v23, v4) │
00:00:39 #6238 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:39 #6239 [Verbose] > │ v1 │
00:00:39 #6240 [Verbose] > │ and method14 (v0 : UH6, v1 : UH8) : UH8 = │
00:00:39 #6241 [Verbose] > │ match v0 with │
00:00:39 #6242 [Verbose] > │ | UH6_0(v2, v3) -> (* Cons *) │
00:00:39 #6243 [Verbose] > │ let v4 : UH8 = method14(v3, v1) │
00:00:39 #6244 [Verbose] > │ match v2 with │
00:00:39 #6245 [Verbose] > │ | US3_0 -> (* None *) │
00:00:39 #6246 [Verbose] > │ v4 │
00:00:39 #6247 [Verbose] > │ | US3_1(v5, v6) -> (* Some *) │
00:00:39 #6248 [Verbose] > │ UH8_0(v5, v6, v4) │
00:00:39 #6249 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:39 #6250 [Verbose] > │ v1 │
00:00:39 #6251 [Verbose] > │ and method15 (v0 : UH8, v1 : UH9, v2 : UH9) : struct (UH9 * UH9) = │
00:00:39 #6252 [Verbose] > │ match v0 with │
00:00:39 #6253 [Verbose] > │ | UH8_0(v3, v4, v5) -> (* Cons *) │
00:00:39 #6254 [Verbose] > │ let v6 : UH9 = UH9_0(v3, v1) │
00:00:39 #6255 [Verbose] > │ let v7 : UH9 = UH9_0(v4, v2) │
00:00:39 #6256 [Verbose] > │ method15(v5, v6, v7) │
00:00:39 #6257 [Verbose] > │ | UH8_1 -> (* Nil *) │
00:00:39 #6258 [Verbose] > │ struct (v1, v2) │
00:00:39 #6259 [Verbose] > │ and method16 (v0 : UH9, v1 : UH9) : UH9 = │
00:00:39 #6260 [Verbose] > │ match v0 with │
00:00:39 #6261 [Verbose] > │ | UH9_0(v2, v3) -> (* Cons *) │
00:00:39 #6262 [Verbose] > │ let v4 : UH9 = UH9_0(v2, v1) │
00:00:39 #6263 [Verbose] > │ method16(v3, v4) │
00:00:39 #6264 [Verbose] > │ | UH9_1 -> (* Nil *) │
00:00:39 #6265 [Verbose] > │ v1 │
00:00:39 #6266 [Verbose] > │ and closure20 (v0 : (unit -> UH1), v1 : (unit -> UH1)) () : UH1 = │
00:00:39 #6267 [Verbose] > │ let v2 : UH1 = v1 () │
00:00:39 #6268 [Verbose] > │ let v3 : UH1 = v0 () │
00:00:39 #6269 [Verbose] > │ match v2 with │
00:00:39 #6270 [Verbose] > │ | UH1_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *) │
00:00:39 #6271 [Verbose] > │ match v3 with │
00:00:39 #6272 [Verbose] > │ | UH1_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:00:39 #6273 [Verbose] > │ StreamCons *) │
00:00:39 #6274 [Verbose] > │ let v24 : float = v4 + v14 │
00:00:39 #6275 [Verbose] > │ let v25 : float = v5 + v15 │
00:00:39 #6276 [Verbose] > │ let v26 : float = v9 + v19 │
00:00:39 #6277 [Verbose] > │ let v27 : float = v6 + v16 │
00:00:39 #6278 [Verbose] > │ let v28 : float = v7 + v17 │
00:00:39 #6279 [Verbose] > │ let v29 : float = v8 + v18 │
00:00:39 #6280 [Verbose] > │ let v30 : float = v10 + v20 │
00:00:39 #6281 [Verbose] > │ let v31 : float = v11 + v21 │
00:00:39 #6282 [Verbose] > │ let v32 : float = v12 + v22 │
00:00:39 #6283 [Verbose] > │ let v33 : (unit -> UH1) = closure20(v23, v13) │
00:00:39 #6284 [Verbose] > │ UH1_0(v24, v25, v27, v28, v29, v26, v30, v31, v32, v33) │
00:00:39 #6285 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6286 [Verbose] > │ UH1_1 │
00:00:39 #6287 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6288 [Verbose] > │ UH1_1 │
00:00:39 #6289 [Verbose] > │ and closure19 (v0 : float, v1 : (UH0 -> UH1)) (v2 : UH0) : UH0 = │
00:00:39 #6290 [Verbose] > │ let v3 : UH1 = v1 v2 │
00:00:39 #6291 [Verbose] > │ let v4 : float = v0 / 2.0 │
00:00:39 #6292 [Verbose] > │ let v46 : UH0 = │
00:00:39 #6293 [Verbose] > │ match v3 with │
00:00:39 #6294 [Verbose] > │ | UH1_0(v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* │
00:00:39 #6295 [Verbose] > │ StreamCons *) │
00:00:39 #6296 [Verbose] > │ match v2 with │
00:00:39 #6297 [Verbose] > │ | UH0_0(v15, v16, v17, v18, v19, v20, v21, v22, v23, v24) -> (* │
00:00:39 #6298 [Verbose] > │ StreamCons *) │
00:00:39 #6299 [Verbose] > │ let v25 : float = v10 * v4 │
00:00:39 #6300 [Verbose] > │ let v26 : float = v20 + v25 │
00:00:39 #6301 [Verbose] > │ let v27 : float = v4 * v7 │
00:00:39 #6302 [Verbose] > │ let v28 : float = v4 * v8 │
00:00:39 #6303 [Verbose] > │ let v29 : float = v4 * v9 │
00:00:39 #6304 [Verbose] > │ let v30 : float = v17 + v27 │
00:00:39 #6305 [Verbose] > │ let v31 : float = v18 + v28 │
00:00:39 #6306 [Verbose] > │ let v32 : float = v19 + v29 │
00:00:39 #6307 [Verbose] > │ let v33 : float = v4 * v11 │
00:00:39 #6308 [Verbose] > │ let v34 : float = v4 * v12 │
00:00:39 #6309 [Verbose] > │ let v35 : float = v4 * v13 │
00:00:39 #6310 [Verbose] > │ let v36 : float = v21 + v33 │
00:00:39 #6311 [Verbose] > │ let v37 : float = v22 + v34 │
00:00:39 #6312 [Verbose] > │ let v38 : float = v23 + v35 │
00:00:39 #6313 [Verbose] > │ let v39 : (unit -> UH0) = closure3(v4, v24, v14) │
00:00:39 #6314 [Verbose] > │ UH0_0(v15, v16, v30, v31, v32, v26, v36, v37, v38, v39) │
00:00:39 #6315 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #6316 [Verbose] > │ UH0_1 │
00:00:39 #6317 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6318 [Verbose] > │ UH0_1 │
00:00:39 #6319 [Verbose] > │ let v47 : (unit -> UH0) = closure4(v46) │
00:00:39 #6320 [Verbose] > │ let v48 : (unit -> UH0) = method1(v46, v47) │
00:00:39 #6321 [Verbose] > │ let v49 : UH0 = v48 () │
00:00:39 #6322 [Verbose] > │ let v50 : UH1 = v1 v49 │
00:00:39 #6323 [Verbose] > │ let v92 : UH0 = │
00:00:39 #6324 [Verbose] > │ match v50 with │
00:00:39 #6325 [Verbose] > │ | UH1_0(v51, v52, v53, v54, v55, v56, v57, v58, v59, v60) -> (* │
00:00:39 #6326 [Verbose] > │ StreamCons *) │
00:00:39 #6327 [Verbose] > │ match v2 with │
00:00:39 #6328 [Verbose] > │ | UH0_0(v61, v62, v63, v64, v65, v66, v67, v68, v69, v70) -> (* │
00:00:39 #6329 [Verbose] > │ StreamCons *) │
00:00:39 #6330 [Verbose] > │ let v71 : float = v56 * v4 │
00:00:39 #6331 [Verbose] > │ let v72 : float = v66 + v71 │
00:00:39 #6332 [Verbose] > │ let v73 : float = v4 * v53 │
00:00:39 #6333 [Verbose] > │ let v74 : float = v4 * v54 │
00:00:39 #6334 [Verbose] > │ let v75 : float = v4 * v55 │
00:00:39 #6335 [Verbose] > │ let v76 : float = v63 + v73 │
00:00:39 #6336 [Verbose] > │ let v77 : float = v64 + v74 │
00:00:39 #6337 [Verbose] > │ let v78 : float = v65 + v75 │
00:00:39 #6338 [Verbose] > │ let v79 : float = v4 * v57 │
00:00:39 #6339 [Verbose] > │ let v80 : float = v4 * v58 │
00:00:39 #6340 [Verbose] > │ let v81 : float = v4 * v59 │
00:00:39 #6341 [Verbose] > │ let v82 : float = v67 + v79 │
00:00:39 #6342 [Verbose] > │ let v83 : float = v68 + v80 │
00:00:39 #6343 [Verbose] > │ let v84 : float = v69 + v81 │
00:00:39 #6344 [Verbose] > │ let v85 : (unit -> UH0) = closure3(v4, v70, v60) │
00:00:39 #6345 [Verbose] > │ UH0_0(v61, v62, v76, v77, v78, v72, v82, v83, v84, v85) │
00:00:39 #6346 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #6347 [Verbose] > │ UH0_1 │
00:00:39 #6348 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6349 [Verbose] > │ UH0_1 │
00:00:39 #6350 [Verbose] > │ let v93 : (unit -> UH0) = closure4(v92) │
00:00:39 #6351 [Verbose] > │ let v94 : (unit -> UH0) = method1(v92, v93) │
00:00:39 #6352 [Verbose] > │ let v95 : UH0 = v94 () │
00:00:39 #6353 [Verbose] > │ let v96 : UH1 = v1 v95 │
00:00:39 #6354 [Verbose] > │ let v138 : UH0 = │
00:00:39 #6355 [Verbose] > │ match v96 with │
00:00:39 #6356 [Verbose] > │ | UH1_0(v97, v98, v99, v100, v101, v102, v103, v104, v105, v106) -> │
00:00:39 #6357 [Verbose] > │ (* StreamCons *) │
00:00:39 #6358 [Verbose] > │ match v2 with │
00:00:39 #6359 [Verbose] > │ | UH0_0(v107, v108, v109, v110, v111, v112, v113, v114, v115, │
00:00:39 #6360 [Verbose] > │ v116) -> (* StreamCons *) │
00:00:39 #6361 [Verbose] > │ let v117 : float = v102 * v0 │
00:00:39 #6362 [Verbose] > │ let v118 : float = v112 + v117 │
00:00:39 #6363 [Verbose] > │ let v119 : float = v0 * v99 │
00:00:39 #6364 [Verbose] > │ let v120 : float = v0 * v100 │
00:00:39 #6365 [Verbose] > │ let v121 : float = v0 * v101 │
00:00:39 #6366 [Verbose] > │ let v122 : float = v109 + v119 │
00:00:39 #6367 [Verbose] > │ let v123 : float = v110 + v120 │
00:00:39 #6368 [Verbose] > │ let v124 : float = v111 + v121 │
00:00:39 #6369 [Verbose] > │ let v125 : float = v0 * v103 │
00:00:39 #6370 [Verbose] > │ let v126 : float = v0 * v104 │
00:00:39 #6371 [Verbose] > │ let v127 : float = v0 * v105 │
00:00:39 #6372 [Verbose] > │ let v128 : float = v113 + v125 │
00:00:39 #6373 [Verbose] > │ let v129 : float = v114 + v126 │
00:00:39 #6374 [Verbose] > │ let v130 : float = v115 + v127 │
00:00:39 #6375 [Verbose] > │ let v131 : (unit -> UH0) = closure3(v0, v116, v106) │
00:00:39 #6376 [Verbose] > │ UH0_0(v107, v108, v122, v123, v124, v118, v128, v129, v130, │
00:00:39 #6377 [Verbose] > │ v131) │
00:00:39 #6378 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #6379 [Verbose] > │ UH0_1 │
00:00:39 #6380 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6381 [Verbose] > │ UH0_1 │
00:00:39 #6382 [Verbose] > │ let v139 : (unit -> UH0) = closure4(v138) │
00:00:39 #6383 [Verbose] > │ let v140 : (unit -> UH0) = method1(v138, v139) │
00:00:39 #6384 [Verbose] > │ let v141 : UH0 = v140 () │
00:00:39 #6385 [Verbose] > │ let v142 : UH1 = v1 v141 │
00:00:39 #6386 [Verbose] > │ let v143 : float = v0 / 6.0 │
00:00:39 #6387 [Verbose] > │ let v180 : UH1 = │
00:00:39 #6388 [Verbose] > │ match v3 with │
00:00:39 #6389 [Verbose] > │ | UH1_0(v144, v145, v146, v147, v148, v149, v150, v151, v152, v153) │
00:00:39 #6390 [Verbose] > │ -> (* StreamCons *) │
00:00:39 #6391 [Verbose] > │ match v50 with │
00:00:39 #6392 [Verbose] > │ | UH1_0(v154, v155, v156, v157, v158, v159, v160, v161, v162, │
00:00:39 #6393 [Verbose] > │ v163) -> (* StreamCons *) │
00:00:39 #6394 [Verbose] > │ let v164 : float = v144 + v154 │
00:00:39 #6395 [Verbose] > │ let v165 : float = v145 + v155 │
00:00:39 #6396 [Verbose] > │ let v166 : float = v149 + v159 │
00:00:39 #6397 [Verbose] > │ let v167 : float = v146 + v156 │
00:00:39 #6398 [Verbose] > │ let v168 : float = v147 + v157 │
00:00:39 #6399 [Verbose] > │ let v169 : float = v148 + v158 │
00:00:39 #6400 [Verbose] > │ let v170 : float = v150 + v160 │
00:00:39 #6401 [Verbose] > │ let v171 : float = v151 + v161 │
00:00:39 #6402 [Verbose] > │ let v172 : float = v152 + v162 │
00:00:39 #6403 [Verbose] > │ let v173 : (unit -> UH1) = closure20(v163, v153) │
00:00:39 #6404 [Verbose] > │ UH1_0(v164, v165, v167, v168, v169, v166, v170, v171, v172, │
00:00:39 #6405 [Verbose] > │ v173) │
00:00:39 #6406 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6407 [Verbose] > │ UH1_1 │
00:00:39 #6408 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6409 [Verbose] > │ UH1_1 │
00:00:39 #6410 [Verbose] > │ let v217 : UH1 = │
00:00:39 #6411 [Verbose] > │ match v180 with │
00:00:39 #6412 [Verbose] > │ | UH1_0(v181, v182, v183, v184, v185, v186, v187, v188, v189, v190) │
00:00:39 #6413 [Verbose] > │ -> (* StreamCons *) │
00:00:39 #6414 [Verbose] > │ match v50 with │
00:00:39 #6415 [Verbose] > │ | UH1_0(v191, v192, v193, v194, v195, v196, v197, v198, v199, │
00:00:39 #6416 [Verbose] > │ v200) -> (* StreamCons *) │
00:00:39 #6417 [Verbose] > │ let v201 : float = v181 + v191 │
00:00:39 #6418 [Verbose] > │ let v202 : float = v182 + v192 │
00:00:39 #6419 [Verbose] > │ let v203 : float = v186 + v196 │
00:00:39 #6420 [Verbose] > │ let v204 : float = v183 + v193 │
00:00:39 #6421 [Verbose] > │ let v205 : float = v184 + v194 │
00:00:39 #6422 [Verbose] > │ let v206 : float = v185 + v195 │
00:00:39 #6423 [Verbose] > │ let v207 : float = v187 + v197 │
00:00:39 #6424 [Verbose] > │ let v208 : float = v188 + v198 │
00:00:39 #6425 [Verbose] > │ let v209 : float = v189 + v199 │
00:00:39 #6426 [Verbose] > │ let v210 : (unit -> UH1) = closure20(v200, v190) │
00:00:39 #6427 [Verbose] > │ UH1_0(v201, v202, v204, v205, v206, v203, v207, v208, v209, │
00:00:39 #6428 [Verbose] > │ v210) │
00:00:39 #6429 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6430 [Verbose] > │ UH1_1 │
00:00:39 #6431 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6432 [Verbose] > │ UH1_1 │
00:00:39 #6433 [Verbose] > │ let v254 : UH1 = │
00:00:39 #6434 [Verbose] > │ match v217 with │
00:00:39 #6435 [Verbose] > │ | UH1_0(v218, v219, v220, v221, v222, v223, v224, v225, v226, v227) │
00:00:39 #6436 [Verbose] > │ -> (* StreamCons *) │
00:00:39 #6437 [Verbose] > │ match v96 with │
00:00:39 #6438 [Verbose] > │ | UH1_0(v228, v229, v230, v231, v232, v233, v234, v235, v236, │
00:00:39 #6439 [Verbose] > │ v237) -> (* StreamCons *) │
00:00:39 #6440 [Verbose] > │ let v238 : float = v218 + v228 │
00:00:39 #6441 [Verbose] > │ let v239 : float = v219 + v229 │
00:00:39 #6442 [Verbose] > │ let v240 : float = v223 + v233 │
00:00:39 #6443 [Verbose] > │ let v241 : float = v220 + v230 │
00:00:39 #6444 [Verbose] > │ let v242 : float = v221 + v231 │
00:00:39 #6445 [Verbose] > │ let v243 : float = v222 + v232 │
00:00:39 #6446 [Verbose] > │ let v244 : float = v224 + v234 │
00:00:39 #6447 [Verbose] > │ let v245 : float = v225 + v235 │
00:00:39 #6448 [Verbose] > │ let v246 : float = v226 + v236 │
00:00:39 #6449 [Verbose] > │ let v247 : (unit -> UH1) = closure20(v237, v227) │
00:00:39 #6450 [Verbose] > │ UH1_0(v238, v239, v241, v242, v243, v240, v244, v245, v246, │
00:00:39 #6451 [Verbose] > │ v247) │
00:00:39 #6452 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6453 [Verbose] > │ UH1_1 │
00:00:39 #6454 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6455 [Verbose] > │ UH1_1 │
00:00:39 #6456 [Verbose] > │ let v291 : UH1 = │
00:00:39 #6457 [Verbose] > │ match v254 with │
00:00:39 #6458 [Verbose] > │ | UH1_0(v255, v256, v257, v258, v259, v260, v261, v262, v263, v264) │
00:00:39 #6459 [Verbose] > │ -> (* StreamCons *) │
00:00:39 #6460 [Verbose] > │ match v96 with │
00:00:39 #6461 [Verbose] > │ | UH1_0(v265, v266, v267, v268, v269, v270, v271, v272, v273, │
00:00:39 #6462 [Verbose] > │ v274) -> (* StreamCons *) │
00:00:39 #6463 [Verbose] > │ let v275 : float = v255 + v265 │
00:00:39 #6464 [Verbose] > │ let v276 : float = v256 + v266 │
00:00:39 #6465 [Verbose] > │ let v277 : float = v260 + v270 │
00:00:39 #6466 [Verbose] > │ let v278 : float = v257 + v267 │
00:00:39 #6467 [Verbose] > │ let v279 : float = v258 + v268 │
00:00:39 #6468 [Verbose] > │ let v280 : float = v259 + v269 │
00:00:39 #6469 [Verbose] > │ let v281 : float = v261 + v271 │
00:00:39 #6470 [Verbose] > │ let v282 : float = v262 + v272 │
00:00:39 #6471 [Verbose] > │ let v283 : float = v263 + v273 │
00:00:39 #6472 [Verbose] > │ let v284 : (unit -> UH1) = closure20(v274, v264) │
00:00:39 #6473 [Verbose] > │ UH1_0(v275, v276, v278, v279, v280, v277, v281, v282, v283, │
00:00:39 #6474 [Verbose] > │ v284) │
00:00:39 #6475 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6476 [Verbose] > │ UH1_1 │
00:00:39 #6477 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6478 [Verbose] > │ UH1_1 │
00:00:39 #6479 [Verbose] > │ let v328 : UH1 = │
00:00:39 #6480 [Verbose] > │ match v291 with │
00:00:39 #6481 [Verbose] > │ | UH1_0(v292, v293, v294, v295, v296, v297, v298, v299, v300, v301) │
00:00:39 #6482 [Verbose] > │ -> (* StreamCons *) │
00:00:39 #6483 [Verbose] > │ match v142 with │
00:00:39 #6484 [Verbose] > │ | UH1_0(v302, v303, v304, v305, v306, v307, v308, v309, v310, │
00:00:39 #6485 [Verbose] > │ v311) -> (* StreamCons *) │
00:00:39 #6486 [Verbose] > │ let v312 : float = v292 + v302 │
00:00:39 #6487 [Verbose] > │ let v313 : float = v293 + v303 │
00:00:39 #6488 [Verbose] > │ let v314 : float = v297 + v307 │
00:00:39 #6489 [Verbose] > │ let v315 : float = v294 + v304 │
00:00:39 #6490 [Verbose] > │ let v316 : float = v295 + v305 │
00:00:39 #6491 [Verbose] > │ let v317 : float = v296 + v306 │
00:00:39 #6492 [Verbose] > │ let v318 : float = v298 + v308 │
00:00:39 #6493 [Verbose] > │ let v319 : float = v299 + v309 │
00:00:39 #6494 [Verbose] > │ let v320 : float = v300 + v310 │
00:00:39 #6495 [Verbose] > │ let v321 : (unit -> UH1) = closure20(v311, v301) │
00:00:39 #6496 [Verbose] > │ UH1_0(v312, v313, v315, v316, v317, v314, v318, v319, v320, │
00:00:39 #6497 [Verbose] > │ v321) │
00:00:39 #6498 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6499 [Verbose] > │ UH1_1 │
00:00:39 #6500 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6501 [Verbose] > │ UH1_1 │
00:00:39 #6502 [Verbose] > │ let v370 : UH0 = │
00:00:39 #6503 [Verbose] > │ match v328 with │
00:00:39 #6504 [Verbose] > │ | UH1_0(v329, v330, v331, v332, v333, v334, v335, v336, v337, v338) │
00:00:39 #6505 [Verbose] > │ -> (* StreamCons *) │
00:00:39 #6506 [Verbose] > │ match v2 with │
00:00:39 #6507 [Verbose] > │ | UH0_0(v339, v340, v341, v342, v343, v344, v345, v346, v347, │
00:00:39 #6508 [Verbose] > │ v348) -> (* StreamCons *) │
00:00:39 #6509 [Verbose] > │ let v349 : float = v334 * v143 │
00:00:39 #6510 [Verbose] > │ let v350 : float = v344 + v349 │
00:00:39 #6511 [Verbose] > │ let v351 : float = v143 * v331 │
00:00:39 #6512 [Verbose] > │ let v352 : float = v143 * v332 │
00:00:39 #6513 [Verbose] > │ let v353 : float = v143 * v333 │
00:00:39 #6514 [Verbose] > │ let v354 : float = v341 + v351 │
00:00:39 #6515 [Verbose] > │ let v355 : float = v342 + v352 │
00:00:39 #6516 [Verbose] > │ let v356 : float = v343 + v353 │
00:00:39 #6517 [Verbose] > │ let v357 : float = v143 * v335 │
00:00:39 #6518 [Verbose] > │ let v358 : float = v143 * v336 │
00:00:39 #6519 [Verbose] > │ let v359 : float = v143 * v337 │
00:00:39 #6520 [Verbose] > │ let v360 : float = v345 + v357 │
00:00:39 #6521 [Verbose] > │ let v361 : float = v346 + v358 │
00:00:39 #6522 [Verbose] > │ let v362 : float = v347 + v359 │
00:00:39 #6523 [Verbose] > │ let v363 : (unit -> UH0) = closure3(v143, v348, v338) │
00:00:39 #6524 [Verbose] > │ UH0_0(v339, v340, v354, v355, v356, v350, v360, v361, v362, │
00:00:39 #6525 [Verbose] > │ v363) │
00:00:39 #6526 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:39 #6527 [Verbose] > │ UH0_1 │
00:00:39 #6528 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:39 #6529 [Verbose] > │ UH0_1 │
00:00:39 #6530 [Verbose] > │ let v371 : (unit -> UH0) = closure4(v370) │
00:00:39 #6531 [Verbose] > │ let v372 : (unit -> UH0) = method1(v370, v371) │
00:00:39 #6532 [Verbose] > │ let v373 : UH0 = v372 () │
00:00:39 #6533 [Verbose] > │ v373 │
00:00:39 #6534 [Verbose] > │ and closure18 (v0 : float) (v1 : (UH0 -> UH1)) : (UH0 -> UH0) = │
00:00:39 #6535 [Verbose] > │ closure19(v0, v1) │
00:00:39 #6536 [Verbose] > │ and closure17 () (v0 : float) : ((UH0 -> UH1) -> (UH0 -> UH0)) = │
00:00:39 #6537 [Verbose] > │ closure18(v0) │
00:00:39 #6538 [Verbose] > │ and method17 (v0 : UH4, v1 : UH6) : UH6 = │
00:00:39 #6539 [Verbose] > │ match v0 with │
00:00:39 #6540 [Verbose] > │ | UH4_0(v2, v3) -> (* Cons *) │
00:00:39 #6541 [Verbose] > │ let v4 : UH6 = method17(v3, v1) │
00:00:39 #6542 [Verbose] > │ let v5 : int32 = 0 │
00:00:39 #6543 [Verbose] > │ let v6 : US2 = method6(v5, v2) │
00:00:39 #6544 [Verbose] > │ let v23 : US3 = │
00:00:39 #6545 [Verbose] > │ match v6 with │
00:00:39 #6546 [Verbose] > │ | US2_0 -> (* None *) │
00:00:39 #6547 [Verbose] > │ US3_0 │
00:00:39 #6548 [Verbose] > │ | US2_1(v7, v8, v9, v10, v11, v12, v13, v14, v15) -> (* Some *) │
00:00:39 #6549 [Verbose] > │ let v16 : UH7 = UH7_1 │
00:00:39 #6550 [Verbose] > │ let v17 : UH7 = method12(v2, v16) │
00:00:39 #6551 [Verbose] > │ let v18 : float = 0.0 │
00:00:39 #6552 [Verbose] > │ let v19 : float = method13(v17, v18) │
00:00:39 #6553 [Verbose] > │ US3_1(v12, v19) │
00:00:39 #6554 [Verbose] > │ UH6_0(v23, v4) │
00:00:39 #6555 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:39 #6556 [Verbose] > │ v1 │
00:00:39 #6557 [Verbose] > │ and method19 (v0 : UH9, v1 : int32) : int32 = │
00:00:39 #6558 [Verbose] > │ match v0 with │
00:00:39 #6559 [Verbose] > │ | UH9_0(v2, v3) -> (* Cons *) │
00:00:39 #6560 [Verbose] > │ let v4 : int32 = v1 + 1 │
00:00:39 #6561 [Verbose] > │ method19(v3, v4) │
00:00:39 #6562 [Verbose] > │ | UH9_1 -> (* Nil *) │
00:00:39 #6563 [Verbose] > │ v1 │
00:00:39 #6564 [Verbose] > │ and method20 (v0 : (float []), v1 : UH9, v2 : int32) : int32 = │
00:00:39 #6565 [Verbose] > │ match v1 with │
00:00:39 #6566 [Verbose] > │ | UH9_0(v3, v4) -> (* Cons *) │
00:00:39 #6567 [Verbose] > │ v0.[int v2] <- v3 │
00:00:39 #6568 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:39 #6569 [Verbose] > │ method20(v0, v4, v5) │
00:00:39 #6570 [Verbose] > │ | UH9_1 -> (* Nil *) │
00:00:39 #6571 [Verbose] > │ v2 │
00:00:39 #6572 [Verbose] > │ and method18 (v0 : UH9) : (float []) = │
00:00:39 #6573 [Verbose] > │ let v1 : int32 = 0 │
00:00:39 #6574 [Verbose] > │ let v2 : int32 = method19(v0, v1) │
00:00:39 #6575 [Verbose] > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:00:39 #6576 [Verbose] > │ let v4 : int32 = 0 │
00:00:39 #6577 [Verbose] > │ let v5 : int32 = method20(v3, v0, v4) │
00:00:39 #6578 [Verbose] > │ v3 │
00:00:39 #6579 [Verbose] > │ and method0 () : struct (string * string * string * (struct (string * (float │
00:00:39 #6580 [Verbose] > │ []) * (float [])) [])) = │
00:00:39 #6581 [Verbose] > │ let v0 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure0() │
00:00:39 #6582 [Verbose] > │ let v1 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v0 0.03 │
00:00:39 #6583 [Verbose] > │ let v2 : (UH0 -> UH1) = closure8() │
00:00:39 #6584 [Verbose] > │ let v3 : (UH0 -> UH0) = v1 v2 │
00:00:39 #6585 [Verbose] > │ let v4 : UH4 = UH4_1 │
00:00:39 #6586 [Verbose] > │ let v5 : int32 = 0 │
00:00:39 #6587 [Verbose] > │ let v6 : UH4 = method7(v3, v4, v5) │
00:00:39 #6588 [Verbose] > │ let v7 : UH6 = UH6_1 │
00:00:39 #6589 [Verbose] > │ let v8 : UH6 = method11(v6, v7) │
00:00:39 #6590 [Verbose] > │ let v9 : UH8 = UH8_1 │
00:00:39 #6591 [Verbose] > │ let v10 : UH8 = method14(v8, v9) │
00:00:39 #6592 [Verbose] > │ let v11 : UH9 = UH9_1 │
00:00:39 #6593 [Verbose] > │ let v12 : UH9 = UH9_1 │
00:00:39 #6594 [Verbose] > │ let struct (v13 : UH9, v14 : UH9) = method15(v10, v11, v12) │
00:00:39 #6595 [Verbose] > │ let v15 : UH9 = UH9_1 │
00:00:39 #6596 [Verbose] > │ let v16 : UH9 = method16(v13, v15) │
00:00:39 #6597 [Verbose] > │ let v17 : UH9 = UH9_1 │
00:00:39 #6598 [Verbose] > │ let v18 : UH9 = method16(v14, v17) │
00:00:39 #6599 [Verbose] > │ let v19 : (float -> ((UH0 -> UH1) -> (UH0 -> UH0))) = closure17() │
00:00:39 #6600 [Verbose] > │ let v20 : ((UH0 -> UH1) -> (UH0 -> UH0)) = v19 0.03 │
00:00:39 #6601 [Verbose] > │ let v21 : (UH0 -> UH0) = v20 v2 │
00:00:39 #6602 [Verbose] > │ let v22 : UH4 = UH4_1 │
00:00:39 #6603 [Verbose] > │ let v23 : int32 = 0 │
00:00:39 #6604 [Verbose] > │ let v24 : UH4 = method7(v21, v22, v23) │
00:00:39 #6605 [Verbose] > │ let v25 : UH6 = UH6_1 │
00:00:39 #6606 [Verbose] > │ let v26 : UH6 = method17(v24, v25) │
00:00:39 #6607 [Verbose] > │ let v27 : UH8 = UH8_1 │
00:00:39 #6608 [Verbose] > │ let v28 : UH8 = method14(v26, v27) │
00:00:39 #6609 [Verbose] > │ let v29 : UH9 = UH9_1 │
00:00:39 #6610 [Verbose] > │ let v30 : UH9 = UH9_1 │
00:00:39 #6611 [Verbose] > │ let struct (v31 : UH9, v32 : UH9) = method15(v28, v29, v30) │
00:00:39 #6612 [Verbose] > │ let v33 : UH9 = UH9_1 │
00:00:39 #6613 [Verbose] > │ let v34 : UH9 = method16(v31, v33) │
00:00:39 #6614 [Verbose] > │ let v35 : UH9 = UH9_1 │
00:00:39 #6615 [Verbose] > │ let v36 : UH9 = method16(v32, v35) │
00:00:39 #6616 [Verbose] > │ let v37 : (float []) = method18(v16) │
00:00:39 #6617 [Verbose] > │ let v38 : (float []) = method18(v18) │
00:00:39 #6618 [Verbose] > │ let v39 : (float []) = method18(v34) │
00:00:39 #6619 [Verbose] > │ let v40 : (float []) = method18(v36) │
00:00:39 #6620 [Verbose] > │ let v41 : string = "euler-cromer" │
00:00:39 #6621 [Verbose] > │ let v42 : string = "runge-kutta 4" │
00:00:39 #6622 [Verbose] > │ let v43 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:39 #6623 [Verbose] > │ (v41, v37, v38); struct (v42, v39, v40)|] │
00:00:39 #6624 [Verbose] > │ let v44 : string = "system kinetic energy versus time" │
00:00:39 #6625 [Verbose] > │ let v45 : string = "time (s)" │
00:00:39 #6626 [Verbose] > │ let v46 : string = "system kinetic energy (j)" │
00:00:39 #6627 [Verbose] > │ struct (v44, v45, v46, v43) │
00:00:39 #6628 [Verbose] > │ method0() │
00:00:39 #6629 [Verbose] > │ │
00:00:39 #6630 [Verbose] > │ │
00:00:39 #6631 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 #6632 [Verbose] >
00:00:39 #6633 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:39 #6634 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:39 #6635 [Verbose] > │ ### wave 2 │
00:00:39 #6636 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:39 #6637 [Verbose] >
00:00:39 #6638 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:39 #6639 [Verbose] > // // test
00:00:39 #6640 [Verbose] >
00:00:39 #6641 [Verbose] > inl linear_spring k re (particle_state st1) (particle_state st2) =
00:00:39 #6642 [Verbose] > inl r1 = st1.pos_vec
00:00:39 #6643 [Verbose] > inl r2 = st2.pos_vec
00:00:39 #6644 [Verbose] > inl r21 = r2 ^-^ r1
00:00:39 #6645 [Verbose] > inl r21mag = magnitude r21
00:00:39 #6646 [Verbose] > -k * (r21mag - re) *^ r21 ^/ r21mag
00:00:39 #6647 [Verbose] >
00:00:39 #6648 [Verbose] > inl fixed_linear_spring k re r1 =
00:00:39 #6649 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:39 #6650 [Verbose] > linear_spring k re (particle_state { default_particle_state' with pos_vec =
00:00:39 #6651 [Verbose] > r1 })
00:00:39 #6652 [Verbose] >
00:00:39 #6653 [Verbose] > inl forces_string () =
00:00:39 #6654 [Verbose] > [[
00:00:39 #6655 [Verbose] > ExternalForce (0i32, fixed_linear_spring 5384 0 (zero_vec ()))
00:00:39 #6656 [Verbose] > ExternalForce (63, fixed_linear_spring 5384 0 (0.65 *^ i_hat ()))
00:00:39 #6657 [Verbose] > ]] /@ (
00:00:39 #6658 [Verbose] > listm'.init_series 0 59 1
00:00:39 #6659 [Verbose] > |> listm.map (fun n => InternalForce (n, n + 1, linear_spring 5384 0))
00:00:39 #6660 [Verbose] > )
00:00:39 #6661 [Verbose] >
00:00:39 #6662 [Verbose] > inl string_update dt =
00:00:39 #6663 [Verbose] > update_mps (join runge_kutta_4 dt) (join forces_string ())
00:00:39 #6664 [Verbose] >
00:00:39 #6665 [Verbose] > inl string_initial_overtone n =
00:00:39 #6666 [Verbose] > inl ball_mass = 0.0008293 * 0.65 / 64
00:00:39 #6667 [Verbose] > inl (particle_state default_particle_state') = default_particle_state ()
00:00:39 #6668 [Verbose] > listm'.init_series 0.01 0.64 0.01
00:00:39 #6669 [Verbose] > |> listm.map (fun x =>
00:00:39 #6670 [Verbose] > inl y = 0.005 * sin (conv n * pi * x / 0.65)
00:00:39 #6671 [Verbose] > particle_state {
00:00:39 #6672 [Verbose] > default_particle_state' with
00:00:39 #6673 [Verbose] > mass = ball_mass
00:00:39 #6674 [Verbose] > pos_vec = x *^ i_hat () ^+^ y *^ j_hat ()
00:00:39 #6675 [Verbose] > velocity = zero_vec ()
00:00:39 #6676 [Verbose] > }
00:00:39 #6677 [Verbose] > )
00:00:39 #6678 [Verbose] > |> stream.from_list
00:00:39 #6679 [Verbose] > |> multi_particle_state
00:00:39 #6680 [Verbose] >
00:00:39 #6681 [Verbose] > let main () =
00:00:39 #6682 [Verbose] > inl ~frames = listm'.init_series 0 65 1f64 |> stream.from_list
00:00:39 #6683 [Verbose] > inl ~initial_state = string_initial_overtone 3i32
00:00:39 #6684 [Verbose] > inl frames =
00:00:39 #6685 [Verbose] > frames
00:00:39 #6686 [Verbose] > |> stream.map (fun n =>
00:00:39 #6687 [Verbose] > inl (multi_particle_state sts) =
00:00:39 #6688 [Verbose] > stream.iterate (string_update 0.000025) initial_state |>
00:00:39 #6689 [Verbose] > stream.item n
00:00:39 #6690 [Verbose] > inl x, y =
00:00:39 #6691 [Verbose] > [[ zero_vec () ]]
00:00:39 #6692 [Verbose] > /@ (sts |> stream.map (fun (particle_state st) => st.pos_vec) |>
00:00:39 #6693 [Verbose] > stream.to_list)
00:00:39 #6694 [Verbose] > /@ [[ 0.65 *^ i_hat () ]]
00:00:39 #6695 [Verbose] > |> listm.map (fun r => r.x, r.y)
00:00:39 #6696 [Verbose] > |> stream.from_list
00:00:39 #6697 [Verbose] > |> stream.unzip
00:00:39 #6698 [Verbose] > inl x : a i32 _ = x |> stream.to_list |> listm.toArray
00:00:39 #6699 [Verbose] > inl y : a i32 _ = y |> stream.to_list |> listm.toArray
00:00:39 #6700 [Verbose] > x, y
00:00:39 #6701 [Verbose] > )
00:00:39 #6702 [Verbose] >
00:00:39 #6703 [Verbose] > inl plots =
00:00:39 #6704 [Verbose] > frames
00:00:39 #6705 [Verbose] > |> stream.indexed
00:00:39 #6706 [Verbose] > |> stream.map (fun ((n : i32), (x, y)) =>
00:00:39 #6707 [Verbose] > "wave",
00:00:39 #6708 [Verbose] > "position (m)",
00:00:39 #6709 [Verbose] > "displacement (m)",
00:00:39 #6710 [Verbose] > ;[[
00:00:39 #6711 [Verbose] > ($"$\"{!n}\"" : string), x, y
00:00:39 #6712 [Verbose] > ]]
00:00:39 #6713 [Verbose] > )
00:00:39 #6714 [Verbose] >
00:00:39 #6715 [Verbose] > plots |> stream.to_list |> listm.toArray : a i32 _
00:00:39 #6716 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1547-1344-4401-4e78a40c89b2\main.spi
00:00:46 #6717 [Verbose] >
00:00:46 #6718 [Verbose] > ╭─[ 6.91s - return value ]─────────────────────────────────────────────────────╮
00:00:46 #6719 [Verbose] > │ <table><thead><tr><th><i>index</i></th><th>value</th></tr></thead><tbody><tr │
00:00:46 #6720 [Verbose] > │ ><td>0</td><td><svg width="640" height="480" viewBox="0 0 640 480" │
00:00:46 #6721 [Verbose] > │ xmlns="http://www.w3.org/2000/svg"> │
00:00:46 #6722 [Verbose] > │ <rect x="0" y="0" width="640" height="480" opacity="1" fill="#141414" │
00:00:46 #6723 [Verbose] > │ stroke="none"/> │
00:00:46 #6724 [Verbose] > │ <text x="320" y="10" dy="0.76em" text-anchor="middle" │
00:00:46 #6725 [Verbose] > │ font-family="sans-serif" font-size="9.67741935483871" opacity="1" │
00:00:46 #6726 [Verbose] > │ fill="#FFFFFF"> │
00:00:46 #6727 [Verbose] > │ wave │
00:00:46 #6728 [Verbose] > │ </text> │
00:00:46 #6729 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="62" y1="424" x2="62" │
00:00:46 #6730 [Verbose] > │ y2="75"/> │
00:00:46 #6731 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="69" y1="424" x2="69" │
00:00:46 #6732 [Verbose] > │ y2="75"/> │
00:00:46 #6733 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="77" y1="424" x2="77" │
00:00:46 #6734 [Verbose] > │ y2="75"/> │
00:00:46 #6735 [Verbose] > │ <line opacity="1" stroke="#323232" stroke-width="1" x1="85" y1="424" │
00:00:46 #6736 [Verbose] > │ x2="85... │
00:00:46 #6737 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:46 #6738 [Verbose] >
00:00:46 #6739 [Verbose] > ╭─[ 6.96s - stdout ]───────────────────────────────────────────────────────────╮
00:00:46 #6740 [Verbose] > │ type UH0 = │
00:00:46 #6741 [Verbose] > │ | UH0_0 of float * (unit -> UH0) │
00:00:46 #6742 [Verbose] > │ | UH0_1 │
00:00:46 #6743 [Verbose] > │ and UH1 = │
00:00:46 #6744 [Verbose] > │ | UH1_0 of float * float * float * float * float * float * float * float │
00:00:46 #6745 [Verbose] > │ * float * (unit -> UH1) │
00:00:46 #6746 [Verbose] > │ | UH1_1 │
00:00:46 #6747 [Verbose] > │ and UH2 = │
00:00:46 #6748 [Verbose] > │ | UH2_0 of (float []) * (float []) * (unit -> UH2) │
00:00:46 #6749 [Verbose] > │ | UH2_1 │
00:00:46 #6750 [Verbose] > │ and UH3 = │
00:00:46 #6751 [Verbose] > │ | UH3_0 of float * float * float * float * float * float * float * float │
00:00:46 #6752 [Verbose] > │ * float * (unit -> UH3) │
00:00:46 #6753 [Verbose] > │ | UH3_1 │
00:00:46 #6754 [Verbose] > │ and [<Struct>] US0 = │
00:00:46 #6755 [Verbose] > │ | US0_0 of f0_0 : UH1 │
00:00:46 #6756 [Verbose] > │ | US0_1 of f1_0 : (unit -> UH1) │
00:00:46 #6757 [Verbose] > │ and Mut0 = {mutable l0 : US0} │
00:00:46 #6758 [Verbose] > │ and [<Struct>] US1 = │
00:00:46 #6759 [Verbose] > │ | US1_0 of f0_0 : int32 * f0_1 : (struct (float * float * float * float │
00:00:46 #6760 [Verbose] > │ * float * float * float * float * float) -> struct (float * float * float)) │
00:00:46 #6761 [Verbose] > │ | US1_1 of f1_0 : int32 * f1_1 : int32 * f1_2 : (struct (float * float * │
00:00:46 #6762 [Verbose] > │ float * float * float * float * float * float * float) -> (struct (float * │
00:00:46 #6763 [Verbose] > │ float * float * float * float * float * float * float * float) -> struct │
00:00:46 #6764 [Verbose] > │ (float * float * float))) │
00:00:46 #6765 [Verbose] > │ and UH4 = │
00:00:46 #6766 [Verbose] > │ | UH4_0 of US1 * UH4 │
00:00:46 #6767 [Verbose] > │ | UH4_1 │
00:00:46 #6768 [Verbose] > │ and UH5 = │
00:00:46 #6769 [Verbose] > │ | UH5_0 of int32 * float * float * float * float * float * float * float │
00:00:46 #6770 [Verbose] > │ * float * float * (unit -> UH5) │
00:00:46 #6771 [Verbose] > │ | UH5_1 │
00:00:46 #6772 [Verbose] > │ and UH6 = │
00:00:46 #6773 [Verbose] > │ | UH6_0 of (struct (float * float * float * float * float * float * │
00:00:46 #6774 [Verbose] > │ float * float * float) -> struct (float * float * float)) * UH6 │
00:00:46 #6775 [Verbose] > │ | UH6_1 │
00:00:46 #6776 [Verbose] > │ and [<Struct>] US2 = │
00:00:46 #6777 [Verbose] > │ | US2_0 │
00:00:46 #6778 [Verbose] > │ | US2_1 of f1_0 : (struct (float * float * float * float * float * float │
00:00:46 #6779 [Verbose] > │ * float * float * float) -> struct (float * float * float)) │
00:00:46 #6780 [Verbose] > │ and [<Struct>] US3 = │
00:00:46 #6781 [Verbose] > │ | US3_0 │
00:00:46 #6782 [Verbose] > │ | US3_1 of f1_0 : float * f1_1 : float * f1_2 : float * f1_3 : float * │
00:00:46 #6783 [Verbose] > │ f1_4 : float * f1_5 : float * f1_6 : float * f1_7 : float * f1_8 : float │
00:00:46 #6784 [Verbose] > │ and UH7 = │
00:00:46 #6785 [Verbose] > │ | UH7_0 of float * float * float * UH7 │
00:00:46 #6786 [Verbose] > │ | UH7_1 │
00:00:46 #6787 [Verbose] > │ and UH8 = │
00:00:46 #6788 [Verbose] > │ | UH8_0 of UH1 * (unit -> UH8) │
00:00:46 #6789 [Verbose] > │ | UH8_1 │
00:00:46 #6790 [Verbose] > │ and [<Struct>] US4 = │
00:00:46 #6791 [Verbose] > │ | US4_0 │
00:00:46 #6792 [Verbose] > │ | US4_1 of f1_0 : UH1 │
00:00:46 #6793 [Verbose] > │ and UH9 = │
00:00:46 #6794 [Verbose] > │ | UH9_0 of float * float * float * (unit -> UH9) │
00:00:46 #6795 [Verbose] > │ | UH9_1 │
00:00:46 #6796 [Verbose] > │ and UH10 = │
00:00:46 #6797 [Verbose] > │ | UH10_0 of float * float * UH10 │
00:00:46 #6798 [Verbose] > │ | UH10_1 │
00:00:46 #6799 [Verbose] > │ and UH11 = │
00:00:46 #6800 [Verbose] > │ | UH11_0 of float * float * (unit -> UH11) │
00:00:46 #6801 [Verbose] > │ | UH11_1 │
00:00:46 #6802 [Verbose] > │ and UH12 = │
00:00:46 #6803 [Verbose] > │ | UH12_0 of float * UH12 │
00:00:46 #6804 [Verbose] > │ | UH12_1 │
00:00:46 #6805 [Verbose] > │ and UH13 = │
00:00:46 #6806 [Verbose] > │ | UH13_0 of int32 * (float []) * (float []) * (unit -> UH13) │
00:00:46 #6807 [Verbose] > │ | UH13_1 │
00:00:46 #6808 [Verbose] > │ and UH14 = │
00:00:46 #6809 [Verbose] > │ | UH14_0 of string * string * string * (struct (string * (float []) * │
00:00:46 #6810 [Verbose] > │ (float [])) []) * (unit -> UH14) │
00:00:46 #6811 [Verbose] > │ | UH14_1 │
00:00:46 #6812 [Verbose] > │ and UH15 = │
00:00:46 #6813 [Verbose] > │ | UH15_0 of string * string * string * (struct (string * (float []) * │
00:00:46 #6814 [Verbose] > │ (float [])) []) * UH15 │
00:00:46 #6815 [Verbose] > │ | UH15_1 │
00:00:46 #6816 [Verbose] > │ let rec closure65 () () : UH0 = │
00:00:46 #6817 [Verbose] > │ UH0_1 │
00:00:46 #6818 [Verbose] > │ and closure64 () () : UH0 = │
00:00:46 #6819 [Verbose] > │ let v0 : (unit -> UH0) = closure65() │
00:00:46 #6820 [Verbose] > │ UH0_0(65.0, v0) │
00:00:46 #6821 [Verbose] > │ and closure63 () () : UH0 = │
00:00:46 #6822 [Verbose] > │ let v0 : (unit -> UH0) = closure64() │
00:00:46 #6823 [Verbose] > │ UH0_0(64.0, v0) │
00:00:46 #6824 [Verbose] > │ and closure62 () () : UH0 = │
00:00:46 #6825 [Verbose] > │ let v0 : (unit -> UH0) = closure63() │
00:00:46 #6826 [Verbose] > │ UH0_0(63.0, v0) │
00:00:46 #6827 [Verbose] > │ and closure61 () () : UH0 = │
00:00:46 #6828 [Verbose] > │ let v0 : (unit -> UH0) = closure62() │
00:00:46 #6829 [Verbose] > │ UH0_0(62.0, v0) │
00:00:46 #6830 [Verbose] > │ and closure60 () () : UH0 = │
00:00:46 #6831 [Verbose] > │ let v0 : (unit -> UH0) = closure61() │
00:00:46 #6832 [Verbose] > │ UH0_0(61.0, v0) │
00:00:46 #6833 [Verbose] > │ and closure59 () () : UH0 = │
00:00:46 #6834 [Verbose] > │ let v0 : (unit -> UH0) = closure60() │
00:00:46 #6835 [Verbose] > │ UH0_0(60.0, v0) │
00:00:46 #6836 [Verbose] > │ and closure58 () () : UH0 = │
00:00:46 #6837 [Verbose] > │ let v0 : (unit -> UH0) = closure59() │
00:00:46 #6838 [Verbose] > │ UH0_0(59.0, v0) │
00:00:46 #6839 [Verbose] > │ and closure57 () () : UH0 = │
00:00:46 #6840 [Verbose] > │ let v0 : (unit -> UH0) = closure58() │
00:00:46 #6841 [Verbose] > │ UH0_0(58.0, v0) │
00:00:46 #6842 [Verbose] > │ and closure56 () () : UH0 = │
00:00:46 #6843 [Verbose] > │ let v0 : (unit -> UH0) = closure57() │
00:00:46 #6844 [Verbose] > │ UH0_0(57.0, v0) │
00:00:46 #6845 [Verbose] > │ and closure55 () () : UH0 = │
00:00:46 #6846 [Verbose] > │ let v0 : (unit -> UH0) = closure56() │
00:00:46 #6847 [Verbose] > │ UH0_0(56.0, v0) │
00:00:46 #6848 [Verbose] > │ and closure54 () () : UH0 = │
00:00:46 #6849 [Verbose] > │ let v0 : (unit -> UH0) = closure55() │
00:00:46 #6850 [Verbose] > │ UH0_0(55.0, v0) │
00:00:46 #6851 [Verbose] > │ and closure53 () () : UH0 = │
00:00:46 #6852 [Verbose] > │ let v0 : (unit -> UH0) = closure54() │
00:00:46 #6853 [Verbose] > │ UH0_0(54.0, v0) │
00:00:46 #6854 [Verbose] > │ and closure52 () () : UH0 = │
00:00:46 #6855 [Verbose] > │ let v0 : (unit -> UH0) = closure53() │
00:00:46 #6856 [Verbose] > │ UH0_0(53.0, v0) │
00:00:46 #6857 [Verbose] > │ and closure51 () () : UH0 = │
00:00:46 #6858 [Verbose] > │ let v0 : (unit -> UH0) = closure52() │
00:00:46 #6859 [Verbose] > │ UH0_0(52.0, v0) │
00:00:46 #6860 [Verbose] > │ and closure50 () () : UH0 = │
00:00:46 #6861 [Verbose] > │ let v0 : (unit -> UH0) = closure51() │
00:00:46 #6862 [Verbose] > │ UH0_0(51.0, v0) │
00:00:46 #6863 [Verbose] > │ and closure49 () () : UH0 = │
00:00:46 #6864 [Verbose] > │ let v0 : (unit -> UH0) = closure50() │
00:00:46 #6865 [Verbose] > │ UH0_0(50.0, v0) │
00:00:46 #6866 [Verbose] > │ and closure48 () () : UH0 = │
00:00:46 #6867 [Verbose] > │ let v0 : (unit -> UH0) = closure49() │
00:00:46 #6868 [Verbose] > │ UH0_0(49.0, v0) │
00:00:46 #6869 [Verbose] > │ and closure47 () () : UH0 = │
00:00:46 #6870 [Verbose] > │ let v0 : (unit -> UH0) = closure48() │
00:00:46 #6871 [Verbose] > │ UH0_0(48.0, v0) │
00:00:46 #6872 [Verbose] > │ and closure46 () () : UH0 = │
00:00:46 #6873 [Verbose] > │ let v0 : (unit -> UH0) = closure47() │
00:00:46 #6874 [Verbose] > │ UH0_0(47.0, v0) │
00:00:46 #6875 [Verbose] > │ and closure45 () () : UH0 = │
00:00:46 #6876 [Verbose] > │ let v0 : (unit -> UH0) = closure46() │
00:00:46 #6877 [Verbose] > │ UH0_0(46.0, v0) │
00:00:46 #6878 [Verbose] > │ and closure44 () () : UH0 = │
00:00:46 #6879 [Verbose] > │ let v0 : (unit -> UH0) = closure45() │
00:00:46 #6880 [Verbose] > │ UH0_0(45.0, v0) │
00:00:46 #6881 [Verbose] > │ and closure43 () () : UH0 = │
00:00:46 #6882 [Verbose] > │ let v0 : (unit -> UH0) = closure44() │
00:00:46 #6883 [Verbose] > │ UH0_0(44.0, v0) │
00:00:46 #6884 [Verbose] > │ and closure42 () () : UH0 = │
00:00:46 #6885 [Verbose] > │ let v0 : (unit -> UH0) = closure43() │
00:00:46 #6886 [Verbose] > │ UH0_0(43.0, v0) │
00:00:46 #6887 [Verbose] > │ and closure41 () () : UH0 = │
00:00:46 #6888 [Verbose] > │ let v0 : (unit -> UH0) = closure42() │
00:00:46 #6889 [Verbose] > │ UH0_0(42.0, v0) │
00:00:46 #6890 [Verbose] > │ and closure40 () () : UH0 = │
00:00:46 #6891 [Verbose] > │ let v0 : (unit -> UH0) = closure41() │
00:00:46 #6892 [Verbose] > │ UH0_0(41.0, v0) │
00:00:46 #6893 [Verbose] > │ and closure39 () () : UH0 = │
00:00:46 #6894 [Verbose] > │ let v0 : (unit -> UH0) = closure40() │
00:00:46 #6895 [Verbose] > │ UH0_0(40.0, v0) │
00:00:46 #6896 [Verbose] > │ and closure38 () () : UH0 = │
00:00:46 #6897 [Verbose] > │ let v0 : (unit -> UH0) = closure39() │
00:00:46 #6898 [Verbose] > │ UH0_0(39.0, v0) │
00:00:46 #6899 [Verbose] > │ and closure37 () () : UH0 = │
00:00:46 #6900 [Verbose] > │ let v0 : (unit -> UH0) = closure38() │
00:00:46 #6901 [Verbose] > │ UH0_0(38.0, v0) │
00:00:46 #6902 [Verbose] > │ and closure36 () () : UH0 = │
00:00:46 #6903 [Verbose] > │ let v0 : (unit -> UH0) = closure37() │
00:00:46 #6904 [Verbose] > │ UH0_0(37.0, v0) │
00:00:46 #6905 [Verbose] > │ and closure35 () () : UH0 = │
00:00:46 #6906 [Verbose] > │ let v0 : (unit -> UH0) = closure36() │
00:00:46 #6907 [Verbose] > │ UH0_0(36.0, v0) │
00:00:46 #6908 [Verbose] > │ and closure34 () () : UH0 = │
00:00:46 #6909 [Verbose] > │ let v0 : (unit -> UH0) = closure35() │
00:00:46 #6910 [Verbose] > │ UH0_0(35.0, v0) │
00:00:46 #6911 [Verbose] > │ and closure33 () () : UH0 = │
00:00:46 #6912 [Verbose] > │ let v0 : (unit -> UH0) = closure34() │
00:00:46 #6913 [Verbose] > │ UH0_0(34.0, v0) │
00:00:46 #6914 [Verbose] > │ and closure32 () () : UH0 = │
00:00:46 #6915 [Verbose] > │ let v0 : (unit -> UH0) = closure33() │
00:00:46 #6916 [Verbose] > │ UH0_0(33.0, v0) │
00:00:46 #6917 [Verbose] > │ and closure31 () () : UH0 = │
00:00:46 #6918 [Verbose] > │ let v0 : (unit -> UH0) = closure32() │
00:00:46 #6919 [Verbose] > │ UH0_0(32.0, v0) │
00:00:46 #6920 [Verbose] > │ and closure30 () () : UH0 = │
00:00:46 #6921 [Verbose] > │ let v0 : (unit -> UH0) = closure31() │
00:00:46 #6922 [Verbose] > │ UH0_0(31.0, v0) │
00:00:46 #6923 [Verbose] > │ and closure29 () () : UH0 = │
00:00:46 #6924 [Verbose] > │ let v0 : (unit -> UH0) = closure30() │
00:00:46 #6925 [Verbose] > │ UH0_0(30.0, v0) │
00:00:46 #6926 [Verbose] > │ and closure28 () () : UH0 = │
00:00:46 #6927 [Verbose] > │ let v0 : (unit -> UH0) = closure29() │
00:00:46 #6928 [Verbose] > │ UH0_0(29.0, v0) │
00:00:46 #6929 [Verbose] > │ and closure27 () () : UH0 = │
00:00:46 #6930 [Verbose] > │ let v0 : (unit -> UH0) = closure28() │
00:00:46 #6931 [Verbose] > │ UH0_0(28.0, v0) │
00:00:46 #6932 [Verbose] > │ and closure26 () () : UH0 = │
00:00:46 #6933 [Verbose] > │ let v0 : (unit -> UH0) = closure27() │
00:00:46 #6934 [Verbose] > │ UH0_0(27.0, v0) │
00:00:46 #6935 [Verbose] > │ and closure25 () () : UH0 = │
00:00:46 #6936 [Verbose] > │ let v0 : (unit -> UH0) = closure26() │
00:00:46 #6937 [Verbose] > │ UH0_0(26.0, v0) │
00:00:46 #6938 [Verbose] > │ and closure24 () () : UH0 = │
00:00:46 #6939 [Verbose] > │ let v0 : (unit -> UH0) = closure25() │
00:00:46 #6940 [Verbose] > │ UH0_0(25.0, v0) │
00:00:46 #6941 [Verbose] > │ and closure23 () () : UH0 = │
00:00:46 #6942 [Verbose] > │ let v0 : (unit -> UH0) = closure24() │
00:00:46 #6943 [Verbose] > │ UH0_0(24.0, v0) │
00:00:46 #6944 [Verbose] > │ and closure22 () () : UH0 = │
00:00:46 #6945 [Verbose] > │ let v0 : (unit -> UH0) = closure23() │
00:00:46 #6946 [Verbose] > │ UH0_0(23.0, v0) │
00:00:46 #6947 [Verbose] > │ and closure21 () () : UH0 = │
00:00:46 #6948 [Verbose] > │ let v0 : (unit -> UH0) = closure22() │
00:00:46 #6949 [Verbose] > │ UH0_0(22.0, v0) │
00:00:46 #6950 [Verbose] > │ and closure20 () () : UH0 = │
00:00:46 #6951 [Verbose] > │ let v0 : (unit -> UH0) = closure21() │
00:00:46 #6952 [Verbose] > │ UH0_0(21.0, v0) │
00:00:46 #6953 [Verbose] > │ and closure19 () () : UH0 = │
00:00:46 #6954 [Verbose] > │ let v0 : (unit -> UH0) = closure20() │
00:00:46 #6955 [Verbose] > │ UH0_0(20.0, v0) │
00:00:46 #6956 [Verbose] > │ and closure18 () () : UH0 = │
00:00:46 #6957 [Verbose] > │ let v0 : (unit -> UH0) = closure19() │
00:00:46 #6958 [Verbose] > │ UH0_0(19.0, v0) │
00:00:46 #6959 [Verbose] > │ and closure17 () () : UH0 = │
00:00:46 #6960 [Verbose] > │ let v0 : (unit -> UH0) = closure18() │
00:00:46 #6961 [Verbose] > │ UH0_0(18.0, v0) │
00:00:46 #6962 [Verbose] > │ and closure16 () () : UH0 = │
00:00:46 #6963 [Verbose] > │ let v0 : (unit -> UH0) = closure17() │
00:00:46 #6964 [Verbose] > │ UH0_0(17.0, v0) │
00:00:46 #6965 [Verbose] > │ and closure15 () () : UH0 = │
00:00:46 #6966 [Verbose] > │ let v0 : (unit -> UH0) = closure16() │
00:00:46 #6967 [Verbose] > │ UH0_0(16.0, v0) │
00:00:46 #6968 [Verbose] > │ and closure14 () () : UH0 = │
00:00:46 #6969 [Verbose] > │ let v0 : (unit -> UH0) = closure15() │
00:00:46 #6970 [Verbose] > │ UH0_0(15.0, v0) │
00:00:46 #6971 [Verbose] > │ and closure13 () () : UH0 = │
00:00:46 #6972 [Verbose] > │ let v0 : (unit -> UH0) = closure14() │
00:00:46 #6973 [Verbose] > │ UH0_0(14.0, v0) │
00:00:46 #6974 [Verbose] > │ and closure12 () () : UH0 = │
00:00:46 #6975 [Verbose] > │ let v0 : (unit -> UH0) = closure13() │
00:00:46 #6976 [Verbose] > │ UH0_0(13.0, v0) │
00:00:46 #6977 [Verbose] > │ and closure11 () () : UH0 = │
00:00:46 #6978 [Verbose] > │ let v0 : (unit -> UH0) = closure12() │
00:00:46 #6979 [Verbose] > │ UH0_0(12.0, v0) │
00:00:46 #6980 [Verbose] > │ and closure10 () () : UH0 = │
00:00:46 #6981 [Verbose] > │ let v0 : (unit -> UH0) = closure11() │
00:00:46 #6982 [Verbose] > │ UH0_0(11.0, v0) │
00:00:46 #6983 [Verbose] > │ and closure9 () () : UH0 = │
00:00:46 #6984 [Verbose] > │ let v0 : (unit -> UH0) = closure10() │
00:00:46 #6985 [Verbose] > │ UH0_0(10.0, v0) │
00:00:46 #6986 [Verbose] > │ and closure8 () () : UH0 = │
00:00:46 #6987 [Verbose] > │ let v0 : (unit -> UH0) = closure9() │
00:00:46 #6988 [Verbose] > │ UH0_0(9.0, v0) │
00:00:46 #6989 [Verbose] > │ and closure7 () () : UH0 = │
00:00:46 #6990 [Verbose] > │ let v0 : (unit -> UH0) = closure8() │
00:00:46 #6991 [Verbose] > │ UH0_0(8.0, v0) │
00:00:46 #6992 [Verbose] > │ and closure6 () () : UH0 = │
00:00:46 #6993 [Verbose] > │ let v0 : (unit -> UH0) = closure7() │
00:00:46 #6994 [Verbose] > │ UH0_0(7.0, v0) │
00:00:46 #6995 [Verbose] > │ and closure5 () () : UH0 = │
00:00:46 #6996 [Verbose] > │ let v0 : (unit -> UH0) = closure6() │
00:00:46 #6997 [Verbose] > │ UH0_0(6.0, v0) │
00:00:46 #6998 [Verbose] > │ and closure4 () () : UH0 = │
00:00:46 #6999 [Verbose] > │ let v0 : (unit -> UH0) = closure5() │
00:00:46 #7000 [Verbose] > │ UH0_0(5.0, v0) │
00:00:46 #7001 [Verbose] > │ and closure3 () () : UH0 = │
00:00:46 #7002 [Verbose] > │ let v0 : (unit -> UH0) = closure4() │
00:00:46 #7003 [Verbose] > │ UH0_0(4.0, v0) │
00:00:46 #7004 [Verbose] > │ and closure2 () () : UH0 = │
00:00:46 #7005 [Verbose] > │ let v0 : (unit -> UH0) = closure3() │
00:00:46 #7006 [Verbose] > │ UH0_0(3.0, v0) │
00:00:46 #7007 [Verbose] > │ and closure1 () () : UH0 = │
00:00:46 #7008 [Verbose] > │ let v0 : (unit -> UH0) = closure2() │
00:00:46 #7009 [Verbose] > │ UH0_0(2.0, v0) │
00:00:46 #7010 [Verbose] > │ and closure0 () () : UH0 = │
00:00:46 #7011 [Verbose] > │ let v0 : (unit -> UH0) = closure1() │
00:00:46 #7012 [Verbose] > │ UH0_0(1.0, v0) │
00:00:46 #7013 [Verbose] > │ and closure129 () () : UH1 = │
00:00:46 #7014 [Verbose] > │ UH1_1 │
00:00:46 #7015 [Verbose] > │ and closure128 () () : UH1 = │
00:00:46 #7016 [Verbose] > │ let v0 : (unit -> UH1) = closure129() │
00:00:46 #7017 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.64, 0.0007224452478461016, 0.0, 0.0, 0.0, │
00:00:46 #7018 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7019 [Verbose] > │ and closure127 () () : UH1 = │
00:00:46 #7020 [Verbose] > │ let v0 : (unit -> UH1) = closure128() │
00:00:46 #7021 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.63, 0.001429728391993452, 0.0, 0.0, 0.0, │
00:00:46 #7022 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7023 [Verbose] > │ and closure126 () () : UH1 = │
00:00:46 #7024 [Verbose] > │ let v0 : (unit -> UH1) = closure127() │
00:00:46 #7025 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.62, 0.0021070055388626528, 0.0, 0.0, 0.0, │
00:00:46 #7026 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7027 [Verbose] > │ and closure125 () () : UH1 = │
00:00:46 #7028 [Verbose] > │ let v0 : (unit -> UH1) = closure126() │
00:00:46 #7029 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.61, 0.0027400625367733585, 0.0, 0.0, 0.0, │
00:00:46 #7030 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7031 [Verbose] > │ and closure124 () () : UH1 = │
00:00:46 #7032 [Verbose] > │ let v0 : (unit -> UH1) = closure125() │
00:00:46 #7033 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.6, 0.0033156132912039783, 0.0, 0.0, 0.0, │
00:00:46 #7034 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7035 [Verbose] > │ and closure123 () () : UH1 = │
00:00:46 #7036 [Verbose] > │ let v0 : (unit -> UH1) = closure124() │
00:00:46 #7037 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.59, 0.003821578602729245, 0.0, 0.0, 0.0, │
00:00:46 #7038 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7039 [Verbose] > │ and closure122 () () : UH1 = │
00:00:46 #7040 [Verbose] > │ let v0 : (unit -> UH1) = closure123() │
00:00:46 #7041 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.5800000000000001, 0.004247339675607605, │
00:00:46 #7042 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7043 [Verbose] > │ and closure121 () () : UH1 = │
00:00:46 #7044 [Verbose] > │ let v0 : (unit -> UH1) = closure122() │
00:00:46 #7045 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.5700000000000001, 0.004583960976582912, │
00:00:46 #7046 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7047 [Verbose] > │ and closure120 () () : UH1 = │
00:00:46 #7048 [Verbose] > │ let v0 : (unit -> UH1) = closure121() │
00:00:46 #7049 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.56, 0.004824377766717758, 0.0, 0.0, 0.0, │
00:00:46 #7050 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7051 [Verbose] > │ and closure119 () () : UH1 = │
00:00:46 #7052 [Verbose] > │ let v0 : (unit -> UH1) = closure120() │
00:00:46 #7053 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.55, 0.004963544370490271, 0.0, 0.0, 0.0, │
00:00:46 #7054 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7055 [Verbose] > │ and closure118 () () : UH1 = │
00:00:46 #7056 [Verbose] > │ let v0 : (unit -> UH1) = closure119() │
00:00:46 #7057 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.54, 0.004998540070400965, 0.0, 0.0, 0.0, │
00:00:46 #7058 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7059 [Verbose] > │ and closure117 () () : UH1 = │
00:00:46 #7060 [Verbose] > │ let v0 : (unit -> UH1) = closure118() │
00:00:46 #7061 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.53, 0.004928630404658255, 0.0, 0.0, 0.0, │
00:00:46 #7062 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7063 [Verbose] > │ and closure116 () () : UH1 = │
00:00:46 #7064 [Verbose] > │ let v0 : (unit -> UH1) = closure117() │
00:00:46 #7065 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.52, 0.004755282581475766, 0.0, 0.0, 0.0, │
00:00:46 #7066 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7067 [Verbose] > │ and closure115 () () : UH1 = │
00:00:46 #7068 [Verbose] > │ let v0 : (unit -> UH1) = closure116() │
00:00:46 #7069 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.51, 0.0044821346864785195, 0.0, 0.0, 0.0, │
00:00:46 #7070 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7071 [Verbose] > │ and closure114 () () : UH1 = │
00:00:46 #7072 [Verbose] > │ let v0 : (unit -> UH1) = closure115() │
00:00:46 #7073 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.5, 0.0041149193294682815, 0.0, 0.0, 0.0, │
00:00:46 #7074 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7075 [Verbose] > │ and closure113 () () : UH1 = │
00:00:46 #7076 [Verbose] > │ let v0 : (unit -> UH1) = closure114() │
00:00:46 #7077 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.49, 0.0036613433329888622, 0.0, 0.0, 0.0, │
00:00:46 #7078 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7079 [Verbose] > │ and closure112 () () : UH1 = │
00:00:46 #7080 [Verbose] > │ let v0 : (unit -> UH1) = closure113() │
00:00:46 #7081 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.48000000000000004, 0.003130925987691568, │
00:00:46 #7082 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7083 [Verbose] > │ and closure111 () () : UH1 = │
00:00:46 #7084 [Verbose] > │ let v0 : (unit -> UH1) = closure112() │
00:00:46 #7085 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.47000000000000003, 0.002534799269067953, │
00:00:46 #7086 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7087 [Verbose] > │ and closure110 () () : UH1 = │
00:00:46 #7088 [Verbose] > │ let v0 : (unit -> UH1) = closure111() │
00:00:46 #7089 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.46, 0.0018854742084416021, 0.0, 0.0, 0.0, │
00:00:46 #7090 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7091 [Verbose] > │ and closure109 () () : UH1 = │
00:00:46 #7092 [Verbose] > │ let v0 : (unit -> UH1) = closure110() │
00:00:46 #7093 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.45, 0.0011965783214377866, 0.0, 0.0, 0.0, │
00:00:46 #7094 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7095 [Verbose] > │ and closure108 () () : UH1 = │
00:00:46 #7096 [Verbose] > │ let v0 : (unit -> UH1) = closure109() │
00:00:46 #7097 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.44, 0.0004825696045725713, 0.0, 0.0, 0.0, │
00:00:46 #7098 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7099 [Verbose] > │ and closure107 () () : UH1 = │
00:00:46 #7100 [Verbose] > │ let v0 : (unit -> UH1) = closure108() │
00:00:46 #7101 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.43, -0.00024156689762753724, 0.0, 0.0, │
00:00:46 #7102 [Verbose] > │ 0.0, 0.0, 0.0, v0) │
00:00:46 #7103 [Verbose] > │ and closure106 () () : UH1 = │
00:00:46 #7104 [Verbose] > │ let v0 : (unit -> UH1) = closure107() │
00:00:46 #7105 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.42000000000000004, -0.0009606335867685414, │
00:00:46 #7106 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7107 [Verbose] > │ and closure105 () () : UH1 = │
00:00:46 #7108 [Verbose] > │ let v0 : (unit -> UH1) = closure106() │
00:00:46 #7109 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.41000000000000003, -0.0016595392656426435, │
00:00:46 #7110 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7111 [Verbose] > │ and closure104 () () : UH1 = │
00:00:46 #7112 [Verbose] > │ let v0 : (unit -> UH1) = closure105() │
00:00:46 #7113 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.4, -0.002323615860218846, 0.0, 0.0, 0.0, │
00:00:46 #7114 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7115 [Verbose] > │ and closure103 () () : UH1 = │
00:00:46 #7116 [Verbose] > │ let v0 : (unit -> UH1) = closure104() │
00:00:46 #7117 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.39, -0.002938926261462367, 0.0, 0.0, 0.0, │
00:00:46 #7118 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7119 [Verbose] > │ and closure102 () () : UH1 = │
00:00:46 #7120 [Verbose] > │ let v0 : (unit -> UH1) = closure103() │
00:00:46 #7121 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.38, -0.0034925568262446837, 0.0, 0.0, 0.0, │
00:00:46 #7122 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7123 [Verbose] > │ and closure101 () () : UH1 = │
00:00:46 #7124 [Verbose] > │ let v0 : (unit -> UH1) = closure102() │
00:00:46 #7125 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.37, -0.003972888398568774, 0.0, 0.0, 0.0, │
00:00:46 #7126 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7127 [Verbose] > │ and closure100 () () : UH1 = │
00:00:46 #7128 [Verbose] > │ let v0 : (unit -> UH1) = closure101() │
00:00:46 #7129 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.36000000000000004, -0.004369840163132589, │
00:00:46 #7130 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7131 [Verbose] > │ and closure99 () () : UH1 = │
00:00:46 #7132 [Verbose] > │ let v0 : (unit -> UH1) = closure100() │
00:00:46 #7133 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.35000000000000003, -0.004675081213427074, │
00:00:46 #7134 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7135 [Verbose] > │ and closure98 () () : UH1 = │
00:00:46 #7136 [Verbose] > │ let v0 : (unit -> UH1) = closure99() │
00:00:46 #7137 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.34, -0.004882205394146361, 0.0, 0.0, 0.0, │
00:00:46 #7138 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7139 [Verbose] > │ and closure97 () () : UH1 = │
00:00:46 #7140 [Verbose] > │ let v0 : (unit -> UH1) = closure98() │
00:00:46 #7141 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.33, -0.004986865748457456, 0.0, 0.0, 0.0, │
00:00:46 #7142 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7143 [Verbose] > │ and closure96 () () : UH1 = │
00:00:46 #7144 [Verbose] > │ let v0 : (unit -> UH1) = closure97() │
00:00:46 #7145 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.32, -0.004986865748457456, 0.0, 0.0, 0.0, │
00:00:46 #7146 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7147 [Verbose] > │ and closure95 () () : UH1 = │
00:00:46 #7148 [Verbose] > │ let v0 : (unit -> UH1) = closure96() │
00:00:46 #7149 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.31, -0.004882205394146359, 0.0, 0.0, 0.0, │
00:00:46 #7150 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7151 [Verbose] > │ and closure94 () () : UH1 = │
00:00:46 #7152 [Verbose] > │ let v0 : (unit -> UH1) = closure95() │
00:00:46 #7153 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.3, -0.004675081213427074, 0.0, 0.0, 0.0, │
00:00:46 #7154 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7155 [Verbose] > │ and closure93 () () : UH1 = │
00:00:46 #7156 [Verbose] > │ let v0 : (unit -> UH1) = closure94() │
00:00:46 #7157 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.29000000000000004, -0.00436984016313259, │
00:00:46 #7158 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7159 [Verbose] > │ and closure92 () () : UH1 = │
00:00:46 #7160 [Verbose] > │ let v0 : (unit -> UH1) = closure93() │
00:00:46 #7161 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.28, -0.003972888398568771, 0.0, 0.0, 0.0, │
00:00:46 #7162 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7163 [Verbose] > │ and closure91 () () : UH1 = │
00:00:46 #7164 [Verbose] > │ let v0 : (unit -> UH1) = closure92() │
00:00:46 #7165 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.27, -0.003492556826244686, 0.0, 0.0, 0.0, │
00:00:46 #7166 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7167 [Verbose] > │ and closure90 () () : UH1 = │
00:00:46 #7168 [Verbose] > │ let v0 : (unit -> UH1) = closure91() │
00:00:46 #7169 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.26, -0.0029389262614623636, 0.0, 0.0, 0.0, │
00:00:46 #7170 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7171 [Verbose] > │ and closure89 () () : UH1 = │
00:00:46 #7172 [Verbose] > │ let v0 : (unit -> UH1) = closure90() │
00:00:46 #7173 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.25, -0.002323615860218842, 0.0, 0.0, 0.0, │
00:00:46 #7174 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7175 [Verbose] > │ and closure88 () () : UH1 = │
00:00:46 #7176 [Verbose] > │ let v0 : (unit -> UH1) = closure89() │
00:00:46 #7177 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.24000000000000002, -0.001659539265642642, │
00:00:46 #7178 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7179 [Verbose] > │ and closure87 () () : UH1 = │
00:00:46 #7180 [Verbose] > │ let v0 : (unit -> UH1) = closure88() │
00:00:46 #7181 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.23, -0.0009606335867685418, 0.0, 0.0, 0.0, │
00:00:46 #7182 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7183 [Verbose] > │ and closure86 () () : UH1 = │
00:00:46 #7184 [Verbose] > │ let v0 : (unit -> UH1) = closure87() │
00:00:46 #7185 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.22, -0.00024156689762753317, 0.0, 0.0, │
00:00:46 #7186 [Verbose] > │ 0.0, 0.0, 0.0, v0) │
00:00:46 #7187 [Verbose] > │ and closure85 () () : UH1 = │
00:00:46 #7188 [Verbose] > │ let v0 : (unit -> UH1) = closure86() │
00:00:46 #7189 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.21000000000000002, 0.00048256960457257535, │
00:00:46 #7190 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7191 [Verbose] > │ and closure84 () () : UH1 = │
00:00:46 #7192 [Verbose] > │ let v0 : (unit -> UH1) = closure85() │
00:00:46 #7193 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.2, 0.0011965783214377905, 0.0, 0.0, 0.0, │
00:00:46 #7194 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7195 [Verbose] > │ and closure83 () () : UH1 = │
00:00:46 #7196 [Verbose] > │ let v0 : (unit -> UH1) = closure84() │
00:00:46 #7197 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.19, 0.0018854742084416015, 0.0, 0.0, 0.0, │
00:00:46 #7198 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7199 [Verbose] > │ and closure82 () () : UH1 = │
00:00:46 #7200 [Verbose] > │ let v0 : (unit -> UH1) = closure83() │
00:00:46 #7201 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.18000000000000002, 0.002534799269067951, │
00:00:46 #7202 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7203 [Verbose] > │ and closure81 () () : UH1 = │
00:00:46 #7204 [Verbose] > │ let v0 : (unit -> UH1) = closure82() │
00:00:46 #7205 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.17, 0.0031309259876915697, 0.0, 0.0, 0.0, │
00:00:46 #7206 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7207 [Verbose] > │ and closure80 () () : UH1 = │
00:00:46 #7208 [Verbose] > │ let v0 : (unit -> UH1) = closure81() │
00:00:46 #7209 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.16, 0.0036613433329888666, 0.0, 0.0, 0.0, │
00:00:46 #7210 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7211 [Verbose] > │ and closure79 () () : UH1 = │
00:00:46 #7212 [Verbose] > │ let v0 : (unit -> UH1) = closure80() │
00:00:46 #7213 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.15000000000000002, 0.0041149193294682815, │
00:00:46 #7214 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7215 [Verbose] > │ and closure78 () () : UH1 = │
00:00:46 #7216 [Verbose] > │ let v0 : (unit -> UH1) = closure79() │
00:00:46 #7217 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.14, 0.004482134686478519, 0.0, 0.0, 0.0, │
00:00:46 #7218 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7219 [Verbose] > │ and closure77 () () : UH1 = │
00:00:46 #7220 [Verbose] > │ let v0 : (unit -> UH1) = closure78() │
00:00:46 #7221 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.13, 0.004755282581475768, 0.0, 0.0, 0.0, │
00:00:46 #7222 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7223 [Verbose] > │ and closure76 () () : UH1 = │
00:00:46 #7224 [Verbose] > │ let v0 : (unit -> UH1) = closure77() │
00:00:46 #7225 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.12, 0.004928630404658255, 0.0, 0.0, 0.0, │
00:00:46 #7226 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7227 [Verbose] > │ and closure75 () () : UH1 = │
00:00:46 #7228 [Verbose] > │ let v0 : (unit -> UH1) = closure76() │
00:00:46 #7229 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.11, 0.004998540070400965, 0.0, 0.0, 0.0, │
00:00:46 #7230 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7231 [Verbose] > │ and closure74 () () : UH1 = │
00:00:46 #7232 [Verbose] > │ let v0 : (unit -> UH1) = closure75() │
00:00:46 #7233 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.09999999999999999, 0.00496354437049027, │
00:00:46 #7234 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7235 [Verbose] > │ and closure73 () () : UH1 = │
00:00:46 #7236 [Verbose] > │ let v0 : (unit -> UH1) = closure74() │
00:00:46 #7237 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.09, 0.004824377766717757, 0.0, 0.0, 0.0, │
00:00:46 #7238 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7239 [Verbose] > │ and closure72 () () : UH1 = │
00:00:46 #7240 [Verbose] > │ let v0 : (unit -> UH1) = closure73() │
00:00:46 #7241 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.08, 0.004583960976582912, 0.0, 0.0, 0.0, │
00:00:46 #7242 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7243 [Verbose] > │ and closure71 () () : UH1 = │
00:00:46 #7244 [Verbose] > │ let v0 : (unit -> UH1) = closure72() │
00:00:46 #7245 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.06999999999999999, 0.004247339675607605, │
00:00:46 #7246 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7247 [Verbose] > │ and closure70 () () : UH1 = │
00:00:46 #7248 [Verbose] > │ let v0 : (unit -> UH1) = closure71() │
00:00:46 #7249 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.060000000000000005, 0.0038215786027292415, │
00:00:46 #7250 [Verbose] > │ 0.0, 0.0, 0.0, 0.0, 0.0, v0) │
00:00:46 #7251 [Verbose] > │ and closure69 () () : UH1 = │
00:00:46 #7252 [Verbose] > │ let v0 : (unit -> UH1) = closure70() │
00:00:46 #7253 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.05, 0.0033156132912039757, 0.0, 0.0, 0.0, │
00:00:46 #7254 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7255 [Verbose] > │ and closure68 () () : UH1 = │
00:00:46 #7256 [Verbose] > │ let v0 : (unit -> UH1) = closure69() │
00:00:46 #7257 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.04, 0.00274006253677335, 0.0, 0.0, 0.0, │
00:00:46 #7258 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7259 [Verbose] > │ and closure67 () () : UH1 = │
00:00:46 #7260 [Verbose] > │ let v0 : (unit -> UH1) = closure68() │
00:00:46 #7261 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.03, 0.0021070055388626454, 0.0, 0.0, 0.0, │
00:00:46 #7262 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7263 [Verbose] > │ and closure66 () () : UH1 = │
00:00:46 #7264 [Verbose] > │ let v0 : (unit -> UH1) = closure67() │
00:00:46 #7265 [Verbose] > │ UH1_0(0.0, 8.422578125E-06, 0.02, 0.0014297283919934465, 0.0, 0.0, 0.0, │
00:00:46 #7266 [Verbose] > │ 0.0, 0.0, v0) │
00:00:46 #7267 [Verbose] > │ and closure132 (v0 : (unit -> UH1), v1 : (unit -> UH3)) () : UH1 = │
00:00:46 #7268 [Verbose] > │ let v2 : UH3 = v1 () │
00:00:46 #7269 [Verbose] > │ let v3 : UH1 = v0 () │
00:00:46 #7270 [Verbose] > │ match v2 with │
00:00:46 #7271 [Verbose] > │ | UH3_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *) │
00:00:46 #7272 [Verbose] > │ match v3 with │
00:00:46 #7273 [Verbose] > │ | UH1_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:00:46 #7274 [Verbose] > │ StreamCons *) │
00:00:46 #7275 [Verbose] > │ let v24 : float = v9 * 1.25E-05 │
00:00:46 #7276 [Verbose] > │ let v25 : float = v19 + v24 │
00:00:46 #7277 [Verbose] > │ let v26 : float = 1.25E-05 * v6 │
00:00:46 #7278 [Verbose] > │ let v27 : float = 1.25E-05 * v7 │
00:00:46 #7279 [Verbose] > │ let v28 : float = 1.25E-05 * v8 │
00:00:46 #7280 [Verbose] > │ let v29 : float = v16 + v26 │
00:00:46 #7281 [Verbose] > │ let v30 : float = v17 + v27 │
00:00:46 #7282 [Verbose] > │ let v31 : float = v18 + v28 │
00:00:46 #7283 [Verbose] > │ let v32 : float = 1.25E-05 * v10 │
00:00:46 #7284 [Verbose] > │ let v33 : float = 1.25E-05 * v11 │
00:00:46 #7285 [Verbose] > │ let v34 : float = 1.25E-05 * v12 │
00:00:46 #7286 [Verbose] > │ let v35 : float = v20 + v32 │
00:00:46 #7287 [Verbose] > │ let v36 : float = v21 + v33 │
00:00:46 #7288 [Verbose] > │ let v37 : float = v22 + v34 │
00:00:46 #7289 [Verbose] > │ let v38 : (unit -> UH1) = closure132(v23, v13) │
00:00:46 #7290 [Verbose] > │ UH1_0(v14, v15, v29, v30, v31, v25, v35, v36, v37, v38) │
00:00:46 #7291 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:46 #7292 [Verbose] > │ UH1_1 │
00:00:46 #7293 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7294 [Verbose] > │ UH1_1 │
00:00:46 #7295 [Verbose] > │ and closure133 (v0 : UH1) () : UH1 = │
00:00:46 #7296 [Verbose] > │ v0 │
00:00:46 #7297 [Verbose] > │ and closure134 (v0 : UH1, v1 : Mut0) () : UH1 = │
00:00:46 #7298 [Verbose] > │ let v2 : US0 = v1.l0 │
00:00:46 #7299 [Verbose] > │ match v2 with │
00:00:46 #7300 [Verbose] > │ | US0_0(v3) -> (* Computed *) │
00:00:46 #7301 [Verbose] > │ v3 │
00:00:46 #7302 [Verbose] > │ | US0_1(v4) -> (* NotComputed *) │
00:00:46 #7303 [Verbose] > │ let v5 : UH1 = v4 () │
00:00:46 #7304 [Verbose] > │ let v20 : UH1 = │
00:00:46 #7305 [Verbose] > │ match v5 with │
00:00:46 #7306 [Verbose] > │ | UH1_0(v7, v8, v9, v10, v11, v12, v13, v14, v15, v16) -> (* │
00:00:46 #7307 [Verbose] > │ StreamCons *) │
00:00:46 #7308 [Verbose] > │ let v17 : (unit -> UH1) = method3(v0, v16) │
00:00:46 #7309 [Verbose] > │ UH1_0(v7, v8, v9, v10, v11, v12, v13, v14, v15, v17) │
00:00:46 #7310 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:46 #7311 [Verbose] > │ UH1_1 │
00:00:46 #7312 [Verbose] > │ let v21 : US0 = US0_0(v20) │
00:00:46 #7313 [Verbose] > │ v1.l0 <- v21 │
00:00:46 #7314 [Verbose] > │ v20 │
00:00:46 #7315 [Verbose] > │ and method3 (v0 : UH1, v1 : (unit -> UH1)) : (unit -> UH1) = │
00:00:46 #7316 [Verbose] > │ let v2 : US0 = US0_1(v1) │
00:00:46 #7317 [Verbose] > │ let v3 : Mut0 = {l0 = v2} : Mut0 │
00:00:46 #7318 [Verbose] > │ closure134(v0, v3) │
00:00:46 #7319 [Verbose] > │ and closure135 (v0 : (unit -> UH1), v1 : (unit -> UH3)) () : UH1 = │
00:00:46 #7320 [Verbose] > │ let v2 : UH3 = v1 () │
00:00:46 #7321 [Verbose] > │ let v3 : UH1 = v0 () │
00:00:46 #7322 [Verbose] > │ match v2 with │
00:00:46 #7323 [Verbose] > │ | UH3_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *) │
00:00:46 #7324 [Verbose] > │ match v3 with │
00:00:46 #7325 [Verbose] > │ | UH1_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:00:46 #7326 [Verbose] > │ StreamCons *) │
00:00:46 #7327 [Verbose] > │ let v24 : float = v9 * 2.5E-05 │
00:00:46 #7328 [Verbose] > │ let v25 : float = v19 + v24 │
00:00:46 #7329 [Verbose] > │ let v26 : float = 2.5E-05 * v6 │
00:00:46 #7330 [Verbose] > │ let v27 : float = 2.5E-05 * v7 │
00:00:46 #7331 [Verbose] > │ let v28 : float = 2.5E-05 * v8 │
00:00:46 #7332 [Verbose] > │ let v29 : float = v16 + v26 │
00:00:46 #7333 [Verbose] > │ let v30 : float = v17 + v27 │
00:00:46 #7334 [Verbose] > │ let v31 : float = v18 + v28 │
00:00:46 #7335 [Verbose] > │ let v32 : float = 2.5E-05 * v10 │
00:00:46 #7336 [Verbose] > │ let v33 : float = 2.5E-05 * v11 │
00:00:46 #7337 [Verbose] > │ let v34 : float = 2.5E-05 * v12 │
00:00:46 #7338 [Verbose] > │ let v35 : float = v20 + v32 │
00:00:46 #7339 [Verbose] > │ let v36 : float = v21 + v33 │
00:00:46 #7340 [Verbose] > │ let v37 : float = v22 + v34 │
00:00:46 #7341 [Verbose] > │ let v38 : (unit -> UH1) = closure135(v23, v13) │
00:00:46 #7342 [Verbose] > │ UH1_0(v14, v15, v29, v30, v31, v25, v35, v36, v37, v38) │
00:00:46 #7343 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:46 #7344 [Verbose] > │ UH1_1 │
00:00:46 #7345 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7346 [Verbose] > │ UH1_1 │
00:00:46 #7347 [Verbose] > │ and closure136 (v0 : (unit -> UH3), v1 : (unit -> UH3)) () : UH3 = │
00:00:46 #7348 [Verbose] > │ let v2 : UH3 = v1 () │
00:00:46 #7349 [Verbose] > │ let v3 : UH3 = v0 () │
00:00:46 #7350 [Verbose] > │ match v2 with │
00:00:46 #7351 [Verbose] > │ | UH3_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *) │
00:00:46 #7352 [Verbose] > │ match v3 with │
00:00:46 #7353 [Verbose] > │ | UH3_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:00:46 #7354 [Verbose] > │ StreamCons *) │
00:00:46 #7355 [Verbose] > │ let v24 : float = v4 + v14 │
00:00:46 #7356 [Verbose] > │ let v25 : float = v5 + v15 │
00:00:46 #7357 [Verbose] > │ let v26 : float = v9 + v19 │
00:00:46 #7358 [Verbose] > │ let v27 : float = v6 + v16 │
00:00:46 #7359 [Verbose] > │ let v28 : float = v7 + v17 │
00:00:46 #7360 [Verbose] > │ let v29 : float = v8 + v18 │
00:00:46 #7361 [Verbose] > │ let v30 : float = v10 + v20 │
00:00:46 #7362 [Verbose] > │ let v31 : float = v11 + v21 │
00:00:46 #7363 [Verbose] > │ let v32 : float = v12 + v22 │
00:00:46 #7364 [Verbose] > │ let v33 : (unit -> UH3) = closure136(v23, v13) │
00:00:46 #7365 [Verbose] > │ UH3_0(v24, v25, v27, v28, v29, v26, v30, v31, v32, v33) │
00:00:46 #7366 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7367 [Verbose] > │ UH3_1 │
00:00:46 #7368 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7369 [Verbose] > │ UH3_1 │
00:00:46 #7370 [Verbose] > │ and closure137 (v0 : (unit -> UH1), v1 : (unit -> UH3)) () : UH1 = │
00:00:46 #7371 [Verbose] > │ let v2 : UH3 = v1 () │
00:00:46 #7372 [Verbose] > │ let v3 : UH1 = v0 () │
00:00:46 #7373 [Verbose] > │ match v2 with │
00:00:46 #7374 [Verbose] > │ | UH3_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) -> (* StreamCons *) │
00:00:46 #7375 [Verbose] > │ match v3 with │
00:00:46 #7376 [Verbose] > │ | UH1_0(v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) -> (* │
00:00:46 #7377 [Verbose] > │ StreamCons *) │
00:00:46 #7378 [Verbose] > │ let v24 : float = v9 * 4.166666666666667E-06 │
00:00:46 #7379 [Verbose] > │ let v25 : float = v19 + v24 │
00:00:46 #7380 [Verbose] > │ let v26 : float = 4.166666666666667E-06 * v6 │
00:00:46 #7381 [Verbose] > │ let v27 : float = 4.166666666666667E-06 * v7 │
00:00:46 #7382 [Verbose] > │ let v28 : float = 4.166666666666667E-06 * v8 │
00:00:46 #7383 [Verbose] > │ let v29 : float = v16 + v26 │
00:00:46 #7384 [Verbose] > │ let v30 : float = v17 + v27 │
00:00:46 #7385 [Verbose] > │ let v31 : float = v18 + v28 │
00:00:46 #7386 [Verbose] > │ let v32 : float = 4.166666666666667E-06 * v10 │
00:00:46 #7387 [Verbose] > │ let v33 : float = 4.166666666666667E-06 * v11 │
00:00:46 #7388 [Verbose] > │ let v34 : float = 4.166666666666667E-06 * v12 │
00:00:46 #7389 [Verbose] > │ let v35 : float = v20 + v32 │
00:00:46 #7390 [Verbose] > │ let v36 : float = v21 + v33 │
00:00:46 #7391 [Verbose] > │ let v37 : float = v22 + v34 │
00:00:46 #7392 [Verbose] > │ let v38 : (unit -> UH1) = closure137(v23, v13) │
00:00:46 #7393 [Verbose] > │ UH1_0(v14, v15, v29, v30, v31, v25, v35, v36, v37, v38) │
00:00:46 #7394 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:46 #7395 [Verbose] > │ UH1_1 │
00:00:46 #7396 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7397 [Verbose] > │ UH1_1 │
00:00:46 #7398 [Verbose] > │ and closure131 (v0 : (UH1 -> UH3)) (v1 : UH1) : UH1 = │
00:00:46 #7399 [Verbose] > │ let v2 : UH3 = v0 v1 │
00:00:46 #7400 [Verbose] > │ let v44 : UH1 = │
00:00:46 #7401 [Verbose] > │ match v2 with │
00:00:46 #7402 [Verbose] > │ | UH3_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons │
00:00:46 #7403 [Verbose] > │ *) │
00:00:46 #7404 [Verbose] > │ match v1 with │
00:00:46 #7405 [Verbose] > │ | UH1_0(v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) -> (* │
00:00:46 #7406 [Verbose] > │ StreamCons *) │
00:00:46 #7407 [Verbose] > │ let v23 : float = v8 * 1.25E-05 │
00:00:46 #7408 [Verbose] > │ let v24 : float = v18 + v23 │
00:00:46 #7409 [Verbose] > │ let v25 : float = 1.25E-05 * v5 │
00:00:46 #7410 [Verbose] > │ let v26 : float = 1.25E-05 * v6 │
00:00:46 #7411 [Verbose] > │ let v27 : float = 1.25E-05 * v7 │
00:00:46 #7412 [Verbose] > │ let v28 : float = v15 + v25 │
00:00:46 #7413 [Verbose] > │ let v29 : float = v16 + v26 │
00:00:46 #7414 [Verbose] > │ let v30 : float = v17 + v27 │
00:00:46 #7415 [Verbose] > │ let v31 : float = 1.25E-05 * v9 │
00:00:46 #7416 [Verbose] > │ let v32 : float = 1.25E-05 * v10 │
00:00:46 #7417 [Verbose] > │ let v33 : float = 1.25E-05 * v11 │
00:00:46 #7418 [Verbose] > │ let v34 : float = v19 + v31 │
00:00:46 #7419 [Verbose] > │ let v35 : float = v20 + v32 │
00:00:46 #7420 [Verbose] > │ let v36 : float = v21 + v33 │
00:00:46 #7421 [Verbose] > │ let v37 : (unit -> UH1) = closure132(v22, v12) │
00:00:46 #7422 [Verbose] > │ UH1_0(v13, v14, v28, v29, v30, v24, v34, v35, v36, v37) │
00:00:46 #7423 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:46 #7424 [Verbose] > │ UH1_1 │
00:00:46 #7425 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7426 [Verbose] > │ UH1_1 │
00:00:46 #7427 [Verbose] > │ let v45 : (unit -> UH1) = closure133(v44) │
00:00:46 #7428 [Verbose] > │ let v46 : (unit -> UH1) = method3(v44, v45) │
00:00:46 #7429 [Verbose] > │ let v47 : UH1 = v46 () │
00:00:46 #7430 [Verbose] > │ let v48 : UH3 = v0 v47 │
00:00:46 #7431 [Verbose] > │ let v90 : UH1 = │
00:00:46 #7432 [Verbose] > │ match v48 with │
00:00:46 #7433 [Verbose] > │ | UH3_0(v49, v50, v51, v52, v53, v54, v55, v56, v57, v58) -> (* │
00:00:46 #7434 [Verbose] > │ StreamCons *) │
00:00:46 #7435 [Verbose] > │ match v1 with │
00:00:46 #7436 [Verbose] > │ | UH1_0(v59, v60, v61, v62, v63, v64, v65, v66, v67, v68) -> (* │
00:00:46 #7437 [Verbose] > │ StreamCons *) │
00:00:46 #7438 [Verbose] > │ let v69 : float = v54 * 1.25E-05 │
00:00:46 #7439 [Verbose] > │ let v70 : float = v64 + v69 │
00:00:46 #7440 [Verbose] > │ let v71 : float = 1.25E-05 * v51 │
00:00:46 #7441 [Verbose] > │ let v72 : float = 1.25E-05 * v52 │
00:00:46 #7442 [Verbose] > │ let v73 : float = 1.25E-05 * v53 │
00:00:46 #7443 [Verbose] > │ let v74 : float = v61 + v71 │
00:00:46 #7444 [Verbose] > │ let v75 : float = v62 + v72 │
00:00:46 #7445 [Verbose] > │ let v76 : float = v63 + v73 │
00:00:46 #7446 [Verbose] > │ let v77 : float = 1.25E-05 * v55 │
00:00:46 #7447 [Verbose] > │ let v78 : float = 1.25E-05 * v56 │
00:00:46 #7448 [Verbose] > │ let v79 : float = 1.25E-05 * v57 │
00:00:46 #7449 [Verbose] > │ let v80 : float = v65 + v77 │
00:00:46 #7450 [Verbose] > │ let v81 : float = v66 + v78 │
00:00:46 #7451 [Verbose] > │ let v82 : float = v67 + v79 │
00:00:46 #7452 [Verbose] > │ let v83 : (unit -> UH1) = closure132(v68, v58) │
00:00:46 #7453 [Verbose] > │ UH1_0(v59, v60, v74, v75, v76, v70, v80, v81, v82, v83) │
00:00:46 #7454 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:46 #7455 [Verbose] > │ UH1_1 │
00:00:46 #7456 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7457 [Verbose] > │ UH1_1 │
00:00:46 #7458 [Verbose] > │ let v91 : (unit -> UH1) = closure133(v90) │
00:00:46 #7459 [Verbose] > │ let v92 : (unit -> UH1) = method3(v90, v91) │
00:00:46 #7460 [Verbose] > │ let v93 : UH1 = v92 () │
00:00:46 #7461 [Verbose] > │ let v94 : UH3 = v0 v93 │
00:00:46 #7462 [Verbose] > │ let v136 : UH1 = │
00:00:46 #7463 [Verbose] > │ match v94 with │
00:00:46 #7464 [Verbose] > │ | UH3_0(v95, v96, v97, v98, v99, v100, v101, v102, v103, v104) -> (* │
00:00:46 #7465 [Verbose] > │ StreamCons *) │
00:00:46 #7466 [Verbose] > │ match v1 with │
00:00:46 #7467 [Verbose] > │ | UH1_0(v105, v106, v107, v108, v109, v110, v111, v112, v113, │
00:00:46 #7468 [Verbose] > │ v114) -> (* StreamCons *) │
00:00:46 #7469 [Verbose] > │ let v115 : float = v100 * 2.5E-05 │
00:00:46 #7470 [Verbose] > │ let v116 : float = v110 + v115 │
00:00:46 #7471 [Verbose] > │ let v117 : float = 2.5E-05 * v97 │
00:00:46 #7472 [Verbose] > │ let v118 : float = 2.5E-05 * v98 │
00:00:46 #7473 [Verbose] > │ let v119 : float = 2.5E-05 * v99 │
00:00:46 #7474 [Verbose] > │ let v120 : float = v107 + v117 │
00:00:46 #7475 [Verbose] > │ let v121 : float = v108 + v118 │
00:00:46 #7476 [Verbose] > │ let v122 : float = v109 + v119 │
00:00:46 #7477 [Verbose] > │ let v123 : float = 2.5E-05 * v101 │
00:00:46 #7478 [Verbose] > │ let v124 : float = 2.5E-05 * v102 │
00:00:46 #7479 [Verbose] > │ let v125 : float = 2.5E-05 * v103 │
00:00:46 #7480 [Verbose] > │ let v126 : float = v111 + v123 │
00:00:46 #7481 [Verbose] > │ let v127 : float = v112 + v124 │
00:00:46 #7482 [Verbose] > │ let v128 : float = v113 + v125 │
00:00:46 #7483 [Verbose] > │ let v129 : (unit -> UH1) = closure135(v114, v104) │
00:00:46 #7484 [Verbose] > │ UH1_0(v105, v106, v120, v121, v122, v116, v126, v127, v128, │
00:00:46 #7485 [Verbose] > │ v129) │
00:00:46 #7486 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:46 #7487 [Verbose] > │ UH1_1 │
00:00:46 #7488 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7489 [Verbose] > │ UH1_1 │
00:00:46 #7490 [Verbose] > │ let v137 : (unit -> UH1) = closure133(v136) │
00:00:46 #7491 [Verbose] > │ let v138 : (unit -> UH1) = method3(v136, v137) │
00:00:46 #7492 [Verbose] > │ let v139 : UH1 = v138 () │
00:00:46 #7493 [Verbose] > │ let v140 : UH3 = v0 v139 │
00:00:46 #7494 [Verbose] > │ let v177 : UH3 = │
00:00:46 #7495 [Verbose] > │ match v2 with │
00:00:46 #7496 [Verbose] > │ | UH3_0(v141, v142, v143, v144, v145, v146, v147, v148, v149, v150) │
00:00:46 #7497 [Verbose] > │ -> (* StreamCons *) │
00:00:46 #7498 [Verbose] > │ match v48 with │
00:00:46 #7499 [Verbose] > │ | UH3_0(v151, v152, v153, v154, v155, v156, v157, v158, v159, │
00:00:46 #7500 [Verbose] > │ v160) -> (* StreamCons *) │
00:00:46 #7501 [Verbose] > │ let v161 : float = v141 + v151 │
00:00:46 #7502 [Verbose] > │ let v162 : float = v142 + v152 │
00:00:46 #7503 [Verbose] > │ let v163 : float = v146 + v156 │
00:00:46 #7504 [Verbose] > │ let v164 : float = v143 + v153 │
00:00:46 #7505 [Verbose] > │ let v165 : float = v144 + v154 │
00:00:46 #7506 [Verbose] > │ let v166 : float = v145 + v155 │
00:00:46 #7507 [Verbose] > │ let v167 : float = v147 + v157 │
00:00:46 #7508 [Verbose] > │ let v168 : float = v148 + v158 │
00:00:46 #7509 [Verbose] > │ let v169 : float = v149 + v159 │
00:00:46 #7510 [Verbose] > │ let v170 : (unit -> UH3) = closure136(v160, v150) │
00:00:46 #7511 [Verbose] > │ UH3_0(v161, v162, v164, v165, v166, v163, v167, v168, v169, │
00:00:46 #7512 [Verbose] > │ v170) │
00:00:46 #7513 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7514 [Verbose] > │ UH3_1 │
00:00:46 #7515 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7516 [Verbose] > │ UH3_1 │
00:00:46 #7517 [Verbose] > │ let v214 : UH3 = │
00:00:46 #7518 [Verbose] > │ match v177 with │
00:00:46 #7519 [Verbose] > │ | UH3_0(v178, v179, v180, v181, v182, v183, v184, v185, v186, v187) │
00:00:46 #7520 [Verbose] > │ -> (* StreamCons *) │
00:00:46 #7521 [Verbose] > │ match v48 with │
00:00:46 #7522 [Verbose] > │ | UH3_0(v188, v189, v190, v191, v192, v193, v194, v195, v196, │
00:00:46 #7523 [Verbose] > │ v197) -> (* StreamCons *) │
00:00:46 #7524 [Verbose] > │ let v198 : float = v178 + v188 │
00:00:46 #7525 [Verbose] > │ let v199 : float = v179 + v189 │
00:00:46 #7526 [Verbose] > │ let v200 : float = v183 + v193 │
00:00:46 #7527 [Verbose] > │ let v201 : float = v180 + v190 │
00:00:46 #7528 [Verbose] > │ let v202 : float = v181 + v191 │
00:00:46 #7529 [Verbose] > │ let v203 : float = v182 + v192 │
00:00:46 #7530 [Verbose] > │ let v204 : float = v184 + v194 │
00:00:46 #7531 [Verbose] > │ let v205 : float = v185 + v195 │
00:00:46 #7532 [Verbose] > │ let v206 : float = v186 + v196 │
00:00:46 #7533 [Verbose] > │ let v207 : (unit -> UH3) = closure136(v197, v187) │
00:00:46 #7534 [Verbose] > │ UH3_0(v198, v199, v201, v202, v203, v200, v204, v205, v206, │
00:00:46 #7535 [Verbose] > │ v207) │
00:00:46 #7536 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7537 [Verbose] > │ UH3_1 │
00:00:46 #7538 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7539 [Verbose] > │ UH3_1 │
00:00:46 #7540 [Verbose] > │ let v251 : UH3 = │
00:00:46 #7541 [Verbose] > │ match v214 with │
00:00:46 #7542 [Verbose] > │ | UH3_0(v215, v216, v217, v218, v219, v220, v221, v222, v223, v224) │
00:00:46 #7543 [Verbose] > │ -> (* StreamCons *) │
00:00:46 #7544 [Verbose] > │ match v94 with │
00:00:46 #7545 [Verbose] > │ | UH3_0(v225, v226, v227, v228, v229, v230, v231, v232, v233, │
00:00:46 #7546 [Verbose] > │ v234) -> (* StreamCons *) │
00:00:46 #7547 [Verbose] > │ let v235 : float = v215 + v225 │
00:00:46 #7548 [Verbose] > │ let v236 : float = v216 + v226 │
00:00:46 #7549 [Verbose] > │ let v237 : float = v220 + v230 │
00:00:46 #7550 [Verbose] > │ let v238 : float = v217 + v227 │
00:00:46 #7551 [Verbose] > │ let v239 : float = v218 + v228 │
00:00:46 #7552 [Verbose] > │ let v240 : float = v219 + v229 │
00:00:46 #7553 [Verbose] > │ let v241 : float = v221 + v231 │
00:00:46 #7554 [Verbose] > │ let v242 : float = v222 + v232 │
00:00:46 #7555 [Verbose] > │ let v243 : float = v223 + v233 │
00:00:46 #7556 [Verbose] > │ let v244 : (unit -> UH3) = closure136(v234, v224) │
00:00:46 #7557 [Verbose] > │ UH3_0(v235, v236, v238, v239, v240, v237, v241, v242, v243, │
00:00:46 #7558 [Verbose] > │ v244) │
00:00:46 #7559 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7560 [Verbose] > │ UH3_1 │
00:00:46 #7561 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7562 [Verbose] > │ UH3_1 │
00:00:46 #7563 [Verbose] > │ let v288 : UH3 = │
00:00:46 #7564 [Verbose] > │ match v251 with │
00:00:46 #7565 [Verbose] > │ | UH3_0(v252, v253, v254, v255, v256, v257, v258, v259, v260, v261) │
00:00:46 #7566 [Verbose] > │ -> (* StreamCons *) │
00:00:46 #7567 [Verbose] > │ match v94 with │
00:00:46 #7568 [Verbose] > │ | UH3_0(v262, v263, v264, v265, v266, v267, v268, v269, v270, │
00:00:46 #7569 [Verbose] > │ v271) -> (* StreamCons *) │
00:00:46 #7570 [Verbose] > │ let v272 : float = v252 + v262 │
00:00:46 #7571 [Verbose] > │ let v273 : float = v253 + v263 │
00:00:46 #7572 [Verbose] > │ let v274 : float = v257 + v267 │
00:00:46 #7573 [Verbose] > │ let v275 : float = v254 + v264 │
00:00:46 #7574 [Verbose] > │ let v276 : float = v255 + v265 │
00:00:46 #7575 [Verbose] > │ let v277 : float = v256 + v266 │
00:00:46 #7576 [Verbose] > │ let v278 : float = v258 + v268 │
00:00:46 #7577 [Verbose] > │ let v279 : float = v259 + v269 │
00:00:46 #7578 [Verbose] > │ let v280 : float = v260 + v270 │
00:00:46 #7579 [Verbose] > │ let v281 : (unit -> UH3) = closure136(v271, v261) │
00:00:46 #7580 [Verbose] > │ UH3_0(v272, v273, v275, v276, v277, v274, v278, v279, v280, │
00:00:46 #7581 [Verbose] > │ v281) │
00:00:46 #7582 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7583 [Verbose] > │ UH3_1 │
00:00:46 #7584 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7585 [Verbose] > │ UH3_1 │
00:00:46 #7586 [Verbose] > │ let v325 : UH3 = │
00:00:46 #7587 [Verbose] > │ match v288 with │
00:00:46 #7588 [Verbose] > │ | UH3_0(v289, v290, v291, v292, v293, v294, v295, v296, v297, v298) │
00:00:46 #7589 [Verbose] > │ -> (* StreamCons *) │
00:00:46 #7590 [Verbose] > │ match v140 with │
00:00:46 #7591 [Verbose] > │ | UH3_0(v299, v300, v301, v302, v303, v304, v305, v306, v307, │
00:00:46 #7592 [Verbose] > │ v308) -> (* StreamCons *) │
00:00:46 #7593 [Verbose] > │ let v309 : float = v289 + v299 │
00:00:46 #7594 [Verbose] > │ let v310 : float = v290 + v300 │
00:00:46 #7595 [Verbose] > │ let v311 : float = v294 + v304 │
00:00:46 #7596 [Verbose] > │ let v312 : float = v291 + v301 │
00:00:46 #7597 [Verbose] > │ let v313 : float = v292 + v302 │
00:00:46 #7598 [Verbose] > │ let v314 : float = v293 + v303 │
00:00:46 #7599 [Verbose] > │ let v315 : float = v295 + v305 │
00:00:46 #7600 [Verbose] > │ let v316 : float = v296 + v306 │
00:00:46 #7601 [Verbose] > │ let v317 : float = v297 + v307 │
00:00:46 #7602 [Verbose] > │ let v318 : (unit -> UH3) = closure136(v308, v298) │
00:00:46 #7603 [Verbose] > │ UH3_0(v309, v310, v312, v313, v314, v311, v315, v316, v317, │
00:00:46 #7604 [Verbose] > │ v318) │
00:00:46 #7605 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7606 [Verbose] > │ UH3_1 │
00:00:46 #7607 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7608 [Verbose] > │ UH3_1 │
00:00:46 #7609 [Verbose] > │ let v367 : UH1 = │
00:00:46 #7610 [Verbose] > │ match v325 with │
00:00:46 #7611 [Verbose] > │ | UH3_0(v326, v327, v328, v329, v330, v331, v332, v333, v334, v335) │
00:00:46 #7612 [Verbose] > │ -> (* StreamCons *) │
00:00:46 #7613 [Verbose] > │ match v1 with │
00:00:46 #7614 [Verbose] > │ | UH1_0(v336, v337, v338, v339, v340, v341, v342, v343, v344, │
00:00:46 #7615 [Verbose] > │ v345) -> (* StreamCons *) │
00:00:46 #7616 [Verbose] > │ let v346 : float = v331 * 4.166666666666667E-06 │
00:00:46 #7617 [Verbose] > │ let v347 : float = v341 + v346 │
00:00:46 #7618 [Verbose] > │ let v348 : float = 4.166666666666667E-06 * v328 │
00:00:46 #7619 [Verbose] > │ let v349 : float = 4.166666666666667E-06 * v329 │
00:00:46 #7620 [Verbose] > │ let v350 : float = 4.166666666666667E-06 * v330 │
00:00:46 #7621 [Verbose] > │ let v351 : float = v338 + v348 │
00:00:46 #7622 [Verbose] > │ let v352 : float = v339 + v349 │
00:00:46 #7623 [Verbose] > │ let v353 : float = v340 + v350 │
00:00:46 #7624 [Verbose] > │ let v354 : float = 4.166666666666667E-06 * v332 │
00:00:46 #7625 [Verbose] > │ let v355 : float = 4.166666666666667E-06 * v333 │
00:00:46 #7626 [Verbose] > │ let v356 : float = 4.166666666666667E-06 * v334 │
00:00:46 #7627 [Verbose] > │ let v357 : float = v342 + v354 │
00:00:46 #7628 [Verbose] > │ let v358 : float = v343 + v355 │
00:00:46 #7629 [Verbose] > │ let v359 : float = v344 + v356 │
00:00:46 #7630 [Verbose] > │ let v360 : (unit -> UH1) = closure137(v345, v335) │
00:00:46 #7631 [Verbose] > │ UH1_0(v336, v337, v351, v352, v353, v347, v357, v358, v359, │
00:00:46 #7632 [Verbose] > │ v360) │
00:00:46 #7633 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:46 #7634 [Verbose] > │ UH1_1 │
00:00:46 #7635 [Verbose] > │ | UH3_1 -> (* StreamNil *) │
00:00:46 #7636 [Verbose] > │ UH1_1 │
00:00:46 #7637 [Verbose] > │ let v368 : (unit -> UH1) = closure133(v367) │
00:00:46 #7638 [Verbose] > │ let v369 : (unit -> UH1) = method3(v367, v368) │
00:00:46 #7639 [Verbose] > │ let v370 : UH1 = v369 () │
00:00:46 #7640 [Verbose] > │ v370 │
00:00:46 #7641 [Verbose] > │ and closure130 () (v0 : (UH1 -> UH3)) : (UH1 -> UH1) = │
00:00:46 #7642 [Verbose] > │ closure131(v0) │
00:00:46 #7643 [Verbose] > │ and method2 () : ((UH1 -> UH3) -> (UH1 -> UH1)) = │
00:00:46 #7644 [Verbose] > │ closure130() │
00:00:46 #7645 [Verbose] > │ and closure138 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │
00:00:46 #7646 [Verbose] > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:46 #7647 [Verbose] > │ float * float) = │
00:00:46 #7648 [Verbose] > │ let v9 : float = v2 * v2 │
00:00:46 #7649 [Verbose] > │ let v10 : float = v3 * v3 │
00:00:46 #7650 [Verbose] > │ let v11 : float = v9 + v10 │
00:00:46 #7651 [Verbose] > │ let v12 : float = v4 * v4 │
00:00:46 #7652 [Verbose] > │ let v13 : float = v11 + v12 │
00:00:46 #7653 [Verbose] > │ let v14 : float = sqrt v13 │
00:00:46 #7654 [Verbose] > │ let v15 : float = -5384.0 * v14 │
00:00:46 #7655 [Verbose] > │ let v16 : float = v15 * v2 │
00:00:46 #7656 [Verbose] > │ let v17 : float = v15 * v3 │
00:00:46 #7657 [Verbose] > │ let v18 : float = v15 * v4 │
00:00:46 #7658 [Verbose] > │ let v19 : float = v16 / v14 │
00:00:46 #7659 [Verbose] > │ let v20 : float = v17 / v14 │
00:00:46 #7660 [Verbose] > │ let v21 : float = v18 / v14 │
00:00:46 #7661 [Verbose] > │ struct (v19, v20, v21) │
00:00:46 #7662 [Verbose] > │ and closure139 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │
00:00:46 #7663 [Verbose] > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:46 #7664 [Verbose] > │ float * float) = │
00:00:46 #7665 [Verbose] > │ let v9 : float = v2 + -0.65 │
00:00:46 #7666 [Verbose] > │ let v10 : float = v9 * v9 │
00:00:46 #7667 [Verbose] > │ let v11 : float = v3 * v3 │
00:00:46 #7668 [Verbose] > │ let v12 : float = v10 + v11 │
00:00:46 #7669 [Verbose] > │ let v13 : float = v4 * v4 │
00:00:46 #7670 [Verbose] > │ let v14 : float = v12 + v13 │
00:00:46 #7671 [Verbose] > │ let v15 : float = sqrt v14 │
00:00:46 #7672 [Verbose] > │ let v16 : float = -5384.0 * v15 │
00:00:46 #7673 [Verbose] > │ let v17 : float = v16 * v9 │
00:00:46 #7674 [Verbose] > │ let v18 : float = v16 * v3 │
00:00:46 #7675 [Verbose] > │ let v19 : float = v16 * v4 │
00:00:46 #7676 [Verbose] > │ let v20 : float = v17 / v15 │
00:00:46 #7677 [Verbose] > │ let v21 : float = v18 / v15 │
00:00:46 #7678 [Verbose] > │ let v22 : float = v19 / v15 │
00:00:46 #7679 [Verbose] > │ struct (v20, v21, v22) │
00:00:46 #7680 [Verbose] > │ and closure141 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, │
00:00:46 #7681 [Verbose] > │ v5 : float, v6 : float, v7 : float, v8 : float) struct (v9 : float, v10 : │
00:00:46 #7682 [Verbose] > │ float, v11 : float, v12 : float, v13 : float, v14 : float, v15 : float, v16 │
00:00:46 #7683 [Verbose] > │ : float, v17 : float) : struct (float * float * float) = │
00:00:46 #7684 [Verbose] > │ let v18 : float = -1.0 * v2 │
00:00:46 #7685 [Verbose] > │ let v19 : float = -1.0 * v3 │
00:00:46 #7686 [Verbose] > │ let v20 : float = -1.0 * v4 │
00:00:46 #7687 [Verbose] > │ let v21 : float = v11 + v18 │
00:00:46 #7688 [Verbose] > │ let v22 : float = v12 + v19 │
00:00:46 #7689 [Verbose] > │ let v23 : float = v13 + v20 │
00:00:46 #7690 [Verbose] > │ let v24 : float = v21 * v21 │
00:00:46 #7691 [Verbose] > │ let v25 : float = v22 * v22 │
00:00:46 #7692 [Verbose] > │ let v26 : float = v24 + v25 │
00:00:46 #7693 [Verbose] > │ let v27 : float = v23 * v23 │
00:00:46 #7694 [Verbose] > │ let v28 : float = v26 + v27 │
00:00:46 #7695 [Verbose] > │ let v29 : float = sqrt v28 │
00:00:46 #7696 [Verbose] > │ let v30 : float = -5384.0 * v29 │
00:00:46 #7697 [Verbose] > │ let v31 : float = v30 * v21 │
00:00:46 #7698 [Verbose] > │ let v32 : float = v30 * v22 │
00:00:46 #7699 [Verbose] > │ let v33 : float = v30 * v23 │
00:00:46 #7700 [Verbose] > │ let v34 : float = v31 / v29 │
00:00:46 #7701 [Verbose] > │ let v35 : float = v32 / v29 │
00:00:46 #7702 [Verbose] > │ let v36 : float = v33 / v29 │
00:00:46 #7703 [Verbose] > │ struct (v34, v35, v36) │
00:00:46 #7704 [Verbose] > │ and closure140 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │
00:00:46 #7705 [Verbose] > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : (struct (float * │
00:00:46 #7706 [Verbose] > │ float * float * float * float * float * float * float * float) -> struct │
00:00:46 #7707 [Verbose] > │ (float * float * float)) = │
00:00:46 #7708 [Verbose] > │ closure141(v0, v1, v2, v3, v4, v5, v6, v7, v8) │
00:00:46 #7709 [Verbose] > │ and method4 () : UH4 = │
00:00:46 #7710 [Verbose] > │ let v0 : (struct (float * float * float * float * float * float * float │
00:00:46 #7711 [Verbose] > │ * float * float) -> struct (float * float * float)) = closure138() │
00:00:46 #7712 [Verbose] > │ let v1 : US1 = US1_0(0, v0) │
00:00:46 #7713 [Verbose] > │ let v2 : (struct (float * float * float * float * float * float * float │
00:00:46 #7714 [Verbose] > │ * float * float) -> struct (float * float * float)) = closure139() │
00:00:46 #7715 [Verbose] > │ let v3 : US1 = US1_0(63, v2) │
00:00:46 #7716 [Verbose] > │ let v4 : (struct (float * float * float * float * float * float * float │
00:00:46 #7717 [Verbose] > │ * float * float) -> (struct (float * float * float * float * float * float * │
00:00:46 #7718 [Verbose] > │ float * float * float) -> struct (float * float * float))) = closure140() │
00:00:46 #7719 [Verbose] > │ let v5 : US1 = US1_1(0, 1, v4) │
00:00:46 #7720 [Verbose] > │ let v6 : US1 = US1_1(1, 2, v4) │
00:00:46 #7721 [Verbose] > │ let v7 : US1 = US1_1(2, 3, v4) │
00:00:46 #7722 [Verbose] > │ let v8 : US1 = US1_1(3, 4, v4) │
00:00:46 #7723 [Verbose] > │ let v9 : US1 = US1_1(4, 5, v4) │
00:00:46 #7724 [Verbose] > │ let v10 : US1 = US1_1(5, 6, v4) │
00:00:46 #7725 [Verbose] > │ let v11 : US1 = US1_1(6, 7, v4) │
00:00:46 #7726 [Verbose] > │ let v12 : US1 = US1_1(7, 8, v4) │
00:00:46 #7727 [Verbose] > │ let v13 : US1 = US1_1(8, 9, v4) │
00:00:46 #7728 [Verbose] > │ let v14 : US1 = US1_1(9, 10, v4) │
00:00:46 #7729 [Verbose] > │ let v15 : US1 = US1_1(10, 11, v4) │
00:00:46 #7730 [Verbose] > │ let v16 : US1 = US1_1(11, 12, v4) │
00:00:46 #7731 [Verbose] > │ let v17 : US1 = US1_1(12, 13, v4) │
00:00:46 #7732 [Verbose] > │ let v18 : US1 = US1_1(13, 14, v4) │
00:00:46 #7733 [Verbose] > │ let v19 : US1 = US1_1(14, 15, v4) │
00:00:46 #7734 [Verbose] > │ let v20 : US1 = US1_1(15, 16, v4) │
00:00:46 #7735 [Verbose] > │ let v21 : US1 = US1_1(16, 17, v4) │
00:00:46 #7736 [Verbose] > │ let v22 : US1 = US1_1(17, 18, v4) │
00:00:46 #7737 [Verbose] > │ let v23 : US1 = US1_1(18, 19, v4) │
00:00:46 #7738 [Verbose] > │ let v24 : US1 = US1_1(19, 20, v4) │
00:00:46 #7739 [Verbose] > │ let v25 : US1 = US1_1(20, 21, v4) │
00:00:46 #7740 [Verbose] > │ let v26 : US1 = US1_1(21, 22, v4) │
00:00:46 #7741 [Verbose] > │ let v27 : US1 = US1_1(22, 23, v4) │
00:00:46 #7742 [Verbose] > │ let v28 : US1 = US1_1(23, 24, v4) │
00:00:46 #7743 [Verbose] > │ let v29 : US1 = US1_1(24, 25, v4) │
00:00:46 #7744 [Verbose] > │ let v30 : US1 = US1_1(25, 26, v4) │
00:00:46 #7745 [Verbose] > │ let v31 : US1 = US1_1(26, 27, v4) │
00:00:46 #7746 [Verbose] > │ let v32 : US1 = US1_1(27, 28, v4) │
00:00:46 #7747 [Verbose] > │ let v33 : US1 = US1_1(28, 29, v4) │
00:00:46 #7748 [Verbose] > │ let v34 : US1 = US1_1(29, 30, v4) │
00:00:46 #7749 [Verbose] > │ let v35 : US1 = US1_1(30, 31, v4) │
00:00:46 #7750 [Verbose] > │ let v36 : US1 = US1_1(31, 32, v4) │
00:00:46 #7751 [Verbose] > │ let v37 : US1 = US1_1(32, 33, v4) │
00:00:46 #7752 [Verbose] > │ let v38 : US1 = US1_1(33, 34, v4) │
00:00:46 #7753 [Verbose] > │ let v39 : US1 = US1_1(34, 35, v4) │
00:00:46 #7754 [Verbose] > │ let v40 : US1 = US1_1(35, 36, v4) │
00:00:46 #7755 [Verbose] > │ let v41 : US1 = US1_1(36, 37, v4) │
00:00:46 #7756 [Verbose] > │ let v42 : US1 = US1_1(37, 38, v4) │
00:00:46 #7757 [Verbose] > │ let v43 : US1 = US1_1(38, 39, v4) │
00:00:46 #7758 [Verbose] > │ let v44 : US1 = US1_1(39, 40, v4) │
00:00:46 #7759 [Verbose] > │ let v45 : US1 = US1_1(40, 41, v4) │
00:00:46 #7760 [Verbose] > │ let v46 : US1 = US1_1(41, 42, v4) │
00:00:46 #7761 [Verbose] > │ let v47 : US1 = US1_1(42, 43, v4) │
00:00:46 #7762 [Verbose] > │ let v48 : US1 = US1_1(43, 44, v4) │
00:00:46 #7763 [Verbose] > │ let v49 : US1 = US1_1(44, 45, v4) │
00:00:46 #7764 [Verbose] > │ let v50 : US1 = US1_1(45, 46, v4) │
00:00:46 #7765 [Verbose] > │ let v51 : US1 = US1_1(46, 47, v4) │
00:00:46 #7766 [Verbose] > │ let v52 : US1 = US1_1(47, 48, v4) │
00:00:46 #7767 [Verbose] > │ let v53 : US1 = US1_1(48, 49, v4) │
00:00:46 #7768 [Verbose] > │ let v54 : US1 = US1_1(49, 50, v4) │
00:00:46 #7769 [Verbose] > │ let v55 : US1 = US1_1(50, 51, v4) │
00:00:46 #7770 [Verbose] > │ let v56 : US1 = US1_1(51, 52, v4) │
00:00:46 #7771 [Verbose] > │ let v57 : US1 = US1_1(52, 53, v4) │
00:00:46 #7772 [Verbose] > │ let v58 : US1 = US1_1(53, 54, v4) │
00:00:46 #7773 [Verbose] > │ let v59 : US1 = US1_1(54, 55, v4) │
00:00:46 #7774 [Verbose] > │ let v60 : US1 = US1_1(55, 56, v4) │
00:00:46 #7775 [Verbose] > │ let v61 : US1 = US1_1(56, 57, v4) │
00:00:46 #7776 [Verbose] > │ let v62 : US1 = US1_1(57, 58, v4) │
00:00:46 #7777 [Verbose] > │ let v63 : US1 = US1_1(58, 59, v4) │
00:00:46 #7778 [Verbose] > │ let v64 : US1 = US1_1(59, 60, v4) │
00:00:46 #7779 [Verbose] > │ let v65 : UH4 = UH4_1 │
00:00:46 #7780 [Verbose] > │ let v66 : UH4 = UH4_0(v64, v65) │
00:00:46 #7781 [Verbose] > │ let v67 : UH4 = UH4_0(v63, v66) │
00:00:46 #7782 [Verbose] > │ let v68 : UH4 = UH4_0(v62, v67) │
00:00:46 #7783 [Verbose] > │ let v69 : UH4 = UH4_0(v61, v68) │
00:00:46 #7784 [Verbose] > │ let v70 : UH4 = UH4_0(v60, v69) │
00:00:46 #7785 [Verbose] > │ let v71 : UH4 = UH4_0(v59, v70) │
00:00:46 #7786 [Verbose] > │ let v72 : UH4 = UH4_0(v58, v71) │
00:00:46 #7787 [Verbose] > │ let v73 : UH4 = UH4_0(v57, v72) │
00:00:46 #7788 [Verbose] > │ let v74 : UH4 = UH4_0(v56, v73) │
00:00:46 #7789 [Verbose] > │ let v75 : UH4 = UH4_0(v55, v74) │
00:00:46 #7790 [Verbose] > │ let v76 : UH4 = UH4_0(v54, v75) │
00:00:46 #7791 [Verbose] > │ let v77 : UH4 = UH4_0(v53, v76) │
00:00:46 #7792 [Verbose] > │ let v78 : UH4 = UH4_0(v52, v77) │
00:00:46 #7793 [Verbose] > │ let v79 : UH4 = UH4_0(v51, v78) │
00:00:46 #7794 [Verbose] > │ let v80 : UH4 = UH4_0(v50, v79) │
00:00:46 #7795 [Verbose] > │ let v81 : UH4 = UH4_0(v49, v80) │
00:00:46 #7796 [Verbose] > │ let v82 : UH4 = UH4_0(v48, v81) │
00:00:46 #7797 [Verbose] > │ let v83 : UH4 = UH4_0(v47, v82) │
00:00:46 #7798 [Verbose] > │ let v84 : UH4 = UH4_0(v46, v83) │
00:00:46 #7799 [Verbose] > │ let v85 : UH4 = UH4_0(v45, v84) │
00:00:46 #7800 [Verbose] > │ let v86 : UH4 = UH4_0(v44, v85) │
00:00:46 #7801 [Verbose] > │ let v87 : UH4 = UH4_0(v43, v86) │
00:00:46 #7802 [Verbose] > │ let v88 : UH4 = UH4_0(v42, v87) │
00:00:46 #7803 [Verbose] > │ let v89 : UH4 = UH4_0(v41, v88) │
00:00:46 #7804 [Verbose] > │ let v90 : UH4 = UH4_0(v40, v89) │
00:00:46 #7805 [Verbose] > │ let v91 : UH4 = UH4_0(v39, v90) │
00:00:46 #7806 [Verbose] > │ let v92 : UH4 = UH4_0(v38, v91) │
00:00:46 #7807 [Verbose] > │ let v93 : UH4 = UH4_0(v37, v92) │
00:00:46 #7808 [Verbose] > │ let v94 : UH4 = UH4_0(v36, v93) │
00:00:46 #7809 [Verbose] > │ let v95 : UH4 = UH4_0(v35, v94) │
00:00:46 #7810 [Verbose] > │ let v96 : UH4 = UH4_0(v34, v95) │
00:00:46 #7811 [Verbose] > │ let v97 : UH4 = UH4_0(v33, v96) │
00:00:46 #7812 [Verbose] > │ let v98 : UH4 = UH4_0(v32, v97) │
00:00:46 #7813 [Verbose] > │ let v99 : UH4 = UH4_0(v31, v98) │
00:00:46 #7814 [Verbose] > │ let v100 : UH4 = UH4_0(v30, v99) │
00:00:46 #7815 [Verbose] > │ let v101 : UH4 = UH4_0(v29, v100) │
00:00:46 #7816 [Verbose] > │ let v102 : UH4 = UH4_0(v28, v101) │
00:00:46 #7817 [Verbose] > │ let v103 : UH4 = UH4_0(v27, v102) │
00:00:46 #7818 [Verbose] > │ let v104 : UH4 = UH4_0(v26, v103) │
00:00:46 #7819 [Verbose] > │ let v105 : UH4 = UH4_0(v25, v104) │
00:00:46 #7820 [Verbose] > │ let v106 : UH4 = UH4_0(v24, v105) │
00:00:46 #7821 [Verbose] > │ let v107 : UH4 = UH4_0(v23, v106) │
00:00:46 #7822 [Verbose] > │ let v108 : UH4 = UH4_0(v22, v107) │
00:00:46 #7823 [Verbose] > │ let v109 : UH4 = UH4_0(v21, v108) │
00:00:46 #7824 [Verbose] > │ let v110 : UH4 = UH4_0(v20, v109) │
00:00:46 #7825 [Verbose] > │ let v111 : UH4 = UH4_0(v19, v110) │
00:00:46 #7826 [Verbose] > │ let v112 : UH4 = UH4_0(v18, v111) │
00:00:46 #7827 [Verbose] > │ let v113 : UH4 = UH4_0(v17, v112) │
00:00:46 #7828 [Verbose] > │ let v114 : UH4 = UH4_0(v16, v113) │
00:00:46 #7829 [Verbose] > │ let v115 : UH4 = UH4_0(v15, v114) │
00:00:46 #7830 [Verbose] > │ let v116 : UH4 = UH4_0(v14, v115) │
00:00:46 #7831 [Verbose] > │ let v117 : UH4 = UH4_0(v13, v116) │
00:00:46 #7832 [Verbose] > │ let v118 : UH4 = UH4_0(v12, v117) │
00:00:46 #7833 [Verbose] > │ let v119 : UH4 = UH4_0(v11, v118) │
00:00:46 #7834 [Verbose] > │ let v120 : UH4 = UH4_0(v10, v119) │
00:00:46 #7835 [Verbose] > │ let v121 : UH4 = UH4_0(v9, v120) │
00:00:46 #7836 [Verbose] > │ let v122 : UH4 = UH4_0(v8, v121) │
00:00:46 #7837 [Verbose] > │ let v123 : UH4 = UH4_0(v7, v122) │
00:00:46 #7838 [Verbose] > │ let v124 : UH4 = UH4_0(v6, v123) │
00:00:46 #7839 [Verbose] > │ let v125 : UH4 = UH4_0(v5, v124) │
00:00:46 #7840 [Verbose] > │ let v126 : UH4 = UH4_0(v3, v125) │
00:00:46 #7841 [Verbose] > │ UH4_0(v1, v126) │
00:00:46 #7842 [Verbose] > │ and closure143 (v0 : UH5) () : UH5 = │
00:00:46 #7843 [Verbose] > │ v0 │
00:00:46 #7844 [Verbose] > │ and method5 (v0 : UH1, v1 : UH5, v2 : int32) : struct (UH5 * int32) = │
00:00:46 #7845 [Verbose] > │ match v0 with │
00:00:46 #7846 [Verbose] > │ | UH1_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons *) │
00:00:46 #7847 [Verbose] > │ let v13 : int32 = v2 + 1 │
00:00:46 #7848 [Verbose] > │ let v14 : UH1 = v12 () │
00:00:46 #7849 [Verbose] > │ let v15 : (unit -> UH5) = closure143(v1) │
00:00:46 #7850 [Verbose] > │ let v16 : UH5 = UH5_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v15) │
00:00:46 #7851 [Verbose] > │ method5(v14, v16, v13) │
00:00:46 #7852 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:46 #7853 [Verbose] > │ struct (v1, v2) │
00:00:46 #7854 [Verbose] > │ and closure144 (v0 : UH5) () : UH5 = │
00:00:46 #7855 [Verbose] > │ v0 │
00:00:46 #7856 [Verbose] > │ and method6 (v0 : UH5, v1 : UH5) : UH5 = │
00:00:46 #7857 [Verbose] > │ match v0 with │
00:00:46 #7858 [Verbose] > │ | UH5_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) -> (* StreamCons │
00:00:46 #7859 [Verbose] > │ *) │
00:00:46 #7860 [Verbose] > │ let v13 : UH5 = v12 () │
00:00:46 #7861 [Verbose] > │ let v14 : (unit -> UH5) = closure144(v1) │
00:00:46 #7862 [Verbose] > │ let v15 : UH5 = UH5_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v14) │
00:00:46 #7863 [Verbose] > │ method6(v13, v15) │
00:00:46 #7864 [Verbose] > │ | UH5_1 -> (* StreamNil *) │
00:00:46 #7865 [Verbose] > │ v1 │
00:00:46 #7866 [Verbose] > │ and closure145 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │
00:00:46 #7867 [Verbose] > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:46 #7868 [Verbose] > │ float * float) = │
00:00:46 #7869 [Verbose] > │ struct (0.0, 0.0, 0.0) │
00:00:46 #7870 [Verbose] > │ and method9 (v0 : int32, v1 : UH1) : US3 = │
00:00:46 #7871 [Verbose] > │ match v1 with │
00:00:46 #7872 [Verbose] > │ | UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* StreamCons *) │
00:00:46 #7873 [Verbose] > │ let v12 : bool = v0 <= 0 │
00:00:46 #7874 [Verbose] > │ if v12 then │
00:00:46 #7875 [Verbose] > │ US3_1(v2, v3, v4, v5, v6, v7, v8, v9, v10) │
00:00:46 #7876 [Verbose] > │ else │
00:00:46 #7877 [Verbose] > │ let v14 : int32 = v0 - 1 │
00:00:46 #7878 [Verbose] > │ let v15 : UH1 = v11 () │
00:00:46 #7879 [Verbose] > │ method9(v14, v15) │
00:00:46 #7880 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:46 #7881 [Verbose] > │ US3_0 │
00:00:46 #7882 [Verbose] > │ and closure146 () struct (v0 : float, v1 : float, v2 : float, v3 : float, v4 │
00:00:46 #7883 [Verbose] > │ : float, v5 : float, v6 : float, v7 : float, v8 : float) : struct (float * │
00:00:46 #7884 [Verbose] > │ float * float) = │
00:00:46 #7885 [Verbose] > │ struct (0.0, 0.0, 0.0) │
00:00:46 #7886 [Verbose] > │ and method8 (v0 : int32, v1 : UH1, v2 : UH4, v3 : UH6) : UH6 = │
00:00:46 #7887 [Verbose] > │ match v2 with │
00:00:46 #7888 [Verbose] > │ | UH4_0(v4, v5) -> (* Cons *) │
00:00:46 #7889 [Verbose] > │ let v6 : UH6 = method8(v0, v1, v5, v3) │
00:00:46 #7890 [Verbose] > │ let v55 : (struct (float * float * float * float * float * float * │
00:00:46 #7891 [Verbose] > │ float * float * float) -> struct (float * float * float)) = │
00:00:46 #7892 [Verbose] > │ match v4 with │
00:00:46 #7893 [Verbose] > │ | US1_0(v7, v8) -> (* ExternalForce *) │
00:00:46 #7894 [Verbose] > │ let v9 : bool = v0 = v7 │
00:00:46 #7895 [Verbose] > │ if v9 then │
00:00:46 #7896 [Verbose] > │ v8 │
00:00:46 #7897 [Verbose] > │ else │
00:00:46 #7898 [Verbose] > │ closure145() │
00:00:46 #7899 [Verbose] > │ | US1_1(v12, v13, v14) -> (* InternalForce *) │
00:00:46 #7900 [Verbose] > │ let v15 : bool = v0 = v12 │
00:00:46 #7901 [Verbose] > │ let v49 : US2 = │
00:00:46 #7902 [Verbose] > │ if v15 then │
00:00:46 #7903 [Verbose] > │ let v16 : US3 = method9(v13, v1) │
00:00:46 #7904 [Verbose] > │ match v16 with │
00:00:46 #7905 [Verbose] > │ | US3_0 -> (* None *) │
00:00:46 #7906 [Verbose] > │ US2_0 │
00:00:46 #7907 [Verbose] > │ | US3_1(v17, v18, v19, v20, v21, v22, v23, v24, v25) │
00:00:46 #7908 [Verbose] > │ -> (* Some *) │
00:00:46 #7909 [Verbose] > │ let v26 : (struct (float * float * float * float │
00:00:46 #7910 [Verbose] > │ * float * float * float * float * float) -> struct (float * float * float)) │
00:00:46 #7911 [Verbose] > │ = v14 struct (v17, v18, v19, v20, v21, v22, v23, v24, v25) │
00:00:46 #7912 [Verbose] > │ US2_1(v26) │
00:00:46 #7913 [Verbose] > │ else │
00:00:46 #7914 [Verbose] > │ let v31 : bool = v0 = v13 │
00:00:46 #7915 [Verbose] > │ if v31 then │
00:00:46 #7916 [Verbose] > │ let v32 : US3 = method9(v12, v1) │
00:00:46 #7917 [Verbose] > │ match v32 with │
00:00:46 #7918 [Verbose] > │ | US3_0 -> (* None *) │
00:00:46 #7919 [Verbose] > │ US2_0 │
00:00:46 #7920 [Verbose] > │ | US3_1(v33, v34, v35, v36, v37, v38, v39, v40, │
00:00:46 #7921 [Verbose] > │ v41) -> (* Some *) │
00:00:46 #7922 [Verbose] > │ let v42 : (struct (float * float * float * │
00:00:46 #7923 [Verbose] > │ float * float * float * float * float * float) -> struct (float * float * │
00:00:46 #7924 [Verbose] > │ float)) = v14 struct (v33, v34, v35, v36, v37, v38, v39, v40, v41) │
00:00:46 #7925 [Verbose] > │ US2_1(v42) │
00:00:46 #7926 [Verbose] > │ else │
00:00:46 #7927 [Verbose] > │ US2_0 │
00:00:46 #7928 [Verbose] > │ match v49 with │
00:00:46 #7929 [Verbose] > │ | US2_0 -> (* None *) │
00:00:46 #7930 [Verbose] > │ closure146() │
00:00:46 #7931 [Verbose] > │ | US2_1(v50) -> (* Some *) │
00:00:46 #7932 [Verbose] > │ v50 │
00:00:46 #7933 [Verbose] > │ UH6_0(v55, v6) │
00:00:46 #7934 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:46 #7935 [Verbose] > │ v3 │
00:00:46 #7936 [Verbose] > │ and method10 (v0 : float, v1 : float, v2 : float, v3 : float, v4 : float, v5 │
00:00:46 #7937 [Verbose] > │ : float, v6 : float, v7 : float, v8 : float, v9 : UH6, v10 : UH7) : UH7 = │
00:00:46 #7938 [Verbose] > │ match v9 with │
00:00:46 #7939 [Verbose] > │ | UH6_0(v11, v12) -> (* Cons *) │
00:00:46 #7940 [Verbose] > │ let v13 : UH7 = method10(v0, v1, v2, v3, v4, v5, v6, v7, v8, v12, │
00:00:46 #7941 [Verbose] > │ v10) │
00:00:46 #7942 [Verbose] > │ let struct (v14 : float, v15 : float, v16 : float) = v11 struct (v0, │
00:00:46 #7943 [Verbose] > │ v1, v2, v3, v4, v5, v6, v7, v8) │
00:00:46 #7944 [Verbose] > │ UH7_0(v14, v15, v16, v13) │
00:00:46 #7945 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:46 #7946 [Verbose] > │ v10 │
00:00:46 #7947 [Verbose] > │ and method11 (v0 : UH7, v1 : float, v2 : float, v3 : float) : struct (float │
00:00:46 #7948 [Verbose] > │ * float * float) = │
00:00:46 #7949 [Verbose] > │ match v0 with │
00:00:46 #7950 [Verbose] > │ | UH7_0(v4, v5, v6, v7) -> (* Cons *) │
00:00:46 #7951 [Verbose] > │ let v8 : float = v1 + v4 │
00:00:46 #7952 [Verbose] > │ let v9 : float = v2 + v5 │
00:00:46 #7953 [Verbose] > │ let v10 : float = v3 + v6 │
00:00:46 #7954 [Verbose] > │ method11(v7, v8, v9, v10) │
00:00:46 #7955 [Verbose] > │ | UH7_1 -> (* Nil *) │
00:00:46 #7956 [Verbose] > │ struct (v1, v2, v3) │
00:00:46 #7957 [Verbose] > │ and closure147 (v0 : UH3) () : UH3 = │
00:00:46 #7958 [Verbose] > │ v0 │
00:00:46 #7959 [Verbose] > │ and method7 (v0 : UH4, v1 : UH1, v2 : UH5, v3 : UH3) : UH3 = │
00:00:46 #7960 [Verbose] > │ match v2 with │
00:00:46 #7961 [Verbose] > │ | UH5_0(v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) -> (* │
00:00:46 #7962 [Verbose] > │ StreamCons *) │
00:00:46 #7963 [Verbose] > │ let v15 : UH5 = v14 () │
00:00:46 #7964 [Verbose] > │ let v16 : UH3 = method7(v0, v1, v15, v3) │
00:00:46 #7965 [Verbose] > │ let v17 : UH6 = UH6_1 │
00:00:46 #7966 [Verbose] > │ let v18 : UH6 = method8(v4, v1, v0, v17) │
00:00:46 #7967 [Verbose] > │ let v19 : UH7 = UH7_1 │
00:00:46 #7968 [Verbose] > │ let v20 : UH7 = method10(v5, v6, v7, v8, v9, v10, v11, v12, v13, │
00:00:46 #7969 [Verbose] > │ v18, v19) │
00:00:46 #7970 [Verbose] > │ let v21 : float = 0.0 │
00:00:46 #7971 [Verbose] > │ let v22 : float = 0.0 │
00:00:46 #7972 [Verbose] > │ let v23 : float = 0.0 │
00:00:46 #7973 [Verbose] > │ let struct (v24 : float, v25 : float, v26 : float) = method11(v20, │
00:00:46 #7974 [Verbose] > │ v21, v22, v23) │
00:00:46 #7975 [Verbose] > │ let v27 : float = v24 / v6 │
00:00:46 #7976 [Verbose] > │ let v28 : float = v25 / v6 │
00:00:46 #7977 [Verbose] > │ let v29 : float = v26 / v6 │
00:00:46 #7978 [Verbose] > │ let v30 : (unit -> UH3) = closure147(v16) │
00:00:46 #7979 [Verbose] > │ UH3_0(0.0, 0.0, v11, v12, v13, 1.0, v27, v28, v29, v30) │
00:00:46 #7980 [Verbose] > │ | UH5_1 -> (* StreamNil *) │
00:00:46 #7981 [Verbose] > │ v3 │
00:00:47 #7982 [Verbose] > │ and closure142 (v0 : UH4) (v1 : UH1) : UH3 = │
00:00:47 #7983 [Verbose] > │ let v2 : UH5 = UH5_1 │
00:00:47 #7984 [Verbose] > │ let v3 : int32 = 0 │
00:00:47 #7985 [Verbose] > │ let struct (v4 : UH5, v5 : int32) = method5(v1, v2, v3) │
00:00:47 #7986 [Verbose] > │ let v6 : UH5 = UH5_1 │
00:00:47 #7987 [Verbose] > │ let v7 : UH5 = method6(v4, v6) │
00:00:47 #7988 [Verbose] > │ let v8 : UH3 = UH3_1 │
00:00:47 #7989 [Verbose] > │ let v9 : UH3 = method7(v0, v1, v7, v8) │
00:00:47 #7990 [Verbose] > │ v9 │
00:00:47 #7991 [Verbose] > │ and closure148 (v0 : (UH1 -> UH1), v1 : UH1, v2 : UH1) () : UH8 = │
00:00:47 #7992 [Verbose] > │ let v3 : UH1 = v0 v2 │
00:00:47 #7993 [Verbose] > │ let v4 : (unit -> UH8) = closure148(v0, v1, v3) │
00:00:47 #7994 [Verbose] > │ UH8_0(v2, v4) │
00:00:47 #7995 [Verbose] > │ and method12 (v0 : float, v1 : UH8) : US4 = │
00:00:47 #7996 [Verbose] > │ match v1 with │
00:00:47 #7997 [Verbose] > │ | UH8_0(v2, v3) -> (* StreamCons *) │
00:00:47 #7998 [Verbose] > │ let v4 : bool = v0 <= 0.0 │
00:00:47 #7999 [Verbose] > │ if v4 then │
00:00:47 #8000 [Verbose] > │ US4_1(v2) │
00:00:47 #8001 [Verbose] > │ else │
00:00:47 #8002 [Verbose] > │ let v6 : float = v0 - 1.0 │
00:00:47 #8003 [Verbose] > │ let v7 : UH8 = v3 () │
00:00:47 #8004 [Verbose] > │ method12(v6, v7) │
00:00:47 #8005 [Verbose] > │ | UH8_1 -> (* StreamNil *) │
00:00:47 #8006 [Verbose] > │ US4_0 │
00:00:47 #8007 [Verbose] > │ and closure149 (v0 : UH9) () : UH9 = │
00:00:47 #8008 [Verbose] > │ v0 │
00:00:47 #8009 [Verbose] > │ and method13 (v0 : UH1, v1 : UH9) : UH9 = │
00:00:47 #8010 [Verbose] > │ match v0 with │
00:00:47 #8011 [Verbose] > │ | UH1_0(v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) -> (* StreamCons *) │
00:00:47 #8012 [Verbose] > │ let v12 : UH1 = v11 () │
00:00:47 #8013 [Verbose] > │ let v13 : UH9 = method13(v12, v1) │
00:00:47 #8014 [Verbose] > │ let v14 : (unit -> UH9) = closure149(v13) │
00:00:47 #8015 [Verbose] > │ UH9_0(v4, v5, v6, v14) │
00:00:47 #8016 [Verbose] > │ | UH1_1 -> (* StreamNil *) │
00:00:47 #8017 [Verbose] > │ v1 │
00:00:47 #8018 [Verbose] > │ and method14 (v0 : UH9, v1 : UH7) : UH7 = │
00:00:47 #8019 [Verbose] > │ match v0 with │
00:00:47 #8020 [Verbose] > │ | UH9_0(v2, v3, v4, v5) -> (* StreamCons *) │
00:00:47 #8021 [Verbose] > │ let v6 : UH9 = v5 () │
00:00:47 #8022 [Verbose] > │ let v7 : UH7 = method14(v6, v1) │
00:00:47 #8023 [Verbose] > │ UH7_0(v2, v3, v4, v7) │
00:00:47 #8024 [Verbose] > │ | UH9_1 -> (* StreamNil *) │
00:00:47 #8025 [Verbose] > │ v1 │
00:00:47 #8026 [Verbose] > │ and method15 (v0 : UH7, v1 : UH7) : UH7 = │
00:00:47 #8027 [Verbose] > │ match v0 with │
00:00:47 #8028 [Verbose] > │ | UH7_0(v2, v3, v4, v5) -> (* Cons *) │
00:00:47 #8029 [Verbose] > │ let v6 : UH7 = method15(v5, v1) │
00:00:47 #8030 [Verbose] > │ UH7_0(v2, v3, v4, v6) │
00:00:47 #8031 [Verbose] > │ | UH7_1 -> (* Nil *) │
00:00:47 #8032 [Verbose] > │ v1 │
00:00:47 #8033 [Verbose] > │ and method16 (v0 : UH7, v1 : UH10) : UH10 = │
00:00:47 #8034 [Verbose] > │ match v0 with │
00:00:47 #8035 [Verbose] > │ | UH7_0(v2, v3, v4, v5) -> (* Cons *) │
00:00:47 #8036 [Verbose] > │ let v6 : UH10 = method16(v5, v1) │
00:00:47 #8037 [Verbose] > │ UH10_0(v2, v3, v6) │
00:00:47 #8038 [Verbose] > │ | UH7_1 -> (* Nil *) │
00:00:47 #8039 [Verbose] > │ v1 │
00:00:47 #8040 [Verbose] > │ and closure150 (v0 : UH11) () : UH11 = │
00:00:47 #8041 [Verbose] > │ v0 │
00:00:47 #8042 [Verbose] > │ and method17 (v0 : UH10, v1 : UH11) : UH11 = │
00:00:47 #8043 [Verbose] > │ match v0 with │
00:00:47 #8044 [Verbose] > │ | UH10_0(v2, v3, v4) -> (* Cons *) │
00:00:47 #8045 [Verbose] > │ let v5 : UH11 = method17(v4, v1) │
00:00:47 #8046 [Verbose] > │ let v6 : (unit -> UH11) = closure150(v5) │
00:00:47 #8047 [Verbose] > │ UH11_0(v2, v3, v6) │
00:00:47 #8048 [Verbose] > │ | UH10_1 -> (* Nil *) │
00:00:47 #8049 [Verbose] > │ v1 │
00:00:47 #8050 [Verbose] > │ and closure151 (v0 : UH0) () : UH0 = │
00:00:47 #8051 [Verbose] > │ v0 │
00:00:47 #8052 [Verbose] > │ and closure152 (v0 : UH0) () : UH0 = │
00:00:47 #8053 [Verbose] > │ v0 │
00:00:47 #8054 [Verbose] > │ and method18 (v0 : UH11) : struct (UH0 * UH0) = │
00:00:47 #8055 [Verbose] > │ match v0 with │
00:00:47 #8056 [Verbose] > │ | UH11_0(v1, v2, v3) -> (* StreamCons *) │
00:00:47 #8057 [Verbose] > │ let v4 : UH11 = v3 () │
00:00:47 #8058 [Verbose] > │ let struct (v5 : UH0, v6 : UH0) = method18(v4) │
00:00:47 #8059 [Verbose] > │ let v7 : (unit -> UH0) = closure151(v5) │
00:00:47 #8060 [Verbose] > │ let v8 : UH0 = UH0_0(v1, v7) │
00:00:47 #8061 [Verbose] > │ let v9 : (unit -> UH0) = closure152(v6) │
00:00:47 #8062 [Verbose] > │ let v10 : UH0 = UH0_0(v2, v9) │
00:00:47 #8063 [Verbose] > │ struct (v8, v10) │
00:00:47 #8064 [Verbose] > │ | UH11_1 -> (* StreamNil *) │
00:00:47 #8065 [Verbose] > │ let v11 : UH0 = UH0_1 │
00:00:47 #8066 [Verbose] > │ let v12 : UH0 = UH0_1 │
00:00:47 #8067 [Verbose] > │ struct (v11, v12) │
00:00:47 #8068 [Verbose] > │ and method19 (v0 : UH0, v1 : UH12) : UH12 = │
00:00:47 #8069 [Verbose] > │ match v0 with │
00:00:47 #8070 [Verbose] > │ | UH0_0(v2, v3) -> (* StreamCons *) │
00:00:47 #8071 [Verbose] > │ let v4 : UH0 = v3 () │
00:00:47 #8072 [Verbose] > │ let v5 : UH12 = method19(v4, v1) │
00:00:47 #8073 [Verbose] > │ UH12_0(v2, v5) │
00:00:47 #8074 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:47 #8075 [Verbose] > │ v1 │
00:00:47 #8076 [Verbose] > │ and method21 (v0 : UH12, v1 : int32) : int32 = │
00:00:47 #8077 [Verbose] > │ match v0 with │
00:00:47 #8078 [Verbose] > │ | UH12_0(v2, v3) -> (* Cons *) │
00:00:47 #8079 [Verbose] > │ let v4 : int32 = v1 + 1 │
00:00:47 #8080 [Verbose] > │ method21(v3, v4) │
00:00:47 #8081 [Verbose] > │ | UH12_1 -> (* Nil *) │
00:00:47 #8082 [Verbose] > │ v1 │
00:00:47 #8083 [Verbose] > │ and method22 (v0 : (float []), v1 : UH12, v2 : int32) : int32 = │
00:00:47 #8084 [Verbose] > │ match v1 with │
00:00:47 #8085 [Verbose] > │ | UH12_0(v3, v4) -> (* Cons *) │
00:00:47 #8086 [Verbose] > │ v0.[int v2] <- v3 │
00:00:47 #8087 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:47 #8088 [Verbose] > │ method22(v0, v4, v5) │
00:00:47 #8089 [Verbose] > │ | UH12_1 -> (* Nil *) │
00:00:47 #8090 [Verbose] > │ v2 │
00:00:47 #8091 [Verbose] > │ and method20 (v0 : UH12) : (float []) = │
00:00:47 #8092 [Verbose] > │ let v1 : int32 = 0 │
00:00:47 #8093 [Verbose] > │ let v2 : int32 = method21(v0, v1) │
00:00:47 #8094 [Verbose] > │ let v3 : (float []) = Array.zeroCreate<float> (v2) │
00:00:47 #8095 [Verbose] > │ let v4 : int32 = 0 │
00:00:47 #8096 [Verbose] > │ let v5 : int32 = method22(v3, v0, v4) │
00:00:47 #8097 [Verbose] > │ v3 │
00:00:47 #8098 [Verbose] > │ and closure153 (v0 : UH2) () : UH2 = │
00:00:47 #8099 [Verbose] > │ v0 │
00:00:47 #8100 [Verbose] > │ and method1 (v0 : UH1, v1 : UH0, v2 : UH2) : UH2 = │
00:00:47 #8101 [Verbose] > │ match v1 with │
00:00:47 #8102 [Verbose] > │ | UH0_0(v3, v4) -> (* StreamCons *) │
00:00:47 #8103 [Verbose] > │ let v5 : UH0 = v4 () │
00:00:47 #8104 [Verbose] > │ let v6 : UH2 = method1(v0, v5, v2) │
00:00:47 #8105 [Verbose] > │ let v7 : ((UH1 -> UH3) -> (UH1 -> UH1)) = method2() │
00:00:47 #8106 [Verbose] > │ let v8 : UH4 = method4() │
00:00:47 #8107 [Verbose] > │ let v9 : (UH1 -> UH3) = closure142(v8) │
00:00:47 #8108 [Verbose] > │ let v10 : (UH1 -> UH1) = v7 v9 │
00:00:47 #8109 [Verbose] > │ let v11 : UH1 = v10 v0 │
00:00:47 #8110 [Verbose] > │ let v12 : (unit -> UH8) = closure148(v10, v0, v11) │
00:00:47 #8111 [Verbose] > │ let v13 : UH8 = UH8_0(v0, v12) │
00:00:47 #8112 [Verbose] > │ let v14 : US4 = method12(v3, v13) │
00:00:47 #8113 [Verbose] > │ let v18 : UH1 = │
00:00:47 #8114 [Verbose] > │ match v14 with │
00:00:47 #8115 [Verbose] > │ | US4_0 -> (* None *) │
00:00:47 #8116 [Verbose] > │ failwith<UH1> "Option does not have a value." │
00:00:47 #8117 [Verbose] > │ | US4_1(v15) -> (* Some *) │
00:00:47 #8118 [Verbose] > │ v15 │
00:00:47 #8119 [Verbose] > │ let v19 : UH9 = UH9_1 │
00:00:47 #8120 [Verbose] > │ let v20 : UH9 = method13(v18, v19) │
00:00:47 #8121 [Verbose] > │ let v21 : UH7 = UH7_1 │
00:00:47 #8122 [Verbose] > │ let v22 : UH7 = method14(v20, v21) │
00:00:47 #8123 [Verbose] > │ let v23 : float = 0.65 │
00:00:47 #8124 [Verbose] > │ let v24 : float = 0.0 │
00:00:47 #8125 [Verbose] > │ let v25 : float = 0.0 │
00:00:47 #8126 [Verbose] > │ let v26 : UH7 = UH7_1 │
00:00:47 #8127 [Verbose] > │ let v27 : UH7 = UH7_0(v23, v24, v25, v26) │
00:00:47 #8128 [Verbose] > │ let v28 : UH7 = method15(v22, v27) │
00:00:47 #8129 [Verbose] > │ let v29 : UH10 = UH10_1 │
00:00:47 #8130 [Verbose] > │ let v30 : UH10 = method16(v28, v29) │
00:00:47 #8131 [Verbose] > │ let v31 : UH11 = UH11_1 │
00:00:47 #8132 [Verbose] > │ let v32 : UH11 = method17(v30, v31) │
00:00:47 #8133 [Verbose] > │ let struct (v33 : UH0, v34 : UH0) = method18(v32) │
00:00:47 #8134 [Verbose] > │ let v35 : UH12 = UH12_1 │
00:00:47 #8135 [Verbose] > │ let v36 : UH12 = method19(v33, v35) │
00:00:47 #8136 [Verbose] > │ let v37 : float = 0.0 │
00:00:47 #8137 [Verbose] > │ let v38 : UH12 = UH12_0(v37, v36) │
00:00:47 #8138 [Verbose] > │ let v39 : (float []) = method20(v38) │
00:00:47 #8139 [Verbose] > │ let v40 : UH12 = UH12_1 │
00:00:47 #8140 [Verbose] > │ let v41 : UH12 = method19(v34, v40) │
00:00:47 #8141 [Verbose] > │ let v42 : float = 0.0 │
00:00:47 #8142 [Verbose] > │ let v43 : UH12 = UH12_0(v42, v41) │
00:00:47 #8143 [Verbose] > │ let v44 : (float []) = method20(v43) │
00:00:47 #8144 [Verbose] > │ let v45 : (unit -> UH2) = closure153(v6) │
00:00:47 #8145 [Verbose] > │ UH2_0(v39, v44, v45) │
00:00:47 #8146 [Verbose] > │ | UH0_1 -> (* StreamNil *) │
00:00:47 #8147 [Verbose] > │ v2 │
00:00:47 #8148 [Verbose] > │ and closure154 (v0 : UH13) () : UH13 = │
00:00:47 #8149 [Verbose] > │ v0 │
00:00:47 #8150 [Verbose] > │ and method23 (v0 : UH2, v1 : UH13, v2 : int32) : struct (UH13 * int32) = │
00:00:47 #8151 [Verbose] > │ match v0 with │
00:00:47 #8152 [Verbose] > │ | UH2_0(v3, v4, v5) -> (* StreamCons *) │
00:00:47 #8153 [Verbose] > │ let v6 : int32 = v2 + 1 │
00:00:47 #8154 [Verbose] > │ let v7 : UH2 = v5 () │
00:00:47 #8155 [Verbose] > │ let v8 : (unit -> UH13) = closure154(v1) │
00:00:47 #8156 [Verbose] > │ let v9 : UH13 = UH13_0(v2, v3, v4, v8) │
00:00:47 #8157 [Verbose] > │ method23(v7, v9, v6) │
00:00:47 #8158 [Verbose] > │ | UH2_1 -> (* StreamNil *) │
00:00:47 #8159 [Verbose] > │ struct (v1, v2) │
00:00:47 #8160 [Verbose] > │ and closure155 (v0 : UH13) () : UH13 = │
00:00:47 #8161 [Verbose] > │ v0 │
00:00:47 #8162 [Verbose] > │ and method24 (v0 : UH13, v1 : UH13) : UH13 = │
00:00:47 #8163 [Verbose] > │ match v0 with │
00:00:47 #8164 [Verbose] > │ | UH13_0(v2, v3, v4, v5) -> (* StreamCons *) │
00:00:47 #8165 [Verbose] > │ let v6 : UH13 = v5 () │
00:00:47 #8166 [Verbose] > │ let v7 : (unit -> UH13) = closure155(v1) │
00:00:47 #8167 [Verbose] > │ let v8 : UH13 = UH13_0(v2, v3, v4, v7) │
00:00:47 #8168 [Verbose] > │ method24(v6, v8) │
00:00:47 #8169 [Verbose] > │ | UH13_1 -> (* StreamNil *) │
00:00:47 #8170 [Verbose] > │ v1 │
00:00:47 #8171 [Verbose] > │ and closure156 (v0 : UH14) () : UH14 = │
00:00:47 #8172 [Verbose] > │ v0 │
00:00:47 #8173 [Verbose] > │ and method25 (v0 : UH13, v1 : UH14) : UH14 = │
00:00:47 #8174 [Verbose] > │ match v0 with │
00:00:47 #8175 [Verbose] > │ | UH13_0(v2, v3, v4, v5) -> (* StreamCons *) │
00:00:47 #8176 [Verbose] > │ let v6 : UH13 = v5 () │
00:00:47 #8177 [Verbose] > │ let v7 : UH14 = method25(v6, v1) │
00:00:47 #8178 [Verbose] > │ let v8 : string = $"{v2}" │
00:00:47 #8179 [Verbose] > │ let v9 : (struct (string * (float []) * (float [])) []) = [|struct │
00:00:47 #8180 [Verbose] > │ (v8, v3, v4)|] │
00:00:47 #8181 [Verbose] > │ let v10 : string = "wave" │
00:00:47 #8182 [Verbose] > │ let v11 : string = "position (m)" │
00:00:47 #8183 [Verbose] > │ let v12 : string = "displacement (m)" │
00:00:47 #8184 [Verbose] > │ let v13 : (unit -> UH14) = closure156(v7) │
00:00:47 #8185 [Verbose] > │ UH14_0(v10, v11, v12, v9, v13) │
00:00:47 #8186 [Verbose] > │ | UH13_1 -> (* StreamNil *) │
00:00:47 #8187 [Verbose] > │ v1 │
00:00:47 #8188 [Verbose] > │ and method26 (v0 : UH14, v1 : UH15) : UH15 = │
00:00:47 #8189 [Verbose] > │ match v0 with │
00:00:47 #8190 [Verbose] > │ | UH14_0(v2, v3, v4, v5, v6) -> (* StreamCons *) │
00:00:47 #8191 [Verbose] > │ let v7 : UH14 = v6 () │
00:00:47 #8192 [Verbose] > │ let v8 : UH15 = method26(v7, v1) │
00:00:47 #8193 [Verbose] > │ UH15_0(v2, v3, v4, v5, v8) │
00:00:47 #8194 [Verbose] > │ | UH14_1 -> (* StreamNil *) │
00:00:47 #8195 [Verbose] > │ v1 │
00:00:47 #8196 [Verbose] > │ and method28 (v0 : UH15, v1 : int32) : int32 = │
00:00:47 #8197 [Verbose] > │ match v0 with │
00:00:47 #8198 [Verbose] > │ | UH15_0(v2, v3, v4, v5, v6) -> (* Cons *) │
00:00:47 #8199 [Verbose] > │ let v7 : int32 = v1 + 1 │
00:00:47 #8200 [Verbose] > │ method28(v6, v7) │
00:00:47 #8201 [Verbose] > │ | UH15_1 -> (* Nil *) │
00:00:47 #8202 [Verbose] > │ v1 │
00:00:47 #8203 [Verbose] > │ and method29 (v0 : (struct (string * string * string * (struct (string * │
00:00:47 #8204 [Verbose] > │ (float []) * (float [])) [])) []), v1 : UH15, v2 : int32) : int32 = │
00:00:47 #8205 [Verbose] > │ match v1 with │
00:00:47 #8206 [Verbose] > │ | UH15_0(v3, v4, v5, v6, v7) -> (* Cons *) │
00:00:47 #8207 [Verbose] > │ v0.[int v2] <- struct (v3, v4, v5, v6) │
00:00:47 #8208 [Verbose] > │ let v8 : int32 = v2 + 1 │
00:00:47 #8209 [Verbose] > │ method29(v0, v7, v8) │
00:00:47 #8210 [Verbose] > │ | UH15_1 -> (* Nil *) │
00:00:47 #8211 [Verbose] > │ v2 │
00:00:47 #8212 [Verbose] > │ and method27 (v0 : UH15) : (struct (string * string * string * (struct │
00:00:47 #8213 [Verbose] > │ (string * (float []) * (float [])) [])) []) = │
00:00:47 #8214 [Verbose] > │ let v1 : int32 = 0 │
00:00:47 #8215 [Verbose] > │ let v2 : int32 = method28(v0, v1) │
00:00:47 #8216 [Verbose] > │ let v3 : (struct (string * string * string * (struct (string * (float [ │
00:00:47 #8217 [Verbose] > │ ]) * (float [])) [])) []) = Array.zeroCreate<struct (string * string * │
00:00:47 #8218 [Verbose] > │ string * (struct (string * (float []) * (float [])) []))> (v2) │
00:00:47 #8219 [Verbose] > │ let v4 : int32 = 0 │
00:00:47 #8220 [Verbose] > │ let v5 : int32 = method29(v3, v0, v4) │
00:00:47 #8221 [Verbose] > │ v3 │
00:00:47 #8222 [Verbose] > │ and method0 () : (struct (string * string * string * (struct (string * │
00:00:47 #8223 [Verbose] > │ (float []) * (float [])) [])) []) = │
00:00:47 #8224 [Verbose] > │ let v0 : float = 0.0 │
00:00:47 #8225 [Verbose] > │ let v1 : (unit -> UH0) = closure0() │
00:00:47 #8226 [Verbose] > │ let v2 : UH0 = UH0_0(v0, v1) │
00:00:47 #8227 [Verbose] > │ let v3 : float = 0.0 │
00:00:47 #8228 [Verbose] > │ let v4 : float = 8.422578125E-06 │
00:00:47 #8229 [Verbose] > │ let v5 : float = 0.01 │
00:00:47 #8230 [Verbose] > │ let v6 : float = 0.0007224452478461068 │
00:00:47 #8231 [Verbose] > │ let v7 : float = 0.0 │
00:00:47 #8232 [Verbose] > │ let v8 : float = 0.0 │
00:00:47 #8233 [Verbose] > │ let v9 : float = 0.0 │
00:00:47 #8234 [Verbose] > │ let v10 : float = 0.0 │
00:00:47 #8235 [Verbose] > │ let v11 : float = 0.0 │
00:00:47 #8236 [Verbose] > │ let v12 : (unit -> UH1) = closure66() │
00:00:47 #8237 [Verbose] > │ let v13 : UH1 = UH1_0(v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) │
00:00:47 #8238 [Verbose] > │ let v14 : UH2 = UH2_1 │
00:00:47 #8239 [Verbose] > │ let v15 : UH2 = method1(v13, v2, v14) │
00:00:47 #8240 [Verbose] > │ let v16 : UH13 = UH13_1 │
00:00:47 #8241 [Verbose] > │ let v17 : int32 = 0 │
00:00:47 #8242 [Verbose] > │ let struct (v18 : UH13, v19 : int32) = method23(v15, v16, v17) │
00:00:47 #8243 [Verbose] > │ let v20 : UH13 = UH13_1 │
00:00:47 #8244 [Verbose] > │ let v21 : UH13 = method24(v18, v20) │
00:00:47 #8245 [Verbose] > │ let v22 : UH14 = UH14_1 │
00:00:47 #8246 [Verbose] > │ let v23 : UH14 = method25(v21, v22) │
00:00:47 #8247 [Verbose] > │ let v24 : UH15 = UH15_1 │
00:00:47 #8248 [Verbose] > │ let v25 : UH15 = method26(v23, v24) │
00:00:47 #8249 [Verbose] > │ method27(v25) │
00:00:47 #8250 [Verbose] > │ method0() │
00:00:47 #8251 [Verbose] > │ │
00:00:47 #8252 [Verbose] > │ │
00:00:47 #8253 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:47 #8254 [Verbose] >
00:00:47 #8255 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:47 #8256 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:47 #8257 [Verbose] > │ ## end │
00:00:47 #8258 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:49 #8259 [Verbose] > [NbConvertApp] Converting notebook physics.dib.ipynb to html
00:00:49 #8260 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:00:49 #8261 [Verbose] > validate(nb)
00:00:49 #8262 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:00:49 #8263 [Verbose] > return _pygments_highlight(
00:00:53 #8264 [Verbose] > [NbConvertApp] Writing 2727737 bytes to physics.dib.html
00:00:53 #8265 [Debug] executeAsync / exitCode: 0 / output.Length: 563440
00:00:53 #8266 [Debug] main / executeCommand / exitCode: 0
00:00:00 #1 [Debug] writeDibCode / output: Spi / path: listm'.dib
00:00:00 #1 [Debug] writeDibCode / output: Spi / path: optionm'.dib
00:00:00 #1 [Debug] writeDibCode / output: Spi / path: am'.dib
00:00:00 #1 [Debug] writeDibCode / output: Spi / path: console.dib
00:00:00 #1 [Debug] writeDibCode / output: Spi / path: testing.dib
00:00:00 #1 [Debug] writeDibCode / output: Spi / path: benchmark.dib
00:00:00 #1 [Debug] writeDibCode / output: Spi / path: common.dib
00:00:00 #1 [Debug] writeDibCode / output: Spi / path: math.dib
00:00:00 #7 [Debug] parseDibCode / output: Spi / file: math.dib
00:00:00 #9 [Debug] parseDibCode / output: Spi / file: console.dib
00:00:00 #6 [Debug] parseDibCode / output: Spi / file: common.dib
00:00:00 #5 [Debug] parseDibCode / output: Spi / file: optionm'.dib
00:00:00 #4 [Debug] parseDibCode / output: Spi / file: listm'.dib
00:00:00 #8 [Debug] parseDibCode / output: Spi / file: am'.dib
00:00:00 #3 [Debug] parseDibCode / output: Spi / file: benchmark.dib
00:00:00 #3 [Debug] parseDibCode / output: Spi / file: testing.dib
00:00:00 #12 [Debug] writeDibCode / output: Spi / path: physics.dib
00:00:00 #12 [Debug] writeDibCode / output: Spi / path: util.dib
00:00:00 #12 [Debug] writeDibCode / output: Spi / path: stream.dib
00:00:00 #12 [Debug] writeDibCode / output: Spi / path: seq.dib
00:00:00 #14 [Debug] parseDibCode / output: Spi / file: util.dib
00:00:00 #13 [Debug] parseDibCode / output: Spi / file: physics.dib
00:00:00 #15 [Debug] parseDibCode / output: Spi / file: stream.dib
00:00:00 #16 [Debug] parseDibCode / output: Spi / file: seq.dib
In [ ]:
{ . "$ScriptDir/../apps/chat/build.ps1" } | Invoke-Block
Finished release [optimized] target(s) in 0.19s ## 7 Finished release [optimized] target(s) in 14.42s Running `target/release/chat` new: ExecutionFinalResult { total_gas_burnt: NearGas { inner: 5296605557370, }, transaction: ExecutionOutcome { transaction_hash: 7nAmmzdpZXuzUg2k7A1RbuJteDr12ZXzvumLGsa3npar, block_hash: 8VWLWjpPvYma4Kwys1saXk8KoEmdLN7HgKBmu7R5XmqX, logs: [], receipt_ids: [ D63Qk56nkD92Su4B1HbHLnAYbdGj5ATMUXTAELY3dAiN, ], gas_burnt: NearGas { inner: 2427927707802, }, tokens_burnt: 242792770780200000000, executor_id: AccountId( "dev-20231025194759-87074474474344", ), status: SuccessReceiptId(D63Qk56nkD92Su4B1HbHLnAYbdGj5ATMUXTAELY3dAiN), }, receipts: [ ExecutionOutcome { transaction_hash: D63Qk56nkD92Su4B1HbHLnAYbdGj5ATMUXTAELY3dAiN, block_hash: 8VWLWjpPvYma4Kwys1saXk8KoEmdLN7HgKBmu7R5XmqX, logs: [], receipt_ids: [ XcKRtgDnzY2rgjqfpBSwHA1d6bdFQKfJFeQBKGnoYBq, ], gas_burnt: NearGas { inner: 2645495287068, }, tokens_burnt: 264549528706800000000, executor_id: AccountId( "dev-20231025194759-87074474474344", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: XcKRtgDnzY2rgjqfpBSwHA1d6bdFQKfJFeQBKGnoYBq, block_hash: Dt7MWpMfNUWQsYwMaELuzrufNp4xvafAGi4YYED7LDRZ, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: 0, executor_id: AccountId( "dev-20231025194759-87074474474344", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.00353813251232316 outcome (success: true): outcome_gas_burnt_usd: 0.001621855708811736 outcome_tokens_burnt_usd: 0.001621855708811736 outcome (success: true): outcome_gas_burnt_usd: 0.001767190851761424 outcome_tokens_burnt_usd: 0.001767190851761424 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 claim_alias(contract, ''): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 5293307489320, }, transaction: ExecutionOutcome { transaction_hash: Hw3mBmbzRTbdTWjZb39ikB7CD5roXV1tU6PwWFRt42qk, block_hash: BKMWnHBP7UW6oZ7H4SYRjh11X8pHR8G4MZzmomXRtzuh, logs: [], receipt_ids: [ DA9vLoAtsGxUkAQps2FuRPD1TECfGWM9QJi3LT6MzhNU, ], gas_burnt: NearGas { inner: 2427972426482, }, tokens_burnt: 242797242648200000000, executor_id: AccountId( "dev-20231025194759-87074474474344", ), status: SuccessReceiptId(DA9vLoAtsGxUkAQps2FuRPD1TECfGWM9QJi3LT6MzhNU), }, receipts: [ ExecutionOutcome { transaction_hash: DA9vLoAtsGxUkAQps2FuRPD1TECfGWM9QJi3LT6MzhNU, block_hash: BKMWnHBP7UW6oZ7H4SYRjh11X8pHR8G4MZzmomXRtzuh, logs: [ "claim_alias / alias: \"\" / account_id: AccountId(\n \"dev-20231025194759-87074474474344\",\n) / timestamp: 1698263282064135171", ], receipt_ids: [ GpEb1zJjfo8fpK6nzsZhKZ2AaexCm6BsU4V1MnKNYeu8, ], gas_burnt: NearGas { inner: 2642152500338, }, tokens_burnt: 264215250033800000000, executor_id: AccountId( "dev-20231025194759-87074474474344", ), status: Failure(ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError("Smart contract panicked: Invalid alias")) })), }, ExecutionOutcome { transaction_hash: GpEb1zJjfo8fpK6nzsZhKZ2AaexCm6BsU4V1MnKNYeu8, block_hash: G1pxEW55Ajjugeqhcv4eNF8W5icN5RwjoxrNhxmpcHmZ, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: 0, executor_id: AccountId( "dev-20231025194759-87074474474344", ), status: SuccessValue(''), }, ], status: Failure(ActionError(ActionError { index: Some(0), kind: FunctionCallError(ExecutionError("Smart contract panicked: Invalid alias")) })), } total_gas_burnt_usd: 0.00353592940286576 outcome (success: true): outcome_gas_burnt_usd: 0.001621885580889976 outcome_tokens_burnt_usd: 0.0016218855808899759 outcome (success: false): outcome_gas_burnt_usd: 0.0017649578702257842 outcome_tokens_burnt_usd: 0.0017649578702257837 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 dev_create_account(account1): Account { id: AccountId( "dev-20231025194802-96255602969796", ), } generate_cid_borsh(account1): ViewResultDetails { result: [ 59, 0, 0, 0, 98, 97, 102, 107, 114, 101, 105, 104, 100, 119, 100, 99, 101, 102, 103, 104, 52, 100, 113, 107, 106, 118, 54, 55, 117, 122, 99, 109, 119, 55, 111, 106, 101, 101, 54, 120, 101, 100, 122, 100, 101, 116, 111, 106, 117, 122, 106, 101, 118, 116, 101, 110, 120, 113, 117, 118, 121, 107, 117, ], logs: [], } claim_alias(account1, alias1): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 5920999705861, }, transaction: ExecutionOutcome { transaction_hash: 2UH5uJynTAomovS51CjVdMVC8SGcPG1tKNR6Agy6mFgm, block_hash: GTuZmCkTLDU2BAhNGYxk84mgTcqzsxxwS5iSCa8gpJsK, logs: [], receipt_ids: [ 8TdJjpNUrah7E7HnNNnpiLkvt1qQ4GT3FNC6gwoTs6ow, ], gas_burnt: NearGas { inner: 2427985842086, }, tokens_burnt: 242798584208600000000, executor_id: AccountId( "dev-20231025194802-96255602969796", ), status: SuccessReceiptId(8TdJjpNUrah7E7HnNNnpiLkvt1qQ4GT3FNC6gwoTs6ow), }, receipts: [ ExecutionOutcome { transaction_hash: 8TdJjpNUrah7E7HnNNnpiLkvt1qQ4GT3FNC6gwoTs6ow, block_hash: 79R7NRrSYeD9cQjbWrJyAiXeDQqEP9np9Cxd7A9syJgd, logs: [ "claim_alias / alias: \"alias1\" / account_id: AccountId(\n \"dev-20231025194802-96255602969796\",\n) / timestamp: 1698263284291019971", ], receipt_ids: [ FcWNmieFJdH7DuC3kHdG9S9NTGcQYLrVf71fPtLYgTL5, ], gas_burnt: NearGas { inner: 3269831301275, }, tokens_burnt: 326983130127500000000, executor_id: AccountId( "dev-20231025194759-87074474474344", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: FcWNmieFJdH7DuC3kHdG9S9NTGcQYLrVf71fPtLYgTL5, block_hash: 9GU2WRvJY18GS1UBPwo3KyzFK3TCEkt41Bev5gKyt5ex, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: 0, executor_id: AccountId( "dev-20231025194802-96255602969796", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.003955227803515148 outcome (success: true): outcome_gas_burnt_usd: 0.0016218945425134478 outcome_tokens_burnt_usd: 0.001621894542513448 outcome (success: true): outcome_gas_burnt_usd: 0.0021842473092517 outcome_tokens_burnt_usd: 0.0021842473092517 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 claim_alias(account1, alias1): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 5562755887684, }, transaction: ExecutionOutcome { transaction_hash: Hj8CjvGZqUVKg6Y9zoFWNsRa87pLnMXupNMUM4DvBjSu, block_hash: CeuakqSibbE6SjZVcgSfdUCrzQGVKb622QkZHsJVwm9Y, logs: [], receipt_ids: [ AKhzcuE5qA1kpQZG232WebLiWFWHZU5npVoF4pJJQzmA, ], gas_burnt: NearGas { inner: 2427985842086, }, tokens_burnt: 242798584208600000000, executor_id: AccountId( "dev-20231025194802-96255602969796", ), status: SuccessReceiptId(AKhzcuE5qA1kpQZG232WebLiWFWHZU5npVoF4pJJQzmA), }, receipts: [ ExecutionOutcome { transaction_hash: AKhzcuE5qA1kpQZG232WebLiWFWHZU5npVoF4pJJQzmA, block_hash: HZNX2BgKrsa1TvKcCy6hp9TgzikC2NJAbYgspAfngHkF, logs: [ "claim_alias / alias: \"alias1\" / account_id: AccountId(\n \"dev-20231025194802-96255602969796\",\n) / timestamp: 1698263285304933971", "Alias already claimed", ], receipt_ids: [ 9cfNcKNXLTQUEQi1TjCwiA9rap1Ny7dkZCst3VxA9C7W, ], gas_burnt: NearGas { inner: 2911587483098, }, tokens_burnt: 291158748309800000000, executor_id: AccountId( "dev-20231025194759-87074474474344", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: 9cfNcKNXLTQUEQi1TjCwiA9rap1Ny7dkZCst3VxA9C7W, block_hash: 9JjM52Q2JhDKeJp77Cri4Ecf38m37xArcEkh3PMvEXRM, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: 0, executor_id: AccountId( "dev-20231025194802-96255602969796", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.0037159209329729118 outcome (success: true): outcome_gas_burnt_usd: 0.0016218945425134478 outcome_tokens_burnt_usd: 0.001621894542513448 outcome (success: true): outcome_gas_burnt_usd: 0.001944940438709464 outcome_tokens_burnt_usd: 0.001944940438709464 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 get_account_info(account1): Some( ( "alias1", ( 1698263284291019971, 0, ), ), ) get_alias_map(account1, alias1): Some( { AccountId( "dev-20231025194802-96255602969796", ): ( 1698263284291019971, 0, ), }, ) dev_create_account(account2): Account { id: AccountId( "dev-20231025194805-83251650385434", ), } claim_alias(alias2): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 6029011441417, }, transaction: ExecutionOutcome { transaction_hash: 4SUaGr6qWJEykd7ypF5twXWPUteVXchEqzFEDwv8FwAz, block_hash: FmycftiDkex7nHHEAjhgyGBqgmQefTwYVqVuWHdrt3ps, logs: [], receipt_ids: [ FoojN9AVJxdsTfwRwV27dMUWoyAoWQDKfYyo8wWNeNZX, ], gas_burnt: NearGas { inner: 2427985842086, }, tokens_burnt: 242798584208600000000, executor_id: AccountId( "dev-20231025194805-83251650385434", ), status: SuccessReceiptId(FoojN9AVJxdsTfwRwV27dMUWoyAoWQDKfYyo8wWNeNZX), }, receipts: [ ExecutionOutcome { transaction_hash: FoojN9AVJxdsTfwRwV27dMUWoyAoWQDKfYyo8wWNeNZX, block_hash: BMRXdWAwfucoXoGtnuJMjae9gTXcyUXtb4BUieKzhzD9, logs: [ "claim_alias / alias: \"alias2\" / account_id: AccountId(\n \"dev-20231025194805-83251650385434\",\n) / timestamp: 1698263287340470504", ], receipt_ids: [ GGv7RnfqKN3wrH6ZybSefsUWEJj4WLSMTvXZyerhwkSV, ], gas_burnt: NearGas { inner: 3377843036831, }, tokens_burnt: 337784303683100000000, executor_id: AccountId( "dev-20231025194759-87074474474344", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: GGv7RnfqKN3wrH6ZybSefsUWEJj4WLSMTvXZyerhwkSV, block_hash: 3kudwspMpUJWJZHbcJq4D8Zf3bABjEhvJ9iSPPDK4uBS, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: 0, executor_id: AccountId( "dev-20231025194805-83251650385434", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.004027379642866555 outcome (success: true): outcome_gas_burnt_usd: 0.0016218945425134478 outcome_tokens_burnt_usd: 0.001621894542513448 outcome (success: true): outcome_gas_burnt_usd: 0.0022563991486031078 outcome_tokens_burnt_usd: 0.002256399148603108 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 get_account_info(account2): Some( ( "alias2", ( 1698263287340470504, 0, ), ), ) get_alias_map_borsh(alias2): Some( { AccountId( "dev-20231025194805-83251650385434", ): ( 1698263287340470504, 0, ), }, ) claim_alias(account2, alias1): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 6092566064476, }, transaction: ExecutionOutcome { transaction_hash: BtMKcKooGXfYWNRxhVuvunJi5DLUBg7fWj2USTbDLNfF, block_hash: 6o5MtMQyvbJuEMcweQXv1rEJkEsjDT7VLsVTUqh51ko2, logs: [], receipt_ids: [ Eceu72mVMAby7vHnSxf6vTgAdTcyd1K9aEuuJXJA4zZQ, ], gas_burnt: NearGas { inner: 2427985842086, }, tokens_burnt: 242798584208600000000, executor_id: AccountId( "dev-20231025194805-83251650385434", ), status: SuccessReceiptId(Eceu72mVMAby7vHnSxf6vTgAdTcyd1K9aEuuJXJA4zZQ), }, receipts: [ ExecutionOutcome { transaction_hash: Eceu72mVMAby7vHnSxf6vTgAdTcyd1K9aEuuJXJA4zZQ, block_hash: 2SvQgJLfABoJuiuwoTUg7FeG9Smh4N1pzy9VdksAGFv4, logs: [ "claim_alias / alias: \"alias1\" / account_id: AccountId(\n \"dev-20231025194805-83251650385434\",\n) / timestamp: 1698263288375044845", ], receipt_ids: [ 8W96vY2qkuKSK1QkBwb6ThzLME26oS5YjpwtzZ7vv2K, ], gas_burnt: NearGas { inner: 3441397659890, }, tokens_burnt: 344139765989000000000, executor_id: AccountId( "dev-20231025194759-87074474474344", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: 8W96vY2qkuKSK1QkBwb6ThzLME26oS5YjpwtzZ7vv2K, block_hash: bvFVVEDYSaK2Da8gvjA83vpnEa8S1P6KYE3caPPjuyt, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: 0, executor_id: AccountId( "dev-20231025194805-83251650385434", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.004069834131069968 outcome (success: true): outcome_gas_burnt_usd: 0.0016218945425134478 outcome_tokens_burnt_usd: 0.001621894542513448 outcome (success: true): outcome_gas_burnt_usd: 0.00229885363680652 outcome_tokens_burnt_usd: 0.00229885363680652 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 get_account_info(account2): Some( ( "alias1", ( 1698263288375044845, 1, ), ), ) get_alias_map(account2, alias1): Some( { AccountId( "dev-20231025194802-96255602969796", ): ( 1698263284291019971, 0, ), AccountId( "dev-20231025194805-83251650385434", ): ( 1698263288375044845, 1, ), }, ) get_alias_map(account2, alias2): Some( {}, ) claim_alias(account1, alias2): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 6088337098636, }, transaction: ExecutionOutcome { transaction_hash: DBaM7PkUtP7tf6zzJdVLDdxWWP5V37xgMN7DdRgEatqj, block_hash: 83wn9CqgTuyQLqx6hfkcgCvNoK78u4PzD4ozvuZ9YW7g, logs: [], receipt_ids: [ 72Cyw5RYt9GPnHNyS2W3yCouKrzbcr3zH7neF1KjgW7K, ], gas_burnt: NearGas { inner: 2427985842086, }, tokens_burnt: 242798584208600000000, executor_id: AccountId( "dev-20231025194802-96255602969796", ), status: SuccessReceiptId(72Cyw5RYt9GPnHNyS2W3yCouKrzbcr3zH7neF1KjgW7K), }, receipts: [ ExecutionOutcome { transaction_hash: 72Cyw5RYt9GPnHNyS2W3yCouKrzbcr3zH7neF1KjgW7K, block_hash: DzcskjMwPwzq1Knjtn1Wpbz8yvyjHxMGVoAhi3wyti9A, logs: [ "claim_alias / alias: \"alias2\" / account_id: AccountId(\n \"dev-20231025194802-96255602969796\",\n) / timestamp: 1698263289615574504", ], receipt_ids: [ 5hM8js3WPipN6GRW9tPAur2sXUyVFhhxf7ficR6Yu9PH, ], gas_burnt: NearGas { inner: 3437168694050, }, tokens_burnt: 343716869405000000000, executor_id: AccountId( "dev-20231025194759-87074474474344", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: 5hM8js3WPipN6GRW9tPAur2sXUyVFhhxf7ficR6Yu9PH, block_hash: 3RbivBucZEbr2UhCTzaA7VcXCWKSvoCZoTQCHs6mhPXr, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: 0, executor_id: AccountId( "dev-20231025194802-96255602969796", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.004067009181888848 outcome (success: true): outcome_gas_burnt_usd: 0.0016218945425134478 outcome_tokens_burnt_usd: 0.001621894542513448 outcome (success: true): outcome_gas_burnt_usd: 0.0022960286876254 outcome_tokens_burnt_usd: 0.0022960286876254 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 get_account_info(account1): Some( ( "alias2", ( 1698263289615574504, 0, ), ), ) get_alias_map(account1, alias2): Some( { AccountId( "dev-20231025194802-96255602969796", ): ( 1698263289615574504, 0, ), }, ) get_alias_map(account1, alias1): Some( { AccountId( "dev-20231025194805-83251650385434", ): ( 1698263288375044845, 1, ), }, ) claim_alias(account1, alias1): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 6092566064476, }, transaction: ExecutionOutcome { transaction_hash: 6ZYrNSEZwmHQFWAX3w1ZnumYJatmvyVuJ83BGdNG1cEe, block_hash: 8h9hKja8nup6G2NSBiCMZDRuSmzketxUpvQeuzJJciyT, logs: [], receipt_ids: [ 7VwYoPjAucgQsRU6BXqCqVv2LyKvGMvc2MCppLZiLYhS, ], gas_burnt: NearGas { inner: 2427985842086, }, tokens_burnt: 242798584208600000000, executor_id: AccountId( "dev-20231025194802-96255602969796", ), status: SuccessReceiptId(7VwYoPjAucgQsRU6BXqCqVv2LyKvGMvc2MCppLZiLYhS), }, receipts: [ ExecutionOutcome { transaction_hash: 7VwYoPjAucgQsRU6BXqCqVv2LyKvGMvc2MCppLZiLYhS, block_hash: DPFziZvH7GTgmiKhaevMALphKLguqHoWKjj7J6kNPVWB, logs: [ "claim_alias / alias: \"alias1\" / account_id: AccountId(\n \"dev-20231025194802-96255602969796\",\n) / timestamp: 1698263290645739462", ], receipt_ids: [ BF46p5WooD28hreMvXGjQpEucLUTfdksPggbK9nnz4Bg, ], gas_burnt: NearGas { inner: 3441397659890, }, tokens_burnt: 344139765989000000000, executor_id: AccountId( "dev-20231025194759-87074474474344", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: BF46p5WooD28hreMvXGjQpEucLUTfdksPggbK9nnz4Bg, block_hash: 9Kk69rF2pxKbFFF6NtXGCG4j3rSohDQqMBHPumF3UEFE, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: 0, executor_id: AccountId( "dev-20231025194802-96255602969796", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.004069834131069968 outcome (success: true): outcome_gas_burnt_usd: 0.0016218945425134478 outcome_tokens_burnt_usd: 0.001621894542513448 outcome (success: true): outcome_gas_burnt_usd: 0.00229885363680652 outcome_tokens_burnt_usd: 0.00229885363680652 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 get_account_info(account1): Some( ( "alias1", ( 1698263290645739462, 1, ), ), ) get_alias_map(account1, alias1): Some( { AccountId( "dev-20231025194805-83251650385434", ): ( 1698263288375044845, 0, ), AccountId( "dev-20231025194802-96255602969796", ): ( 1698263290645739462, 1, ), }, ) get_alias_map(account1, alias2): Some( {}, ) Rebuilding... Done in 258ms. 2023-10-25T19:48:17.806752Z INFO 📦 starting build 2023-10-25T19:48:17.807707Z INFO spawning asset pipelines 2023-10-25T19:48:18.279332Z INFO building chat 2023-10-25T19:48:18.279362Z INFO copying & hashing css path="\\\\?\\C:\\home\\git\\polyglot\\apps\\chat\\ui\\target\\tailwind.css" 2023-10-25T19:48:18.279332Z INFO copying & hashing icon path="\\\\?\\C:\\home\\git\\polyglot\\apps\\chat\\ui\\public\\favicon.ico" 2023-10-25T19:48:18.279387Z INFO copying & hashing css path="\\\\?\\C:\\home\\git\\polyglot\\deps\\hyperui\\public\\components.css" 2023-10-25T19:48:18.280699Z INFO finished copying & hashing css path="\\\\?\\C:\\home\\git\\polyglot\\apps\\chat\\ui\\target\\tailwind.css" 2023-10-25T19:48:18.282332Z INFO finished copying & hashing icon path="\\\\?\\C:\\home\\git\\polyglot\\apps\\chat\\ui\\public\\favicon.ico" 2023-10-25T19:48:18.282621Z INFO finished copying & hashing css path="\\\\?\\C:\\home\\git\\polyglot\\deps\\hyperui\\public\\components.css" Finished release [optimized] target(s) in 0.39s 2023-10-25T19:48:18.823674Z INFO fetching cargo artifacts 2023-10-25T19:48:19.362894Z INFO processing WASM for chat 2023-10-25T19:48:19.389965Z INFO calling wasm-bindgen for chat 2023-10-25T19:48:19.561678Z INFO copying generated wasm-bindgen artifacts 2023-10-25T19:48:19.869592Z INFO using system installed binary app=wasm-opt version=version_113 2023-10-25T19:48:19.869817Z INFO calling wasm-opt 2023-10-25T19:48:32.419742Z INFO copying generated wasm-opt artifacts 2023-10-25T19:48:32.426739Z INFO applying new distribution 2023-10-25T19:48:32.431941Z INFO ✅ success Build completed! Filename Size dist\favicon-f1d578da7a480441.ico 16.28 KiB dist\chat-256b136659b2015d_bg.wasm 908.58 KiB dist\chat-256b136659b2015d.js 48.95 KiB dist/tailwind-25555618daee4860-QTLKFJWP.css 6.93 KiB dist/components-61317960c9987b2e-YWB32TZ5.css 78.01 KiB dist/1-22H55Z4H.js 23.51 KiB dist\index.html 1.18 KiB —————————— 1.06 MiB Lockfile is up to date, resolution step is skipped Already up to date Done in 1.3s > polyglot@ test:e2e C:\home\git\polyglot\apps\chat\ui\e2e > playwright test INFO Accepting connections at http://localhost:3000 HTTP 10/25/2023 3:48:42 PM ::1 GET / HTTP 10/25/2023 3:48:42 PM ::1 Returned 200 in 18 ms Running 1 test using 1 worker [1/1] [Desktop Chrome] › test.spec.ts:3:5 › test HTTP 10/25/2023 3:48:45 PM ::1 GET / HTTP 10/25/2023 3:48:45 PM ::1 Returned 200 in 2 ms HTTP 10/25/2023 3:48:45 PM ::1 GET /tailwind-25555618daee4860-QTLKFJWP.css HTTP 10/25/2023 3:48:45 PM ::1 Returned 200 in 3 ms HTTP 10/25/2023 3:48:45 PM ::1 GET /components-61317960c9987b2e-YWB32TZ5.css HTTP 10/25/2023 3:48:45 PM ::1 GET /chat-256b136659b2015d_bg.wasm HTTP 10/25/2023 3:48:45 PM ::1 GET /1-22H55Z4H.js HTTP 10/25/2023 3:48:45 PM ::1 Returned 200 in 5 ms HTTP 10/25/2023 3:48:45 PM ::1 Returned 200 in 6 ms HTTP 10/25/2023 3:48:45 PM ::1 Returned 200 in 12 ms 1 passed (10.0s) To open last HTML report run: npx playwright show-report
In [ ]:
{ . "$ScriptDir/../spiral/test/build.ps1" } | Invoke-Block
── pwsh ────────────────────────────────────────────────────────────────────────
. ../../scripts/nbs_header.ps1
. ../../scripts/core.ps1
── pwsh ────────────────────────────────────────────────────────────────────────
{ . ../../apps/spiral/dist/Supervisor$(GetExecutableSuffix) --buildfile test.spi
test.fsx --timeout 10000 } | Invoke-Block
╭─[ 3.73s - stdout ]───────────────────────────────────────────────────────────╮
│ 00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60 │
│ 00:00:00 #2 [Debug] executeAsync / options: { Command = │
│ "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral │
│ Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" │
│ port=13805" │
│ WorkingDirectory = None │
│ CancellationToken = Some System.Threading.CancellationToken │
│ OnLine = Some <fun:main@411-297> } │
│ 00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\spiral\test │
│ 00:00:00 #4 [Verbose] > dll_path: │
│ C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language │
│ 2\artifacts\bin\The Spiral Language 2\release │
│ 00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500 │
│ 00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0 │
│ 00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / │
│ result.Length: │
│ 00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: │
│ 13805 / retry: 0 │
│ 00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805 │
│ 00:00:01 #10 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:01 #11 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:01 #12 [Debug] sendJson / port: 13805 / json: │
│ {"FileOpen":{"spiText":"inl app () =\n \u0022test\u0022 |\u003E │
│ console.write_line\n 0i32\n\ninl main () =\n print_static │
│ \u0022\u003Ctest\u003E\u0022\n\n app\n |\u003E dyn\n |\u003E │
│ ignore\n\n print_static │
│ \u0022\u003C/test\u003E\u0022\n","uri":"file:///C:\\home\\git\\polyglot\\spi │
│ ral\\test\\test.spi"}} / result.Length: │
│ 00:00:01 #13 [Debug] sendJson / port: 13805 / json: │
│ {"BuildFile":{"backend":"Fsharp","uri":"file:///C:\\home\\git\\polyglot\\spi │
│ ral\\test\\test.spi"}} / result.Length: │
│ 00:00:01 #14 [Verbose] > Building C:\home\git\polyglot\spiral\test\test.spi │
│ 00:00:02 #15 [Debug] buildFile / takeWhileInclusive / fsxContent: / errors: │
│ [] / typeErrorCount: 0 │
│ 00:00:02 #16 [Verbose] > <test> │
│ 00:00:02 #17 [Verbose] > </test> │
│ 00:00:02 #18 [Debug] buildFile / takeWhileInclusive / fsxContent: Some(let │
│ rec closure0 () () : int32 = │
│ let v0 : string = "test" │
│ System.Console.WriteLine v0 │
│ 0 │
│ let v0 : (unit -> int32) = closure0() │
│ () │
│ ) / errors: [] / typeErrorCount: 0 │
│ 00:00:02 #19 [Debug] watchWithFilter / Disposing watch stream / filter: │
│ FileName, LastWrite │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── pwsh ────────────────────────────────────────────────────────────────────────
dotnet fable --optimize --lang rs --extension .rs
╭─[ 3.27s - stdout ]───────────────────────────────────────────────────────────╮
│ Fable 4.2.2: F# to Rust compiler (status: alpha) │
│ │
│ Thanks to the contributor! @simra │
│ Stand with Ukraine! https://standwithukraine.com.ua/ │
│ │
│ Parsing test.fsproj... │
│ Retrieving project options from cache, in case of issues run `dotnet fable │
│ clean` or try `--noCache` option. │
│ Project and references (1 source files) parsed in 202ms │
│ │
│ Started Fable compilation... │
│ Fable compilation finished in 1481ms │
│ │
│ .\test.fsx(6,0): (6,2) warning FABLE: For Rust, support for F# static and │
│ module do bindings is disabled by default. It can be enabled with the │
│ 'static_do_bindings' feature. Use at your own risk! │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── pwsh ────────────────────────────────────────────────────────────────────────
cargo fmt --
── pwsh ────────────────────────────────────────────────────────────────────────
cargo build --release
╭─[ 2.36s - stdout ]───────────────────────────────────────────────────────────╮
│ warning: C:\home\git\polyglot\Cargo.toml: unused manifest key: │
│ lib.members │
│ Compiling test v0.0.1 (C:\home\git\polyglot\spiral\test) │
│ warning: unused import: `info` │
│ --> spiral\test\./main.rs:190:15 │
│ | │
│ 190 | use tracing::{info, Level}; │
│ | ^^^^ │
│ | │
│ = note: `#[warn(unused_imports)]` on by default │
│ │
│ warning: associated items `new`, `add_item`, and `remove_item` are │
│ never used │
│ --> spiral\test\./main.rs:46:8 │
│ | │
│ 45 | impl Cart { │
│ | --------- associated items in this implementation │
│ 46 | fn new() -> Cart { │
│ | ^^^ │
│ ... │
│ 50 | fn add_item(&mut self, item: Item) { │
│ | ^^^^^^^^ │
│ ... │
│ 56 | fn remove_item(&mut self, item: &Item) { │
│ | ^^^^^^^^^^^ │
│ | │
│ = note: `#[warn(dead_code)]` on by default │
│ │
│ warning: function `parse_comment` is never used │
│ --> spiral\test\./main.rs:124:4 │
│ | │
│ 124 | fn parse_comment(input: &str) -> IResult<&str, SpiralToken> { │
│ | ^^^^^^^^^^^^^ │
│ │
│ warning: function `parse_string` is never used │
│ --> spiral\test\./main.rs:130:4 │
│ | │
│ 130 | fn parse_string(input: &str) -> IResult<&str, SpiralToken> { │
│ | ^^^^^^^^^^^^ │
│ │
│ warning: function `parse_identifier` is never used │
│ --> spiral\test\./main.rs:145:4 │
│ | │
│ 145 | fn parse_identifier(input: &str) -> IResult<&str, SpiralToken> {[ │
│ 0m │
│ | ^^^^^^^^^^^^^^^^ │
│ │
│ warning: function `parse_integer` is never used │
│ --> spiral\test\./main.rs:157:4 │
│ | │
│ 157 | fn parse_integer(input: &str) -> IResult<&str, SpiralToken> { │
│ | ^^^^^^^^^^^^^ │
│ │
│ warning: function `parse_operator` is never used │
│ --> spiral\test\./main.rs:165:4 │
│ | │
│ 165 | fn parse_operator(input: &str) -> IResult<&str, SpiralToken> { │
│ | ^^^^^^^^^^^^^^ │
│ │
│ warning: function `parse_token` is never used │
│ --> spiral\test\./main.rs:170:4 │
│ | │
│ 170 | fn parse_token(input: &str) -> IResult<&str, SpiralToken> { │
│ | ^^^^^^^^^^^ │
│ │
│ warning: function `format_token` is never used │
│ --> spiral\test\./main.rs:180:4 │
│ | │
│ 180 | fn format_token(token: &SpiralToken) -> String { │
│ | ^^^^^^^^^^^^ │
│ │
│ warning: function `parse_expression` is never used │
│ --> spiral\test\./main.rs:213:4 │
│ | │
│ 213 | fn parse_expression(input: &str) -> IResult<&str, SpiralToken> {[ │
│ 0m │
│ | ^^^^^^^^^^^^^^^^ │
│ │
│ warning: `test` (bin "test") generated 10 warnings (run `cargo fix │
│ --bin "test"` to apply 1 suggestion) │
│ Finished release [optimized] target(s) in 2.22s │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── pwsh ────────────────────────────────────────────────────────────────────────
$env:RUST_LOG="info"
{ cargo test --release } | Invoke-Block
╭─[ 4.76s - stdout ]───────────────────────────────────────────────────────────╮
│ warning: C:\home\git\polyglot\Cargo.toml: unused manifest key: │
│ lib.members │
│ Compiling test v0.0.1 (C:\home\git\polyglot\spiral\test) │
│ Finished release [optimized] target(s) in 4.35s │
│ Running unittests main.rs │
│ (C:\home\git\polyglot\target\release\deps\test-77978ca43562efd9.exe) │
│ │
│ running 3 tests │
│ test test_parse_number ... ok │
│ 2023-10-25T19:49:09.678149Z INFO test: │
│ input=Integer(-3401637564244955041) │
│ 2023-10-25T19:49:09.678254Z INFO test: │
│ input=StringLiteral("*t}#{c[Z,;MzW$V2^Qm{") │
│ 2023-10-25T19:49:09.678345Z INFO test: │
│ input=Identifier("GB7pKs48wJB32F8GI") │
│ 2023-10-25T19:49:09.678423Z INFO test: │
│ input=Integer(-5201629906612692683) │
│ 2023-10-25T19:49:09.678451Z INFO test: │
│ input=StringLiteral("9opc|V!") │
│ 2023-10-25T19:49:09.678487Z INFO test: input=Operator("-") │
│ 2023-10-25T19:49:09.678508Z INFO test: │
│ input=Integer(5195632556250602787) │
│ 2023-10-25T19:49:09.678532Z INFO test: │
│ input=StringLiteral("*R5]o`:{K&3JCD") │
│ 2023-10-25T19:49:09.678553Z INFO test: │
│ input=Integer(-1903847276831909733) │
│ 2023-10-25T19:49:09.678582Z INFO test: │
│ input=StringLiteral("']p.7=*:n+7::9{'G[.%YA4") │
│ 2023-10-25T19:49:09.678620Z INFO test: │
│ input=Integer(-5027529423320699224) │
│ 2023-10-25T19:49:09.678647Z INFO test: │
│ input=Identifier("njuxNSqWBr8YGM") │
│ 2023-10-25T19:49:09.678669Z INFO test: │
│ input=Integer(-1398733697164108855) │
│ 2023-10-25T19:49:09.678691Z INFO test: input=Operator("=") │
│ 2023-10-25T19:49:09.678740Z INFO test: input=Operator("(") │
│ 2023-10-25T19:49:09.678778Z INFO test: input=Operator("/") │
│ 2023-10-25T19:49:09.678884Z INFO test: input=Operator("-") │
│ 2023-10-25T19:49:09.678925Z INFO test: input=Operator("(") │
│ 2023-10-25T19:49:09.678949Z INFO test: input=Operator("-") │
│ 2023-10-25T19:49:09.678971Z INFO test: │
│ input=Integer(1457629631959229376) │
│ 2023-10-25T19:49:09.679013Z INFO test: │
│ input=StringLiteral("j``2<H7* %XaO+eY0.46.{lh4D%$l") │
│ 2023-10-25T19:49:09.679051Z INFO test: │
│ input=Comment("v:iS+^A=6t'") │
│ 2023-10-25T19:49:09.679079Z INFO test: │
│ input=Identifier("Gz60fj92nLV") │
│ 2023-10-25T19:49:09.679099Z INFO test: │
│ input=Integer(1734536695539124098) │
│ 2023-10-25T19:49:09.679119Z INFO test: │
│ input=Integer(-8414645154125228868) │
│ 2023-10-25T19:49:09.679156Z INFO test: │
│ input=Comment("hPdF'\\\".=L\"a$?.B;`.AA.wsxIK%") │
│ 2023-10-25T19:49:09.679194Z INFO test: │
│ input=Identifier("qr8E3XaXdCA99tOG7JhtByeh") │
│ 2023-10-25T19:49:09.679245Z INFO test: │
│ input=Integer(-5559971998663232908) │
│ 2023-10-25T19:49:09.679300Z INFO test: │
│ input=StringLiteral("~.Q{:?B>.$$%{/d?=>>`K4p{`") │
│ 2023-10-25T19:49:09.679387Z INFO test: │
│ input=StringLiteral("')3x8*K*}um") │
│ 2023-10-25T19:49:09.679419Z INFO test: input=Operator("-") │
│ 2023-10-25T19:49:09.679437Z INFO test: │
│ input=Integer(2835312671910473605) │
│ 2023-10-25T19:49:09.679472Z INFO test: │
│ input=Comment("Bojl`0NXf\\1'(e-&Y23d`fg%W%>:Un") │
│ 2023-10-25T19:49:09.679510Z INFO test: │
│ input=StringLiteral("`?'v&Q`6l?K`!'<8EQT&b:9)Xv{") │
│ 2023-10-25T19:49:09.679545Z INFO test: input=Comment("!j[ │
│ y@:?\"%/\\'%'=$\\/:ro\"/%iJ5I") │
│ 2023-10-25T19:49:09.679595Z INFO test: │
│ input=StringLiteral("M{/$l.X8.?=L{:3C}O)&/6:Q&c") │
│ 2023-10-25T19:49:09.679634Z INFO test: │
│ input=Integer(1511874182688661573) │
│ 2023-10-25T19:49:09.679687Z INFO test: │
│ input=Integer(142320034642490939) │
│ 2023-10-25T19:49:09.682549Z INFO test: │
│ input=Integer(-4175586647024124140) │
│ 2023-10-25T19:49:09.682602Z INFO test: │
│ input=Integer(-2161122322870278642) │
│ 2023-10-25T19:49:09.682645Z INFO test: │
│ input=Comment("\\tXRr*+") │
│ 2023-10-25T19:49:09.682679Z INFO test: input=Comment("2<") │
│ 2023-10-25T19:49:09.682734Z INFO test: │
│ input=Comment("dho\\C]/s*:+}0\"vj<") │
│ 2023-10-25T19:49:09.682795Z INFO test: │
│ input=Comment("2mUV:|dhWn") │
│ 2023-10-25T19:49:09.682865Z INFO test: input=Comment("h") │
│ 2023-10-25T19:49:09.682913Z INFO test: │
│ input=Comment(":bBCT2@/D}Zc") │
│ 2023-10-25T19:49:09.683010Z INFO test: input=Operator("+") │
│ 2023-10-25T19:49:09.683087Z INFO test: input=Operator("-") │
│ 2023-10-25T19:49:09.683140Z INFO test: │
│ input=Identifier("Fv0iBx3maxW7RE0rhj2VV3mQ") │
│ 2023-10-25T19:49:09.683185Z INFO test: │
│ input=Integer(6656842184257576129) │
│ 2023-10-25T19:49:09.683225Z INFO test: input=Operator(")") │
│ 2023-10-25T19:49:09.683268Z INFO test: │
│ input=Integer(4476926549193804023) │
│ 2023-10-25T19:49:09.683301Z INFO test: │
│ input=Integer(1085869485009771495) │
│ 2023-10-25T19:49:09.683364Z INFO test: input=Operator("-") │
│ 2023-10-25T19:49:09.683452Z INFO test: │
│ input=StringLiteral("H.H2<#QFA698Gu{&T):.|`AH%%au[1") │
│ 2023-10-25T19:49:09.683509Z INFO test: │
│ input=StringLiteral("n#:a;V^beTPRs>]q") │
│ 2023-10-25T19:49:09.683570Z INFO test: │
│ input=Identifier("j4H5DtNyn3JnEUyiGXXJqTSi") │
│ 2023-10-25T19:49:09.683616Z INFO test: input=Operator("-") │
│ 2023-10-25T19:49:09.683654Z INFO test: input=Operator("/") │
│ 2023-10-25T19:49:09.683691Z INFO test: │
│ input=Integer(2837067746202227938) │
│ 2023-10-25T19:49:09.683777Z INFO test: input=Comment("mY:[ │
│ %:IL cF].yO,g\">XE=") │
│ 2023-10-25T19:49:09.683842Z INFO test: input=Comment("") │
│ 2023-10-25T19:49:09.683879Z INFO test: │
│ input=Integer(-8584994345129070468) │
│ 2023-10-25T19:49:09.683928Z INFO test: │
│ input=StringLiteral("&Xmr6<NS(+b=MMJu=H9*c") │
│ 2023-10-25T19:49:09.683989Z INFO test: │
│ input=Comment("3'\")P*S:\\V{hrj%t AKz?/8nTl+}.,") │
│ 2023-10-25T19:49:09.684038Z INFO test: input=Operator("/") │
│ 2023-10-25T19:49:09.684085Z INFO test: │
│ input=Identifier("On8D1DVvr") │
│ 2023-10-25T19:49:09.684133Z INFO test: input=Operator(")") │
│ 2023-10-25T19:49:09.684185Z INFO test: │
│ input=StringLiteral(".U*2j3Ih'H:X D5J&#-;") │
│ 2023-10-25T19:49:09.684237Z INFO test: │
│ input=Identifier("CMI3EH6m1LAE") │
│ 2023-10-25T19:49:09.684286Z INFO test: input=Operator(")") │
│ 2023-10-25T19:49:09.684350Z INFO test: │
│ input=StringLiteral("{`n`8O($X9*+P/p$c$ *?m~XM{Di2u") │
│ 2023-10-25T19:49:09.684414Z INFO test: │
│ input=Identifier("UtTP4b61EFc568Y7jD595641Uzjk2") │
│ 2023-10-25T19:49:09.684456Z INFO test: │
│ input=Identifier("k") │
│ 2023-10-25T19:49:09.684487Z INFO test: input=Operator("+") │
│ 2023-10-25T19:49:09.684552Z INFO test: │
│ input=StringLiteral("*") │
│ 2023-10-25T19:49:09.684598Z INFO test: │
│ input=Integer(2697021306013467520) │
│ 2023-10-25T19:49:09.684642Z INFO test: input=Operator("=") │
│ 2023-10-25T19:49:09.684680Z INFO test: input=Operator("=") │
│ 2023-10-25T19:49:09.684760Z INFO test: │
│ input=StringLiteral("*i^uF") │
│ 2023-10-25T19:49:09.684824Z INFO test: input=Operator("/") │
│ 2023-10-25T19:49:09.684920Z INFO test: │
│ input=Comment("Q%v\\!r<'P0`.L\\") │
│ 2023-10-25T19:49:09.684990Z INFO test: │
│ input=Identifier("y") │
│ 2023-10-25T19:49:09.685024Z INFO test: input=Operator("+") │
│ 2023-10-25T19:49:09.685054Z INFO test: input=Comment("k3&* │
│ ") │
│ 2023-10-25T19:49:09.685102Z INFO test: │
│ input=Identifier("TbpcmeseO4p6L7PpQUX54Z0m2D6LHMd") │
│ 2023-10-25T19:49:09.685143Z INFO test: │
│ input=Identifier("Xp9yO3O9Xvo0R") │
│ 2023-10-25T19:49:09.685177Z INFO test: │
│ input=Comment("L\\j8Zp") │
│ 2023-10-25T19:49:09.685218Z INFO test: │
│ input=StringLiteral("=&[P[vxb8=Xj8:mu") │
│ 2023-10-25T19:49:09.685255Z INFO test: input=Operator("-") │
│ 2023-10-25T19:49:09.685284Z INFO test: │
│ input=StringLiteral("`#A-J5") │
│ 2023-10-25T19:49:09.685332Z INFO test: │
│ input=Comment("=o'2{1).i~~n'Q-/`&A'*OUmN'6") │
│ 2023-10-25T19:49:09.685372Z INFO test: │
│ input=Identifier("PcLKDmQuEIw3cS") │
│ 2023-10-25T19:49:09.685412Z INFO test: │
│ input=Identifier("vO7YPvbG3xA56342J") │
│ 2023-10-25T19:49:09.685446Z INFO test: │
│ input=Identifier("dIDMdwse") │
│ 2023-10-25T19:49:09.685477Z INFO test: │
│ input=StringLiteral("'_Jrb${a") │
│ 2023-10-25T19:49:09.685537Z INFO test: │
│ input=Comment("{Qkm\"\"g{X<9%") │
│ 2023-10-25T19:49:09.685567Z INFO test: │
│ input=Integer(-3294083824350441460) │
│ 2023-10-25T19:49:09.685595Z INFO test: input=Operator("/") │
│ 2023-10-25T19:49:09.685619Z INFO test: │
│ input=Integer(5472083182737963502) │
│ 2023-10-25T19:49:09.685664Z INFO test: │
│ input=Identifier("ONu2JpAfONb35MuV5eaaJUyJywOQS6qa") │
│ 2023-10-25T19:49:09.685715Z INFO test: │
│ input=StringLiteral("U4)uUrt%cM{&Gu*x:%l") │
│ 2023-10-25T19:49:09.685751Z INFO test: │
│ input=Integer(-2496666424091836753) │
│ 2023-10-25T19:49:09.685790Z INFO test: │
│ input=Identifier("AA0J95114607jj4F") │
│ 2023-10-25T19:49:09.685839Z INFO test: │
│ input=StringLiteral("29gezTqFpmpgLcobtw/%&K") │
│ 2023-10-25T19:49:09.685867Z INFO test: │
│ input=Integer(4876899251034282548) │
│ 2023-10-25T19:49:09.685979Z INFO test: │
│ input=Comment("WT?{.mS'=<{6vk8Y@nL{<^mgjJ}*4u5") │
│ 2023-10-25T19:49:09.686080Z INFO test: │
│ input=StringLiteral("I*nu?.d4<|Y6%y{,$>{byNT<?!'|J") │
│ 2023-10-25T19:49:09.686257Z INFO test: │
│ input=StringLiteral(" /*x") │
│ 2023-10-25T19:49:09.686304Z INFO test: input=Operator("=") │
│ 2023-10-25T19:49:09.686337Z INFO test: input=Operator("/") │
│ 2023-10-25T19:49:09.686393Z INFO test: │
│ input=StringLiteral("a(D?1ko1<d#e;+0o<") │
│ 2023-10-25T19:49:09.686440Z INFO test: │
│ input=StringLiteral("X:EG{-=//e") │
│ 2023-10-25T19:49:09.686489Z INFO test: input=Operator(")") │
│ 2023-10-25T19:49:09.686548Z INFO test: │
│ input=Comment("{l't*F?*.5ipC|? ") │
│ 2023-10-25T19:49:09.686596Z INFO test: │
│ input=Integer(-7029958199275170532) │
│ 2023-10-25T19:49:09.686637Z INFO test: │
│ input=Identifier("DSL25W0b1Y") │
│ 2023-10-25T19:49:09.686677Z INFO test: │
│ input=Integer(-3616333813176155684) │
│ 2023-10-25T19:49:09.686728Z INFO test: │
│ input=StringLiteral("$Ih(*]F@-@)9`xGclU=") │
│ 2023-10-25T19:49:09.686776Z INFO test: │
│ input=StringLiteral(":'@e") │
│ 2023-10-25T19:49:09.686883Z INFO test: │
│ input=Comment("\\*@c.=uw/{/K") │
│ 2023-10-25T19:49:09.686936Z INFO test: │
│ input=Comment("\"ND<\"5&?f5IoWeaR^l'p)qDo\"*z={?#i") │
│ 2023-10-25T19:49:09.686998Z INFO test: │
│ input=Identifier("M1AEZJf99c18J977WS3") │
│ 2023-10-25T19:49:09.687048Z INFO test: input=Operator("*") │
│ 2023-10-25T19:49:09.687102Z INFO test: │
│ input=StringLiteral("%vz_C<g'^nxBXLy'o8_=2k;N") │
│ 2023-10-25T19:49:09.687154Z INFO test: input=Comment("J*<) │
│ [2''t\\\"P$G=J|q`,:Z'_\\") │
│ 2023-10-25T19:49:09.687196Z INFO test: │
│ input=StringLiteral("gC S/") │
│ 2023-10-25T19:49:09.687241Z INFO test: │
│ input=Identifier("Ef") │
│ 2023-10-25T19:49:09.687273Z INFO test: input=Operator("-") │
│ 2023-10-25T19:49:09.687316Z INFO test: input=Operator("-") │
│ 2023-10-25T19:49:09.687350Z INFO test: input=Operator("*") │
│ 2023-10-25T19:49:09.687392Z INFO test: │
│ input=Integer(-7128772380985161501) │
│ 2023-10-25T19:49:09.687442Z INFO test: │
│ input=StringLiteral("b!H=bI {rXR.|&;@p.c-?1't") │
│ 2023-10-25T19:49:09.687493Z INFO test: │
│ input=Integer(1589770178817917328) │
│ 2023-10-25T19:49:09.687562Z INFO test: input=Operator("=") │
│ 2023-10-25T19:49:09.687605Z INFO test: │
│ input=Integer(-6634162048134095200) │
│ 2023-10-25T19:49:09.687678Z INFO test: │
│ input=Comment("y`1bK^D<o\\&|!=`X") │
│ 2023-10-25T19:49:09.687767Z INFO test: │
│ input=Integer(8513957645697657629) │
│ 2023-10-25T19:49:09.687839Z INFO test: input=Operator(")") │
│ 2023-10-25T19:49:09.687887Z INFO test: input=Comment("=\"s │
│ [P<pwa/8^$<") │
│ 2023-10-25T19:49:09.687965Z INFO test: input=Operator("(") │
│ 2023-10-25T19:49:09.688013Z INFO test: │
│ input=Comment("$]S\"%M$*=IeDyQX:)\\n") │
│ 2023-10-25T19:49:09.688088Z INFO test: │
│ input=Identifier("sM9CS0vI47JsnobNrc") │
│ 2023-10-25T19:49:09.688125Z INFO test: │
│ input=StringLiteral(":{'ytXF>DQ'*F") │
│ 2023-10-25T19:49:09.688153Z INFO test: input=Operator("+") │
│ 2023-10-25T19:49:09.688200Z INFO test: │
│ input=Identifier("WNTz4dl") │
│ 2023-10-25T19:49:09.688255Z INFO test: │
│ input=Identifier("OR04WC38q7m3Hx1e76v9vK2j") │
│ 2023-10-25T19:49:09.688304Z INFO test: │
│ input=Comment("usv<x<,Q^=") │
│ 2023-10-25T19:49:09.688417Z INFO test: │
│ input=Comment("J&X$r.!n\"nl]-\\<Hm.Jb+uBQ=") │
│ 2023-10-25T19:49:09.688453Z INFO test: input=Comment("") │
│ 2023-10-25T19:49:09.688499Z INFO test: │
│ input=StringLiteral("v[&t$evyCsD$JqQ){? $dx") │
│ 2023-10-25T19:49:09.688556Z INFO test: │
│ input=Identifier("u2cZrS79cFIhfA54C109GRwLeB") │
│ 2023-10-25T19:49:09.688611Z INFO test: input=Operator("+") │
│ 2023-10-25T19:49:09.688654Z INFO test: │
│ input=Integer(4996758620512993691) │
│ 2023-10-25T19:49:09.688698Z INFO test: input=Comment("") │
│ 2023-10-25T19:49:09.688741Z INFO test: │
│ input=Identifier("bL4QQNv5s09n") │
│ 2023-10-25T19:49:09.688781Z INFO test: │
│ input=Identifier("afGAB") │
│ 2023-10-25T19:49:09.688827Z INFO test: input=Comment(" ") │
│ 2023-10-25T19:49:09.688884Z INFO test: │
│ input=Comment("qp`'K\".o.g*/\\/{?(aa)am//s") │
│ 2023-10-25T19:49:09.688962Z INFO test: │
│ input=Integer(6556227859163279473) │
│ 2023-10-25T19:49:09.689162Z INFO test: │
│ input=StringLiteral("4lg_NKM'x|PfLZLB/*i$v5p'") │
│ 2023-10-25T19:49:09.689226Z INFO test: input=Operator("(") │
│ 2023-10-25T19:49:09.689305Z INFO test: │
│ input=StringLiteral(".|f` .l&[*'d[") │
│ 2023-10-25T19:49:09.689352Z INFO test: input=Operator("(") │
│ 2023-10-25T19:49:09.689395Z INFO test: input=Operator("+") │
│ 2023-10-25T19:49:09.689425Z INFO test: │
│ input=Integer(-4199522820902988271) │
│ 2023-10-25T19:49:09.689484Z INFO test: │
│ input=Identifier("w89V3dWRl9B0y71Bj0MNU") │
│ 2023-10-25T19:49:09.689548Z INFO test: │
│ input=Identifier("wn9HZ0U105zFd5nHGMDB") │
│ 2023-10-25T19:49:09.689595Z INFO test: │
│ input=Comment("FW=K5vjWH") │
│ 2023-10-25T19:49:09.689639Z INFO test: │
│ input=Integer(-4790829386083480071) │
│ 2023-10-25T19:49:09.689693Z INFO test: │
│ input=StringLiteral("$=8G`Vkk5+j{Z%5]S&z'`") │
│ 2023-10-25T19:49:09.689763Z INFO test: │
│ input=Identifier("HsVD5iae659Tqm6RoKO6oUyhqjQ") │
│ 2023-10-25T19:49:09.689822Z INFO test: │
│ input=Comment("*\\{7kp^C*a&s|.\\%,t=cAnxYUq.V") │
│ 2023-10-25T19:49:09.689878Z INFO test: │
│ input=Identifier("ILyTvOkWfv") │
│ 2023-10-25T19:49:09.690023Z INFO test: │
│ input=Identifier("H8wo1X5n5se57nJr4TxNh70nu") │
│ 2023-10-25T19:49:09.690107Z INFO test: input=Operator("=") │
│ 2023-10-25T19:49:09.690158Z INFO test: │
│ input=Identifier("yR7Hw2VB1XDzdCMaRNv0m") │
│ 2023-10-25T19:49:09.690207Z INFO test: │
│ input=Identifier("gupeBex1XkIfySk") │
│ 2023-10-25T19:49:09.690258Z INFO test: │
│ input=Identifier("E8I5IFa2LnbgIAsUv2Ttf7IRELo49u8") │
│ 2023-10-25T19:49:09.690285Z INFO test: input=Operator("/") │
│ 2023-10-25T19:49:09.690323Z INFO test: input=Operator("*") │
│ 2023-10-25T19:49:09.690347Z INFO test: input=Operator("+") │
│ 2023-10-25T19:49:09.690372Z INFO test: input=Operator("=") │
│ 2023-10-25T19:49:09.690390Z INFO test: │
│ input=Integer(4695681256745079856) │
│ 2023-10-25T19:49:09.690431Z INFO test: │
│ input=StringLiteral("DJ1o&{?`d</&'Z&0<X") │
│ 2023-10-25T19:49:09.690489Z INFO test: │
│ input=Identifier("tDa82I3ag3qA37nXJY9f7t7Dt4iS9fq") │
│ 2023-10-25T19:49:09.690553Z INFO test: │
│ input=Identifier("k2MXvNX1Z5ObUO8Qsm1ibi9Jc9Dqf") │
│ 2023-10-25T19:49:09.690594Z INFO test: │
│ input=Integer(-7183488053890405962) │
│ 2023-10-25T19:49:09.690654Z INFO test: │
│ input=Identifier("U7KaC54Cq80f81WKnO1HWe0xL3") │
│ 2023-10-25T19:49:09.690700Z INFO test: │
│ input=Identifier("Htd2") │
│ 2023-10-25T19:49:09.690740Z INFO test: input=Operator("*") │
│ 2023-10-25T19:49:09.690793Z INFO test: │
│ input=Comment("\\!{*\\Wa;k&x-rv`)gnx{$") │
│ 2023-10-25T19:49:09.690859Z INFO test: │
│ input=StringLiteral("9#`.^U/=n*~q'jZE%n|>u!r:O%") │
│ 2023-10-25T19:49:09.690904Z INFO test: input=Operator("*") │
│ 2023-10-25T19:49:09.690974Z INFO test: │
│ input=Comment("&Hj_-PMO$,Y*/z#I&)'6U:kB`|.?*ii#") │
│ 2023-10-25T19:49:09.691024Z INFO test: │
│ input=Integer(2902061620735923183) │
│ 2023-10-25T19:49:09.691066Z INFO test: │
│ input=Integer(-8912875912435011095) │
│ 2023-10-25T19:49:09.691137Z INFO test: input=Operator("(") │
│ 2023-10-25T19:49:09.691173Z INFO test: │
│ input=Integer(6776208649184317082) │
│ 2023-10-25T19:49:09.691218Z INFO test: │
│ input=StringLiteral("J@'$<$.HzJqT9)&~u") │
│ 2023-10-25T19:49:09.691266Z INFO test: │
│ input=Identifier("hfr0jlf1kBUPxiJ") │
│ 2023-10-25T19:49:09.691341Z INFO test: │
│ input=Comment("=\"&.`c4+{9W'[\"<K*fI$y") │
│ 2023-10-25T19:49:09.691445Z INFO test: │
│ input=StringLiteral("F$0EZfM") │
│ 2023-10-25T19:49:09.691533Z INFO test: │
│ input=Identifier("li") │
│ 2023-10-25T19:49:09.691612Z INFO test: │
│ input=Integer(-3357431792621413486) │
│ 2023-10-25T19:49:09.691675Z INFO test: │
│ input=Integer(-6256679375180690427) │
│ 2023-10-25T19:49:09.691711Z INFO test: │
│ input=Integer(-7404590045080407624) │
│ 2023-10-25T19:49:09.691740Z INFO test: │
│ input=Integer(3591718600157133719) │
│ 2023-10-25T19:49:09.691768Z INFO test: │
│ input=Integer(-5648911235671653353) │
│ 2023-10-25T19:49:09.691808Z INFO test: │
│ input=Identifier("KNz0AsNeT") │
│ 2023-10-25T19:49:09.691842Z INFO test: │
│ input=Identifier("G1") │
│ 2023-10-25T19:49:09.691877Z INFO test: │
│ input=Integer(-5783205058047350959) │
│ 2023-10-25T19:49:09.691930Z INFO test: │
│ input=Comment("&P$CiK.\"dYEoy@d/`vl`gH,(&Mr:oa/") │
│ 2023-10-25T19:49:09.691973Z INFO test: │
│ input=Integer(5659723316390269522) │
│ 2023-10-25T19:49:09.692004Z INFO test: │
│ input=Integer(7996168636457702952) │
│ 2023-10-25T19:49:09.692049Z INFO test: │
│ input=Identifier("QddX7Onq6o27cVvAaP") │
│ 2023-10-25T19:49:09.692091Z INFO test: │
│ input=Identifier("PQYC") │
│ 2023-10-25T19:49:09.692130Z INFO test: input=Operator(")") │
│ 2023-10-25T19:49:09.692166Z INFO test: input=Comment(">n") │
│ 2023-10-25T19:49:09.692269Z INFO test: │
│ input=StringLiteral("]%j?~.o=]:5)My^'$]T{2M") │
│ 2023-10-25T19:49:09.692321Z INFO test: │
│ input=Identifier("s7Uv1Jy") │
│ 2023-10-25T19:49:09.692369Z INFO test: │
│ input=Identifier("Vlh4F1Mor4U40jvfd") │
│ 2023-10-25T19:49:09.692407Z INFO test: │
│ input=Integer(822791663535202694) │
│ 2023-10-25T19:49:09.692439Z INFO test: │
│ input=Integer(-8995272312530362223) │
│ 2023-10-25T19:49:09.692495Z INFO test: │
│ input=Comment("E'TaQZ^*Q`{@<NXEgO`&^!7.%Ni") │
│ 2023-10-25T19:49:09.692536Z INFO test: │
│ input=Integer(-576610444375720205) │
│ 2023-10-25T19:49:09.692592Z INFO test: │
│ input=Comment(".eh{V%&`7J:PH`6!=4d5{$") │
│ 2023-10-25T19:49:09.692681Z INFO test: │
│ input=StringLiteral("Z*Kb?$TX^J*K/44g*+") │
│ 2023-10-25T19:49:09.692775Z INFO test: │
│ input=StringLiteral("{`TcpI-z$") │
│ 2023-10-25T19:49:09.692828Z INFO test: │
│ input=Comment("=1av>") │
│ 2023-10-25T19:49:09.692924Z INFO test: │
│ input=StringLiteral("U{;{%Cz|W+&@.YBOu`6'eDMoo|8$h`") │
│ 2023-10-25T19:49:09.692984Z INFO test: │
│ input=Identifier("hi8yr9n3gX11VV4D") │
│ 2023-10-25T19:49:09.693013Z INFO test: │
│ input=Identifier("ZXLe0itkBxTD") │
│ 2023-10-25T19:49:09.693072Z INFO test: │
│ input=Comment("DU/Vc@8YDNN $zO") │
│ 2023-10-25T19:49:09.693203Z INFO test: │
│ input=Identifier("Yk74b1RLU12LyC20") │
│ 2023-10-25T19:49:09.693250Z INFO test: │
│ input=Identifier("zw5KWA9Ib8G551qyGXy75wslYfbo") │
│ 2023-10-25T19:49:09.693277Z INFO test: │
│ input=Integer(8891229963980243281) │
│ 2023-10-25T19:49:09.693306Z INFO test: │
│ input=StringLiteral("*`D{s84/$3@Fl{1[B$=:") │
│ 2023-10-25T19:49:09.693329Z INFO test: input=Operator("+") │
│ 2023-10-25T19:49:09.693349Z INFO test: input=Operator("=") │
│ 2023-10-25T19:49:09.693375Z INFO test: │
│ input=Comment("cmg/{h}M") │
│ 2023-10-25T19:49:09.693394Z INFO test: │
│ input=Integer(4669085866206531325) │
│ 2023-10-25T19:49:09.693428Z INFO test: │
│ input=Integer(7249873479741326294) │
│ 2023-10-25T19:49:09.693450Z INFO test: │
│ input=Integer(-8688554677505068718) │
│ 2023-10-25T19:49:09.693473Z INFO test: input=Operator("=") │
│ 2023-10-25T19:49:09.693506Z INFO test: │
│ input=StringLiteral("cy+B{QZ*R?") │
│ 2023-10-25T19:49:09.693557Z INFO test: input=Operator("(") │
│ 2023-10-25T19:49:09.693640Z INFO test: │
│ input=Identifier("UQ8PyDIB3n99vORxbP95uZJnQ") │
│ 2023-10-25T19:49:09.693683Z INFO test: │
│ input=StringLiteral("k@q?N") │
│ 2023-10-25T19:49:09.693721Z INFO test: │
│ input=Comment("{l3{'@&19Y>M:S`Bs*{a5VK^aU,%'W") │
│ 2023-10-25T19:49:09.693756Z INFO test: │
│ input=StringLiteral("97?<0b(.psJ1`C") │
│ 2023-10-25T19:49:09.693788Z INFO test: │
│ input=StringLiteral("$_XOy*iY|%5?d*~H&{e7$") │
│ 2023-10-25T19:49:09.693821Z INFO test: │
│ input=Comment("\"+lBOes'X=th>}lzF'C=&\\mL.*'H`$/&") │
│ 2023-10-25T19:49:09.693848Z INFO test: │
│ input=Integer(5732461291392523342) │
│ 2023-10-25T19:49:09.693868Z INFO test: │
│ input=Identifier("H") │
│ 2023-10-25T19:49:09.693887Z INFO test: │
│ input=Integer(-4248051887781335569) │
│ test prop_parse_format_idempotent ... ok │
│ test │
│ adding_and_then_removing_an_item_from_the_cart_leaves_the_cart_unchanged ... │
│ ok │
│ │
│ test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; │
│ finished in 0.15s │
│ │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
── pwsh ────────────────────────────────────────────────────────────────────────
{ . $ScriptDir/../../target/release/test$(GetExecutableSuffix) } | Invoke-Block
╭─[ 65.36ms - stdout ]─────────────────────────────────────────────────────────╮
│ app=test │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯
[NbConvertApp] Converting notebook build.dib.ipynb to html
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
validate(nb)
C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
return _pygments_highlight(
[NbConvertApp] Writing 315256 bytes to build.dib.html
In [ ]:
{ . "$ScriptDir/../spiral/extension/build.ps1" } | Invoke-Block
Lockfile is up to date, resolution step is skipped Already up to date Done in 1.3s [INFO]: 🎯 Checking for the Wasm target... [INFO]: 🌀 Compiling to Wasm... warning: C:\home\git\polyglot\Cargo.toml: unused manifest key: lib.members Finished dev [unoptimized + debuginfo] target(s) in 0.07s [INFO]: ⬇️ Installing wasm-bindgen... [INFO]: Optional fields missing from Cargo.toml: 'description', 'repository', and 'license'. These are not necessary, but recommended [INFO]: ✨ Done in 0.58s [INFO]: 📦 Your wasm pkg is ready to publish at C:\home\git\polyglot\spiral\extension\pkg. ▲ [WARNING] "import.meta" is not available with the "iife" output format and will be empty [empty-import-meta] pkg/extension.js:451:45: 451 │ input = new URL('extension_bg.wasm', import.meta.url); ╵ ~~~~~~~~~~~ You need to set the output format to "esm" for "import.meta" to work correctly. 1 warning dist\extension_bg-7GXD3MC5.wasm 146.4kb dist\content_script.js 7.4kb dist\service_worker.js 1.6kb ⚡ Done in 13ms > polyglot@ test:e2e C:\home\git\polyglot\spiral\extension > playwright test INFO Accepting connections at http://localhost:3000 HTTP 10/25/2023 3:49:23 PM ::1 GET / HTTP 10/25/2023 3:49:23 PM ::1 Returned 200 in 36 ms Running 3 tests using 3 workers [1/3] [Desktop Chrome] › extension.spec.ts:3:5 › popup localhost [2/3] [Desktop Chrome] › extension.spec.ts:13:5 › libgen [3/3] [Desktop Chrome] › extension.spec.ts:8:5 › popup extension HTTP 10/25/2023 3:49:28 PM ::1 GET /popup HTTP 10/25/2023 3:49:28 PM ::1 Returned 200 in 13 ms HTTP 10/25/2023 3:49:28 PM ::1 GET /popup.js HTTP 10/25/2023 3:49:28 PM ::1 Returned 200 in 4 ms HTTP 10/25/2023 3:49:28 PM ::1 GET /content_script.js HTTP 10/25/2023 3:49:28 PM ::1 Returned 200 in 11 ms HTTP 10/25/2023 3:49:28 PM ::1 GET /extension_bg-7GXD3MC5.wasm HTTP 10/25/2023 3:49:28 PM ::1 Returned 200 in 7 ms HTTP 10/25/2023 3:49:28 PM ::1 GET /favicon.ico HTTP 10/25/2023 3:49:28 PM ::1 Returned 404 in 4 ms 3 passed (10.7s) To open last HTML report run: npx playwright show-report
In [ ]:
# { . "$ScriptDir/../spiral/cli/build.ps1" } | Invoke-Block
In [ ]:
{ . "$ScriptDir/../apps/dice/build.ps1" } | Invoke-Block
Complexidade: Simple, Duração: Short Complexidade: Simple, Duração: Short Complexidade: Simple, Duração: Medium Complexidade: Moderate, Duração: Medium Complexidade: Complex, Duração: Long Complexidade: Complex, Duração: Long [15:49:37 INF] EXPECTO? Running tests... <Expecto> [15:49:42 INF] EXPECTO! 7 tests run in 00:00:04.6193458 for FsCheck samples – 7 passed, 0 ignored, 0 failed, 0 errored. Success! <Expecto> 00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60 00:00:00 #2 [Debug] executeAsync / options: { Command = "dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805" WorkingDirectory = None CancellationToken = Some System.Threading.CancellationToken OnLine = Some <fun:main@450-1020> } 00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\apps\dice 00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release 00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500 00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0 00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length: 00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0 00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805 00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 Dice.dib"" WorkingDirectory = None CancellationToken = Some System.Threading.CancellationToken OnLine = None } 00:00:03 #11 [Verbose] > 00:00:03 #12 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:03 #14 [Verbose] > │ # Dice (Polyglot) │ 00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:03 #16 [Verbose] > 00:00:03 #17 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:03 #18 [Verbose] > #!import ../nbs/Testing.dib 00:00:03 #19 [Verbose] > 00:00:03 #20 [Verbose] > ── fsharp - import ───────────────────────────────────────────────────────────── 00:00:03 #21 [Verbose] > #r 00:00:03 #22 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A 00:00:03 #23 [Verbose] > spNetCore.Html.Abstractions.dll" 00:00:03 #24 [Verbose] > #r 00:00:03 #25 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D 00:00:03 #26 [Verbose] > otNet.Interactive.dll" 00:00:03 #27 [Verbose] > #r 00:00:03 #28 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D 00:00:03 #29 [Verbose] > otNet.Interactive.FSharp.dll" 00:00:03 #30 [Verbose] > #r 00:00:03 #31 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D 00:00:03 #32 [Verbose] > otNet.Interactive.Formatting.dll" 00:00:03 #33 [Verbose] > open System 00:00:03 #34 [Verbose] > open System.IO 00:00:03 #35 [Verbose] > open System.Text 00:00:03 #36 [Verbose] > open Microsoft.DotNet.Interactive.Formatting 00:00:07 #37 [Verbose] > 00:00:07 #38 [Verbose] > ── fsharp - import ───────────────────────────────────────────────────────────── 00:00:07 #39 [Verbose] > #r 00:00:07 #40 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D 00:00:07 #41 [Verbose] > otNet.Interactive.FSharp.dll" 00:00:07 #42 [Verbose] > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers 00:00:07 #43 [Verbose] > #r 00:00:07 #44 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D 00:00:07 #45 [Verbose] > otNet.Interactive.dll" 00:00:07 #46 [Verbose] > open type Microsoft.DotNet.Interactive.Kernel 00:00:07 #47 [Verbose] > 00:00:07 #48 [Verbose] > ── fsharp - import ───────────────────────────────────────────────────────────── 00:00:07 #49 [Verbose] > #r @"../../../../../../../.nuget/packages/expecto/10.1.0/lib/net6.0/Expecto.dll" 00:00:07 #50 [Verbose] > 00:00:07 #51 [Verbose] > ── fsharp - import ───────────────────────────────────────────────────────────── 00:00:07 #52 [Verbose] > //// test 00:00:07 #53 [Verbose] > 00:00:07 #54 [Verbose] > Formatter.ListExpansionLimit <- 100 00:00:08 #55 [Verbose] > 00:00:08 #56 [Verbose] > ── fsharp - import ───────────────────────────────────────────────────────────── 00:00:08 #57 [Verbose] > //// test 00:00:08 #58 [Verbose] > 00:00:08 #59 [Verbose] > type AssertExceptionFormatter (ex) = 00:00:08 #60 [Verbose] > member _.Text = 00:00:08 #61 [Verbose] > ex.ToString() 00:00:08 #62 [Verbose] > .Replace("32m", "<span style=\"color: green;\">") 00:00:08 #63 [Verbose] > .Replace("36m", "</span>") 00:00:08 #64 [Verbose] > .Replace("31m", "<span style=\"color: red;\">") 00:00:08 #65 [Verbose] > .Replace("\n", "<br/>\n") 00:00:08 #66 [Verbose] > 00:00:08 #67 [Verbose] > 00:00:08 #68 [Verbose] > Formatter.Register<AssertExceptionFormatter> ((fun (x : 00:00:08 #69 [Verbose] > AssertExceptionFormatter) -> x.Text), "text/html") 00:00:08 #70 [Verbose] > 00:00:08 #71 [Verbose] > ── fsharp - import ───────────────────────────────────────────────────────────── 00:00:08 #72 [Verbose] > //// test 00:00:08 #73 [Verbose] > 00:00:08 #74 [Verbose] > let inline __expect fn log expected actual = 00:00:08 #75 [Verbose] > if log then printfn $"{actual.ToDisplayString ()}" 00:00:08 #76 [Verbose] > try 00:00:08 #77 [Verbose] > "Testing.__expect" |> fn actual expected 00:00:08 #78 [Verbose] > with :? Expecto.AssertException as ex -> 00:00:08 #79 [Verbose] > AssertExceptionFormatter(ex).Display () |> ignore 00:00:08 #80 [Verbose] > failwith (ex.GetType().FullName) 00:00:08 #81 [Verbose] > 00:00:08 #82 [Verbose] > let inline __contains log expected actual = __expect Expecto.Expect.contains log 00:00:08 #83 [Verbose] > expected actual 00:00:08 #84 [Verbose] > let inline _contains expected actual = __contains true expected actual 00:00:08 #85 [Verbose] > 00:00:08 #86 [Verbose] > let inline __equal log expected actual = __expect Expecto.Expect.equal log 00:00:08 #87 [Verbose] > expected actual 00:00:08 #88 [Verbose] > let inline _equal expected actual = __equal true expected actual 00:00:08 #89 [Verbose] > 00:00:08 #90 [Verbose] > let inline __isGreaterThan log expected actual = __expect 00:00:08 #91 [Verbose] > Expecto.Expect.isGreaterThan log expected actual 00:00:08 #92 [Verbose] > let ... 00:00:09 #93 [Verbose] > 00:00:09 #94 [Verbose] > ── fsharp - import ───────────────────────────────────────────────────────────── 00:00:09 #95 [Verbose] > //// test 00:00:09 #96 [Verbose] > 00:00:09 #97 [Verbose] > let inline __isBetween log a b actual = 00:00:09 #98 [Verbose] > let inline isBetween actual (a, b) _ = 00:00:09 #99 [Verbose] > __isGreaterThanOrEqual log a actual 00:00:09 #100 [Verbose] > __isLessThanOrEqual log b actual 00:00:09 #101 [Verbose] > __expect isBetween log (a, b) actual 00:00:09 #102 [Verbose] > let inline _isBetween a b actual = __isBetween true a b actual 00:00:09 #103 [Verbose] > 00:00:09 #104 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:09 #105 [Verbose] > #!import ../nbs/Common.fs 00:00:09 #106 [Verbose] > 00:00:09 #107 [Verbose] > ── fsharp - import ───────────────────────────────────────────────────────────── 00:00:09 #108 [Verbose] > #if !INTERACTIVE 00:00:09 #109 [Verbose] > namespace Polyglot 00:00:09 #110 [Verbose] > #endif 00:00:09 #111 [Verbose] > 00:00:09 #112 [Verbose] > module Common = 00:00:09 #113 [Verbose] > 00:00:09 #114 [Verbose] > let nl = System.Environment.NewLine 00:00:09 #115 [Verbose] > let q = @"""" 00:00:09 #116 [Verbose] > 00:00:09 #117 [Verbose] > let inline cons head tail = head :: tail 00:00:09 #118 [Verbose] > 00:00:09 #119 [Verbose] > module String = 00:00:09 #120 [Verbose] > let inline contains (value : string) (input : string) = 00:00:09 #121 [Verbose] > input.Contains value 00:00:09 #122 [Verbose] > 00:00:09 #123 [Verbose] > let inline endsWith (value : string) (input : string) = 00:00:09 #124 [Verbose] > input.EndsWith value 00:00:09 #125 [Verbose] > 00:00:09 #126 [Verbose] > let inline padLeft totalWidth paddingChar (input : string) = 00:00:09 #127 [Verbose] > input.PadLeft (totalWidth, paddingChar) 00:00:09 #128 [Verbose] > 00:00:09 #129 [Verbose] > let inline replace (oldValue : string) (newValue : string) (input : 00:00:09 #130 [Verbose] > string) = 00:00:09 #131 [Verbose] > input.Replace (oldValue, newValue) 00:00:09 #132 [Verbose] > 00:00:09 #133 [Verbose] > let inline split separator (input : string) = 00:00:09 #134 [Verbose] > input.Split separator 00:00:09 #135 [Verbose] > 00:00:09 #136 [Verbose] > let inline spli... 00:00:10 #137 [Verbose] > 00:00:10 #138 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:10 #139 [Verbose] > open Common 00:00:10 #140 [Verbose] > 00:00:10 #141 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:10 #142 [Verbose] > // // test 00:00:10 #143 [Verbose] > 00:00:10 #144 [Verbose] > open testing 00:00:11 #145 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5328-2849-249cca721db5\main.spi 00:00:12 #146 [Verbose] > 00:00:12 #147 [Verbose] > ╭─[ 2.48s - stdout ]───────────────────────────────────────────────────────────╮ 00:00:12 #148 [Verbose] > │ () │ 00:00:12 #149 [Verbose] > │ │ 00:00:12 #150 [Verbose] > │ │ 00:00:12 #151 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:12 #152 [Verbose] > 00:00:12 #153 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:12 #154 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:12 #155 [Verbose] > │ ## sixthPowerSequence │ 00:00:12 #156 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:12 #157 [Verbose] > 00:00:12 #158 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:12 #159 [Verbose] > let sixthPowerSequence = 1 |> Seq.unfold (fun state -> Some (state, state * 6)) 00:00:12 #160 [Verbose] > |> Seq.cache 00:00:12 #161 [Verbose] > 00:00:12 #162 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:12 #163 [Verbose] > //// test 00:00:12 #164 [Verbose] > 00:00:12 #165 [Verbose] > sixthPowerSequence 00:00:12 #166 [Verbose] > |> Seq.take 8 00:00:12 #167 [Verbose] > |> Seq.toList 00:00:12 #168 [Verbose] > |> _equal [[ 1; 6; 36; 216; 1296; 7776; 46656; 279936 ]] 00:00:12 #169 [Verbose] > 00:00:12 #170 [Verbose] > ╭─[ 60.10ms - stdout ]─────────────────────────────────────────────────────────╮ 00:00:12 #171 [Verbose] > │ [ 1, 6, 36, 216, 1296, 7776, 46656, 279936 ] │ 00:00:12 #172 [Verbose] > │ │ 00:00:12 #173 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:12 #174 [Verbose] > 00:00:12 #175 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:12 #176 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:12 #177 [Verbose] > │ ## sixth_power_sequence │ 00:00:12 #178 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:12 #179 [Verbose] > 00:00:12 #180 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:12 #181 [Verbose] > inl sixth_power_sequence () = 00:00:12 #182 [Verbose] > stream.iterate ((*) 6) 1i32 00:00:12 #183 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5527-2717-2df6546a6972\main.spi 00:00:12 #184 [Verbose] > 00:00:12 #185 [Verbose] > ╭─[ 160.10ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:12 #186 [Verbose] > │ () │ 00:00:12 #187 [Verbose] > │ │ 00:00:12 #188 [Verbose] > │ │ 00:00:12 #189 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:12 #190 [Verbose] > 00:00:12 #191 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:12 #192 [Verbose] > // // test 00:00:12 #193 [Verbose] > 00:00:12 #194 [Verbose] > sixth_power_sequence () 00:00:12 #195 [Verbose] > |> stream.take_while (fun _ i => i <= 7i32) 00:00:12 #196 [Verbose] > |> stream.to_list 00:00:12 #197 [Verbose] > |> _equal [[ 1i32; 6; 36; 216; 1296; 7776; 46656; 279936 ]] 00:00:12 #198 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5543-4321-4a0ebf9bab40\main.spi 00:00:13 #199 [Verbose] > 00:00:13 #200 [Verbose] > ╭─[ 357.02ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:13 #201 [Verbose] > │ type UH0 = │ 00:00:13 #202 [Verbose] > │ | UH0_0 of int32 * UH0 │ 00:00:13 #203 [Verbose] > │ | UH0_1 │ 00:00:13 #204 [Verbose] > │ let rec method0 () : unit = │ 00:00:13 #205 [Verbose] > │ let v63 : UH0 = UH0_1 │ 00:00:13 #206 [Verbose] > │ let v64 : UH0 = UH0_0(279936, v63) │ 00:00:13 #207 [Verbose] > │ let v65 : UH0 = UH0_0(46656, v64) │ 00:00:13 #208 [Verbose] > │ let v66 : UH0 = UH0_0(7776, v65) │ 00:00:13 #209 [Verbose] > │ let v67 : UH0 = UH0_0(1296, v66) │ 00:00:13 #210 [Verbose] > │ let v68 : UH0 = UH0_0(216, v67) │ 00:00:13 #211 [Verbose] > │ let v69 : UH0 = UH0_0(36, v68) │ 00:00:13 #212 [Verbose] > │ let v70 : UH0 = UH0_0(6, v69) │ 00:00:13 #213 [Verbose] > │ let v71 : UH0 = UH0_0(1, v70) │ 00:00:13 #214 [Verbose] > │ let v72 : UH0 = UH0_1 │ 00:00:13 #215 [Verbose] > │ let v73 : UH0 = UH0_0(279936, v72) │ 00:00:13 #216 [Verbose] > │ let v74 : UH0 = UH0_0(46656, v73) │ 00:00:13 #217 [Verbose] > │ let v75 : UH0 = UH0_0(7776, v74) │ 00:00:13 #218 [Verbose] > │ let v76 : UH0 = UH0_0(1296, v75) │ 00:00:13 #219 [Verbose] > │ let v77 : UH0 = UH0_0(216, v76) │ 00:00:13 #220 [Verbose] > │ let v78 : UH0 = UH0_0(36, v77) │ 00:00:13 #221 [Verbose] > │ let v79 : UH0 = UH0_0(6, v78) │ 00:00:13 #222 [Verbose] > │ let v80 : UH0 = UH0_0(1, v79) │ 00:00:13 #223 [Verbose] > │ let v81 : string = $"_equal / actual: %A{v71} / expected: %A{v80}" │ 00:00:13 #224 [Verbose] > │ () │ 00:00:13 #225 [Verbose] > │ method0() │ 00:00:13 #226 [Verbose] > │ │ 00:00:13 #227 [Verbose] > │ │ 00:00:13 #228 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:13 #229 [Verbose] > 00:00:13 #230 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:13 #231 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:13 #232 [Verbose] > │ ## accumulateDiceRolls │ 00:00:13 #233 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:13 #234 [Verbose] > 00:00:13 #235 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:13 #236 [Verbose] > let rec accumulateDiceRolls log rolls power acc = 00:00:13 #237 [Verbose] > match rolls with 00:00:13 #238 [Verbose] > | _ when power < 0 -> 00:00:13 #239 [Verbose] > log |> Option.iter ((|>) $"accumulateDiceRolls / power: {power} / acc: 00:00:13 #240 [Verbose] > {acc}") 00:00:13 #241 [Verbose] > Some (acc + 1, rolls) 00:00:13 #242 [Verbose] > | [[]] -> None 00:00:13 #243 [Verbose] > | roll :: rest when roll > 1 -> 00:00:13 #244 [Verbose] > let coeff = sixthPowerSequence |> Seq.item power 00:00:13 #245 [Verbose] > let value = (roll - 1) * coeff 00:00:13 #246 [Verbose] > log |> Option.iter ((|>) $"accumulateDiceRolls / \ 00:00:13 #247 [Verbose] > power: {power} / acc: {acc} / roll: {roll} / value: {value}" 00:00:13 #248 [Verbose] > ) 00:00:13 #249 [Verbose] > accumulateDiceRolls log rest (power - 1) (acc + value) 00:00:13 #250 [Verbose] > | roll :: rest -> 00:00:13 #251 [Verbose] > log |> Option.iter ((|>) $"accumulateDiceRolls / power: {power} / acc: 00:00:13 #252 [Verbose] > {acc} / roll: {roll}") 00:00:13 #253 [Verbose] > accumulateDiceRolls log rest (power - 1) acc 00:00:13 #254 [Verbose] > 00:00:13 #255 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:13 #256 [Verbose] > //// test 00:00:13 #257 [Verbose] > 00:00:13 #258 [Verbose] > accumulateDiceRolls (Some (printfn "%s")) [[ 6; 5; 4; 3; 2 ]] 0 1000 00:00:13 #259 [Verbose] > |> _equal (Some (1006, [[ 5; 4; 3; 2 ]])) 00:00:13 #260 [Verbose] > 00:00:13 #261 [Verbose] > ╭─[ 37.20ms - stdout ]─────────────────────────────────────────────────────────╮ 00:00:13 #262 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 1000 / roll: 6 / value: 5 │ 00:00:13 #263 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 1005 │ 00:00:13 #264 [Verbose] > │ FSharpOption<Tuple<Int32,FSharpList<Int32>>> │ 00:00:13 #265 [Verbose] > │ Value: - 1006 │ 00:00:13 #266 [Verbose] > │ - [ 5, 4, 3, 2 ] │ 00:00:13 #267 [Verbose] > │ │ 00:00:13 #268 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:13 #269 [Verbose] > 00:00:13 #270 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:13 #271 [Verbose] > //// test 00:00:13 #272 [Verbose] > 00:00:13 #273 [Verbose] > accumulateDiceRolls (Some (printfn "%s")) [[ 6; 5; 4; 3; 2 ]] 1 1000 00:00:13 #274 [Verbose] > |> _equal (Some (1035, [[ 4; 3; 2 ]])) 00:00:13 #275 [Verbose] > 00:00:13 #276 [Verbose] > ╭─[ 24.52ms - stdout ]─────────────────────────────────────────────────────────╮ 00:00:13 #277 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 1000 / roll: 6 / value: 30 │ 00:00:13 #278 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 1030 / roll: 5 / value: 4 │ 00:00:13 #279 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 1034 │ 00:00:13 #280 [Verbose] > │ FSharpOption<Tuple<Int32,FSharpList<Int32>>> │ 00:00:13 #281 [Verbose] > │ Value: - 1035 │ 00:00:13 #282 [Verbose] > │ - [ 4, 3, 2 ] │ 00:00:13 #283 [Verbose] > │ │ 00:00:13 #284 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:13 #285 [Verbose] > 00:00:13 #286 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:13 #287 [Verbose] > //// test 00:00:13 #288 [Verbose] > 00:00:13 #289 [Verbose] > accumulateDiceRolls (Some (printfn "%s")) [[ 6; 5; 4; 3; 2 ]] 2 1000 00:00:13 #290 [Verbose] > |> _equal (Some (1208, [[ 3; 2 ]])) 00:00:13 #291 [Verbose] > 00:00:13 #292 [Verbose] > ╭─[ 36.90ms - stdout ]─────────────────────────────────────────────────────────╮ 00:00:13 #293 [Verbose] > │ accumulateDiceRolls / power: 2 / acc: 1000 / roll: 6 / value: 180 │ 00:00:13 #294 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 1180 / roll: 5 / value: 24 │ 00:00:13 #295 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 1204 / roll: 4 / value: 3 │ 00:00:13 #296 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 1207 │ 00:00:13 #297 [Verbose] > │ FSharpOption<Tuple<Int32,FSharpList<Int32>>> │ 00:00:13 #298 [Verbose] > │ Value: - 1208 │ 00:00:13 #299 [Verbose] > │ - [ 3, 2 ] │ 00:00:13 #300 [Verbose] > │ │ 00:00:13 #301 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:13 #302 [Verbose] > 00:00:13 #303 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:13 #304 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:13 #305 [Verbose] > │ ## accumulate_dice_rolls │ 00:00:13 #306 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:13 #307 [Verbose] > 00:00:13 #308 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:13 #309 [Verbose] > inl accumulate_dice_rolls (log : option (string -> ())) rolls power acc = 00:00:13 #310 [Verbose] > inl rec body acc power rolls = 00:00:13 #311 [Verbose] > match rolls with 00:00:13 #312 [Verbose] > | _ when power < 0 => 00:00:13 #313 [Verbose] > log |> optionm'.iter ((|>) $"$\"accumulate_dice_rolls / power: 00:00:13 #314 [Verbose] > {!power} / acc: {!acc}\"") 00:00:13 #315 [Verbose] > Some (acc + 1, rolls) 00:00:13 #316 [Verbose] > | [[]] => None 00:00:13 #317 [Verbose] > | roll :: rest when roll > 1 => 00:00:13 #318 [Verbose] > inl coeff = sixth_power_sequence () |> stream.item power 00:00:13 #319 [Verbose] > inl value = (roll - 1) * coeff 00:00:13 #320 [Verbose] > log |> optionm'.iter ((|>) $"$\"accumulate_dice_rolls / power: 00:00:13 #321 [Verbose] > {!power} / acc: {!acc} / roll: {!roll} / value: {!value}\"" 00:00:13 #322 [Verbose] > ) 00:00:13 #323 [Verbose] > loop (acc + value) (power - 1) rest 00:00:13 #324 [Verbose] > | roll :: rest => 00:00:13 #325 [Verbose] > log |> optionm'.iter ((|>) $"$\"accumulate_dice_rolls / power: 00:00:13 #326 [Verbose] > {!power} / acc: {!acc} / roll: {!roll}\"") 00:00:13 #327 [Verbose] > loop acc (power - 1) rest 00:00:13 #328 [Verbose] > and inl loop acc power rolls = 00:00:13 #329 [Verbose] > if var_is rolls |> not 00:00:13 #330 [Verbose] > then body acc power rolls 00:00:13 #331 [Verbose] > else 00:00:13 #332 [Verbose] > inl acc = dyn acc 00:00:13 #333 [Verbose] > join body acc power rolls 00:00:13 #334 [Verbose] > loop acc power rolls 00:00:13 #335 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5603-0365-0bebff0f2640\main.spi 00:00:13 #336 [Verbose] > 00:00:13 #337 [Verbose] > ╭─[ 147.38ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:13 #338 [Verbose] > │ () │ 00:00:13 #339 [Verbose] > │ │ 00:00:13 #340 [Verbose] > │ │ 00:00:13 #341 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:13 #342 [Verbose] > 00:00:13 #343 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:13 #344 [Verbose] > // // test 00:00:13 #345 [Verbose] > 00:00:13 #346 [Verbose] > accumulate_dice_rolls (Some console.write_line) [[ 6; 5; 4; 3; 2 ]] 0i32 1000 00:00:13 #347 [Verbose] > |> _equal (Some (1006, [[ 5; 4; 3; 2 ]])) 00:00:13 #348 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5618-1826-1d8970c6a3ec\main.spi 00:00:13 #349 [Verbose] > 00:00:13 #350 [Verbose] > ╭─[ 307.18ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:13 #351 [Verbose] > │ type UH0 = │ 00:00:13 #352 [Verbose] > │ | UH0_0 of int32 * UH0 │ 00:00:13 #353 [Verbose] > │ | UH0_1 │ 00:00:13 #354 [Verbose] > │ and [<Struct>] US0 = │ 00:00:13 #355 [Verbose] > │ | US0_0 │ 00:00:13 #356 [Verbose] > │ | US0_1 of f1_0 : int32 * f1_1 : UH0 │ 00:00:13 #357 [Verbose] > │ let rec method0 () : unit = │ 00:00:13 #358 [Verbose] > │ let v0 : string = $"accumulate_dice_rolls / power: {0} / acc: {1000} / │ 00:00:13 #359 [Verbose] > │ roll: {6} / value: {5}" │ 00:00:13 #360 [Verbose] > │ System.Console.WriteLine v0 │ 00:00:13 #361 [Verbose] > │ let v1 : string = $"accumulate_dice_rolls / power: {-1} / acc: {1005}" │ 00:00:13 #362 [Verbose] > │ System.Console.WriteLine v1 │ 00:00:13 #363 [Verbose] > │ let v35 : UH0 = UH0_1 │ 00:00:13 #364 [Verbose] > │ let v36 : UH0 = UH0_0(2, v35) │ 00:00:13 #365 [Verbose] > │ let v37 : UH0 = UH0_0(3, v36) │ 00:00:13 #366 [Verbose] > │ let v38 : UH0 = UH0_0(4, v37) │ 00:00:13 #367 [Verbose] > │ let v39 : UH0 = UH0_0(5, v38) │ 00:00:13 #368 [Verbose] > │ let v40 : US0 = US0_1(1006, v39) │ 00:00:13 #369 [Verbose] > │ let v41 : UH0 = UH0_1 │ 00:00:13 #370 [Verbose] > │ let v42 : UH0 = UH0_0(2, v41) │ 00:00:13 #371 [Verbose] > │ let v43 : UH0 = UH0_0(3, v42) │ 00:00:13 #372 [Verbose] > │ let v44 : UH0 = UH0_0(4, v43) │ 00:00:13 #373 [Verbose] > │ let v45 : UH0 = UH0_0(5, v44) │ 00:00:13 #374 [Verbose] > │ let v46 : US0 = US0_1(1006, v45) │ 00:00:13 #375 [Verbose] > │ let v47 : string = $"_equal / actual: %A{v40} / expected: %A{v46}" │ 00:00:13 #376 [Verbose] > │ () │ 00:00:13 #377 [Verbose] > │ method0() │ 00:00:13 #378 [Verbose] > │ │ 00:00:13 #379 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 1000 / roll: 6 / value: 5 │ 00:00:13 #380 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 1005 │ 00:00:13 #381 [Verbose] > │ │ 00:00:13 #382 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:13 #383 [Verbose] > 00:00:13 #384 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:13 #385 [Verbose] > // // test 00:00:13 #386 [Verbose] > 00:00:13 #387 [Verbose] > accumulate_dice_rolls (Some console.write_line) [[ 6; 5; 4; 3; 2 ]] 1i32 1000 00:00:13 #388 [Verbose] > |> _equal (Some (1035, [[ 4; 3; 2 ]])) 00:00:14 #389 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5650-5043-572d68947f3d\main.spi 00:00:14 #390 [Verbose] > 00:00:14 #391 [Verbose] > ╭─[ 246.28ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:14 #392 [Verbose] > │ type UH0 = │ 00:00:14 #393 [Verbose] > │ | UH0_0 of int32 * UH0 │ 00:00:14 #394 [Verbose] > │ | UH0_1 │ 00:00:14 #395 [Verbose] > │ and [<Struct>] US0 = │ 00:00:14 #396 [Verbose] > │ | US0_0 │ 00:00:14 #397 [Verbose] > │ | US0_1 of f1_0 : int32 * f1_1 : UH0 │ 00:00:14 #398 [Verbose] > │ let rec method0 () : unit = │ 00:00:14 #399 [Verbose] > │ let v0 : string = $"accumulate_dice_rolls / power: {1} / acc: {1000} / │ 00:00:14 #400 [Verbose] > │ roll: {6} / value: {30}" │ 00:00:14 #401 [Verbose] > │ System.Console.WriteLine v0 │ 00:00:14 #402 [Verbose] > │ let v1 : string = $"accumulate_dice_rolls / power: {0} / acc: {1030} / │ 00:00:14 #403 [Verbose] > │ roll: {5} / value: {4}" │ 00:00:14 #404 [Verbose] > │ System.Console.WriteLine v1 │ 00:00:14 #405 [Verbose] > │ let v2 : string = $"accumulate_dice_rolls / power: {-1} / acc: {1034}" │ 00:00:14 #406 [Verbose] > │ System.Console.WriteLine v2 │ 00:00:14 #407 [Verbose] > │ let v28 : UH0 = UH0_1 │ 00:00:14 #408 [Verbose] > │ let v29 : UH0 = UH0_0(2, v28) │ 00:00:14 #409 [Verbose] > │ let v30 : UH0 = UH0_0(3, v29) │ 00:00:14 #410 [Verbose] > │ let v31 : UH0 = UH0_0(4, v30) │ 00:00:14 #411 [Verbose] > │ let v32 : US0 = US0_1(1035, v31) │ 00:00:14 #412 [Verbose] > │ let v33 : UH0 = UH0_1 │ 00:00:14 #413 [Verbose] > │ let v34 : UH0 = UH0_0(2, v33) │ 00:00:14 #414 [Verbose] > │ let v35 : UH0 = UH0_0(3, v34) │ 00:00:14 #415 [Verbose] > │ let v36 : UH0 = UH0_0(4, v35) │ 00:00:14 #416 [Verbose] > │ let v37 : US0 = US0_1(1035, v36) │ 00:00:14 #417 [Verbose] > │ let v38 : string = $"_equal / actual: %A{v32} / expected: %A{v37}" │ 00:00:14 #418 [Verbose] > │ () │ 00:00:14 #419 [Verbose] > │ method0() │ 00:00:14 #420 [Verbose] > │ │ 00:00:14 #421 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 1000 / roll: 6 / value: 30 │ 00:00:14 #422 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 1030 / roll: 5 / value: 4 │ 00:00:14 #423 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 1034 │ 00:00:14 #424 [Verbose] > │ │ 00:00:14 #425 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:14 #426 [Verbose] > 00:00:14 #427 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:14 #428 [Verbose] > // // test 00:00:14 #429 [Verbose] > 00:00:14 #430 [Verbose] > accumulate_dice_rolls (Some console.write_line) [[ 6; 5; 4; 3; 2 ]] 2i32 1000 00:00:14 #431 [Verbose] > |> _equal (Some (1208, [[ 3; 2 ]])) 00:00:14 #432 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5676-7668-7854a189d75b\main.spi 00:00:14 #433 [Verbose] > 00:00:14 #434 [Verbose] > ╭─[ 221.64ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:14 #435 [Verbose] > │ type UH0 = │ 00:00:14 #436 [Verbose] > │ | UH0_0 of int32 * UH0 │ 00:00:14 #437 [Verbose] > │ | UH0_1 │ 00:00:14 #438 [Verbose] > │ and [<Struct>] US0 = │ 00:00:14 #439 [Verbose] > │ | US0_0 │ 00:00:14 #440 [Verbose] > │ | US0_1 of f1_0 : int32 * f1_1 : UH0 │ 00:00:14 #441 [Verbose] > │ let rec method0 () : unit = │ 00:00:14 #442 [Verbose] > │ let v0 : string = $"accumulate_dice_rolls / power: {2} / acc: {1000} / │ 00:00:14 #443 [Verbose] > │ roll: {6} / value: {180}" │ 00:00:14 #444 [Verbose] > │ System.Console.WriteLine v0 │ 00:00:14 #445 [Verbose] > │ let v1 : string = $"accumulate_dice_rolls / power: {1} / acc: {1180} / │ 00:00:14 #446 [Verbose] > │ roll: {5} / value: {24}" │ 00:00:14 #447 [Verbose] > │ System.Console.WriteLine v1 │ 00:00:14 #448 [Verbose] > │ let v2 : string = $"accumulate_dice_rolls / power: {0} / acc: {1204} / │ 00:00:14 #449 [Verbose] > │ roll: {4} / value: {3}" │ 00:00:14 #450 [Verbose] > │ System.Console.WriteLine v2 │ 00:00:14 #451 [Verbose] > │ let v3 : string = $"accumulate_dice_rolls / power: {-1} / acc: {1207}" │ 00:00:14 #452 [Verbose] > │ System.Console.WriteLine v3 │ 00:00:14 #453 [Verbose] > │ let v22 : UH0 = UH0_1 │ 00:00:14 #454 [Verbose] > │ let v23 : UH0 = UH0_0(2, v22) │ 00:00:14 #455 [Verbose] > │ let v24 : UH0 = UH0_0(3, v23) │ 00:00:14 #456 [Verbose] > │ let v25 : US0 = US0_1(1208, v24) │ 00:00:14 #457 [Verbose] > │ let v26 : UH0 = UH0_1 │ 00:00:14 #458 [Verbose] > │ let v27 : UH0 = UH0_0(2, v26) │ 00:00:14 #459 [Verbose] > │ let v28 : UH0 = UH0_0(3, v27) │ 00:00:14 #460 [Verbose] > │ let v29 : US0 = US0_1(1208, v28) │ 00:00:14 #461 [Verbose] > │ let v30 : string = $"_equal / actual: %A{v25} / expected: %A{v29}" │ 00:00:14 #462 [Verbose] > │ () │ 00:00:14 #463 [Verbose] > │ method0() │ 00:00:14 #464 [Verbose] > │ │ 00:00:14 #465 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 1000 / roll: 6 / value: 180 │ 00:00:14 #466 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 1180 / roll: 5 / value: 24 │ 00:00:14 #467 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 1204 / roll: 4 / value: 3 │ 00:00:14 #468 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 1207 │ 00:00:14 #469 [Verbose] > │ │ 00:00:14 #470 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:14 #471 [Verbose] > 00:00:14 #472 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:14 #473 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:14 #474 [Verbose] > │ ## rollWithinBounds │ 00:00:14 #475 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:14 #476 [Verbose] > 00:00:14 #477 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:14 #478 [Verbose] > let rollWithinBounds log max rolls = 00:00:14 #479 [Verbose] > let power = List.length rolls - 1 00:00:14 #480 [Verbose] > match accumulateDiceRolls log rolls power 0 with 00:00:14 #481 [Verbose] > | Some (result, _) when result >= 1 && result <= max -> Some result 00:00:14 #482 [Verbose] > | _ -> None 00:00:14 #483 [Verbose] > 00:00:14 #484 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:14 #485 [Verbose] > //// test 00:00:14 #486 [Verbose] > 00:00:14 #487 [Verbose] > rollWithinBounds (Some (printfn "%s")) 2000 [[ 1; 5; 4; 4; 5 ]] 00:00:14 #488 [Verbose] > |> _equal (Some 995) 00:00:14 #489 [Verbose] > 00:00:14 #490 [Verbose] > ╭─[ 25.33ms - stdout ]─────────────────────────────────────────────────────────╮ 00:00:14 #491 [Verbose] > │ accumulateDiceRolls / power: 4 / acc: 0 / roll: 1 │ 00:00:14 #492 [Verbose] > │ accumulateDiceRolls / power: 3 / acc: 0 / roll: 5 / value: 864 │ 00:00:14 #493 [Verbose] > │ accumulateDiceRolls / power: 2 / acc: 864 / roll: 4 / value: 108 │ 00:00:14 #494 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 972 / roll: 4 / value: 18 │ 00:00:14 #495 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 990 / roll: 5 / value: 4 │ 00:00:14 #496 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 994 │ 00:00:14 #497 [Verbose] > │ FSharpOption<Int32> │ 00:00:14 #498 [Verbose] > │ Value: 995 │ 00:00:14 #499 [Verbose] > │ │ 00:00:14 #500 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:14 #501 [Verbose] > 00:00:14 #502 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:14 #503 [Verbose] > //// test 00:00:14 #504 [Verbose] > 00:00:14 #505 [Verbose] > rollWithinBounds (Some (printfn "%s")) 2000 [[ 2; 2; 6; 4; 5 ]] 00:00:14 #506 [Verbose] > |> _equal (Some 1715) 00:00:14 #507 [Verbose] > 00:00:14 #508 [Verbose] > ╭─[ 22.02ms - stdout ]─────────────────────────────────────────────────────────╮ 00:00:14 #509 [Verbose] > │ accumulateDiceRolls / power: 4 / acc: 0 / roll: 2 / value: 1296 │ 00:00:14 #510 [Verbose] > │ accumulateDiceRolls / power: 3 / acc: 1296 / roll: 2 / value: 216 │ 00:00:14 #511 [Verbose] > │ accumulateDiceRolls / power: 2 / acc: 1512 / roll: 6 / value: 180 │ 00:00:14 #512 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 1692 / roll: 4 / value: 18 │ 00:00:14 #513 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 1710 / roll: 5 / value: 4 │ 00:00:14 #514 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 1714 │ 00:00:14 #515 [Verbose] > │ FSharpOption<Int32> │ 00:00:14 #516 [Verbose] > │ Value: 1715 │ 00:00:14 #517 [Verbose] > │ │ 00:00:14 #518 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:14 #519 [Verbose] > 00:00:14 #520 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:14 #521 [Verbose] > //// test 00:00:14 #522 [Verbose] > 00:00:14 #523 [Verbose] > rollWithinBounds (Some (printfn "%s")) 2000 [[ 4; 1; 1; 2; 3 ]] 00:00:14 #524 [Verbose] > |> _equal None 00:00:14 #525 [Verbose] > 00:00:14 #526 [Verbose] > ╭─[ 22.20ms - stdout ]─────────────────────────────────────────────────────────╮ 00:00:14 #527 [Verbose] > │ accumulateDiceRolls / power: 4 / acc: 0 / roll: 4 / value: 3888 │ 00:00:14 #528 [Verbose] > │ accumulateDiceRolls / power: 3 / acc: 3888 / roll: 1 │ 00:00:14 #529 [Verbose] > │ accumulateDiceRolls / power: 2 / acc: 3888 / roll: 1 │ 00:00:14 #530 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 3888 / roll: 2 / value: 6 │ 00:00:14 #531 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 3894 / roll: 3 / value: 2 │ 00:00:14 #532 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 3896 │ 00:00:14 #533 [Verbose] > │ <null> │ 00:00:14 #534 [Verbose] > │ │ 00:00:14 #535 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:14 #536 [Verbose] > 00:00:14 #537 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:14 #538 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:14 #539 [Verbose] > │ ## roll_within_bounds │ 00:00:14 #540 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:14 #541 [Verbose] > 00:00:14 #542 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:14 #543 [Verbose] > inl roll_within_bounds (log : option (string -> ())) max rolls = 00:00:14 #544 [Verbose] > inl power = listm.length rolls - 1i32 00:00:14 #545 [Verbose] > match accumulate_dice_rolls log rolls power 0 with 00:00:14 #546 [Verbose] > | Some (result, _) when result >= 1 && result <= max => Some result 00:00:14 #547 [Verbose] > | _ => None 00:00:14 #548 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5711-1118-192e63340d6b\main.spi 00:00:14 #549 [Verbose] > 00:00:14 #550 [Verbose] > ╭─[ 140.08ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:14 #551 [Verbose] > │ () │ 00:00:14 #552 [Verbose] > │ │ 00:00:14 #553 [Verbose] > │ │ 00:00:14 #554 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:14 #555 [Verbose] > 00:00:14 #556 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:14 #557 [Verbose] > // // test 00:00:14 #558 [Verbose] > 00:00:14 #559 [Verbose] > roll_within_bounds (Some console.write_line) 2000 [[ 1; 5; 4; 4; 5 ]] 00:00:14 #560 [Verbose] > |> _equal (Some 995) 00:00:14 #561 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5725-2515-29e88d512aa4\main.spi 00:00:14 #562 [Verbose] > 00:00:14 #563 [Verbose] > ╭─[ 220.45ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:14 #564 [Verbose] > │ type [<Struct>] US0 = │ 00:00:14 #565 [Verbose] > │ | US0_0 │ 00:00:14 #566 [Verbose] > │ | US0_1 of f1_0 : int32 │ 00:00:14 #567 [Verbose] > │ let rec method0 () : unit = │ 00:00:14 #568 [Verbose] > │ let v0 : string = $"accumulate_dice_rolls / power: {4} / acc: {0} / │ 00:00:14 #569 [Verbose] > │ roll: {1}" │ 00:00:14 #570 [Verbose] > │ System.Console.WriteLine v0 │ 00:00:14 #571 [Verbose] > │ let v1 : string = $"accumulate_dice_rolls / power: {3} / acc: {0} / │ 00:00:14 #572 [Verbose] > │ roll: {5} / value: {864}" │ 00:00:14 #573 [Verbose] > │ System.Console.WriteLine v1 │ 00:00:14 #574 [Verbose] > │ let v2 : string = $"accumulate_dice_rolls / power: {2} / acc: {864} / │ 00:00:14 #575 [Verbose] > │ roll: {4} / value: {108}" │ 00:00:14 #576 [Verbose] > │ System.Console.WriteLine v2 │ 00:00:14 #577 [Verbose] > │ let v3 : string = $"accumulate_dice_rolls / power: {1} / acc: {972} / │ 00:00:14 #578 [Verbose] > │ roll: {4} / value: {18}" │ 00:00:14 #579 [Verbose] > │ System.Console.WriteLine v3 │ 00:00:14 #580 [Verbose] > │ let v4 : string = $"accumulate_dice_rolls / power: {0} / acc: {990} / │ 00:00:14 #581 [Verbose] > │ roll: {5} / value: {4}" │ 00:00:14 #582 [Verbose] > │ System.Console.WriteLine v4 │ 00:00:14 #583 [Verbose] > │ let v5 : string = $"accumulate_dice_rolls / power: {-1} / acc: {994}" │ 00:00:14 #584 [Verbose] > │ System.Console.WriteLine v5 │ 00:00:14 #585 [Verbose] > │ let v9 : US0 = US0_1(995) │ 00:00:14 #586 [Verbose] > │ let v10 : US0 = US0_1(995) │ 00:00:14 #587 [Verbose] > │ let v11 : string = $"_equal / actual: %A{v9} / expected: %A{v10}" │ 00:00:14 #588 [Verbose] > │ () │ 00:00:14 #589 [Verbose] > │ method0() │ 00:00:14 #590 [Verbose] > │ │ 00:00:14 #591 [Verbose] > │ accumulate_dice_rolls / power: 4 / acc: 0 / roll: 1 │ 00:00:14 #592 [Verbose] > │ accumulate_dice_rolls / power: 3 / acc: 0 / roll: 5 / value: 864 │ 00:00:14 #593 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 864 / roll: 4 / value: 108 │ 00:00:14 #594 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 972 / roll: 4 / value: 18 │ 00:00:14 #595 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 990 / roll: 5 / value: 4 │ 00:00:14 #596 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 994 │ 00:00:14 #597 [Verbose] > │ │ 00:00:14 #598 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:14 #599 [Verbose] > 00:00:14 #600 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:14 #601 [Verbose] > // // test 00:00:14 #602 [Verbose] > 00:00:14 #603 [Verbose] > roll_within_bounds (Some console.write_line) 2000 [[ 2; 2; 6; 4; 5 ]] 00:00:14 #604 [Verbose] > |> _equal (Some 1715) 00:00:14 #605 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5748-4870-431e1a306f75\main.spi 00:00:15 #606 [Verbose] > 00:00:15 #607 [Verbose] > ╭─[ 218.35ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:15 #608 [Verbose] > │ type [<Struct>] US0 = │ 00:00:15 #609 [Verbose] > │ | US0_0 │ 00:00:15 #610 [Verbose] > │ | US0_1 of f1_0 : int32 │ 00:00:15 #611 [Verbose] > │ let rec method0 () : unit = │ 00:00:15 #612 [Verbose] > │ let v0 : string = $"accumulate_dice_rolls / power: {4} / acc: {0} / │ 00:00:15 #613 [Verbose] > │ roll: {2} / value: {1296}" │ 00:00:15 #614 [Verbose] > │ System.Console.WriteLine v0 │ 00:00:15 #615 [Verbose] > │ let v1 : string = $"accumulate_dice_rolls / power: {3} / acc: {1296} / │ 00:00:15 #616 [Verbose] > │ roll: {2} / value: {216}" │ 00:00:15 #617 [Verbose] > │ System.Console.WriteLine v1 │ 00:00:15 #618 [Verbose] > │ let v2 : string = $"accumulate_dice_rolls / power: {2} / acc: {1512} / │ 00:00:15 #619 [Verbose] > │ roll: {6} / value: {180}" │ 00:00:15 #620 [Verbose] > │ System.Console.WriteLine v2 │ 00:00:15 #621 [Verbose] > │ let v3 : string = $"accumulate_dice_rolls / power: {1} / acc: {1692} / │ 00:00:15 #622 [Verbose] > │ roll: {4} / value: {18}" │ 00:00:15 #623 [Verbose] > │ System.Console.WriteLine v3 │ 00:00:15 #624 [Verbose] > │ let v4 : string = $"accumulate_dice_rolls / power: {0} / acc: {1710} / │ 00:00:15 #625 [Verbose] > │ roll: {5} / value: {4}" │ 00:00:15 #626 [Verbose] > │ System.Console.WriteLine v4 │ 00:00:15 #627 [Verbose] > │ let v5 : string = $"accumulate_dice_rolls / power: {-1} / acc: {1714}" │ 00:00:15 #628 [Verbose] > │ System.Console.WriteLine v5 │ 00:00:15 #629 [Verbose] > │ let v9 : US0 = US0_1(1715) │ 00:00:15 #630 [Verbose] > │ let v10 : US0 = US0_1(1715) │ 00:00:15 #631 [Verbose] > │ let v11 : string = $"_equal / actual: %A{v9} / expected: %A{v10}" │ 00:00:15 #632 [Verbose] > │ () │ 00:00:15 #633 [Verbose] > │ method0() │ 00:00:15 #634 [Verbose] > │ │ 00:00:15 #635 [Verbose] > │ accumulate_dice_rolls / power: 4 / acc: 0 / roll: 2 / value: 1296 │ 00:00:15 #636 [Verbose] > │ accumulate_dice_rolls / power: 3 / acc: 1296 / roll: 2 / value: 216 │ 00:00:15 #637 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 1512 / roll: 6 / value: 180 │ 00:00:15 #638 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 1692 / roll: 4 / value: 18 │ 00:00:15 #639 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 1710 / roll: 5 / value: 4 │ 00:00:15 #640 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 1714 │ 00:00:15 #641 [Verbose] > │ │ 00:00:15 #642 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:15 #643 [Verbose] > 00:00:15 #644 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:15 #645 [Verbose] > // // test 00:00:15 #646 [Verbose] > 00:00:15 #647 [Verbose] > roll_within_bounds (Some console.write_line) 2000 [[ 4; 1; 1; 2; 3 ]] 00:00:15 #648 [Verbose] > |> _equal None 00:00:15 #649 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5772-7285-7dc914d163fd\main.spi 00:00:15 #650 [Verbose] > 00:00:15 #651 [Verbose] > ╭─[ 273.02ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:15 #652 [Verbose] > │ type [<Struct>] US0 = │ 00:00:15 #653 [Verbose] > │ | US0_0 │ 00:00:15 #654 [Verbose] > │ | US0_1 of f1_0 : int32 │ 00:00:15 #655 [Verbose] > │ let rec method0 () : unit = │ 00:00:15 #656 [Verbose] > │ let v0 : string = $"accumulate_dice_rolls / power: {4} / acc: {0} / │ 00:00:15 #657 [Verbose] > │ roll: {4} / value: {3888}" │ 00:00:15 #658 [Verbose] > │ System.Console.WriteLine v0 │ 00:00:15 #659 [Verbose] > │ let v1 : string = $"accumulate_dice_rolls / power: {3} / acc: {3888} / │ 00:00:15 #660 [Verbose] > │ roll: {1}" │ 00:00:15 #661 [Verbose] > │ System.Console.WriteLine v1 │ 00:00:15 #662 [Verbose] > │ let v2 : string = $"accumulate_dice_rolls / power: {2} / acc: {3888} / │ 00:00:15 #663 [Verbose] > │ roll: {1}" │ 00:00:15 #664 [Verbose] > │ System.Console.WriteLine v2 │ 00:00:15 #665 [Verbose] > │ let v3 : string = $"accumulate_dice_rolls / power: {1} / acc: {3888} / │ 00:00:15 #666 [Verbose] > │ roll: {2} / value: {6}" │ 00:00:15 #667 [Verbose] > │ System.Console.WriteLine v3 │ 00:00:15 #668 [Verbose] > │ let v4 : string = $"accumulate_dice_rolls / power: {0} / acc: {3894} / │ 00:00:15 #669 [Verbose] > │ roll: {3} / value: {2}" │ 00:00:15 #670 [Verbose] > │ System.Console.WriteLine v4 │ 00:00:15 #671 [Verbose] > │ let v5 : string = $"accumulate_dice_rolls / power: {-1} / acc: {3896}" │ 00:00:15 #672 [Verbose] > │ System.Console.WriteLine v5 │ 00:00:15 #673 [Verbose] > │ let v9 : US0 = US0_0 │ 00:00:15 #674 [Verbose] > │ let v10 : US0 = US0_0 │ 00:00:15 #675 [Verbose] > │ let v11 : string = $"_equal / actual: %A{v9} / expected: %A{v10}" │ 00:00:15 #676 [Verbose] > │ () │ 00:00:15 #677 [Verbose] > │ method0() │ 00:00:15 #678 [Verbose] > │ │ 00:00:15 #679 [Verbose] > │ accumulate_dice_rolls / power: 4 / acc: 0 / roll: 4 / value: 3888 │ 00:00:15 #680 [Verbose] > │ accumulate_dice_rolls / power: 3 / acc: 3888 / roll: 1 │ 00:00:15 #681 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 3888 / roll: 1 │ 00:00:15 #682 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 3888 / roll: 2 / value: 6 │ 00:00:15 #683 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 3894 / roll: 3 / value: 2 │ 00:00:15 #684 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 3896 │ 00:00:15 #685 [Verbose] > │ │ 00:00:15 #686 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:15 #687 [Verbose] > 00:00:15 #688 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:15 #689 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:15 #690 [Verbose] > │ ## calculateDiceCount │ 00:00:15 #691 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:15 #692 [Verbose] > 00:00:15 #693 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:15 #694 [Verbose] > let inline calculateDiceCount log max = 00:00:15 #695 [Verbose] > let rec loop n p = 00:00:15 #696 [Verbose] > if p < max 00:00:15 #697 [Verbose] > then loop (n + 1) (p * 6) 00:00:15 #698 [Verbose] > else 00:00:15 #699 [Verbose] > log |> Option.iter ((|>) $"calculateDiceCount / max: {max} / n: {n} 00:00:15 #700 [Verbose] > / p: {p}") 00:00:15 #701 [Verbose] > n 00:00:15 #702 [Verbose] > if max = 1 00:00:15 #703 [Verbose] > then 1 00:00:15 #704 [Verbose] > else loop 0 1 00:00:15 #705 [Verbose] > 00:00:15 #706 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:15 #707 [Verbose] > //// test 00:00:15 #708 [Verbose] > 00:00:15 #709 [Verbose] > calculateDiceCount (Some (printfn "%s")) 36 00:00:15 #710 [Verbose] > |> _equal 2 00:00:15 #711 [Verbose] > 00:00:15 #712 [Verbose] > ╭─[ 26.81ms - stdout ]─────────────────────────────────────────────────────────╮ 00:00:15 #713 [Verbose] > │ calculateDiceCount / max: 36 / n: 2 / p: 36 │ 00:00:15 #714 [Verbose] > │ 2 │ 00:00:15 #715 [Verbose] > │ │ 00:00:15 #716 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:15 #717 [Verbose] > 00:00:15 #718 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:15 #719 [Verbose] > //// test 00:00:15 #720 [Verbose] > 00:00:15 #721 [Verbose] > calculateDiceCount (Some (printfn "%s")) 7777 00:00:15 #722 [Verbose] > |> _equal 6 00:00:15 #723 [Verbose] > 00:00:15 #724 [Verbose] > ╭─[ 23.08ms - stdout ]─────────────────────────────────────────────────────────╮ 00:00:15 #725 [Verbose] > │ calculateDiceCount / max: 7777 / n: 6 / p: 46656 │ 00:00:15 #726 [Verbose] > │ 6 │ 00:00:15 #727 [Verbose] > │ │ 00:00:15 #728 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:15 #729 [Verbose] > 00:00:15 #730 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:15 #731 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:15 #732 [Verbose] > │ ## calculate_dice_count │ 00:00:15 #733 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:15 #734 [Verbose] > 00:00:15 #735 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:15 #736 [Verbose] > inl calculate_dice_count (log : option (string -> ())) max = 00:00:15 #737 [Verbose] > inl rec loop n p = 00:00:15 #738 [Verbose] > if p < max 00:00:15 #739 [Verbose] > then loop (n + 1) (p * 6) 00:00:15 #740 [Verbose] > else 00:00:15 #741 [Verbose] > log |> optionm'.iter ((|>) $"$\"calculate_dice_count / max: {!max} 00:00:15 #742 [Verbose] > n: {!n} / p: {!p}\"") 00:00:15 #743 [Verbose] > n 00:00:15 #744 [Verbose] > if max = 1 00:00:15 #745 [Verbose] > then 1 00:00:15 #746 [Verbose] > else loop 0 1 00:00:15 #747 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5809-0917-090ae6ed1598\main.spi 00:00:15 #748 [Verbose] > 00:00:15 #749 [Verbose] > ╭─[ 194.36ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:15 #750 [Verbose] > │ () │ 00:00:15 #751 [Verbose] > │ │ 00:00:15 #752 [Verbose] > │ │ 00:00:15 #753 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:15 #754 [Verbose] > 00:00:15 #755 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:15 #756 [Verbose] > // // test 00:00:15 #757 [Verbose] > 00:00:15 #758 [Verbose] > calculate_dice_count (Some console.write_line) 36i32 00:00:15 #759 [Verbose] > |> _equal 2i32 00:00:15 #760 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5828-2880-25d0045da46b\main.spi 00:00:15 #761 [Verbose] > 00:00:15 #762 [Verbose] > ╭─[ 149.76ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:15 #763 [Verbose] > │ let rec method0 () : unit = │ 00:00:15 #764 [Verbose] > │ let v0 : string = $"calculate_dice_count / max: {36} / n: {2} / p: {36}" │ 00:00:15 #765 [Verbose] > │ System.Console.WriteLine v0 │ 00:00:15 #766 [Verbose] > │ let v1 : string = $"_equal / actual: %A{2} / expected: %A{2}" │ 00:00:15 #767 [Verbose] > │ () │ 00:00:15 #768 [Verbose] > │ method0() │ 00:00:15 #769 [Verbose] > │ │ 00:00:15 #770 [Verbose] > │ calculate_dice_count / max: 36 / n: 2 / p: 36 │ 00:00:15 #771 [Verbose] > │ │ 00:00:15 #772 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:15 #773 [Verbose] > 00:00:15 #774 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:15 #775 [Verbose] > // // test 00:00:15 #776 [Verbose] > 00:00:15 #777 [Verbose] > calculate_dice_count (Some console.write_line) 7777i32 00:00:15 #778 [Verbose] > |> _equal 6i32 00:00:15 #779 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5844-4419-4f2dfbf21fda\main.spi 00:00:15 #780 [Verbose] > 00:00:15 #781 [Verbose] > ╭─[ 151.25ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:15 #782 [Verbose] > │ let rec method0 () : unit = │ 00:00:15 #783 [Verbose] > │ let v0 : string = $"calculate_dice_count / max: {7777} / n: {6} / p: │ 00:00:15 #784 [Verbose] > │ {46656}" │ 00:00:15 #785 [Verbose] > │ System.Console.WriteLine v0 │ 00:00:15 #786 [Verbose] > │ let v1 : string = $"_equal / actual: %A{6} / expected: %A{6}" │ 00:00:15 #787 [Verbose] > │ () │ 00:00:15 #788 [Verbose] > │ method0() │ 00:00:15 #789 [Verbose] > │ │ 00:00:15 #790 [Verbose] > │ calculate_dice_count / max: 7777 / n: 6 / p: 46656 │ 00:00:15 #791 [Verbose] > │ │ 00:00:15 #792 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:15 #793 [Verbose] > 00:00:15 #794 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:15 #795 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:15 #796 [Verbose] > │ ## rollDice │ 00:00:15 #797 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:15 #798 [Verbose] > 00:00:15 #799 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:15 #800 [Verbose] > #if FABLE_COMPILER_RUST 00:00:15 #801 [Verbose] > #if !CHAIN 00:00:15 #802 [Verbose] > let rollDice () : int = 00:00:15 #803 [Verbose] > Fable.Core.RustInterop.emitRustExpr () "rand::Rng::gen_range(&mut 00:00:15 #804 [Verbose] > rand::thread_rng(), 1..7)" 00:00:15 #805 [Verbose] > #endif 00:00:15 #806 [Verbose] > #else 00:00:15 #807 [Verbose] > let private random = System.Random () 00:00:15 #808 [Verbose] > let rollDice () = 00:00:15 #809 [Verbose] > random.Next (1, 7) 00:00:15 #810 [Verbose] > #endif 00:00:16 #811 [Verbose] > 00:00:16 #812 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:16 #813 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:16 #814 [Verbose] > │ ## roll_dice │ 00:00:16 #815 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:16 #816 [Verbose] > 00:00:16 #817 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:16 #818 [Verbose] > inl roll_dice () : i32 = 00:00:16 #819 [Verbose] > $"System.Random().Next (1, 7)" 00:00:16 #820 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5861-6131-6b15f51b5536\main.spi 00:00:16 #821 [Verbose] > 00:00:16 #822 [Verbose] > ╭─[ 191.61ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:16 #823 [Verbose] > │ () │ 00:00:16 #824 [Verbose] > │ │ 00:00:16 #825 [Verbose] > │ │ 00:00:16 #826 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:16 #827 [Verbose] > 00:00:16 #828 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:16 #829 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:16 #830 [Verbose] > │ ## rotateNumber │ 00:00:16 #831 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:16 #832 [Verbose] > 00:00:16 #833 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:16 #834 [Verbose] > let rotateNumber max n = 00:00:16 #835 [Verbose] > (n - 1 + max) % max + 1 00:00:16 #836 [Verbose] > 00:00:16 #837 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:16 #838 [Verbose] > inl rotate_number max n = 00:00:16 #839 [Verbose] > (n - 1 + max) % max + 1 00:00:16 #840 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5881-8177-885c83a4e54d\main.spi 00:00:16 #841 [Verbose] > 00:00:16 #842 [Verbose] > ╭─[ 220.08ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:16 #843 [Verbose] > │ () │ 00:00:16 #844 [Verbose] > │ │ 00:00:16 #845 [Verbose] > │ │ 00:00:16 #846 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:16 #847 [Verbose] > 00:00:16 #848 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:16 #849 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:16 #850 [Verbose] > │ ## rotateNumbers │ 00:00:16 #851 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:16 #852 [Verbose] > 00:00:16 #853 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:16 #854 [Verbose] > let rotateNumbers max items = 00:00:16 #855 [Verbose] > items |> Seq.map (rotateNumber max) 00:00:16 #856 [Verbose] > 00:00:16 #857 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:16 #858 [Verbose] > //// test 00:00:16 #859 [Verbose] > 00:00:16 #860 [Verbose] > [[ -1 .. 14 ]] 00:00:16 #861 [Verbose] > |> rotateNumbers 6 00:00:16 #862 [Verbose] > |> Seq.toList 00:00:16 #863 [Verbose] > |> _equal [[ 5; 6; 1; 2; 3; 4; 5; 6; 1; 2; 3; 4; 5; 6; 1; 2 ]] 00:00:16 #864 [Verbose] > 00:00:16 #865 [Verbose] > ╭─[ 32.05ms - stdout ]─────────────────────────────────────────────────────────╮ 00:00:16 #866 [Verbose] > │ [ 5, 6, 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6, 1, 2 ] │ 00:00:16 #867 [Verbose] > │ │ 00:00:16 #868 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:16 #869 [Verbose] > 00:00:16 #870 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:16 #871 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:16 #872 [Verbose] > │ ## rotate_numbers │ 00:00:16 #873 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:16 #874 [Verbose] > 00:00:16 #875 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:16 #876 [Verbose] > inl rotate_numbers max items = 00:00:16 #877 [Verbose] > items |> stream.map (rotate_number max) 00:00:16 #878 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5908-0864-065c9985fa44\main.spi 00:00:16 #879 [Verbose] > 00:00:16 #880 [Verbose] > ╭─[ 141.53ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:16 #881 [Verbose] > │ () │ 00:00:16 #882 [Verbose] > │ │ 00:00:16 #883 [Verbose] > │ │ 00:00:16 #884 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:16 #885 [Verbose] > 00:00:16 #886 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:16 #887 [Verbose] > // // test 00:00:16 #888 [Verbose] > 00:00:16 #889 [Verbose] > listm'.init_series -1i32 14 1 00:00:16 #890 [Verbose] > |> stream.from_list 00:00:16 #891 [Verbose] > |> rotate_numbers 6 00:00:16 #892 [Verbose] > |> stream.to_list 00:00:16 #893 [Verbose] > |> _equal [[ 5; 6; 1; 2; 3; 4; 5; 6; 1; 2; 3; 4; 5; 6; 1; 2 ]] 00:00:16 #894 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5923-2326-2b2ab1776b4c\main.spi 00:00:16 #895 [Verbose] > 00:00:16 #896 [Verbose] > ╭─[ 251.13ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:16 #897 [Verbose] > │ type UH0 = │ 00:00:16 #898 [Verbose] > │ | UH0_0 of int32 * UH0 │ 00:00:16 #899 [Verbose] > │ | UH0_1 │ 00:00:16 #900 [Verbose] > │ let rec method0 () : unit = │ 00:00:16 #901 [Verbose] > │ let v187 : UH0 = UH0_1 │ 00:00:16 #902 [Verbose] > │ let v188 : UH0 = UH0_0(2, v187) │ 00:00:16 #903 [Verbose] > │ let v189 : UH0 = UH0_0(1, v188) │ 00:00:16 #904 [Verbose] > │ let v190 : UH0 = UH0_0(6, v189) │ 00:00:16 #905 [Verbose] > │ let v191 : UH0 = UH0_0(5, v190) │ 00:00:16 #906 [Verbose] > │ let v192 : UH0 = UH0_0(4, v191) │ 00:00:16 #907 [Verbose] > │ let v193 : UH0 = UH0_0(3, v192) │ 00:00:16 #908 [Verbose] > │ let v194 : UH0 = UH0_0(2, v193) │ 00:00:16 #909 [Verbose] > │ let v195 : UH0 = UH0_0(1, v194) │ 00:00:16 #910 [Verbose] > │ let v196 : UH0 = UH0_0(6, v195) │ 00:00:16 #911 [Verbose] > │ let v197 : UH0 = UH0_0(5, v196) │ 00:00:16 #912 [Verbose] > │ let v198 : UH0 = UH0_0(4, v197) │ 00:00:16 #913 [Verbose] > │ let v199 : UH0 = UH0_0(3, v198) │ 00:00:16 #914 [Verbose] > │ let v200 : UH0 = UH0_0(2, v199) │ 00:00:16 #915 [Verbose] > │ let v201 : UH0 = UH0_0(1, v200) │ 00:00:16 #916 [Verbose] > │ let v202 : UH0 = UH0_0(6, v201) │ 00:00:16 #917 [Verbose] > │ let v203 : UH0 = UH0_0(5, v202) │ 00:00:16 #918 [Verbose] > │ let v204 : UH0 = UH0_1 │ 00:00:16 #919 [Verbose] > │ let v205 : UH0 = UH0_0(2, v204) │ 00:00:16 #920 [Verbose] > │ let v206 : UH0 = UH0_0(1, v205) │ 00:00:16 #921 [Verbose] > │ let v207 : UH0 = UH0_0(6, v206) │ 00:00:16 #922 [Verbose] > │ let v208 : UH0 = UH0_0(5, v207) │ 00:00:16 #923 [Verbose] > │ let v209 : UH0 = UH0_0(4, v208) │ 00:00:16 #924 [Verbose] > │ let v210 : UH0 = UH0_0(3, v209) │ 00:00:16 #925 [Verbose] > │ let v211 : UH0 = UH0_0(2, v210) │ 00:00:16 #926 [Verbose] > │ let v212 : UH0 = UH0_0(1, v211) │ 00:00:16 #927 [Verbose] > │ let v213 : UH0 = UH0_0(6, v212) │ 00:00:16 #928 [Verbose] > │ let v214 : UH0 = UH0_0(5, v213) │ 00:00:16 #929 [Verbose] > │ let v215 : UH0 = UH0_0(4, v214) │ 00:00:16 #930 [Verbose] > │ let v216 : UH0 = UH0_0(3, v215) │ 00:00:16 #931 [Verbose] > │ let v217 : UH0 = UH0_0(2, v216) │ 00:00:16 #932 [Verbose] > │ let v218 : UH0 = UH0_0(1, v217) │ 00:00:16 #933 [Verbose] > │ let v219 : UH0 = UH0_0(6, v218) │ 00:00:16 #934 [Verbose] > │ let v220 : UH0 = UH0_0(5, v219) │ 00:00:16 #935 [Verbose] > │ let v221 : string = $"_equal / actual: %A{v203} / expected: %A{v220}" │ 00:00:16 #936 [Verbose] > │ () │ 00:00:16 #937 [Verbose] > │ method0() │ 00:00:16 #938 [Verbose] > │ │ 00:00:16 #939 [Verbose] > │ │ 00:00:16 #940 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:16 #941 [Verbose] > 00:00:16 #942 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:16 #943 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:16 #944 [Verbose] > │ ## createSequentialRoller │ 00:00:16 #945 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:16 #946 [Verbose] > 00:00:16 #947 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:16 #948 [Verbose] > let createSequentialRoller list = 00:00:16 #949 [Verbose] > let mutable currentIndex = 0 00:00:16 #950 [Verbose] > fun () -> 00:00:16 #951 [Verbose] > match list |> List.tryItem currentIndex with 00:00:16 #952 [Verbose] > | Some item -> 00:00:16 #953 [Verbose] > currentIndex <- currentIndex + 1 00:00:16 #954 [Verbose] > item 00:00:16 #955 [Verbose] > | None -> 00:00:16 #956 [Verbose] > failwith "createSequentialRoller / End of list" 00:00:16 #957 [Verbose] > 00:00:16 #958 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:16 #959 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:16 #960 [Verbose] > │ ## create_sequential_roller │ 00:00:16 #961 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:16 #962 [Verbose] > 00:00:16 #963 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:16 #964 [Verbose] > inl create_sequential_roller list = 00:00:16 #965 [Verbose] > inl s = list |> listm.rev |> listm.append list |> stream.from_list |> 00:00:16 #966 [Verbose] > stream.memoize 00:00:16 #967 [Verbose] > inl current_index = mut 0i32 00:00:16 #968 [Verbose] > inl acc = mut 1 00:00:16 #969 [Verbose] > inl len = mut -1 00:00:16 #970 [Verbose] > let rec loop () = 00:00:16 #971 [Verbose] > match s () |> stream.try_item *current_index with 00:00:16 #972 [Verbose] > | Some item => 00:00:16 #973 [Verbose] > current_index <- *current_index + 1 00:00:16 #974 [Verbose] > item 00:00:16 #975 [Verbose] > | None => 00:00:16 #976 [Verbose] > if *len = -1 00:00:16 #977 [Verbose] > then len <- *current_index 00:00:16 #978 [Verbose] > acc <- 00:00:16 #979 [Verbose] > if *acc >= *len 00:00:16 #980 [Verbose] > then 1 00:00:16 #981 [Verbose] > else *acc + 1 00:00:16 #982 [Verbose] > current_index <- *acc - 1 00:00:16 #983 [Verbose] > loop () 00:00:16 #984 [Verbose] > loop 00:00:17 #985 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5954-5487-54095e0c1183\main.spi 00:00:17 #986 [Verbose] > 00:00:17 #987 [Verbose] > ╭─[ 151.64ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:17 #988 [Verbose] > │ () │ 00:00:17 #989 [Verbose] > │ │ 00:00:17 #990 [Verbose] > │ │ 00:00:17 #991 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:17 #992 [Verbose] > 00:00:17 #993 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:17 #994 [Verbose] > // // test 00:00:17 #995 [Verbose] > 00:00:17 #996 [Verbose] > inl sequential_roll = create_sequential_roller [[ 1i32; 2; 3; 4 ]] 00:00:17 #997 [Verbose] > 00:00:17 #998 [Verbose] > am.init 20i32 (ignore >> sequential_roll) 00:00:17 #999 [Verbose] > |> _equal (a ;[[ 1; 2; 3; 4; 4; 3; 2; 1; 2; 3; 4; 4; 3; 2; 1; 3; 4; 4; 3; 2 ]] : 00:00:17 #1000 [Verbose] > a i32 i32) 00:00:17 #1001 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1549-5970-7006-7b96f50d3f87\main.spi 00:00:17 #1002 [Verbose] > 00:00:17 #1003 [Verbose] > ╭─[ 489.84ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:17 #1004 [Verbose] > │ type UH0 = │ 00:00:17 #1005 [Verbose] > │ | UH0_0 of int32 * (unit -> UH0) │ 00:00:17 #1006 [Verbose] > │ | UH0_1 │ 00:00:17 #1007 [Verbose] > │ and [<Struct>] US0 = │ 00:00:17 #1008 [Verbose] > │ | US0_0 of f0_0 : UH0 │ 00:00:17 #1009 [Verbose] > │ | US0_1 of f1_0 : (unit -> UH0) │ 00:00:17 #1010 [Verbose] > │ and Mut0 = {mutable l0 : US0} │ 00:00:17 #1011 [Verbose] > │ and Mut1 = {mutable l0 : int32} │ 00:00:17 #1012 [Verbose] > │ and Mut2 = {mutable l0 : int32} │ 00:00:17 #1013 [Verbose] > │ and [<Struct>] US1 = │ 00:00:17 #1014 [Verbose] > │ | US1_0 │ 00:00:17 #1015 [Verbose] > │ | US1_1 of f1_0 : int32 │ 00:00:17 #1016 [Verbose] > │ let rec closure8 () () : UH0 = │ 00:00:17 #1017 [Verbose] > │ UH0_1 │ 00:00:17 #1018 [Verbose] > │ and closure7 () () : UH0 = │ 00:00:17 #1019 [Verbose] > │ let v0 : (unit -> UH0) = closure8() │ 00:00:17 #1020 [Verbose] > │ UH0_0(1, v0) │ 00:00:17 #1021 [Verbose] > │ and closure6 () () : UH0 = │ 00:00:17 #1022 [Verbose] > │ let v0 : (unit -> UH0) = closure7() │ 00:00:17 #1023 [Verbose] > │ UH0_0(2, v0) │ 00:00:17 #1024 [Verbose] > │ and closure5 () () : UH0 = │ 00:00:17 #1025 [Verbose] > │ let v0 : (unit -> UH0) = closure6() │ 00:00:17 #1026 [Verbose] > │ UH0_0(3, v0) │ 00:00:17 #1027 [Verbose] > │ and closure4 () () : UH0 = │ 00:00:17 #1028 [Verbose] > │ let v0 : (unit -> UH0) = closure5() │ 00:00:17 #1029 [Verbose] > │ UH0_0(4, v0) │ 00:00:17 #1030 [Verbose] > │ and closure3 () () : UH0 = │ 00:00:17 #1031 [Verbose] > │ let v0 : (unit -> UH0) = closure4() │ 00:00:17 #1032 [Verbose] > │ UH0_0(4, v0) │ 00:00:17 #1033 [Verbose] > │ and closure2 () () : UH0 = │ 00:00:17 #1034 [Verbose] > │ let v0 : (unit -> UH0) = closure3() │ 00:00:17 #1035 [Verbose] > │ UH0_0(3, v0) │ 00:00:17 #1036 [Verbose] > │ and closure1 () () : UH0 = │ 00:00:17 #1037 [Verbose] > │ let v0 : (unit -> UH0) = closure2() │ 00:00:17 #1038 [Verbose] > │ UH0_0(2, v0) │ 00:00:17 #1039 [Verbose] > │ and closure0 () () : UH0 = │ 00:00:17 #1040 [Verbose] > │ let v0 : (unit -> UH0) = closure1() │ 00:00:17 #1041 [Verbose] > │ UH0_0(1, v0) │ 00:00:17 #1042 [Verbose] > │ and method1 (v0 : Mut2) : bool = │ 00:00:17 #1043 [Verbose] > │ let v1 : int32 = v0.l0 │ 00:00:17 #1044 [Verbose] > │ let v2 : bool = v1 < 20 │ 00:00:17 #1045 [Verbose] > │ v2 │ 00:00:17 #1046 [Verbose] > │ and closure9 (v0 : Mut0) () : UH0 = │ 00:00:17 #1047 [Verbose] > │ let v1 : US0 = v0.l0 │ 00:00:17 #1048 [Verbose] > │ match v1 with │ 00:00:17 #1049 [Verbose] > │ | US0_0(v2) -> (* Computed *) │ 00:00:17 #1050 [Verbose] > │ v2 │ 00:00:17 #1051 [Verbose] > │ | US0_1(v3) -> (* NotComputed *) │ 00:00:17 #1052 [Verbose] > │ let v4 : UH0 = v3 () │ 00:00:17 #1053 [Verbose] > │ let v13 : UH0 = │ 00:00:17 #1054 [Verbose] > │ match v4 with │ 00:00:17 #1055 [Verbose] > │ | UH0_0(v6, v7) -> (* StreamCons *) │ 00:00:17 #1056 [Verbose] > │ let v8 : US0 = US0_1(v7) │ 00:00:17 #1057 [Verbose] > │ let v9 : Mut0 = {l0 = v8} : Mut0 │ 00:00:17 #1058 [Verbose] > │ let v10 : (unit -> UH0) = closure9(v9) │ 00:00:17 #1059 [Verbose] > │ UH0_0(v6, v10) │ 00:00:17 #1060 [Verbose] > │ | UH0_1 -> (* StreamNil *) │ 00:00:17 #1061 [Verbose] > │ UH0_1 │ 00:00:17 #1062 [Verbose] > │ let v14 : US0 = US0_0(v13) │ 00:00:17 #1063 [Verbose] > │ v0.l0 <- v14 │ 00:00:17 #1064 [Verbose] > │ v13 │ 00:00:17 #1065 [Verbose] > │ and method3 (v0 : int32, v1 : UH0) : US1 = │ 00:00:17 #1066 [Verbose] > │ match v1 with │ 00:00:17 #1067 [Verbose] > │ | UH0_0(v2, v3) -> (* StreamCons *) │ 00:00:17 #1068 [Verbose] > │ let v4 : bool = v0 <= 0 │ 00:00:17 #1069 [Verbose] > │ if v4 then │ 00:00:17 #1070 [Verbose] > │ US1_1(v2) │ 00:00:17 #1071 [Verbose] > │ else │ 00:00:17 #1072 [Verbose] > │ let v6 : int32 = v0 - 1 │ 00:00:17 #1073 [Verbose] > │ let v7 : UH0 = v3 () │ 00:00:17 #1074 [Verbose] > │ method3(v6, v7) │ 00:00:17 #1075 [Verbose] > │ | UH0_1 -> (* StreamNil *) │ 00:00:17 #1076 [Verbose] > │ US1_0 │ 00:00:17 #1077 [Verbose] > │ and method2 (v0 : Mut0, v1 : Mut1, v2 : Mut1, v3 : Mut1) : int32 = │ 00:00:17 #1078 [Verbose] > │ let v4 : US0 = v0.l0 │ 00:00:17 #1079 [Verbose] > │ let v19 : UH0 = │ 00:00:17 #1080 [Verbose] > │ match v4 with │ 00:00:17 #1081 [Verbose] > │ | US0_0(v5) -> (* Computed *) │ 00:00:17 #1082 [Verbose] > │ v5 │ 00:00:17 #1083 [Verbose] > │ | US0_1(v6) -> (* NotComputed *) │ 00:00:17 #1084 [Verbose] > │ let v7 : UH0 = v6 () │ 00:00:17 #1085 [Verbose] > │ let v16 : UH0 = │ 00:00:17 #1086 [Verbose] > │ match v7 with │ 00:00:17 #1087 [Verbose] > │ | UH0_0(v9, v10) -> (* StreamCons *) │ 00:00:17 #1088 [Verbose] > │ let v11 : US0 = US0_1(v10) │ 00:00:17 #1089 [Verbose] > │ let v12 : Mut0 = {l0 = v11} : Mut0 │ 00:00:17 #1090 [Verbose] > │ let v13 : (unit -> UH0) = closure9(v12) │ 00:00:17 #1091 [Verbose] > │ UH0_0(v9, v13) │ 00:00:17 #1092 [Verbose] > │ | UH0_1 -> (* StreamNil *) │ 00:00:17 #1093 [Verbose] > │ UH0_1 │ 00:00:17 #1094 [Verbose] > │ let v17 : US0 = US0_0(v16) │ 00:00:17 #1095 [Verbose] > │ v0.l0 <- v17 │ 00:00:17 #1096 [Verbose] > │ v16 │ 00:00:17 #1097 [Verbose] > │ let v20 : int32 = v1.l0 │ 00:00:17 #1098 [Verbose] > │ let v21 : US1 = method3(v20, v19) │ 00:00:17 #1099 [Verbose] > │ match v21 with │ 00:00:17 #1100 [Verbose] > │ | US1_0 -> (* None *) │ 00:00:17 #1101 [Verbose] > │ let v25 : int32 = v3.l0 │ 00:00:17 #1102 [Verbose] > │ let v26 : bool = v25 = -1 │ 00:00:17 #1103 [Verbose] > │ if v26 then │ 00:00:17 #1104 [Verbose] > │ let v27 : int32 = v1.l0 │ 00:00:17 #1105 [Verbose] > │ v3.l0 <- v27 │ 00:00:17 #1106 [Verbose] > │ () │ 00:00:17 #1107 [Verbose] > │ let v28 : int32 = v2.l0 │ 00:00:17 #1108 [Verbose] > │ let v29 : int32 = v3.l0 │ 00:00:17 #1109 [Verbose] > │ let v30 : bool = v28 >= v29 │ 00:00:17 #1110 [Verbose] > │ let v33 : int32 = │ 00:00:17 #1111 [Verbose] > │ if v30 then │ 00:00:17 #1112 [Verbose] > │ 1 │ 00:00:17 #1113 [Verbose] > │ else │ 00:00:17 #1114 [Verbose] > │ let v31 : int32 = v2.l0 │ 00:00:17 #1115 [Verbose] > │ let v32 : int32 = v31 + 1 │ 00:00:17 #1116 [Verbose] > │ v32 │ 00:00:17 #1117 [Verbose] > │ v2.l0 <- v33 │ 00:00:17 #1118 [Verbose] > │ let v34 : int32 = v2.l0 │ 00:00:17 #1119 [Verbose] > │ let v35 : int32 = v34 - 1 │ 00:00:17 #1120 [Verbose] > │ v1.l0 <- v35 │ 00:00:17 #1121 [Verbose] > │ method2(v0, v1, v2, v3) │ 00:00:17 #1122 [Verbose] > │ | US1_1(v22) -> (* Some *) │ 00:00:17 #1123 [Verbose] > │ let v23 : int32 = v1.l0 │ 00:00:17 #1124 [Verbose] > │ let v24 : int32 = v23 + 1 │ 00:00:17 #1125 [Verbose] > │ v1.l0 <- v24 │ 00:00:17 #1126 [Verbose] > │ v22 │ 00:00:17 #1127 [Verbose] > │ and method4 (v0 : (int32 []), v1 : (int32 []), v2 : int32) : bool = │ 00:00:17 #1128 [Verbose] > │ let v3 : int32 = v0.Length │ 00:00:17 #1129 [Verbose] > │ let v4 : bool = v2 < v3 │ 00:00:17 #1130 [Verbose] > │ if v4 then │ 00:00:17 #1131 [Verbose] > │ let v5 : int32 = v0.[int v2] │ 00:00:17 #1132 [Verbose] > │ let v6 : int32 = v1.[int v2] │ 00:00:17 #1133 [Verbose] > │ let v7 : bool = v5 = v6 │ 00:00:17 #1134 [Verbose] > │ if v7 then │ 00:00:17 #1135 [Verbose] > │ let v8 : int32 = v2 + 1 │ 00:00:17 #1136 [Verbose] > │ method4(v0, v1, v8) │ 00:00:17 #1137 [Verbose] > │ else │ 00:00:17 #1138 [Verbose] > │ false │ 00:00:17 #1139 [Verbose] > │ else │ 00:00:17 #1140 [Verbose] > │ true │ 00:00:17 #1141 [Verbose] > │ and method0 () : unit = │ 00:00:17 #1142 [Verbose] > │ let v0 : (unit -> UH0) = closure0() │ 00:00:17 #1143 [Verbose] > │ let v1 : US0 = US0_1(v0) │ 00:00:17 #1144 [Verbose] > │ let v2 : Mut0 = {l0 = v1} : Mut0 │ 00:00:17 #1145 [Verbose] > │ let v3 : Mut1 = {l0 = 0} : Mut1 │ 00:00:17 #1146 [Verbose] > │ let v4 : Mut1 = {l0 = 1} : Mut1 │ 00:00:17 #1147 [Verbose] > │ let v5 : Mut1 = {l0 = -1} : Mut1 │ 00:00:17 #1148 [Verbose] > │ let v6 : (int32 []) = Array.zeroCreate<int32> (20) │ 00:00:17 #1149 [Verbose] > │ let v7 : Mut2 = {l0 = 0} : Mut2 │ 00:00:17 #1150 [Verbose] > │ while method1(v7) do │ 00:00:17 #1151 [Verbose] > │ let v9 : int32 = v7.l0 │ 00:00:17 #1152 [Verbose] > │ let v10 : int32 = method2(v2, v3, v4, v5) │ 00:00:17 #1153 [Verbose] > │ v6.[int v9] <- v10 │ 00:00:17 #1154 [Verbose] > │ let v11 : int32 = v9 + 1 │ 00:00:17 #1155 [Verbose] > │ v7.l0 <- v11 │ 00:00:17 #1156 [Verbose] > │ () │ 00:00:17 #1157 [Verbose] > │ let v12 : (int32 []) = [|1; 2; 3; 4; 4; 3; 2; 1; 2; 3; 4; 4; 3; 2; 1; 3; │ 00:00:17 #1158 [Verbose] > │ 4; 4; 3; 2|] │ 00:00:17 #1159 [Verbose] > │ let v13 : int32 = v6.Length │ 00:00:17 #1160 [Verbose] > │ let v14 : int32 = v12.Length │ 00:00:17 #1161 [Verbose] > │ let v15 : bool = v13 = v14 │ 00:00:17 #1162 [Verbose] > │ let v16 : bool = v15 <> true │ 00:00:17 #1163 [Verbose] > │ let v19 : bool = │ 00:00:17 #1164 [Verbose] > │ if v16 then │ 00:00:17 #1165 [Verbose] > │ false │ 00:00:17 #1166 [Verbose] > │ else │ 00:00:17 #1167 [Verbose] > │ let v17 : int32 = 0 │ 00:00:17 #1168 [Verbose] > │ method4(v6, v12, v17) │ 00:00:17 #1169 [Verbose] > │ let v20 : string = $"_equal / actual: %A{v6} / expected: %A{v12}" │ 00:00:17 #1170 [Verbose] > │ let v21 : bool = v19 = false │ 00:00:17 #1171 [Verbose] > │ if v21 then │ 00:00:17 #1172 [Verbose] > │ failwith<unit> v20 │ 00:00:17 #1173 [Verbose] > │ method0() │ 00:00:17 #1174 [Verbose] > │ │ 00:00:17 #1175 [Verbose] > │ │ 00:00:17 #1176 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:17 #1177 [Verbose] > 00:00:17 #1178 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:17 #1179 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:17 #1180 [Verbose] > │ ## rollProgressively │ 00:00:17 #1181 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:17 #1182 [Verbose] > 00:00:17 #1183 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:17 #1184 [Verbose] > let rollProgressively log roll reroll max = 00:00:17 #1185 [Verbose] > let power = (calculateDiceCount log max) - 1 00:00:17 #1186 [Verbose] > let rec loop rolls size = 00:00:17 #1187 [Verbose] > if size < power + 1 00:00:17 #1188 [Verbose] > then loop (roll () :: rolls) (size + 1) 00:00:17 #1189 [Verbose] > else 00:00:17 #1190 [Verbose] > match accumulateDiceRolls log rolls power 0 with 00:00:17 #1191 [Verbose] > | Some (result, _) when result <= max -> result 00:00:17 #1192 [Verbose] > | _ when reroll -> loop (List.init power (fun _ -> roll ())) power 00:00:17 #1193 [Verbose] > | _ -> loop (roll () :: rolls) (size + 1) 00:00:17 #1194 [Verbose] > loop [[]] 0 00:00:17 #1195 [Verbose] > 00:00:17 #1196 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:17 #1197 [Verbose] > //// test 00:00:17 #1198 [Verbose] > 00:00:17 #1199 [Verbose] > rollProgressively None rollDice false 1 00:00:17 #1200 [Verbose] > |> _equal 1 00:00:17 #1201 [Verbose] > 00:00:17 #1202 [Verbose] > ╭─[ 21.33ms - stdout ]─────────────────────────────────────────────────────────╮ 00:00:17 #1203 [Verbose] > │ 1 │ 00:00:17 #1204 [Verbose] > │ │ 00:00:17 #1205 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:17 #1206 [Verbose] > 00:00:17 #1207 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:17 #1208 [Verbose] > //// test 00:00:17 #1209 [Verbose] > 00:00:17 #1210 [Verbose] > let sequentialRoll = createSequentialRoller [[ 5; 4; 4; 5; 1 ]] 00:00:17 #1211 [Verbose] > 00:00:17 #1212 [Verbose] > rollProgressively (Some (printfn "%s")) sequentialRoll false 2000 00:00:17 #1213 [Verbose] > |> _equal 995 00:00:17 #1214 [Verbose] > 00:00:17 #1215 [Verbose] > ╭─[ 23.51ms - stdout ]─────────────────────────────────────────────────────────╮ 00:00:17 #1216 [Verbose] > │ calculateDiceCount / max: 2000 / n: 5 / p: 7776 │ 00:00:17 #1217 [Verbose] > │ accumulateDiceRolls / power: 4 / acc: 0 / roll: 1 │ 00:00:17 #1218 [Verbose] > │ accumulateDiceRolls / power: 3 / acc: 0 / roll: 5 / value: 864 │ 00:00:17 #1219 [Verbose] > │ accumulateDiceRolls / power: 2 / acc: 864 / roll: 4 / value: 108 │ 00:00:17 #1220 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 972 / roll: 4 / value: 18 │ 00:00:17 #1221 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 990 / roll: 5 / value: 4 │ 00:00:17 #1222 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 994 │ 00:00:17 #1223 [Verbose] > │ 995 │ 00:00:17 #1224 [Verbose] > │ │ 00:00:17 #1225 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:17 #1226 [Verbose] > 00:00:17 #1227 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:17 #1228 [Verbose] > //// test 00:00:17 #1229 [Verbose] > 00:00:17 #1230 [Verbose] > let sequentialRoll = createSequentialRoller [[ 5; 4; 4; 5; 2 ]] 00:00:17 #1231 [Verbose] > 00:00:17 #1232 [Verbose] > fun () -> rollProgressively (Some (printfn "%s")) sequentialRoll false 2000 |> 00:00:17 #1233 [Verbose] > ignore 00:00:17 #1234 [Verbose] > |> _throwsC (fun ex _ -> 00:00:17 #1235 [Verbose] > printException ex 00:00:17 #1236 [Verbose] > |> _equal "System.Exception: createSequentialRoller / End of list" 00:00:17 #1237 [Verbose] > ) 00:00:17 #1238 [Verbose] > 00:00:17 #1239 [Verbose] > ╭─[ 69.62ms - stdout ]─────────────────────────────────────────────────────────╮ 00:00:17 #1240 [Verbose] > │ FSI_0031+it@5-11 │ 00:00:17 #1241 [Verbose] > │ calculateDiceCount / max: 2000 / n: 5 / p: 7776 │ 00:00:17 #1242 [Verbose] > │ accumulateDiceRolls / power: 4 / acc: 0 / roll: 2 / value: 1296 │ 00:00:17 #1243 [Verbose] > │ accumulateDiceRolls / power: 3 / acc: 1296 / roll: 5 / value: 864 │ 00:00:17 #1244 [Verbose] > │ accumulateDiceRolls / power: 2 / acc: 2160 / roll: 4 / value: 108 │ 00:00:17 #1245 [Verbose] > │ accumulateDiceRolls / power: 1 / acc: 2268 / roll: 4 / value: 18 │ 00:00:17 #1246 [Verbose] > │ accumulateDiceRolls / power: 0 / acc: 2286 / roll: 5 / value: 4 │ 00:00:17 #1247 [Verbose] > │ accumulateDiceRolls / power: -1 / acc: 2290 │ 00:00:17 #1248 [Verbose] > │ System.Exception: createSequentialRoller / End of list │ 00:00:17 #1249 [Verbose] > │ │ 00:00:17 #1250 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:17 #1251 [Verbose] > 00:00:17 #1252 [Verbose] > ── fsharp - ignored ──────────────────────────────────────────────────────────── 00:00:17 #1253 [Verbose] > //// ignore 00:00:17 #1254 [Verbose] > 00:00:17 #1255 [Verbose] > rollProgressively (Some (printfn "%s")) rollDice false 2000 00:00:17 #1256 [Verbose] > 00:00:17 #1257 [Verbose] > ── fsharp - ignored ──────────────────────────────────────────────────────────── 00:00:17 #1258 [Verbose] > //// ignore 00:00:17 #1259 [Verbose] > 00:00:17 #1260 [Verbose] > rollProgressively (Some (printfn "%s")) rollDice true 2000 00:00:17 #1261 [Verbose] > 00:00:17 #1262 [Verbose] > ── fsharp - ignored ──────────────────────────────────────────────────────────── 00:00:17 #1263 [Verbose] > //// ignore 00:00:17 #1264 [Verbose] > 00:00:17 #1265 [Verbose] > [[ 1 .. 1000 ]] 00:00:17 #1266 [Verbose] > |> List.map (fun _ -> rollProgressively None rollDice false 10) 00:00:17 #1267 [Verbose] > |> List.groupBy id 00:00:17 #1268 [Verbose] > |> List.map (fun (k, v) -> k, v.Length) 00:00:17 #1269 [Verbose] > |> List.sortBy fst 00:00:17 #1270 [Verbose] > 00:00:17 #1271 [Verbose] > ── fsharp - ignored ──────────────────────────────────────────────────────────── 00:00:17 #1272 [Verbose] > //// ignore 00:00:17 #1273 [Verbose] > 00:00:17 #1274 [Verbose] > [[ 1 .. 1000 ]] 00:00:17 #1275 [Verbose] > |> List.map (fun _ -> rollProgressively None rollDice true 10) 00:00:17 #1276 [Verbose] > |> List.groupBy id 00:00:17 #1277 [Verbose] > |> List.map (fun (k, v) -> k, v.Length) 00:00:17 #1278 [Verbose] > |> List.sortBy fst 00:00:17 #1279 [Verbose] > 00:00:17 #1280 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:17 #1281 [Verbose] > //// test 00:00:17 #1282 [Verbose] > 00:00:17 #1283 [Verbose] > [[ 1 .. 100 ]] 00:00:17 #1284 [Verbose] > |> List.iter (fun n -> 00:00:17 #1285 [Verbose] > [[ 0 .. 1 ]] 00:00:17 #1286 [Verbose] > |> List.iter (fun reroll -> 00:00:17 #1287 [Verbose] > [[ 1 .. 3500 ]] 00:00:17 #1288 [Verbose] > |> List.map (fun _ -> rollProgressively None rollDice (reroll = 1) n) 00:00:17 #1289 [Verbose] > |> List.groupBy id 00:00:17 #1290 [Verbose] > |> List.length 00:00:17 #1291 [Verbose] > |> __equal false n 00:00:17 #1292 [Verbose] > ) 00:00:17 #1293 [Verbose] > ) 00:00:25 #1294 [Verbose] > 00:00:25 #1295 [Verbose] > ── fsharp - ignored ──────────────────────────────────────────────────────────── 00:00:25 #1296 [Verbose] > //// ignore 00:00:25 #1297 [Verbose] > 00:00:25 #1298 [Verbose] > let run () = 00:00:25 #1299 [Verbose] > let inline rollMax fn max n = 00:00:25 #1300 [Verbose] > [[ 1 .. n ]] 00:00:25 #1301 [Verbose] > |> List.map (fun _ -> fn max) 00:00:25 #1302 [Verbose] > |> List.groupBy id 00:00:25 #1303 [Verbose] > |> List.map (fun (_, v) -> v.Length) 00:00:25 #1304 [Verbose] > 00:00:25 #1305 [Verbose] > let max = 10 00:00:25 #1306 [Verbose] > let n = 30 00:00:25 #1307 [Verbose] > let even = (n / max) |> int 00:00:25 #1308 [Verbose] > 00:00:25 #1309 [Verbose] > let rec rollN current = 00:00:25 #1310 [Verbose] > let roll = rollMax (rollProgressively None rollDice true) max n 00:00:25 #1311 [Verbose] > if roll |> List.forall ((=) even) 00:00:25 #1312 [Verbose] > then current 00:00:25 #1313 [Verbose] > else rollN (current + 1) 00:00:25 #1314 [Verbose] > 00:00:25 #1315 [Verbose] > rollN 0 00:00:25 #1316 [Verbose] > 00:00:25 #1317 [Verbose] > // run () 00:00:25 #1318 [Verbose] > 00:00:25 #1319 [Verbose] > ── fsharp - ignored ──────────────────────────────────────────────────────────── 00:00:25 #1320 [Verbose] > //// ignore 00:00:25 #1321 [Verbose] > 00:00:25 #1322 [Verbose] > // [[ 1 .. 100 ]] 00:00:25 #1323 [Verbose] > // |> List.map (fun i -> 00:00:25 #1324 [Verbose] > // let roll = rollN 0 00:00:25 #1325 [Verbose] > // printfn $"i: {i} / roll: {roll}" 00:00:25 #1326 [Verbose] > // roll 00:00:25 #1327 [Verbose] > // ) 00:00:25 #1328 [Verbose] > // |> List.map float 00:00:25 #1329 [Verbose] > // |> List.average 00:00:25 #1330 [Verbose] > 00:00:25 #1331 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:25 #1332 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:25 #1333 [Verbose] > │ ## roll_progressively │ 00:00:25 #1334 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:25 #1335 [Verbose] > 00:00:25 #1336 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:25 #1337 [Verbose] > inl roll_progressively (log : option (string -> ())) roll reroll max = 00:00:25 #1338 [Verbose] > inl power = (calculate_dice_count log max) - 1i32 00:00:25 #1339 [Verbose] > let rec loop rolls size = 00:00:25 #1340 [Verbose] > if size < power + 1 00:00:25 #1341 [Verbose] > then loop (roll () :: rolls) (size + 1) 00:00:25 #1342 [Verbose] > else 00:00:25 #1343 [Verbose] > match accumulate_dice_rolls log rolls power 0 with 00:00:25 #1344 [Verbose] > | Some (result, _) when result <= max => result 00:00:25 #1345 [Verbose] > | _ when reroll => loop (listm.init power (fun _ => roll ())) power 00:00:25 #1346 [Verbose] > | _ => loop (roll () :: rolls) (size + 1) 00:00:25 #1347 [Verbose] > loop [[]] 0 00:00:26 #1348 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1550-0860-6001-686719135de8\main.spi 00:00:26 #1349 [Verbose] > 00:00:26 #1350 [Verbose] > ╭─[ 200.00ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:26 #1351 [Verbose] > │ () │ 00:00:26 #1352 [Verbose] > │ │ 00:00:26 #1353 [Verbose] > │ │ 00:00:26 #1354 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:26 #1355 [Verbose] > 00:00:26 #1356 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:26 #1357 [Verbose] > // // test 00:00:26 #1358 [Verbose] > 00:00:26 #1359 [Verbose] > roll_progressively None roll_dice false 1 00:00:26 #1360 [Verbose] > |> _equal 1 00:00:26 #1361 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1550-0880-8008-82f5d721bcb3\main.spi 00:00:26 #1362 [Verbose] > 00:00:26 #1363 [Verbose] > ╭─[ 277.65ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:26 #1364 [Verbose] > │ type UH0 = │ 00:00:26 #1365 [Verbose] > │ | UH0_0 of int32 * UH0 │ 00:00:26 #1366 [Verbose] > │ | UH0_1 │ 00:00:26 #1367 [Verbose] > │ and [<Struct>] US0 = │ 00:00:26 #1368 [Verbose] > │ | US0_0 │ 00:00:26 #1369 [Verbose] > │ | US0_1 of f1_0 : int32 * f1_1 : UH0 │ 00:00:26 #1370 [Verbose] > │ let rec method3 (v0 : UH0, v1 : int32) : US0 = │ 00:00:26 #1371 [Verbose] > │ let v2 : string = $"accumulate_dice_rolls / power: {-1} / acc: {v1}" │ 00:00:26 #1372 [Verbose] > │ let v3 : int32 = v1 + 1 │ 00:00:26 #1373 [Verbose] > │ US0_1(v3, v0) │ 00:00:26 #1374 [Verbose] > │ and method2 (v0 : UH0, v1 : int32) : US0 = │ 00:00:26 #1375 [Verbose] > │ match v0 with │ 00:00:26 #1376 [Verbose] > │ | UH0_0(v3, v4) -> (* Cons *) │ 00:00:26 #1377 [Verbose] > │ let v5 : bool = v3 > 1 │ 00:00:26 #1378 [Verbose] > │ if v5 then │ 00:00:26 #1379 [Verbose] > │ let v6 : int32 = v3 - 1 │ 00:00:26 #1380 [Verbose] > │ let v7 : string = $"accumulate_dice_rolls / power: {0} / acc: │ 00:00:26 #1381 [Verbose] > │ {v1} / roll: {v3} / value: {v6}" │ 00:00:26 #1382 [Verbose] > │ let v8 : int32 = v1 + v6 │ 00:00:26 #1383 [Verbose] > │ method3(v4, v8) │ 00:00:26 #1384 [Verbose] > │ else │ 00:00:26 #1385 [Verbose] > │ let v10 : string = $"accumulate_dice_rolls / power: {0} / acc: │ 00:00:26 #1386 [Verbose] > │ {v1} / roll: {v3}" │ 00:00:26 #1387 [Verbose] > │ method3(v4, v1) │ 00:00:26 #1388 [Verbose] > │ | UH0_1 -> (* Nil *) │ 00:00:26 #1389 [Verbose] > │ US0_0 │ 00:00:26 #1390 [Verbose] > │ and method1 (v0 : UH0, v1 : int32) : int32 = │ 00:00:26 #1391 [Verbose] > │ let v2 : bool = v1 < 1 │ 00:00:26 #1392 [Verbose] > │ if v2 then │ 00:00:26 #1393 [Verbose] > │ let v3 : int32 = System.Random().Next (1, 7) │ 00:00:26 #1394 [Verbose] > │ let v4 : UH0 = UH0_0(v3, v0) │ 00:00:26 #1395 [Verbose] > │ let v5 : int32 = v1 + 1 │ 00:00:26 #1396 [Verbose] > │ method1(v4, v5) │ 00:00:26 #1397 [Verbose] > │ else │ 00:00:26 #1398 [Verbose] > │ let v7 : int32 = 0 │ 00:00:26 #1399 [Verbose] > │ let v8 : US0 = method2(v0, v7) │ 00:00:26 #1400 [Verbose] > │ match v8 with │ 00:00:26 #1401 [Verbose] > │ | US0_1(v9, v10) -> (* Some *) │ 00:00:26 #1402 [Verbose] > │ let v11 : bool = v9 <= 1 │ 00:00:26 #1403 [Verbose] > │ if v11 then │ 00:00:26 #1404 [Verbose] > │ v9 │ 00:00:26 #1405 [Verbose] > │ else │ 00:00:26 #1406 [Verbose] > │ let v12 : int32 = System.Random().Next (1, 7) │ 00:00:26 #1407 [Verbose] > │ let v13 : UH0 = UH0_0(v12, v0) │ 00:00:26 #1408 [Verbose] > │ let v14 : int32 = v1 + 1 │ 00:00:26 #1409 [Verbose] > │ method1(v13, v14) │ 00:00:26 #1410 [Verbose] > │ | _ -> │ 00:00:26 #1411 [Verbose] > │ let v17 : int32 = System.Random().Next (1, 7) │ 00:00:26 #1412 [Verbose] > │ let v18 : UH0 = UH0_0(v17, v0) │ 00:00:26 #1413 [Verbose] > │ let v19 : int32 = v1 + 1 │ 00:00:26 #1414 [Verbose] > │ method1(v18, v19) │ 00:00:26 #1415 [Verbose] > │ and method0 () : unit = │ 00:00:26 #1416 [Verbose] > │ let v0 : UH0 = UH0_1 │ 00:00:26 #1417 [Verbose] > │ let v1 : int32 = 0 │ 00:00:26 #1418 [Verbose] > │ let v2 : int32 = method1(v0, v1) │ 00:00:26 #1419 [Verbose] > │ let v3 : bool = v2 = 1 │ 00:00:26 #1420 [Verbose] > │ let v4 : string = $"_equal / actual: %A{v2} / expected: %A{1}" │ 00:00:26 #1421 [Verbose] > │ let v5 : bool = v3 = false │ 00:00:26 #1422 [Verbose] > │ if v5 then │ 00:00:26 #1423 [Verbose] > │ failwith<unit> v4 │ 00:00:26 #1424 [Verbose] > │ method0() │ 00:00:26 #1425 [Verbose] > │ │ 00:00:26 #1426 [Verbose] > │ │ 00:00:26 #1427 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:26 #1428 [Verbose] > 00:00:26 #1429 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:26 #1430 [Verbose] > // // test 00:00:26 #1431 [Verbose] > 00:00:26 #1432 [Verbose] > inl sequential_roll = create_sequential_roller [[ 5; 4; 4; 5; 1 ]] 00:00:26 #1433 [Verbose] > 00:00:26 #1434 [Verbose] > roll_progressively (Some console.write_line) sequential_roll false 2000 00:00:26 #1435 [Verbose] > |> _equal 995 00:00:26 #1436 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1550-0910-1033-1f8952d9213f\main.spi 00:00:26 #1437 [Verbose] > 00:00:26 #1438 [Verbose] > ╭─[ 419.46ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:26 #1439 [Verbose] > │ type UH0 = │ 00:00:26 #1440 [Verbose] > │ | UH0_0 of int32 * (unit -> UH0) │ 00:00:26 #1441 [Verbose] > │ | UH0_1 │ 00:00:26 #1442 [Verbose] > │ and [<Struct>] US0 = │ 00:00:26 #1443 [Verbose] > │ | US0_0 of f0_0 : UH0 │ 00:00:26 #1444 [Verbose] > │ | US0_1 of f1_0 : (unit -> UH0) │ 00:00:26 #1445 [Verbose] > │ and Mut0 = {mutable l0 : US0} │ 00:00:26 #1446 [Verbose] > │ and Mut1 = {mutable l0 : int32} │ 00:00:26 #1447 [Verbose] > │ and UH1 = │ 00:00:26 #1448 [Verbose] > │ | UH1_0 of int32 * UH1 │ 00:00:26 #1449 [Verbose] > │ | UH1_1 │ 00:00:26 #1450 [Verbose] > │ and [<Struct>] US1 = │ 00:00:26 #1451 [Verbose] > │ | US1_0 │ 00:00:26 #1452 [Verbose] > │ | US1_1 of f1_0 : int32 │ 00:00:26 #1453 [Verbose] > │ and [<Struct>] US2 = │ 00:00:26 #1454 [Verbose] > │ | US2_0 │ 00:00:26 #1455 [Verbose] > │ | US2_1 of f1_0 : int32 * f1_1 : UH1 │ 00:00:26 #1456 [Verbose] > │ let rec closure10 () () : UH0 = │ 00:00:26 #1457 [Verbose] > │ UH0_1 │ 00:00:26 #1458 [Verbose] > │ and closure9 () () : UH0 = │ 00:00:26 #1459 [Verbose] > │ let v0 : (unit -> UH0) = closure10() │ 00:00:26 #1460 [Verbose] > │ UH0_0(5, v0) │ 00:00:26 #1461 [Verbose] > │ and closure8 () () : UH0 = │ 00:00:26 #1462 [Verbose] > │ let v0 : (unit -> UH0) = closure9() │ 00:00:26 #1463 [Verbose] > │ UH0_0(4, v0) │ 00:00:26 #1464 [Verbose] > │ and closure7 () () : UH0 = │ 00:00:26 #1465 [Verbose] > │ let v0 : (unit -> UH0) = closure8() │ 00:00:26 #1466 [Verbose] > │ UH0_0(4, v0) │ 00:00:26 #1467 [Verbose] > │ and closure6 () () : UH0 = │ 00:00:26 #1468 [Verbose] > │ let v0 : (unit -> UH0) = closure7() │ 00:00:26 #1469 [Verbose] > │ UH0_0(5, v0) │ 00:00:26 #1470 [Verbose] > │ and closure5 () () : UH0 = │ 00:00:26 #1471 [Verbose] > │ let v0 : (unit -> UH0) = closure6() │ 00:00:26 #1472 [Verbose] > │ UH0_0(1, v0) │ 00:00:26 #1473 [Verbose] > │ and closure4 () () : UH0 = │ 00:00:26 #1474 [Verbose] > │ let v0 : (unit -> UH0) = closure5() │ 00:00:26 #1475 [Verbose] > │ UH0_0(1, v0) │ 00:00:26 #1476 [Verbose] > │ and closure3 () () : UH0 = │ 00:00:26 #1477 [Verbose] > │ let v0 : (unit -> UH0) = closure4() │ 00:00:26 #1478 [Verbose] > │ UH0_0(5, v0) │ 00:00:26 #1479 [Verbose] > │ and closure2 () () : UH0 = │ 00:00:26 #1480 [Verbose] > │ let v0 : (unit -> UH0) = closure3() │ 00:00:26 #1481 [Verbose] > │ UH0_0(4, v0) │ 00:00:26 #1482 [Verbose] > │ and closure1 () () : UH0 = │ 00:00:26 #1483 [Verbose] > │ let v0 : (unit -> UH0) = closure2() │ 00:00:26 #1484 [Verbose] > │ UH0_0(4, v0) │ 00:00:26 #1485 [Verbose] > │ and closure0 () () : UH0 = │ 00:00:26 #1486 [Verbose] > │ let v0 : (unit -> UH0) = closure1() │ 00:00:26 #1487 [Verbose] > │ UH0_0(5, v0) │ 00:00:26 #1488 [Verbose] > │ and closure11 (v0 : Mut0) () : UH0 = │ 00:00:26 #1489 [Verbose] > │ let v1 : US0 = v0.l0 │ 00:00:26 #1490 [Verbose] > │ match v1 with │ 00:00:26 #1491 [Verbose] > │ | US0_0(v2) -> (* Computed *) │ 00:00:26 #1492 [Verbose] > │ v2 │ 00:00:26 #1493 [Verbose] > │ | US0_1(v3) -> (* NotComputed *) │ 00:00:26 #1494 [Verbose] > │ let v4 : UH0 = v3 () │ 00:00:26 #1495 [Verbose] > │ let v13 : UH0 = │ 00:00:26 #1496 [Verbose] > │ match v4 with │ 00:00:26 #1497 [Verbose] > │ | UH0_0(v6, v7) -> (* StreamCons *) │ 00:00:26 #1498 [Verbose] > │ let v8 : US0 = US0_1(v7) │ 00:00:26 #1499 [Verbose] > │ let v9 : Mut0 = {l0 = v8} : Mut0 │ 00:00:26 #1500 [Verbose] > │ let v10 : (unit -> UH0) = closure11(v9) │ 00:00:26 #1501 [Verbose] > │ UH0_0(v6, v10) │ 00:00:26 #1502 [Verbose] > │ | UH0_1 -> (* StreamNil *) │ 00:00:26 #1503 [Verbose] > │ UH0_1 │ 00:00:26 #1504 [Verbose] > │ let v14 : US0 = US0_0(v13) │ 00:00:26 #1505 [Verbose] > │ v0.l0 <- v14 │ 00:00:26 #1506 [Verbose] > │ v13 │ 00:00:26 #1507 [Verbose] > │ and method3 (v0 : int32, v1 : UH0) : US1 = │ 00:00:26 #1508 [Verbose] > │ match v1 with │ 00:00:26 #1509 [Verbose] > │ | UH0_0(v2, v3) -> (* StreamCons *) │ 00:00:26 #1510 [Verbose] > │ let v4 : bool = v0 <= 0 │ 00:00:26 #1511 [Verbose] > │ if v4 then │ 00:00:26 #1512 [Verbose] > │ US1_1(v2) │ 00:00:26 #1513 [Verbose] > │ else │ 00:00:26 #1514 [Verbose] > │ let v6 : int32 = v0 - 1 │ 00:00:26 #1515 [Verbose] > │ let v7 : UH0 = v3 () │ 00:00:26 #1516 [Verbose] > │ method3(v6, v7) │ 00:00:26 #1517 [Verbose] > │ | UH0_1 -> (* StreamNil *) │ 00:00:26 #1518 [Verbose] > │ US1_0 │ 00:00:26 #1519 [Verbose] > │ and method2 (v0 : Mut0, v1 : Mut1, v2 : Mut1, v3 : Mut1) : int32 = │ 00:00:26 #1520 [Verbose] > │ let v4 : US0 = v0.l0 │ 00:00:26 #1521 [Verbose] > │ let v19 : UH0 = │ 00:00:26 #1522 [Verbose] > │ match v4 with │ 00:00:26 #1523 [Verbose] > │ | US0_0(v5) -> (* Computed *) │ 00:00:26 #1524 [Verbose] > │ v5 │ 00:00:26 #1525 [Verbose] > │ | US0_1(v6) -> (* NotComputed *) │ 00:00:26 #1526 [Verbose] > │ let v7 : UH0 = v6 () │ 00:00:26 #1527 [Verbose] > │ let v16 : UH0 = │ 00:00:26 #1528 [Verbose] > │ match v7 with │ 00:00:26 #1529 [Verbose] > │ | UH0_0(v9, v10) -> (* StreamCons *) │ 00:00:26 #1530 [Verbose] > │ let v11 : US0 = US0_1(v10) │ 00:00:26 #1531 [Verbose] > │ let v12 : Mut0 = {l0 = v11} : Mut0 │ 00:00:26 #1532 [Verbose] > │ let v13 : (unit -> UH0) = closure11(v12) │ 00:00:26 #1533 [Verbose] > │ UH0_0(v9, v13) │ 00:00:26 #1534 [Verbose] > │ | UH0_1 -> (* StreamNil *) │ 00:00:26 #1535 [Verbose] > │ UH0_1 │ 00:00:26 #1536 [Verbose] > │ let v17 : US0 = US0_0(v16) │ 00:00:26 #1537 [Verbose] > │ v0.l0 <- v17 │ 00:00:26 #1538 [Verbose] > │ v16 │ 00:00:26 #1539 [Verbose] > │ let v20 : int32 = v1.l0 │ 00:00:26 #1540 [Verbose] > │ let v21 : US1 = method3(v20, v19) │ 00:00:26 #1541 [Verbose] > │ match v21 with │ 00:00:26 #1542 [Verbose] > │ | US1_0 -> (* None *) │ 00:00:26 #1543 [Verbose] > │ let v25 : int32 = v3.l0 │ 00:00:26 #1544 [Verbose] > │ let v26 : bool = v25 = -1 │ 00:00:26 #1545 [Verbose] > │ if v26 then │ 00:00:26 #1546 [Verbose] > │ let v27 : int32 = v1.l0 │ 00:00:26 #1547 [Verbose] > │ v3.l0 <- v27 │ 00:00:26 #1548 [Verbose] > │ () │ 00:00:26 #1549 [Verbose] > │ let v28 : int32 = v2.l0 │ 00:00:26 #1550 [Verbose] > │ let v29 : int32 = v3.l0 │ 00:00:26 #1551 [Verbose] > │ let v30 : bool = v28 >= v29 │ 00:00:26 #1552 [Verbose] > │ let v33 : int32 = │ 00:00:26 #1553 [Verbose] > │ if v30 then │ 00:00:26 #1554 [Verbose] > │ 1 │ 00:00:26 #1555 [Verbose] > │ else │ 00:00:26 #1556 [Verbose] > │ let v31 : int32 = v2.l0 │ 00:00:26 #1557 [Verbose] > │ let v32 : int32 = v31 + 1 │ 00:00:26 #1558 [Verbose] > │ v32 │ 00:00:26 #1559 [Verbose] > │ v2.l0 <- v33 │ 00:00:26 #1560 [Verbose] > │ let v34 : int32 = v2.l0 │ 00:00:26 #1561 [Verbose] > │ let v35 : int32 = v34 - 1 │ 00:00:26 #1562 [Verbose] > │ v1.l0 <- v35 │ 00:00:26 #1563 [Verbose] > │ method2(v0, v1, v2, v3) │ 00:00:26 #1564 [Verbose] > │ | US1_1(v22) -> (* Some *) │ 00:00:26 #1565 [Verbose] > │ let v23 : int32 = v1.l0 │ 00:00:26 #1566 [Verbose] > │ let v24 : int32 = v23 + 1 │ 00:00:26 #1567 [Verbose] > │ v1.l0 <- v24 │ 00:00:26 #1568 [Verbose] > │ v22 │ 00:00:26 #1569 [Verbose] > │ and method9 (v0 : UH1, v1 : int32) : US2 = │ 00:00:26 #1570 [Verbose] > │ let v2 : string = $"accumulate_dice_rolls / power: {-1} / acc: {v1}" │ 00:00:26 #1571 [Verbose] > │ System.Console.WriteLine v2 │ 00:00:26 #1572 [Verbose] > │ let v3 : int32 = v1 + 1 │ 00:00:26 #1573 [Verbose] > │ US2_1(v3, v0) │ 00:00:26 #1574 [Verbose] > │ and method8 (v0 : UH1, v1 : int32) : US2 = │ 00:00:26 #1575 [Verbose] > │ match v0 with │ 00:00:26 #1576 [Verbose] > │ | UH1_0(v3, v4) -> (* Cons *) │ 00:00:26 #1577 [Verbose] > │ let v5 : bool = v3 > 1 │ 00:00:26 #1578 [Verbose] > │ if v5 then │ 00:00:26 #1579 [Verbose] > │ let v6 : int32 = v3 - 1 │ 00:00:26 #1580 [Verbose] > │ let v7 : string = $"accumulate_dice_rolls / power: {0} / acc: │ 00:00:26 #1581 [Verbose] > │ {v1} / roll: {v3} / value: {v6}" │ 00:00:26 #1582 [Verbose] > │ System.Console.WriteLine v7 │ 00:00:26 #1583 [Verbose] > │ let v8 : int32 = v1 + v6 │ 00:00:26 #1584 [Verbose] > │ method9(v4, v8) │ 00:00:26 #1585 [Verbose] > │ else │ 00:00:26 #1586 [Verbose] > │ let v10 : string = $"accumulate_dice_rolls / power: {0} / acc: │ 00:00:26 #1587 [Verbose] > │ {v1} / roll: {v3}" │ 00:00:26 #1588 [Verbose] > │ System.Console.WriteLine v10 │ 00:00:26 #1589 [Verbose] > │ method9(v4, v1) │ 00:00:26 #1590 [Verbose] > │ | UH1_1 -> (* Nil *) │ 00:00:26 #1591 [Verbose] > │ US2_0 │ 00:00:26 #1592 [Verbose] > │ and method7 (v0 : UH1, v1 : int32) : US2 = │ 00:00:26 #1593 [Verbose] > │ match v0 with │ 00:00:26 #1594 [Verbose] > │ | UH1_0(v3, v4) -> (* Cons *) │ 00:00:26 #1595 [Verbose] > │ let v5 : bool = v3 > 1 │ 00:00:26 #1596 [Verbose] > │ if v5 then │ 00:00:26 #1597 [Verbose] > │ let v6 : int32 = v3 - 1 │ 00:00:26 #1598 [Verbose] > │ let v7 : int32 = v6 * 6 │ 00:00:26 #1599 [Verbose] > │ let v8 : string = $"accumulate_dice_rolls / power: {1} / acc: │ 00:00:26 #1600 [Verbose] > │ {v1} / roll: {v3} / value: {v7}" │ 00:00:26 #1601 [Verbose] > │ System.Console.WriteLine v8 │ 00:00:26 #1602 [Verbose] > │ let v9 : int32 = v1 + v7 │ 00:00:26 #1603 [Verbose] > │ method8(v4, v9) │ 00:00:26 #1604 [Verbose] > │ else │ 00:00:26 #1605 [Verbose] > │ let v11 : string = $"accumulate_dice_rolls / power: {1} / acc: │ 00:00:26 #1606 [Verbose] > │ {v1} / roll: {v3}" │ 00:00:26 #1607 [Verbose] > │ System.Console.WriteLine v11 │ 00:00:26 #1608 [Verbose] > │ method8(v4, v1) │ 00:00:26 #1609 [Verbose] > │ | UH1_1 -> (* Nil *) │ 00:00:26 #1610 [Verbose] > │ US2_0 │ 00:00:26 #1611 [Verbose] > │ and method6 (v0 : UH1, v1 : int32) : US2 = │ 00:00:26 #1612 [Verbose] > │ match v0 with │ 00:00:26 #1613 [Verbose] > │ | UH1_0(v3, v4) -> (* Cons *) │ 00:00:26 #1614 [Verbose] > │ let v5 : bool = v3 > 1 │ 00:00:26 #1615 [Verbose] > │ if v5 then │ 00:00:26 #1616 [Verbose] > │ let v6 : int32 = v3 - 1 │ 00:00:26 #1617 [Verbose] > │ let v7 : int32 = v6 * 36 │ 00:00:26 #1618 [Verbose] > │ let v8 : string = $"accumulate_dice_rolls / power: {2} / acc: │ 00:00:26 #1619 [Verbose] > │ {v1} / roll: {v3} / value: {v7}" │ 00:00:26 #1620 [Verbose] > │ System.Console.WriteLine v8 │ 00:00:26 #1621 [Verbose] > │ let v9 : int32 = v1 + v7 │ 00:00:26 #1622 [Verbose] > │ method7(v4, v9) │ 00:00:26 #1623 [Verbose] > │ else │ 00:00:26 #1624 [Verbose] > │ let v11 : string = $"accumulate_dice_rolls / power: {2} / acc: │ 00:00:26 #1625 [Verbose] > │ {v1} / roll: {v3}" │ 00:00:26 #1626 [Verbose] > │ System.Console.WriteLine v11 │ 00:00:26 #1627 [Verbose] > │ method7(v4, v1) │ 00:00:26 #1628 [Verbose] > │ | UH1_1 -> (* Nil *) │ 00:00:26 #1629 [Verbose] > │ US2_0 │ 00:00:26 #1630 [Verbose] > │ and method5 (v0 : UH1, v1 : int32) : US2 = │ 00:00:26 #1631 [Verbose] > │ match v0 with │ 00:00:26 #1632 [Verbose] > │ | UH1_0(v3, v4) -> (* Cons *) │ 00:00:26 #1633 [Verbose] > │ let v5 : bool = v3 > 1 │ 00:00:26 #1634 [Verbose] > │ if v5 then │ 00:00:26 #1635 [Verbose] > │ let v6 : int32 = v3 - 1 │ 00:00:26 #1636 [Verbose] > │ let v7 : int32 = v6 * 216 │ 00:00:26 #1637 [Verbose] > │ let v8 : string = $"accumulate_dice_rolls / power: {3} / acc: │ 00:00:26 #1638 [Verbose] > │ {v1} / roll: {v3} / value: {v7}" │ 00:00:26 #1639 [Verbose] > │ System.Console.WriteLine v8 │ 00:00:26 #1640 [Verbose] > │ let v9 : int32 = v1 + v7 │ 00:00:26 #1641 [Verbose] > │ method6(v4, v9) │ 00:00:26 #1642 [Verbose] > │ else │ 00:00:26 #1643 [Verbose] > │ let v11 : string = $"accumulate_dice_rolls / power: {3} / acc: │ 00:00:26 #1644 [Verbose] > │ {v1} / roll: {v3}" │ 00:00:26 #1645 [Verbose] > │ System.Console.WriteLine v11 │ 00:00:26 #1646 [Verbose] > │ method6(v4, v1) │ 00:00:26 #1647 [Verbose] > │ | UH1_1 -> (* Nil *) │ 00:00:26 #1648 [Verbose] > │ US2_0 │ 00:00:26 #1649 [Verbose] > │ and method4 (v0 : UH1, v1 : int32) : US2 = │ 00:00:26 #1650 [Verbose] > │ match v0 with │ 00:00:26 #1651 [Verbose] > │ | UH1_0(v3, v4) -> (* Cons *) │ 00:00:26 #1652 [Verbose] > │ let v5 : bool = v3 > 1 │ 00:00:26 #1653 [Verbose] > │ if v5 then │ 00:00:26 #1654 [Verbose] > │ let v6 : int32 = v3 - 1 │ 00:00:27 #1655 [Verbose] > │ let v7 : int32 = v6 * 1296 │ 00:00:27 #1656 [Verbose] > │ let v8 : string = $"accumulate_dice_rolls / power: {4} / acc: │ 00:00:27 #1657 [Verbose] > │ {v1} / roll: {v3} / value: {v7}" │ 00:00:27 #1658 [Verbose] > │ System.Console.WriteLine v8 │ 00:00:27 #1659 [Verbose] > │ let v9 : int32 = v1 + v7 │ 00:00:27 #1660 [Verbose] > │ method5(v4, v9) │ 00:00:27 #1661 [Verbose] > │ else │ 00:00:27 #1662 [Verbose] > │ let v11 : string = $"accumulate_dice_rolls / power: {4} / acc: │ 00:00:27 #1663 [Verbose] > │ {v1} / roll: {v3}" │ 00:00:27 #1664 [Verbose] > │ System.Console.WriteLine v11 │ 00:00:27 #1665 [Verbose] > │ method5(v4, v1) │ 00:00:27 #1666 [Verbose] > │ | UH1_1 -> (* Nil *) │ 00:00:27 #1667 [Verbose] > │ US2_0 │ 00:00:27 #1668 [Verbose] > │ and method1 (v0 : Mut0, v1 : Mut1, v2 : Mut1, v3 : Mut1, v4 : UH1, v5 : │ 00:00:27 #1669 [Verbose] > │ int32) : int32 = │ 00:00:27 #1670 [Verbose] > │ let v6 : bool = v5 < 5 │ 00:00:27 #1671 [Verbose] > │ if v6 then │ 00:00:27 #1672 [Verbose] > │ let v7 : int32 = method2(v0, v1, v2, v3) │ 00:00:27 #1673 [Verbose] > │ let v8 : UH1 = UH1_0(v7, v4) │ 00:00:27 #1674 [Verbose] > │ let v9 : int32 = v5 + 1 │ 00:00:27 #1675 [Verbose] > │ method1(v0, v1, v2, v3, v8, v9) │ 00:00:27 #1676 [Verbose] > │ else │ 00:00:27 #1677 [Verbose] > │ let v11 : int32 = 0 │ 00:00:27 #1678 [Verbose] > │ let v12 : US2 = method4(v4, v11) │ 00:00:27 #1679 [Verbose] > │ match v12 with │ 00:00:27 #1680 [Verbose] > │ | US2_1(v13, v14) -> (* Some *) │ 00:00:27 #1681 [Verbose] > │ let v15 : bool = v13 <= 2000 │ 00:00:27 #1682 [Verbose] > │ if v15 then │ 00:00:27 #1683 [Verbose] > │ v13 │ 00:00:27 #1684 [Verbose] > │ else │ 00:00:27 #1685 [Verbose] > │ let v16 : int32 = method2(v0, v1, v2, v3) │ 00:00:27 #1686 [Verbose] > │ let v17 : UH1 = UH1_0(v16, v4) │ 00:00:27 #1687 [Verbose] > │ let v18 : int32 = v5 + 1 │ 00:00:27 #1688 [Verbose] > │ method1(v0, v1, v2, v3, v17, v18) │ 00:00:27 #1689 [Verbose] > │ | _ -> │ 00:00:27 #1690 [Verbose] > │ let v21 : int32 = method2(v0, v1, v2, v3) │ 00:00:27 #1691 [Verbose] > │ let v22 : UH1 = UH1_0(v21, v4) │ 00:00:27 #1692 [Verbose] > │ let v23 : int32 = v5 + 1 │ 00:00:27 #1693 [Verbose] > │ method1(v0, v1, v2, v3, v22, v23) │ 00:00:27 #1694 [Verbose] > │ and method0 () : unit = │ 00:00:27 #1695 [Verbose] > │ let v0 : (unit -> UH0) = closure0() │ 00:00:27 #1696 [Verbose] > │ let v1 : US0 = US0_1(v0) │ 00:00:27 #1697 [Verbose] > │ let v2 : Mut0 = {l0 = v1} : Mut0 │ 00:00:27 #1698 [Verbose] > │ let v3 : Mut1 = {l0 = 0} : Mut1 │ 00:00:27 #1699 [Verbose] > │ let v4 : Mut1 = {l0 = 1} : Mut1 │ 00:00:27 #1700 [Verbose] > │ let v5 : Mut1 = {l0 = -1} : Mut1 │ 00:00:27 #1701 [Verbose] > │ let v6 : string = $"calculate_dice_count / max: {2000} / n: {5} / p: │ 00:00:27 #1702 [Verbose] > │ {7776}" │ 00:00:27 #1703 [Verbose] > │ System.Console.WriteLine v6 │ 00:00:27 #1704 [Verbose] > │ let v7 : UH1 = UH1_1 │ 00:00:27 #1705 [Verbose] > │ let v8 : int32 = 0 │ 00:00:27 #1706 [Verbose] > │ let v9 : int32 = method1(v2, v3, v4, v5, v7, v8) │ 00:00:27 #1707 [Verbose] > │ let v10 : bool = v9 = 995 │ 00:00:27 #1708 [Verbose] > │ let v11 : string = $"_equal / actual: %A{v9} / expected: %A{995}" │ 00:00:27 #1709 [Verbose] > │ let v12 : bool = v10 = false │ 00:00:27 #1710 [Verbose] > │ if v12 then │ 00:00:27 #1711 [Verbose] > │ failwith<unit> v11 │ 00:00:27 #1712 [Verbose] > │ method0() │ 00:00:27 #1713 [Verbose] > │ │ 00:00:27 #1714 [Verbose] > │ calculate_dice_count / max: 2000 / n: 5 / p: 7776 │ 00:00:27 #1715 [Verbose] > │ accumulate_dice_rolls / power: 4 / acc: 0 / roll: 1 │ 00:00:27 #1716 [Verbose] > │ accumulate_dice_rolls / power: 3 / acc: 0 / roll: 5 / value: 864 │ 00:00:27 #1717 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 864 / roll: 4 / value: 108 │ 00:00:27 #1718 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 972 / roll: 4 / value: 18 │ 00:00:27 #1719 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 990 / roll: 5 / value: 4 │ 00:00:27 #1720 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 994 │ 00:00:27 #1721 [Verbose] > │ │ 00:00:27 #1722 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:27 #1723 [Verbose] > 00:00:27 #1724 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:27 #1725 [Verbose] > // // test 00:00:27 #1726 [Verbose] > 00:00:27 #1727 [Verbose] > inl sequential_roll = create_sequential_roller [[ 5; 4; 4; 5; 2 ]] 00:00:27 #1728 [Verbose] > 00:00:27 #1729 [Verbose] > roll_progressively (Some console.write_line) sequential_roll false 2000 00:00:27 #1730 [Verbose] > |> _equal 1678 00:00:27 #1731 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1550-0963-6317-67d69fab85eb\main.spi 00:00:27 #1732 [Verbose] > 00:00:27 #1733 [Verbose] > ╭─[ 380.98ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:27 #1734 [Verbose] > │ type UH0 = │ 00:00:27 #1735 [Verbose] > │ | UH0_0 of int32 * (unit -> UH0) │ 00:00:27 #1736 [Verbose] > │ | UH0_1 │ 00:00:27 #1737 [Verbose] > │ and [<Struct>] US0 = │ 00:00:27 #1738 [Verbose] > │ | US0_0 of f0_0 : UH0 │ 00:00:27 #1739 [Verbose] > │ | US0_1 of f1_0 : (unit -> UH0) │ 00:00:27 #1740 [Verbose] > │ and Mut0 = {mutable l0 : US0} │ 00:00:27 #1741 [Verbose] > │ and Mut1 = {mutable l0 : int32} │ 00:00:27 #1742 [Verbose] > │ and UH1 = │ 00:00:27 #1743 [Verbose] > │ | UH1_0 of int32 * UH1 │ 00:00:27 #1744 [Verbose] > │ | UH1_1 │ 00:00:27 #1745 [Verbose] > │ and [<Struct>] US1 = │ 00:00:27 #1746 [Verbose] > │ | US1_0 │ 00:00:27 #1747 [Verbose] > │ | US1_1 of f1_0 : int32 │ 00:00:27 #1748 [Verbose] > │ and [<Struct>] US2 = │ 00:00:27 #1749 [Verbose] > │ | US2_0 │ 00:00:27 #1750 [Verbose] > │ | US2_1 of f1_0 : int32 * f1_1 : UH1 │ 00:00:27 #1751 [Verbose] > │ let rec closure10 () () : UH0 = │ 00:00:27 #1752 [Verbose] > │ UH0_1 │ 00:00:27 #1753 [Verbose] > │ and closure9 () () : UH0 = │ 00:00:27 #1754 [Verbose] > │ let v0 : (unit -> UH0) = closure10() │ 00:00:27 #1755 [Verbose] > │ UH0_0(5, v0) │ 00:00:27 #1756 [Verbose] > │ and closure8 () () : UH0 = │ 00:00:27 #1757 [Verbose] > │ let v0 : (unit -> UH0) = closure9() │ 00:00:27 #1758 [Verbose] > │ UH0_0(4, v0) │ 00:00:27 #1759 [Verbose] > │ and closure7 () () : UH0 = │ 00:00:27 #1760 [Verbose] > │ let v0 : (unit -> UH0) = closure8() │ 00:00:27 #1761 [Verbose] > │ UH0_0(4, v0) │ 00:00:27 #1762 [Verbose] > │ and closure6 () () : UH0 = │ 00:00:27 #1763 [Verbose] > │ let v0 : (unit -> UH0) = closure7() │ 00:00:27 #1764 [Verbose] > │ UH0_0(5, v0) │ 00:00:27 #1765 [Verbose] > │ and closure5 () () : UH0 = │ 00:00:27 #1766 [Verbose] > │ let v0 : (unit -> UH0) = closure6() │ 00:00:27 #1767 [Verbose] > │ UH0_0(2, v0) │ 00:00:27 #1768 [Verbose] > │ and closure4 () () : UH0 = │ 00:00:27 #1769 [Verbose] > │ let v0 : (unit -> UH0) = closure5() │ 00:00:27 #1770 [Verbose] > │ UH0_0(2, v0) │ 00:00:27 #1771 [Verbose] > │ and closure3 () () : UH0 = │ 00:00:27 #1772 [Verbose] > │ let v0 : (unit -> UH0) = closure4() │ 00:00:27 #1773 [Verbose] > │ UH0_0(5, v0) │ 00:00:27 #1774 [Verbose] > │ and closure2 () () : UH0 = │ 00:00:27 #1775 [Verbose] > │ let v0 : (unit -> UH0) = closure3() │ 00:00:27 #1776 [Verbose] > │ UH0_0(4, v0) │ 00:00:27 #1777 [Verbose] > │ and closure1 () () : UH0 = │ 00:00:27 #1778 [Verbose] > │ let v0 : (unit -> UH0) = closure2() │ 00:00:27 #1779 [Verbose] > │ UH0_0(4, v0) │ 00:00:27 #1780 [Verbose] > │ and closure0 () () : UH0 = │ 00:00:27 #1781 [Verbose] > │ let v0 : (unit -> UH0) = closure1() │ 00:00:27 #1782 [Verbose] > │ UH0_0(5, v0) │ 00:00:27 #1783 [Verbose] > │ and closure11 (v0 : Mut0) () : UH0 = │ 00:00:27 #1784 [Verbose] > │ let v1 : US0 = v0.l0 │ 00:00:27 #1785 [Verbose] > │ match v1 with │ 00:00:27 #1786 [Verbose] > │ | US0_0(v2) -> (* Computed *) │ 00:00:27 #1787 [Verbose] > │ v2 │ 00:00:27 #1788 [Verbose] > │ | US0_1(v3) -> (* NotComputed *) │ 00:00:27 #1789 [Verbose] > │ let v4 : UH0 = v3 () │ 00:00:27 #1790 [Verbose] > │ let v13 : UH0 = │ 00:00:27 #1791 [Verbose] > │ match v4 with │ 00:00:27 #1792 [Verbose] > │ | UH0_0(v6, v7) -> (* StreamCons *) │ 00:00:27 #1793 [Verbose] > │ let v8 : US0 = US0_1(v7) │ 00:00:27 #1794 [Verbose] > │ let v9 : Mut0 = {l0 = v8} : Mut0 │ 00:00:27 #1795 [Verbose] > │ let v10 : (unit -> UH0) = closure11(v9) │ 00:00:27 #1796 [Verbose] > │ UH0_0(v6, v10) │ 00:00:27 #1797 [Verbose] > │ | UH0_1 -> (* StreamNil *) │ 00:00:27 #1798 [Verbose] > │ UH0_1 │ 00:00:27 #1799 [Verbose] > │ let v14 : US0 = US0_0(v13) │ 00:00:27 #1800 [Verbose] > │ v0.l0 <- v14 │ 00:00:27 #1801 [Verbose] > │ v13 │ 00:00:27 #1802 [Verbose] > │ and method3 (v0 : int32, v1 : UH0) : US1 = │ 00:00:27 #1803 [Verbose] > │ match v1 with │ 00:00:27 #1804 [Verbose] > │ | UH0_0(v2, v3) -> (* StreamCons *) │ 00:00:27 #1805 [Verbose] > │ let v4 : bool = v0 <= 0 │ 00:00:27 #1806 [Verbose] > │ if v4 then │ 00:00:27 #1807 [Verbose] > │ US1_1(v2) │ 00:00:27 #1808 [Verbose] > │ else │ 00:00:27 #1809 [Verbose] > │ let v6 : int32 = v0 - 1 │ 00:00:27 #1810 [Verbose] > │ let v7 : UH0 = v3 () │ 00:00:27 #1811 [Verbose] > │ method3(v6, v7) │ 00:00:27 #1812 [Verbose] > │ | UH0_1 -> (* StreamNil *) │ 00:00:27 #1813 [Verbose] > │ US1_0 │ 00:00:27 #1814 [Verbose] > │ and method2 (v0 : Mut0, v1 : Mut1, v2 : Mut1, v3 : Mut1) : int32 = │ 00:00:27 #1815 [Verbose] > │ let v4 : US0 = v0.l0 │ 00:00:27 #1816 [Verbose] > │ let v19 : UH0 = │ 00:00:27 #1817 [Verbose] > │ match v4 with │ 00:00:27 #1818 [Verbose] > │ | US0_0(v5) -> (* Computed *) │ 00:00:27 #1819 [Verbose] > │ v5 │ 00:00:27 #1820 [Verbose] > │ | US0_1(v6) -> (* NotComputed *) │ 00:00:27 #1821 [Verbose] > │ let v7 : UH0 = v6 () │ 00:00:27 #1822 [Verbose] > │ let v16 : UH0 = │ 00:00:27 #1823 [Verbose] > │ match v7 with │ 00:00:27 #1824 [Verbose] > │ | UH0_0(v9, v10) -> (* StreamCons *) │ 00:00:27 #1825 [Verbose] > │ let v11 : US0 = US0_1(v10) │ 00:00:27 #1826 [Verbose] > │ let v12 : Mut0 = {l0 = v11} : Mut0 │ 00:00:27 #1827 [Verbose] > │ let v13 : (unit -> UH0) = closure11(v12) │ 00:00:27 #1828 [Verbose] > │ UH0_0(v9, v13) │ 00:00:27 #1829 [Verbose] > │ | UH0_1 -> (* StreamNil *) │ 00:00:27 #1830 [Verbose] > │ UH0_1 │ 00:00:27 #1831 [Verbose] > │ let v17 : US0 = US0_0(v16) │ 00:00:27 #1832 [Verbose] > │ v0.l0 <- v17 │ 00:00:27 #1833 [Verbose] > │ v16 │ 00:00:27 #1834 [Verbose] > │ let v20 : int32 = v1.l0 │ 00:00:27 #1835 [Verbose] > │ let v21 : US1 = method3(v20, v19) │ 00:00:27 #1836 [Verbose] > │ match v21 with │ 00:00:27 #1837 [Verbose] > │ | US1_0 -> (* None *) │ 00:00:27 #1838 [Verbose] > │ let v25 : int32 = v3.l0 │ 00:00:27 #1839 [Verbose] > │ let v26 : bool = v25 = -1 │ 00:00:27 #1840 [Verbose] > │ if v26 then │ 00:00:27 #1841 [Verbose] > │ let v27 : int32 = v1.l0 │ 00:00:27 #1842 [Verbose] > │ v3.l0 <- v27 │ 00:00:27 #1843 [Verbose] > │ () │ 00:00:27 #1844 [Verbose] > │ let v28 : int32 = v2.l0 │ 00:00:27 #1845 [Verbose] > │ let v29 : int32 = v3.l0 │ 00:00:27 #1846 [Verbose] > │ let v30 : bool = v28 >= v29 │ 00:00:27 #1847 [Verbose] > │ let v33 : int32 = │ 00:00:27 #1848 [Verbose] > │ if v30 then │ 00:00:27 #1849 [Verbose] > │ 1 │ 00:00:27 #1850 [Verbose] > │ else │ 00:00:27 #1851 [Verbose] > │ let v31 : int32 = v2.l0 │ 00:00:27 #1852 [Verbose] > │ let v32 : int32 = v31 + 1 │ 00:00:27 #1853 [Verbose] > │ v32 │ 00:00:27 #1854 [Verbose] > │ v2.l0 <- v33 │ 00:00:27 #1855 [Verbose] > │ let v34 : int32 = v2.l0 │ 00:00:27 #1856 [Verbose] > │ let v35 : int32 = v34 - 1 │ 00:00:27 #1857 [Verbose] > │ v1.l0 <- v35 │ 00:00:27 #1858 [Verbose] > │ method2(v0, v1, v2, v3) │ 00:00:27 #1859 [Verbose] > │ | US1_1(v22) -> (* Some *) │ 00:00:27 #1860 [Verbose] > │ let v23 : int32 = v1.l0 │ 00:00:27 #1861 [Verbose] > │ let v24 : int32 = v23 + 1 │ 00:00:27 #1862 [Verbose] > │ v1.l0 <- v24 │ 00:00:27 #1863 [Verbose] > │ v22 │ 00:00:27 #1864 [Verbose] > │ and method9 (v0 : UH1, v1 : int32) : US2 = │ 00:00:27 #1865 [Verbose] > │ let v2 : string = $"accumulate_dice_rolls / power: {-1} / acc: {v1}" │ 00:00:27 #1866 [Verbose] > │ System.Console.WriteLine v2 │ 00:00:27 #1867 [Verbose] > │ let v3 : int32 = v1 + 1 │ 00:00:27 #1868 [Verbose] > │ US2_1(v3, v0) │ 00:00:27 #1869 [Verbose] > │ and method8 (v0 : UH1, v1 : int32) : US2 = │ 00:00:27 #1870 [Verbose] > │ match v0 with │ 00:00:27 #1871 [Verbose] > │ | UH1_0(v3, v4) -> (* Cons *) │ 00:00:27 #1872 [Verbose] > │ let v5 : bool = v3 > 1 │ 00:00:27 #1873 [Verbose] > │ if v5 then │ 00:00:27 #1874 [Verbose] > │ let v6 : int32 = v3 - 1 │ 00:00:27 #1875 [Verbose] > │ let v7 : string = $"accumulate_dice_rolls / power: {0} / acc: │ 00:00:27 #1876 [Verbose] > │ {v1} / roll: {v3} / value: {v6}" │ 00:00:27 #1877 [Verbose] > │ System.Console.WriteLine v7 │ 00:00:27 #1878 [Verbose] > │ let v8 : int32 = v1 + v6 │ 00:00:27 #1879 [Verbose] > │ method9(v4, v8) │ 00:00:27 #1880 [Verbose] > │ else │ 00:00:27 #1881 [Verbose] > │ let v10 : string = $"accumulate_dice_rolls / power: {0} / acc: │ 00:00:27 #1882 [Verbose] > │ {v1} / roll: {v3}" │ 00:00:27 #1883 [Verbose] > │ System.Console.WriteLine v10 │ 00:00:27 #1884 [Verbose] > │ method9(v4, v1) │ 00:00:27 #1885 [Verbose] > │ | UH1_1 -> (* Nil *) │ 00:00:27 #1886 [Verbose] > │ US2_0 │ 00:00:27 #1887 [Verbose] > │ and method7 (v0 : UH1, v1 : int32) : US2 = │ 00:00:27 #1888 [Verbose] > │ match v0 with │ 00:00:27 #1889 [Verbose] > │ | UH1_0(v3, v4) -> (* Cons *) │ 00:00:27 #1890 [Verbose] > │ let v5 : bool = v3 > 1 │ 00:00:27 #1891 [Verbose] > │ if v5 then │ 00:00:27 #1892 [Verbose] > │ let v6 : int32 = v3 - 1 │ 00:00:27 #1893 [Verbose] > │ let v7 : int32 = v6 * 6 │ 00:00:27 #1894 [Verbose] > │ let v8 : string = $"accumulate_dice_rolls / power: {1} / acc: │ 00:00:27 #1895 [Verbose] > │ {v1} / roll: {v3} / value: {v7}" │ 00:00:27 #1896 [Verbose] > │ System.Console.WriteLine v8 │ 00:00:27 #1897 [Verbose] > │ let v9 : int32 = v1 + v7 │ 00:00:27 #1898 [Verbose] > │ method8(v4, v9) │ 00:00:27 #1899 [Verbose] > │ else │ 00:00:27 #1900 [Verbose] > │ let v11 : string = $"accumulate_dice_rolls / power: {1} / acc: │ 00:00:27 #1901 [Verbose] > │ {v1} / roll: {v3}" │ 00:00:27 #1902 [Verbose] > │ System.Console.WriteLine v11 │ 00:00:27 #1903 [Verbose] > │ method8(v4, v1) │ 00:00:27 #1904 [Verbose] > │ | UH1_1 -> (* Nil *) │ 00:00:27 #1905 [Verbose] > │ US2_0 │ 00:00:27 #1906 [Verbose] > │ and method6 (v0 : UH1, v1 : int32) : US2 = │ 00:00:27 #1907 [Verbose] > │ match v0 with │ 00:00:27 #1908 [Verbose] > │ | UH1_0(v3, v4) -> (* Cons *) │ 00:00:27 #1909 [Verbose] > │ let v5 : bool = v3 > 1 │ 00:00:27 #1910 [Verbose] > │ if v5 then │ 00:00:27 #1911 [Verbose] > │ let v6 : int32 = v3 - 1 │ 00:00:27 #1912 [Verbose] > │ let v7 : int32 = v6 * 36 │ 00:00:27 #1913 [Verbose] > │ let v8 : string = $"accumulate_dice_rolls / power: {2} / acc: │ 00:00:27 #1914 [Verbose] > │ {v1} / roll: {v3} / value: {v7}" │ 00:00:27 #1915 [Verbose] > │ System.Console.WriteLine v8 │ 00:00:27 #1916 [Verbose] > │ let v9 : int32 = v1 + v7 │ 00:00:27 #1917 [Verbose] > │ method7(v4, v9) │ 00:00:27 #1918 [Verbose] > │ else │ 00:00:27 #1919 [Verbose] > │ let v11 : string = $"accumulate_dice_rolls / power: {2} / acc: │ 00:00:27 #1920 [Verbose] > │ {v1} / roll: {v3}" │ 00:00:27 #1921 [Verbose] > │ System.Console.WriteLine v11 │ 00:00:27 #1922 [Verbose] > │ method7(v4, v1) │ 00:00:27 #1923 [Verbose] > │ | UH1_1 -> (* Nil *) │ 00:00:27 #1924 [Verbose] > │ US2_0 │ 00:00:27 #1925 [Verbose] > │ and method5 (v0 : UH1, v1 : int32) : US2 = │ 00:00:27 #1926 [Verbose] > │ match v0 with │ 00:00:27 #1927 [Verbose] > │ | UH1_0(v3, v4) -> (* Cons *) │ 00:00:27 #1928 [Verbose] > │ let v5 : bool = v3 > 1 │ 00:00:27 #1929 [Verbose] > │ if v5 then │ 00:00:27 #1930 [Verbose] > │ let v6 : int32 = v3 - 1 │ 00:00:27 #1931 [Verbose] > │ let v7 : int32 = v6 * 216 │ 00:00:27 #1932 [Verbose] > │ let v8 : string = $"accumulate_dice_rolls / power: {3} / acc: │ 00:00:27 #1933 [Verbose] > │ {v1} / roll: {v3} / value: {v7}" │ 00:00:27 #1934 [Verbose] > │ System.Console.WriteLine v8 │ 00:00:27 #1935 [Verbose] > │ let v9 : int32 = v1 + v7 │ 00:00:27 #1936 [Verbose] > │ method6(v4, v9) │ 00:00:27 #1937 [Verbose] > │ else │ 00:00:27 #1938 [Verbose] > │ let v11 : string = $"accumulate_dice_rolls / power: {3} / acc: │ 00:00:27 #1939 [Verbose] > │ {v1} / roll: {v3}" │ 00:00:27 #1940 [Verbose] > │ System.Console.WriteLine v11 │ 00:00:27 #1941 [Verbose] > │ method6(v4, v1) │ 00:00:27 #1942 [Verbose] > │ | UH1_1 -> (* Nil *) │ 00:00:27 #1943 [Verbose] > │ US2_0 │ 00:00:27 #1944 [Verbose] > │ and method4 (v0 : UH1, v1 : int32) : US2 = │ 00:00:27 #1945 [Verbose] > │ match v0 with │ 00:00:27 #1946 [Verbose] > │ | UH1_0(v3, v4) -> (* Cons *) │ 00:00:27 #1947 [Verbose] > │ let v5 : bool = v3 > 1 │ 00:00:27 #1948 [Verbose] > │ if v5 then │ 00:00:27 #1949 [Verbose] > │ let v6 : int32 = v3 - 1 │ 00:00:27 #1950 [Verbose] > │ let v7 : int32 = v6 * 1296 │ 00:00:27 #1951 [Verbose] > │ let v8 : string = $"accumulate_dice_rolls / power: {4} / acc: │ 00:00:27 #1952 [Verbose] > │ {v1} / roll: {v3} / value: {v7}" │ 00:00:27 #1953 [Verbose] > │ System.Console.WriteLine v8 │ 00:00:27 #1954 [Verbose] > │ let v9 : int32 = v1 + v7 │ 00:00:27 #1955 [Verbose] > │ method5(v4, v9) │ 00:00:27 #1956 [Verbose] > │ else │ 00:00:27 #1957 [Verbose] > │ let v11 : string = $"accumulate_dice_rolls / power: {4} / acc: │ 00:00:27 #1958 [Verbose] > │ {v1} / roll: {v3}" │ 00:00:27 #1959 [Verbose] > │ System.Console.WriteLine v11 │ 00:00:27 #1960 [Verbose] > │ method5(v4, v1) │ 00:00:27 #1961 [Verbose] > │ | UH1_1 -> (* Nil *) │ 00:00:27 #1962 [Verbose] > │ US2_0 │ 00:00:27 #1963 [Verbose] > │ and method1 (v0 : Mut0, v1 : Mut1, v2 : Mut1, v3 : Mut1, v4 : UH1, v5 : │ 00:00:27 #1964 [Verbose] > │ int32) : int32 = │ 00:00:27 #1965 [Verbose] > │ let v6 : bool = v5 < 5 │ 00:00:27 #1966 [Verbose] > │ if v6 then │ 00:00:27 #1967 [Verbose] > │ let v7 : int32 = method2(v0, v1, v2, v3) │ 00:00:27 #1968 [Verbose] > │ let v8 : UH1 = UH1_0(v7, v4) │ 00:00:27 #1969 [Verbose] > │ let v9 : int32 = v5 + 1 │ 00:00:27 #1970 [Verbose] > │ method1(v0, v1, v2, v3, v8, v9) │ 00:00:27 #1971 [Verbose] > │ else │ 00:00:27 #1972 [Verbose] > │ let v11 : int32 = 0 │ 00:00:27 #1973 [Verbose] > │ let v12 : US2 = method4(v4, v11) │ 00:00:27 #1974 [Verbose] > │ match v12 with │ 00:00:27 #1975 [Verbose] > │ | US2_1(v13, v14) -> (* Some *) │ 00:00:27 #1976 [Verbose] > │ let v15 : bool = v13 <= 2000 │ 00:00:27 #1977 [Verbose] > │ if v15 then │ 00:00:27 #1978 [Verbose] > │ v13 │ 00:00:27 #1979 [Verbose] > │ else │ 00:00:27 #1980 [Verbose] > │ let v16 : int32 = method2(v0, v1, v2, v3) │ 00:00:27 #1981 [Verbose] > │ let v17 : UH1 = UH1_0(v16, v4) │ 00:00:27 #1982 [Verbose] > │ let v18 : int32 = v5 + 1 │ 00:00:27 #1983 [Verbose] > │ method1(v0, v1, v2, v3, v17, v18) │ 00:00:27 #1984 [Verbose] > │ | _ -> │ 00:00:27 #1985 [Verbose] > │ let v21 : int32 = method2(v0, v1, v2, v3) │ 00:00:27 #1986 [Verbose] > │ let v22 : UH1 = UH1_0(v21, v4) │ 00:00:27 #1987 [Verbose] > │ let v23 : int32 = v5 + 1 │ 00:00:27 #1988 [Verbose] > │ method1(v0, v1, v2, v3, v22, v23) │ 00:00:27 #1989 [Verbose] > │ and method0 () : unit = │ 00:00:27 #1990 [Verbose] > │ let v0 : (unit -> UH0) = closure0() │ 00:00:27 #1991 [Verbose] > │ let v1 : US0 = US0_1(v0) │ 00:00:27 #1992 [Verbose] > │ let v2 : Mut0 = {l0 = v1} : Mut0 │ 00:00:27 #1993 [Verbose] > │ let v3 : Mut1 = {l0 = 0} : Mut1 │ 00:00:27 #1994 [Verbose] > │ let v4 : Mut1 = {l0 = 1} : Mut1 │ 00:00:27 #1995 [Verbose] > │ let v5 : Mut1 = {l0 = -1} : Mut1 │ 00:00:27 #1996 [Verbose] > │ let v6 : string = $"calculate_dice_count / max: {2000} / n: {5} / p: │ 00:00:27 #1997 [Verbose] > │ {7776}" │ 00:00:27 #1998 [Verbose] > │ System.Console.WriteLine v6 │ 00:00:27 #1999 [Verbose] > │ let v7 : UH1 = UH1_1 │ 00:00:27 #2000 [Verbose] > │ let v8 : int32 = 0 │ 00:00:27 #2001 [Verbose] > │ let v9 : int32 = method1(v2, v3, v4, v5, v7, v8) │ 00:00:27 #2002 [Verbose] > │ let v10 : bool = v9 = 1678 │ 00:00:27 #2003 [Verbose] > │ let v11 : string = $"_equal / actual: %A{v9} / expected: %A{1678}" │ 00:00:27 #2004 [Verbose] > │ let v12 : bool = v10 = false │ 00:00:27 #2005 [Verbose] > │ if v12 then │ 00:00:27 #2006 [Verbose] > │ failwith<unit> v11 │ 00:00:27 #2007 [Verbose] > │ method0() │ 00:00:27 #2008 [Verbose] > │ │ 00:00:27 #2009 [Verbose] > │ calculate_dice_count / max: 2000 / n: 5 / p: 7776 │ 00:00:27 #2010 [Verbose] > │ accumulate_dice_rolls / power: 4 / acc: 0 / roll: 2 / value: 1296 │ 00:00:27 #2011 [Verbose] > │ accumulate_dice_rolls / power: 3 / acc: 1296 / roll: 5 / value: 864 │ 00:00:27 #2012 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 2160 / roll: 4 / value: 108 │ 00:00:27 #2013 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 2268 / roll: 4 / value: 18 │ 00:00:27 #2014 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 2286 / roll: 5 / value: 4 │ 00:00:27 #2015 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 2290 │ 00:00:27 #2016 [Verbose] > │ accumulate_dice_rolls / power: 4 / acc: 0 / roll: 2 / value: 1296 │ 00:00:27 #2017 [Verbose] > │ accumulate_dice_rolls / power: 3 / acc: 1296 / roll: 2 / value: 216 │ 00:00:27 #2018 [Verbose] > │ accumulate_dice_rolls / power: 2 / acc: 1512 / roll: 5 / value: 144 │ 00:00:27 #2019 [Verbose] > │ accumulate_dice_rolls / power: 1 / acc: 1656 / roll: 4 / value: 18 │ 00:00:27 #2020 [Verbose] > │ accumulate_dice_rolls / power: 0 / acc: 1674 / roll: 4 / value: 3 │ 00:00:27 #2021 [Verbose] > │ accumulate_dice_rolls / power: -1 / acc: 1677 │ 00:00:27 #2022 [Verbose] > │ │ 00:00:27 #2023 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:27 #2024 [Verbose] > 00:00:27 #2025 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:27 #2026 [Verbose] > // // test 00:00:27 #2027 [Verbose] > 00:00:27 #2028 [Verbose] > listm'.init_series 1i32 40 1 00:00:27 #2029 [Verbose] > |> listm.map (fun _ => roll_progressively None roll_dice false 10) 00:00:27 #2030 [Verbose] > |> listm'.group_by id 00:00:27 #2031 [Verbose] > |> listm.map (fun (k, v) => k, (listm.length v : i32)) 00:00:27 #2032 [Verbose] > |> listm.toArray 00:00:27 #2033 [Verbose] > |> fun (ar : a i32 _) => 00:00:27 #2034 [Verbose] > $"!ar |> Array.sortBy (fun (struct (a, b)) -> a)" : a i32 $"struct (int32 * 00:00:27 #2035 [Verbose] > int32)" 00:00:27 #2036 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1550-1013-1318-1518d8e71777\main.spi 00:00:28 #2037 [Verbose] > 00:00:28 #2038 [Verbose] > ╭─[ 711.22ms - return value ]──────────────────────────────────────────────────╮ 00:00:28 #2039 [Verbose] > │ <table><thead><tr><th><i>index</i></th><th>value</th></tr></thead><tbody><tr │ 00:00:28 #2040 [Verbose] > │ ><td>0</td><td><details class="dni-treeview"><summary><span │ 00:00:28 #2041 [Verbose] > │ class="dni-code-hint"><code>(1, │ 00:00:28 #2042 [Verbose] > │ 2)</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │ 00:00:28 #2043 [Verbose] > │ >Item1</td><td><div │ 00:00:28 #2044 [Verbose] > │ class="dni-plaintext"><pre>1</pre></div></td></tr><tr><td>Item2</td><td><div │ 00:00:28 #2045 [Verbose] > │ class="dni-plaintext"><pre>2</pre></div></td></tr></tbody></table></div></de │ 00:00:28 #2046 [Verbose] > │ tails></td></tr><tr><td>1</td><td><details │ 00:00:28 #2047 [Verbose] > │ class="dni-treeview"><summary><span class="dni-code-hint"><code>(2, │ 00:00:28 #2048 [Verbose] > │ 2)</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │ 00:00:28 #2049 [Verbose] > │ >Item1</td><td><div │ 00:00:28 #2050 [Verbose] > │ class="dni-plaintext"><pre>2</pre></div></td></tr><tr><td>Item2</td><td><div │ 00:00:28 #2051 [Verbose] > │ class="dni-plaintext"><pre>2</pre></div></td></tr... │ 00:00:28 #2052 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:28 #2053 [Verbose] > 00:00:28 #2054 [Verbose] > ╭─[ 735.55ms - stdout ]────────────────────────────────────────────────────────╮ 00:00:28 #2055 [Verbose] > │ type UH0 = │ 00:00:28 #2056 [Verbose] > │ | UH0_0 of int32 * UH0 │ 00:00:28 #2057 [Verbose] > │ | UH0_1 │ 00:00:28 #2058 [Verbose] > │ and [<Struct>] US0 = │ 00:00:28 #2059 [Verbose] > │ | US0_0 │ 00:00:28 #2060 [Verbose] > │ | US0_1 of f1_0 : int32 * f1_1 : UH0 │ 00:00:28 #2061 [Verbose] > │ and UH1 = │ 00:00:28 #2062 [Verbose] > │ | UH1_0 of int32 * UH0 * UH1 │ 00:00:28 #2063 [Verbose] > │ | UH1_1 │ 00:00:28 #2064 [Verbose] > │ and UH2 = │ 00:00:28 #2065 [Verbose] > │ | UH2_0 of int32 * int32 * UH2 │ 00:00:28 #2066 [Verbose] > │ | UH2_1 │ 00:00:28 #2067 [Verbose] > │ let rec method4 (v0 : UH0, v1 : int32) : US0 = │ 00:00:28 #2068 [Verbose] > │ let v2 : string = $"accumulate_dice_rolls / power: {-1} / acc: {v1}" │ 00:00:28 #2069 [Verbose] > │ let v3 : int32 = v1 + 1 │ 00:00:28 #2070 [Verbose] > │ US0_1(v3, v0) │ 00:00:28 #2071 [Verbose] > │ and method3 (v0 : UH0, v1 : int32) : US0 = │ 00:00:28 #2072 [Verbose] > │ match v0 with │ 00:00:28 #2073 [Verbose] > │ | UH0_0(v3, v4) -> (* Cons *) │ 00:00:28 #2074 [Verbose] > │ let v5 : bool = v3 > 1 │ 00:00:28 #2075 [Verbose] > │ if v5 then │ 00:00:28 #2076 [Verbose] > │ let v6 : int32 = v3 - 1 │ 00:00:28 #2077 [Verbose] > │ let v7 : string = $"accumulate_dice_rolls / power: {0} / acc: │ 00:00:28 #2078 [Verbose] > │ {v1} / roll: {v3} / value: {v6}" │ 00:00:28 #2079 [Verbose] > │ let v8 : int32 = v1 + v6 │ 00:00:28 #2080 [Verbose] > │ method4(v4, v8) │ 00:00:28 #2081 [Verbose] > │ else │ 00:00:28 #2082 [Verbose] > │ let v10 : string = $"accumulate_dice_rolls / power: {0} / acc: │ 00:00:28 #2083 [Verbose] > │ {v1} / roll: {v3}" │ 00:00:28 #2084 [Verbose] > │ method4(v4, v1) │ 00:00:28 #2085 [Verbose] > │ | UH0_1 -> (* Nil *) │ 00:00:28 #2086 [Verbose] > │ US0_0 │ 00:00:28 #2087 [Verbose] > │ and method2 (v0 : UH0, v1 : int32) : US0 = │ 00:00:28 #2088 [Verbose] > │ match v0 with │ 00:00:28 #2089 [Verbose] > │ | UH0_0(v3, v4) -> (* Cons *) │ 00:00:28 #2090 [Verbose] > │ let v5 : bool = v3 > 1 │ 00:00:28 #2091 [Verbose] > │ if v5 then │ 00:00:28 #2092 [Verbose] > │ let v6 : int32 = v3 - 1 │ 00:00:28 #2093 [Verbose] > │ let v7 : int32 = v6 * 6 │ 00:00:28 #2094 [Verbose] > │ let v8 : string = $"accumulate_dice_rolls / power: {1} / acc: │ 00:00:28 #2095 [Verbose] > │ {v1} / roll: {v3} / value: {v7}" │ 00:00:28 #2096 [Verbose] > │ let v9 : int32 = v1 + v7 │ 00:00:28 #2097 [Verbose] > │ method3(v4, v9) │ 00:00:28 #2098 [Verbose] > │ else │ 00:00:28 #2099 [Verbose] > │ let v11 : string = $"accumulate_dice_rolls / power: {1} / acc: │ 00:00:28 #2100 [Verbose] > │ {v1} / roll: {v3}" │ 00:00:28 #2101 [Verbose] > │ method3(v4, v1) │ 00:00:28 #2102 [Verbose] > │ | UH0_1 -> (* Nil *) │ 00:00:28 #2103 [Verbose] > │ US0_0 │ 00:00:28 #2104 [Verbose] > │ and method1 (v0 : UH0, v1 : int32) : int32 = │ 00:00:28 #2105 [Verbose] > │ let v2 : bool = v1 < 2 │ 00:00:28 #2106 [Verbose] > │ if v2 then │ 00:00:28 #2107 [Verbose] > │ let v3 : int32 = System.Random().Next (1, 7) │ 00:00:28 #2108 [Verbose] > │ let v4 : UH0 = UH0_0(v3, v0) │ 00:00:28 #2109 [Verbose] > │ let v5 : int32 = v1 + 1 │ 00:00:28 #2110 [Verbose] > │ method1(v4, v5) │ 00:00:28 #2111 [Verbose] > │ else │ 00:00:28 #2112 [Verbose] > │ let v7 : int32 = 0 │ 00:00:28 #2113 [Verbose] > │ let v8 : US0 = method2(v0, v7) │ 00:00:28 #2114 [Verbose] > │ match v8 with │ 00:00:28 #2115 [Verbose] > │ | US0_1(v9, v10) -> (* Some *) │ 00:00:28 #2116 [Verbose] > │ let v11 : bool = v9 <= 10 │ 00:00:28 #2117 [Verbose] > │ if v11 then │ 00:00:28 #2118 [Verbose] > │ v9 │ 00:00:28 #2119 [Verbose] > │ else │ 00:00:28 #2120 [Verbose] > │ let v12 : int32 = System.Random().Next (1, 7) │ 00:00:28 #2121 [Verbose] > │ let v13 : UH0 = UH0_0(v12, v0) │ 00:00:28 #2122 [Verbose] > │ let v14 : int32 = v1 + 1 │ 00:00:28 #2123 [Verbose] > │ method1(v13, v14) │ 00:00:28 #2124 [Verbose] > │ | _ -> │ 00:00:28 #2125 [Verbose] > │ let v17 : int32 = System.Random().Next (1, 7) │ 00:00:28 #2126 [Verbose] > │ let v18 : UH0 = UH0_0(v17, v0) │ 00:00:28 #2127 [Verbose] > │ let v19 : int32 = v1 + 1 │ 00:00:28 #2128 [Verbose] > │ method1(v18, v19) │ 00:00:28 #2129 [Verbose] > │ and method5 (v0 : int32, v1 : UH1, v2 : bool, v3 : UH1) : struct (bool * │ 00:00:28 #2130 [Verbose] > │ UH1) = │ 00:00:28 #2131 [Verbose] > │ match v1 with │ 00:00:28 #2132 [Verbose] > │ | UH1_0(v4, v5, v6) -> (* Cons *) │ 00:00:28 #2133 [Verbose] > │ let v7 : bool = v4 = v0 │ 00:00:28 #2134 [Verbose] > │ let struct (v11 : bool, v12 : UH1) = │ 00:00:28 #2135 [Verbose] > │ if v7 then │ 00:00:28 #2136 [Verbose] > │ let v8 : UH0 = UH0_0(v0, v5) │ 00:00:28 #2137 [Verbose] > │ let v9 : UH1 = UH1_0(v4, v8, v3) │ 00:00:28 #2138 [Verbose] > │ struct (true, v9) │ 00:00:28 #2139 [Verbose] > │ else │ 00:00:28 #2140 [Verbose] > │ let v10 : UH1 = UH1_0(v4, v5, v3) │ 00:00:28 #2141 [Verbose] > │ struct (v2, v10) │ 00:00:28 #2142 [Verbose] > │ method5(v0, v6, v11, v12) │ 00:00:28 #2143 [Verbose] > │ | UH1_1 -> (* Nil *) │ 00:00:28 #2144 [Verbose] > │ struct (v2, v3) │ 00:00:28 #2145 [Verbose] > │ and method7 (v0 : UH0, v1 : int32) : int32 = │ 00:00:28 #2146 [Verbose] > │ match v0 with │ 00:00:28 #2147 [Verbose] > │ | UH0_0(v2, v3) -> (* Cons *) │ 00:00:28 #2148 [Verbose] > │ let v4 : int32 = v1 + 1 │ 00:00:28 #2149 [Verbose] > │ method7(v3, v4) │ 00:00:28 #2150 [Verbose] > │ | UH0_1 -> (* Nil *) │ 00:00:28 #2151 [Verbose] > │ v1 │ 00:00:28 #2152 [Verbose] > │ and method6 (v0 : UH1, v1 : UH2) : UH2 = │ 00:00:28 #2153 [Verbose] > │ match v0 with │ 00:00:28 #2154 [Verbose] > │ | UH1_0(v2, v3, v4) -> (* Cons *) │ 00:00:28 #2155 [Verbose] > │ let v5 : UH2 = method6(v4, v1) │ 00:00:28 #2156 [Verbose] > │ let v6 : int32 = 0 │ 00:00:28 #2157 [Verbose] > │ let v7 : int32 = method7(v3, v6) │ 00:00:28 #2158 [Verbose] > │ UH2_0(v2, v7, v5) │ 00:00:28 #2159 [Verbose] > │ | UH1_1 -> (* Nil *) │ 00:00:28 #2160 [Verbose] > │ v1 │ 00:00:28 #2161 [Verbose] > │ and method9 (v0 : UH2, v1 : int32) : int32 = │ 00:00:28 #2162 [Verbose] > │ match v0 with │ 00:00:28 #2163 [Verbose] > │ | UH2_0(v2, v3, v4) -> (* Cons *) │ 00:00:28 #2164 [Verbose] > │ let v5 : int32 = v1 + 1 │ 00:00:28 #2165 [Verbose] > │ method9(v4, v5) │ 00:00:28 #2166 [Verbose] > │ | UH2_1 -> (* Nil *) │ 00:00:28 #2167 [Verbose] > │ v1 │ 00:00:28 #2168 [Verbose] > │ and method10 (v0 : (struct (int32 * int32) []), v1 : UH2, v2 : int32) : │ 00:00:28 #2169 [Verbose] > │ int32 = │ 00:00:28 #2170 [Verbose] > │ match v1 with │ 00:00:28 #2171 [Verbose] > │ | UH2_0(v3, v4, v5) -> (* Cons *) │ 00:00:28 #2172 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │ 00:00:28 #2173 [Verbose] > │ let v6 : int32 = v2 + 1 │ 00:00:28 #2174 [Verbose] > │ method10(v0, v5, v6) │ 00:00:28 #2175 [Verbose] > │ | UH2_1 -> (* Nil *) │ 00:00:28 #2176 [Verbose] > │ v2 │ 00:00:28 #2177 [Verbose] > │ and method8 (v0 : UH2) : (struct (int32 * int32) []) = │ 00:00:28 #2178 [Verbose] > │ let v1 : int32 = 0 │ 00:00:28 #2179 [Verbose] > │ let v2 : int32 = method9(v0, v1) │ 00:00:28 #2180 [Verbose] > │ let v3 : (struct (int32 * int32) []) = Array.zeroCreate<struct (int32 * │ 00:00:28 #2181 [Verbose] > │ int32)> (v2) │ 00:00:28 #2182 [Verbose] > │ let v4 : int32 = 0 │ 00:00:28 #2183 [Verbose] > │ let v5 : int32 = method10(v3, v0, v4) │ 00:00:28 #2184 [Verbose] > │ v3 │ 00:00:28 #2185 [Verbose] > │ and method0 () : (struct (int32 * int32) []) = │ 00:00:28 #2186 [Verbose] > │ let v0 : string = $"calculate_dice_count / max: {10} / n: {2} / p: {36}" │ 00:00:28 #2187 [Verbose] > │ let v1 : UH0 = UH0_1 │ 00:00:28 #2188 [Verbose] > │ let v2 : int32 = 0 │ 00:00:28 #2189 [Verbose] > │ let v3 : int32 = method1(v1, v2) │ 00:00:28 #2190 [Verbose] > │ let v4 : string = $"calculate_dice_count / max: {10} / n: {2} / p: {36}" │ 00:00:28 #2191 [Verbose] > │ let v5 : UH0 = UH0_1 │ 00:00:28 #2192 [Verbose] > │ let v6 : int32 = 0 │ 00:00:28 #2193 [Verbose] > │ let v7 : int32 = method1(v5, v6) │ 00:00:28 #2194 [Verbose] > │ let v8 : string = $"calculate_dice_count / max: {10} / n: {2} / p: {36}" │ 00:00:28 #2195 [Verbose] > │ let v9 : UH0 = UH0_1 │ 00:00:28 #2196 [Verbose] > │ let v10 : int32 = 0 │ 00:00:28 #2197 [Verbose] > │ let v11 : int32 = method1(v9, v10) │ 00:00:28 #2198 [Verbose] > │ let v12 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2199 [Verbose] > │ {36}" │ 00:00:28 #2200 [Verbose] > │ let v13 : UH0 = UH0_1 │ 00:00:28 #2201 [Verbose] > │ let v14 : int32 = 0 │ 00:00:28 #2202 [Verbose] > │ let v15 : int32 = method1(v13, v14) │ 00:00:28 #2203 [Verbose] > │ let v16 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2204 [Verbose] > │ {36}" │ 00:00:28 #2205 [Verbose] > │ let v17 : UH0 = UH0_1 │ 00:00:28 #2206 [Verbose] > │ let v18 : int32 = 0 │ 00:00:28 #2207 [Verbose] > │ let v19 : int32 = method1(v17, v18) │ 00:00:28 #2208 [Verbose] > │ let v20 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2209 [Verbose] > │ {36}" │ 00:00:28 #2210 [Verbose] > │ let v21 : UH0 = UH0_1 │ 00:00:28 #2211 [Verbose] > │ let v22 : int32 = 0 │ 00:00:28 #2212 [Verbose] > │ let v23 : int32 = method1(v21, v22) │ 00:00:28 #2213 [Verbose] > │ let v24 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2214 [Verbose] > │ {36}" │ 00:00:28 #2215 [Verbose] > │ let v25 : UH0 = UH0_1 │ 00:00:28 #2216 [Verbose] > │ let v26 : int32 = 0 │ 00:00:28 #2217 [Verbose] > │ let v27 : int32 = method1(v25, v26) │ 00:00:28 #2218 [Verbose] > │ let v28 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2219 [Verbose] > │ {36}" │ 00:00:28 #2220 [Verbose] > │ let v29 : UH0 = UH0_1 │ 00:00:28 #2221 [Verbose] > │ let v30 : int32 = 0 │ 00:00:28 #2222 [Verbose] > │ let v31 : int32 = method1(v29, v30) │ 00:00:28 #2223 [Verbose] > │ let v32 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2224 [Verbose] > │ {36}" │ 00:00:28 #2225 [Verbose] > │ let v33 : UH0 = UH0_1 │ 00:00:28 #2226 [Verbose] > │ let v34 : int32 = 0 │ 00:00:28 #2227 [Verbose] > │ let v35 : int32 = method1(v33, v34) │ 00:00:28 #2228 [Verbose] > │ let v36 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2229 [Verbose] > │ {36}" │ 00:00:28 #2230 [Verbose] > │ let v37 : UH0 = UH0_1 │ 00:00:28 #2231 [Verbose] > │ let v38 : int32 = 0 │ 00:00:28 #2232 [Verbose] > │ let v39 : int32 = method1(v37, v38) │ 00:00:28 #2233 [Verbose] > │ let v40 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2234 [Verbose] > │ {36}" │ 00:00:28 #2235 [Verbose] > │ let v41 : UH0 = UH0_1 │ 00:00:28 #2236 [Verbose] > │ let v42 : int32 = 0 │ 00:00:28 #2237 [Verbose] > │ let v43 : int32 = method1(v41, v42) │ 00:00:28 #2238 [Verbose] > │ let v44 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2239 [Verbose] > │ {36}" │ 00:00:28 #2240 [Verbose] > │ let v45 : UH0 = UH0_1 │ 00:00:28 #2241 [Verbose] > │ let v46 : int32 = 0 │ 00:00:28 #2242 [Verbose] > │ let v47 : int32 = method1(v45, v46) │ 00:00:28 #2243 [Verbose] > │ let v48 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2244 [Verbose] > │ {36}" │ 00:00:28 #2245 [Verbose] > │ let v49 : UH0 = UH0_1 │ 00:00:28 #2246 [Verbose] > │ let v50 : int32 = 0 │ 00:00:28 #2247 [Verbose] > │ let v51 : int32 = method1(v49, v50) │ 00:00:28 #2248 [Verbose] > │ let v52 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2249 [Verbose] > │ {36}" │ 00:00:28 #2250 [Verbose] > │ let v53 : UH0 = UH0_1 │ 00:00:28 #2251 [Verbose] > │ let v54 : int32 = 0 │ 00:00:28 #2252 [Verbose] > │ let v55 : int32 = method1(v53, v54) │ 00:00:28 #2253 [Verbose] > │ let v56 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2254 [Verbose] > │ {36}" │ 00:00:28 #2255 [Verbose] > │ let v57 : UH0 = UH0_1 │ 00:00:28 #2256 [Verbose] > │ let v58 : int32 = 0 │ 00:00:28 #2257 [Verbose] > │ let v59 : int32 = method1(v57, v58) │ 00:00:28 #2258 [Verbose] > │ let v60 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2259 [Verbose] > │ {36}" │ 00:00:28 #2260 [Verbose] > │ let v61 : UH0 = UH0_1 │ 00:00:28 #2261 [Verbose] > │ let v62 : int32 = 0 │ 00:00:28 #2262 [Verbose] > │ let v63 : int32 = method1(v61, v62) │ 00:00:28 #2263 [Verbose] > │ let v64 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2264 [Verbose] > │ {36}" │ 00:00:28 #2265 [Verbose] > │ let v65 : UH0 = UH0_1 │ 00:00:28 #2266 [Verbose] > │ let v66 : int32 = 0 │ 00:00:28 #2267 [Verbose] > │ let v67 : int32 = method1(v65, v66) │ 00:00:28 #2268 [Verbose] > │ let v68 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2269 [Verbose] > │ {36}" │ 00:00:28 #2270 [Verbose] > │ let v69 : UH0 = UH0_1 │ 00:00:28 #2271 [Verbose] > │ let v70 : int32 = 0 │ 00:00:28 #2272 [Verbose] > │ let v71 : int32 = method1(v69, v70) │ 00:00:28 #2273 [Verbose] > │ let v72 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2274 [Verbose] > │ {36}" │ 00:00:28 #2275 [Verbose] > │ let v73 : UH0 = UH0_1 │ 00:00:28 #2276 [Verbose] > │ let v74 : int32 = 0 │ 00:00:28 #2277 [Verbose] > │ let v75 : int32 = method1(v73, v74) │ 00:00:28 #2278 [Verbose] > │ let v76 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2279 [Verbose] > │ {36}" │ 00:00:28 #2280 [Verbose] > │ let v77 : UH0 = UH0_1 │ 00:00:28 #2281 [Verbose] > │ let v78 : int32 = 0 │ 00:00:28 #2282 [Verbose] > │ let v79 : int32 = method1(v77, v78) │ 00:00:28 #2283 [Verbose] > │ let v80 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2284 [Verbose] > │ {36}" │ 00:00:28 #2285 [Verbose] > │ let v81 : UH0 = UH0_1 │ 00:00:28 #2286 [Verbose] > │ let v82 : int32 = 0 │ 00:00:28 #2287 [Verbose] > │ let v83 : int32 = method1(v81, v82) │ 00:00:28 #2288 [Verbose] > │ let v84 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2289 [Verbose] > │ {36}" │ 00:00:28 #2290 [Verbose] > │ let v85 : UH0 = UH0_1 │ 00:00:28 #2291 [Verbose] > │ let v86 : int32 = 0 │ 00:00:28 #2292 [Verbose] > │ let v87 : int32 = method1(v85, v86) │ 00:00:28 #2293 [Verbose] > │ let v88 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2294 [Verbose] > │ {36}" │ 00:00:28 #2295 [Verbose] > │ let v89 : UH0 = UH0_1 │ 00:00:28 #2296 [Verbose] > │ let v90 : int32 = 0 │ 00:00:28 #2297 [Verbose] > │ let v91 : int32 = method1(v89, v90) │ 00:00:28 #2298 [Verbose] > │ let v92 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2299 [Verbose] > │ {36}" │ 00:00:28 #2300 [Verbose] > │ let v93 : UH0 = UH0_1 │ 00:00:28 #2301 [Verbose] > │ let v94 : int32 = 0 │ 00:00:28 #2302 [Verbose] > │ let v95 : int32 = method1(v93, v94) │ 00:00:28 #2303 [Verbose] > │ let v96 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2304 [Verbose] > │ {36}" │ 00:00:28 #2305 [Verbose] > │ let v97 : UH0 = UH0_1 │ 00:00:28 #2306 [Verbose] > │ let v98 : int32 = 0 │ 00:00:28 #2307 [Verbose] > │ let v99 : int32 = method1(v97, v98) │ 00:00:28 #2308 [Verbose] > │ let v100 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2309 [Verbose] > │ {36}" │ 00:00:28 #2310 [Verbose] > │ let v101 : UH0 = UH0_1 │ 00:00:28 #2311 [Verbose] > │ let v102 : int32 = 0 │ 00:00:28 #2312 [Verbose] > │ let v103 : int32 = method1(v101, v102) │ 00:00:28 #2313 [Verbose] > │ let v104 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2314 [Verbose] > │ {36}" │ 00:00:28 #2315 [Verbose] > │ let v105 : UH0 = UH0_1 │ 00:00:28 #2316 [Verbose] > │ let v106 : int32 = 0 │ 00:00:28 #2317 [Verbose] > │ let v107 : int32 = method1(v105, v106) │ 00:00:28 #2318 [Verbose] > │ let v108 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2319 [Verbose] > │ {36}" │ 00:00:28 #2320 [Verbose] > │ let v109 : UH0 = UH0_1 │ 00:00:28 #2321 [Verbose] > │ let v110 : int32 = 0 │ 00:00:28 #2322 [Verbose] > │ let v111 : int32 = method1(v109, v110) │ 00:00:28 #2323 [Verbose] > │ let v112 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2324 [Verbose] > │ {36}" │ 00:00:28 #2325 [Verbose] > │ let v113 : UH0 = UH0_1 │ 00:00:28 #2326 [Verbose] > │ let v114 : int32 = 0 │ 00:00:28 #2327 [Verbose] > │ let v115 : int32 = method1(v113, v114) │ 00:00:28 #2328 [Verbose] > │ let v116 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2329 [Verbose] > │ {36}" │ 00:00:28 #2330 [Verbose] > │ let v117 : UH0 = UH0_1 │ 00:00:28 #2331 [Verbose] > │ let v118 : int32 = 0 │ 00:00:28 #2332 [Verbose] > │ let v119 : int32 = method1(v117, v118) │ 00:00:28 #2333 [Verbose] > │ let v120 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2334 [Verbose] > │ {36}" │ 00:00:28 #2335 [Verbose] > │ let v121 : UH0 = UH0_1 │ 00:00:28 #2336 [Verbose] > │ let v122 : int32 = 0 │ 00:00:28 #2337 [Verbose] > │ let v123 : int32 = method1(v121, v122) │ 00:00:28 #2338 [Verbose] > │ let v124 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2339 [Verbose] > │ {36}" │ 00:00:28 #2340 [Verbose] > │ let v125 : UH0 = UH0_1 │ 00:00:28 #2341 [Verbose] > │ let v126 : int32 = 0 │ 00:00:28 #2342 [Verbose] > │ let v127 : int32 = method1(v125, v126) │ 00:00:28 #2343 [Verbose] > │ let v128 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2344 [Verbose] > │ {36}" │ 00:00:28 #2345 [Verbose] > │ let v129 : UH0 = UH0_1 │ 00:00:28 #2346 [Verbose] > │ let v130 : int32 = 0 │ 00:00:28 #2347 [Verbose] > │ let v131 : int32 = method1(v129, v130) │ 00:00:28 #2348 [Verbose] > │ let v132 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2349 [Verbose] > │ {36}" │ 00:00:28 #2350 [Verbose] > │ let v133 : UH0 = UH0_1 │ 00:00:28 #2351 [Verbose] > │ let v134 : int32 = 0 │ 00:00:28 #2352 [Verbose] > │ let v135 : int32 = method1(v133, v134) │ 00:00:28 #2353 [Verbose] > │ let v136 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2354 [Verbose] > │ {36}" │ 00:00:28 #2355 [Verbose] > │ let v137 : UH0 = UH0_1 │ 00:00:28 #2356 [Verbose] > │ let v138 : int32 = 0 │ 00:00:28 #2357 [Verbose] > │ let v139 : int32 = method1(v137, v138) │ 00:00:28 #2358 [Verbose] > │ let v140 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2359 [Verbose] > │ {36}" │ 00:00:28 #2360 [Verbose] > │ let v141 : UH0 = UH0_1 │ 00:00:28 #2361 [Verbose] > │ let v142 : int32 = 0 │ 00:00:28 #2362 [Verbose] > │ let v143 : int32 = method1(v141, v142) │ 00:00:28 #2363 [Verbose] > │ let v144 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2364 [Verbose] > │ {36}" │ 00:00:28 #2365 [Verbose] > │ let v145 : UH0 = UH0_1 │ 00:00:28 #2366 [Verbose] > │ let v146 : int32 = 0 │ 00:00:28 #2367 [Verbose] > │ let v147 : int32 = method1(v145, v146) │ 00:00:28 #2368 [Verbose] > │ let v148 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2369 [Verbose] > │ {36}" │ 00:00:28 #2370 [Verbose] > │ let v149 : UH0 = UH0_1 │ 00:00:28 #2371 [Verbose] > │ let v150 : int32 = 0 │ 00:00:28 #2372 [Verbose] > │ let v151 : int32 = method1(v149, v150) │ 00:00:28 #2373 [Verbose] > │ let v152 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2374 [Verbose] > │ {36}" │ 00:00:28 #2375 [Verbose] > │ let v153 : UH0 = UH0_1 │ 00:00:28 #2376 [Verbose] > │ let v154 : int32 = 0 │ 00:00:28 #2377 [Verbose] > │ let v155 : int32 = method1(v153, v154) │ 00:00:28 #2378 [Verbose] > │ let v156 : string = $"calculate_dice_count / max: {10} / n: {2} / p: │ 00:00:28 #2379 [Verbose] > │ {36}" │ 00:00:28 #2380 [Verbose] > │ let v157 : UH0 = UH0_1 │ 00:00:28 #2381 [Verbose] > │ let v158 : int32 = 0 │ 00:00:28 #2382 [Verbose] > │ let v159 : int32 = method1(v157, v158) │ 00:00:28 #2383 [Verbose] > │ let v160 : bool = v3 = v7 │ 00:00:28 #2384 [Verbose] > │ let struct (v170 : bool, v171 : UH1) = │ 00:00:28 #2385 [Verbose] > │ if v160 then │ 00:00:28 #2386 [Verbose] > │ let v161 : UH0 = UH0_1 │ 00:00:28 #2387 [Verbose] > │ let v162 : UH0 = UH0_0(v3, v161) │ 00:00:28 #2388 [Verbose] > │ let v163 : UH0 = UH0_0(v7, v162) │ 00:00:28 #2389 [Verbose] > │ let v164 : UH1 = UH1_1 │ 00:00:28 #2390 [Verbose] > │ let v165 : UH1 = UH1_0(v3, v163, v164) │ 00:00:28 #2391 [Verbose] > │ struct (true, v165) │ 00:00:28 #2392 [Verbose] > │ else │ 00:00:28 #2393 [Verbose] > │ let v166 : UH0 = UH0_1 │ 00:00:28 #2394 [Verbose] > │ let v167 : UH0 = UH0_0(v3, v166) │ 00:00:28 #2395 [Verbose] > │ let v168 : UH1 = UH1_1 │ 00:00:28 #2396 [Verbose] > │ let v169 : UH1 = UH1_0(v3, v167, v168) │ 00:00:28 #2397 [Verbose] > │ struct (false, v169) │ 00:00:28 #2398 [Verbose] > │ let v175 : UH1 = │ 00:00:28 #2399 [Verbose] > │ if v170 then │ 00:00:28 #2400 [Verbose] > │ v171 │ 00:00:28 #2401 [Verbose] > │ else │ 00:00:28 #2402 [Verbose] > │ let v172 : UH0 = UH0_1 │ 00:00:28 #2403 [Verbose] > │ let v173 : UH0 = UH0_0(v7, v172) │ 00:00:28 #2404 [Verbose] > │ UH1_0(v7, v173, v171) │ 00:00:28 #2405 [Verbose] > │ let v176 : bool = false │ 00:00:28 #2406 [Verbose] > │ let v177 : UH1 = UH1_1 │ 00:00:28 #2407 [Verbose] > │ let struct (v178 : bool, v179 : UH1) = method5(v11, v175, v176, v177) │ 00:00:28 #2408 [Verbose] > │ let v183 : UH1 = │ 00:00:28 #2409 [Verbose] > │ if v178 then │ 00:00:28 #2410 [Verbose] > │ v179 │ 00:00:28 #2411 [Verbose] > │ else │ 00:00:28 #2412 [Verbose] > │ let v180 : UH0 = UH0_1 │ 00:00:28 #2413 [Verbose] > │ let v181 : UH0 = UH0_0(v11, v180) │ 00:00:28 #2414 [Verbose] > │ UH1_0(v11, v181, v179) │ 00:00:28 #2415 [Verbose] > │ let v184 : bool = false │ 00:00:28 #2416 [Verbose] > │ let v185 : UH1 = UH1_1 │ 00:00:28 #2417 [Verbose] > │ let struct (v186 : bool, v187 : UH1) = method5(v15, v183, v184, v185) │ 00:00:28 #2418 [Verbose] > │ let v191 : UH1 = │ 00:00:28 #2419 [Verbose] > │ if v186 then │ 00:00:28 #2420 [Verbose] > │ v187 │ 00:00:28 #2421 [Verbose] > │ else │ 00:00:28 #2422 [Verbose] > │ let v188 : UH0 = UH0_1 │ 00:00:28 #2423 [Verbose] > │ let v189 : UH0 = UH0_0(v15, v188) │ 00:00:28 #2424 [Verbose] > │ UH1_0(v15, v189, v187) │ 00:00:28 #2425 [Verbose] > │ let v192 : bool = false │ 00:00:28 #2426 [Verbose] > │ let v193 : UH1 = UH1_1 │ 00:00:28 #2427 [Verbose] > │ let struct (v194 : bool, v195 : UH1) = method5(v19, v191, v192, v193) │ 00:00:28 #2428 [Verbose] > │ let v199 : UH1 = │ 00:00:28 #2429 [Verbose] > │ if v194 then │ 00:00:28 #2430 [Verbose] > │ v195 │ 00:00:28 #2431 [Verbose] > │ else │ 00:00:28 #2432 [Verbose] > │ let v196 : UH0 = UH0_1 │ 00:00:28 #2433 [Verbose] > │ let v197 : UH0 = UH0_0(v19, v196) │ 00:00:28 #2434 [Verbose] > │ UH1_0(v19, v197, v195) │ 00:00:28 #2435 [Verbose] > │ let v200 : bool = false │ 00:00:28 #2436 [Verbose] > │ let v201 : UH1 = UH1_1 │ 00:00:28 #2437 [Verbose] > │ let struct (v202 : bool, v203 : UH1) = method5(v23, v199, v200, v201) │ 00:00:28 #2438 [Verbose] > │ let v207 : UH1 = │ 00:00:28 #2439 [Verbose] > │ if v202 then │ 00:00:28 #2440 [Verbose] > │ v203 │ 00:00:28 #2441 [Verbose] > │ else │ 00:00:28 #2442 [Verbose] > │ let v204 : UH0 = UH0_1 │ 00:00:28 #2443 [Verbose] > │ let v205 : UH0 = UH0_0(v23, v204) │ 00:00:28 #2444 [Verbose] > │ UH1_0(v23, v205, v203) │ 00:00:28 #2445 [Verbose] > │ let v208 : bool = false │ 00:00:28 #2446 [Verbose] > │ let v209 : UH1 = UH1_1 │ 00:00:28 #2447 [Verbose] > │ let struct (v210 : bool, v211 : UH1) = method5(v27, v207, v208, v209) │ 00:00:28 #2448 [Verbose] > │ let v215 : UH1 = │ 00:00:28 #2449 [Verbose] > │ if v210 then │ 00:00:28 #2450 [Verbose] > │ v211 │ 00:00:28 #2451 [Verbose] > │ else │ 00:00:28 #2452 [Verbose] > │ let v212 : UH0 = UH0_1 │ 00:00:28 #2453 [Verbose] > │ let v213 : UH0 = UH0_0(v27, v212) │ 00:00:28 #2454 [Verbose] > │ UH1_0(v27, v213, v211) │ 00:00:28 #2455 [Verbose] > │ let v216 : bool = false │ 00:00:28 #2456 [Verbose] > │ let v217 : UH1 = UH1_1 │ 00:00:28 #2457 [Verbose] > │ let struct (v218 : bool, v219 : UH1) = method5(v31, v215, v216, v217) │ 00:00:28 #2458 [Verbose] > │ let v223 : UH1 = │ 00:00:28 #2459 [Verbose] > │ if v218 then │ 00:00:28 #2460 [Verbose] > │ v219 │ 00:00:28 #2461 [Verbose] > │ else │ 00:00:28 #2462 [Verbose] > │ let v220 : UH0 = UH0_1 │ 00:00:28 #2463 [Verbose] > │ let v221 : UH0 = UH0_0(v31, v220) │ 00:00:28 #2464 [Verbose] > │ UH1_0(v31, v221, v219) │ 00:00:28 #2465 [Verbose] > │ let v224 : bool = false │ 00:00:28 #2466 [Verbose] > │ let v225 : UH1 = UH1_1 │ 00:00:28 #2467 [Verbose] > │ let struct (v226 : bool, v227 : UH1) = method5(v35, v223, v224, v225) │ 00:00:28 #2468 [Verbose] > │ let v231 : UH1 = │ 00:00:28 #2469 [Verbose] > │ if v226 then │ 00:00:28 #2470 [Verbose] > │ v227 │ 00:00:28 #2471 [Verbose] > │ else │ 00:00:28 #2472 [Verbose] > │ let v228 : UH0 = UH0_1 │ 00:00:28 #2473 [Verbose] > │ let v229 : UH0 = UH0_0(v35, v228) │ 00:00:28 #2474 [Verbose] > │ UH1_0(v35, v229, v227) │ 00:00:28 #2475 [Verbose] > │ let v232 : bool = false │ 00:00:28 #2476 [Verbose] > │ let v233 : UH1 = UH1_1 │ 00:00:28 #2477 [Verbose] > │ let struct (v234 : bool, v235 : UH1) = method5(v39, v231, v232, v233) │ 00:00:28 #2478 [Verbose] > │ let v239 : UH1 = │ 00:00:28 #2479 [Verbose] > │ if v234 then │ 00:00:28 #2480 [Verbose] > │ v235 │ 00:00:28 #2481 [Verbose] > │ else │ 00:00:28 #2482 [Verbose] > │ let v236 : UH0 = UH0_1 │ 00:00:28 #2483 [Verbose] > │ let v237 : UH0 = UH0_0(v39, v236) │ 00:00:28 #2484 [Verbose] > │ UH1_0(v39, v237, v235) │ 00:00:28 #2485 [Verbose] > │ let v240 : bool = false │ 00:00:28 #2486 [Verbose] > │ let v241 : UH1 = UH1_1 │ 00:00:28 #2487 [Verbose] > │ let struct (v242 : bool, v243 : UH1) = method5(v43, v239, v240, v241) │ 00:00:28 #2488 [Verbose] > │ let v247 : UH1 = │ 00:00:28 #2489 [Verbose] > │ if v242 then │ 00:00:28 #2490 [Verbose] > │ v243 │ 00:00:28 #2491 [Verbose] > │ else │ 00:00:28 #2492 [Verbose] > │ let v244 : UH0 = UH0_1 │ 00:00:28 #2493 [Verbose] > │ let v245 : UH0 = UH0_0(v43, v244) │ 00:00:28 #2494 [Verbose] > │ UH1_0(v43, v245, v243) │ 00:00:28 #2495 [Verbose] > │ let v248 : bool = false │ 00:00:28 #2496 [Verbose] > │ let v249 : UH1 = UH1_1 │ 00:00:28 #2497 [Verbose] > │ let struct (v250 : bool, v251 : UH1) = method5(v47, v247, v248, v249) │ 00:00:28 #2498 [Verbose] > │ let v255 : UH1 = │ 00:00:28 #2499 [Verbose] > │ if v250 then │ 00:00:28 #2500 [Verbose] > │ v251 │ 00:00:28 #2501 [Verbose] > │ else │ 00:00:28 #2502 [Verbose] > │ let v252 : UH0 = UH0_1 │ 00:00:28 #2503 [Verbose] > │ let v253 : UH0 = UH0_0(v47, v252) │ 00:00:28 #2504 [Verbose] > │ UH1_0(v47, v253, v251) │ 00:00:28 #2505 [Verbose] > │ let v256 : bool = false │ 00:00:28 #2506 [Verbose] > │ let v257 : UH1 = UH1_1 │ 00:00:28 #2507 [Verbose] > │ let struct (v258 : bool, v259 : UH1) = method5(v51, v255, v256, v257) │ 00:00:28 #2508 [Verbose] > │ let v263 : UH1 = │ 00:00:28 #2509 [Verbose] > │ if v258 then │ 00:00:28 #2510 [Verbose] > │ v259 │ 00:00:28 #2511 [Verbose] > │ else │ 00:00:28 #2512 [Verbose] > │ let v260 : UH0 = UH0_1 │ 00:00:28 #2513 [Verbose] > │ let v261 : UH0 = UH0_0(v51, v260) │ 00:00:28 #2514 [Verbose] > │ UH1_0(v51, v261, v259) │ 00:00:28 #2515 [Verbose] > │ let v264 : bool = false │ 00:00:28 #2516 [Verbose] > │ let v265 : UH1 = UH1_1 │ 00:00:28 #2517 [Verbose] > │ let struct (v266 : bool, v267 : UH1) = method5(v55, v263, v264, v265) │ 00:00:28 #2518 [Verbose] > │ let v271 : UH1 = │ 00:00:28 #2519 [Verbose] > │ if v266 then │ 00:00:28 #2520 [Verbose] > │ v267 │ 00:00:28 #2521 [Verbose] > │ else │ 00:00:28 #2522 [Verbose] > │ let v268 : UH0 = UH0_1 │ 00:00:28 #2523 [Verbose] > │ let v269 : UH0 = UH0_0(v55, v268) │ 00:00:28 #2524 [Verbose] > │ UH1_0(v55, v269, v267) │ 00:00:28 #2525 [Verbose] > │ let v272 : bool = false │ 00:00:28 #2526 [Verbose] > │ let v273 : UH1 = UH1_1 │ 00:00:28 #2527 [Verbose] > │ let struct (v274 : bool, v275 : UH1) = method5(v59, v271, v272, v273) │ 00:00:28 #2528 [Verbose] > │ let v279 : UH1 = │ 00:00:28 #2529 [Verbose] > │ if v274 then │ 00:00:28 #2530 [Verbose] > │ v275 │ 00:00:28 #2531 [Verbose] > │ else │ 00:00:28 #2532 [Verbose] > │ let v276 : UH0 = UH0_1 │ 00:00:28 #2533 [Verbose] > │ let v277 : UH0 = UH0_0(v59, v276) │ 00:00:28 #2534 [Verbose] > │ UH1_0(v59, v277, v275) │ 00:00:28 #2535 [Verbose] > │ let v280 : bool = false │ 00:00:28 #2536 [Verbose] > │ let v281 : UH1 = UH1_1 │ 00:00:28 #2537 [Verbose] > │ let struct (v282 : bool, v283 : UH1) = method5(v63, v279, v280, v281) │ 00:00:28 #2538 [Verbose] > │ let v287 : UH1 = │ 00:00:28 #2539 [Verbose] > │ if v282 then │ 00:00:28 #2540 [Verbose] > │ v283 │ 00:00:28 #2541 [Verbose] > │ else │ 00:00:28 #2542 [Verbose] > │ let v284 : UH0 = UH0_1 │ 00:00:28 #2543 [Verbose] > │ let v285 : UH0 = UH0_0(v63, v284) │ 00:00:28 #2544 [Verbose] > │ UH1_0(v63, v285, v283) │ 00:00:28 #2545 [Verbose] > │ let v288 : bool = false │ 00:00:28 #2546 [Verbose] > │ let v289 : UH1 = UH1_1 │ 00:00:28 #2547 [Verbose] > │ let struct (v290 : bool, v291 : UH1) = method5(v67, v287, v288, v289) │ 00:00:28 #2548 [Verbose] > │ let v295 : UH1 = │ 00:00:28 #2549 [Verbose] > │ if v290 then │ 00:00:28 #2550 [Verbose] > │ v291 │ 00:00:28 #2551 [Verbose] > │ else │ 00:00:28 #2552 [Verbose] > │ let v292 : UH0 = UH0_1 │ 00:00:28 #2553 [Verbose] > │ let v293 : UH0 = UH0_0(v67, v292) │ 00:00:28 #2554 [Verbose] > │ UH1_0(v67, v293, v291) │ 00:00:28 #2555 [Verbose] > │ let v296 : bool = false │ 00:00:28 #2556 [Verbose] > │ let v297 : UH1 = UH1_1 │ 00:00:28 #2557 [Verbose] > │ let struct (v298 : bool, v299 : UH1) = method5(v71, v295, v296, v297) │ 00:00:28 #2558 [Verbose] > │ let v303 : UH1 = │ 00:00:28 #2559 [Verbose] > │ if v298 then │ 00:00:28 #2560 [Verbose] > │ v299 │ 00:00:28 #2561 [Verbose] > │ else │ 00:00:28 #2562 [Verbose] > │ let v300 : UH0 = UH0_1 │ 00:00:28 #2563 [Verbose] > │ let v301 : UH0 = UH0_0(v71, v300) │ 00:00:28 #2564 [Verbose] > │ UH1_0(v71, v301, v299) │ 00:00:28 #2565 [Verbose] > │ let v304 : bool = false │ 00:00:28 #2566 [Verbose] > │ let v305 : UH1 = UH1_1 │ 00:00:28 #2567 [Verbose] > │ let struct (v306 : bool, v307 : UH1) = method5(v75, v303, v304, v305) │ 00:00:28 #2568 [Verbose] > │ let v311 : UH1 = │ 00:00:28 #2569 [Verbose] > │ if v306 then │ 00:00:28 #2570 [Verbose] > │ v307 │ 00:00:28 #2571 [Verbose] > │ else │ 00:00:28 #2572 [Verbose] > │ let v308 : UH0 = UH0_1 │ 00:00:28 #2573 [Verbose] > │ let v309 : UH0 = UH0_0(v75, v308) │ 00:00:28 #2574 [Verbose] > │ UH1_0(v75, v309, v307) │ 00:00:28 #2575 [Verbose] > │ let v312 : bool = false │ 00:00:28 #2576 [Verbose] > │ let v313 : UH1 = UH1_1 │ 00:00:28 #2577 [Verbose] > │ let struct (v314 : bool, v315 : UH1) = method5(v79, v311, v312, v313) │ 00:00:28 #2578 [Verbose] > │ let v319 : UH1 = │ 00:00:28 #2579 [Verbose] > │ if v314 then │ 00:00:28 #2580 [Verbose] > │ v315 │ 00:00:28 #2581 [Verbose] > │ else │ 00:00:28 #2582 [Verbose] > │ let v316 : UH0 = UH0_1 │ 00:00:28 #2583 [Verbose] > │ let v317 : UH0 = UH0_0(v79, v316) │ 00:00:28 #2584 [Verbose] > │ UH1_0(v79, v317, v315) │ 00:00:28 #2585 [Verbose] > │ let v320 : bool = false │ 00:00:28 #2586 [Verbose] > │ let v321 : UH1 = UH1_1 │ 00:00:28 #2587 [Verbose] > │ let struct (v322 : bool, v323 : UH1) = method5(v83, v319, v320, v321) │ 00:00:28 #2588 [Verbose] > │ let v327 : UH1 = │ 00:00:28 #2589 [Verbose] > │ if v322 then │ 00:00:28 #2590 [Verbose] > │ v323 │ 00:00:28 #2591 [Verbose] > │ else │ 00:00:28 #2592 [Verbose] > │ let v324 : UH0 = UH0_1 │ 00:00:28 #2593 [Verbose] > │ let v325 : UH0 = UH0_0(v83, v324) │ 00:00:28 #2594 [Verbose] > │ UH1_0(v83, v325, v323) │ 00:00:28 #2595 [Verbose] > │ let v328 : bool = false │ 00:00:28 #2596 [Verbose] > │ let v329 : UH1 = UH1_1 │ 00:00:28 #2597 [Verbose] > │ let struct (v330 : bool, v331 : UH1) = method5(v87, v327, v328, v329) │ 00:00:28 #2598 [Verbose] > │ let v335 : UH1 = │ 00:00:28 #2599 [Verbose] > │ if v330 then │ 00:00:28 #2600 [Verbose] > │ v331 │ 00:00:28 #2601 [Verbose] > │ else │ 00:00:28 #2602 [Verbose] > │ let v332 : UH0 = UH0_1 │ 00:00:28 #2603 [Verbose] > │ let v333 : UH0 = UH0_0(v87, v332) │ 00:00:28 #2604 [Verbose] > │ UH1_0(v87, v333, v331) │ 00:00:28 #2605 [Verbose] > │ let v336 : bool = false │ 00:00:28 #2606 [Verbose] > │ let v337 : UH1 = UH1_1 │ 00:00:28 #2607 [Verbose] > │ let struct (v338 : bool, v339 : UH1) = method5(v91, v335, v336, v337) │ 00:00:28 #2608 [Verbose] > │ let v343 : UH1 = │ 00:00:28 #2609 [Verbose] > │ if v338 then │ 00:00:28 #2610 [Verbose] > │ v339 │ 00:00:28 #2611 [Verbose] > │ else │ 00:00:28 #2612 [Verbose] > │ let v340 : UH0 = UH0_1 │ 00:00:28 #2613 [Verbose] > │ let v341 : UH0 = UH0_0(v91, v340) │ 00:00:28 #2614 [Verbose] > │ UH1_0(v91, v341, v339) │ 00:00:28 #2615 [Verbose] > │ let v344 : bool = false │ 00:00:28 #2616 [Verbose] > │ let v345 : UH1 = UH1_1 │ 00:00:28 #2617 [Verbose] > │ let struct (v346 : bool, v347 : UH1) = method5(v95, v343, v344, v345) │ 00:00:28 #2618 [Verbose] > │ let v351 : UH1 = │ 00:00:28 #2619 [Verbose] > │ if v346 then │ 00:00:28 #2620 [Verbose] > │ v347 │ 00:00:28 #2621 [Verbose] > │ else │ 00:00:28 #2622 [Verbose] > │ let v348 : UH0 = UH0_1 │ 00:00:28 #2623 [Verbose] > │ let v349 : UH0 = UH0_0(v95, v348) │ 00:00:28 #2624 [Verbose] > │ UH1_0(v95, v349, v347) │ 00:00:28 #2625 [Verbose] > │ let v352 : bool = false │ 00:00:28 #2626 [Verbose] > │ let v353 : UH1 = UH1_1 │ 00:00:28 #2627 [Verbose] > │ let struct (v354 : bool, v355 : UH1) = method5(v99, v351, v352, v353) │ 00:00:28 #2628 [Verbose] > │ let v359 : UH1 = │ 00:00:28 #2629 [Verbose] > │ if v354 then │ 00:00:28 #2630 [Verbose] > │ v355 │ 00:00:28 #2631 [Verbose] > │ else │ 00:00:28 #2632 [Verbose] > │ let v356 : UH0 = UH0_1 │ 00:00:28 #2633 [Verbose] > │ let v357 : UH0 = UH0_0(v99, v356) │ 00:00:28 #2634 [Verbose] > │ UH1_0(v99, v357, v355) │ 00:00:28 #2635 [Verbose] > │ let v360 : bool = false │ 00:00:28 #2636 [Verbose] > │ let v361 : UH1 = UH1_1 │ 00:00:28 #2637 [Verbose] > │ let struct (v362 : bool, v363 : UH1) = method5(v103, v359, v360, v361) │ 00:00:28 #2638 [Verbose] > │ let v367 : UH1 = │ 00:00:28 #2639 [Verbose] > │ if v362 then │ 00:00:28 #2640 [Verbose] > │ v363 │ 00:00:28 #2641 [Verbose] > │ else │ 00:00:28 #2642 [Verbose] > │ let v364 : UH0 = UH0_1 │ 00:00:28 #2643 [Verbose] > │ let v365 : UH0 = UH0_0(v103, v364) │ 00:00:28 #2644 [Verbose] > │ UH1_0(v103, v365, v363) │ 00:00:28 #2645 [Verbose] > │ let v368 : bool = false │ 00:00:28 #2646 [Verbose] > │ let v369 : UH1 = UH1_1 │ 00:00:28 #2647 [Verbose] > │ let struct (v370 : bool, v371 : UH1) = method5(v107, v367, v368, v369) │ 00:00:28 #2648 [Verbose] > │ let v375 : UH1 = │ 00:00:28 #2649 [Verbose] > │ if v370 then │ 00:00:28 #2650 [Verbose] > │ v371 │ 00:00:28 #2651 [Verbose] > │ else │ 00:00:28 #2652 [Verbose] > │ let v372 : UH0 = UH0_1 │ 00:00:28 #2653 [Verbose] > │ let v373 : UH0 = UH0_0(v107, v372) │ 00:00:28 #2654 [Verbose] > │ UH1_0(v107, v373, v371) │ 00:00:28 #2655 [Verbose] > │ let v376 : bool = false │ 00:00:28 #2656 [Verbose] > │ let v377 : UH1 = UH1_1 │ 00:00:28 #2657 [Verbose] > │ let struct (v378 : bool, v379 : UH1) = method5(v111, v375, v376, v377) │ 00:00:28 #2658 [Verbose] > │ let v383 : UH1 = │ 00:00:28 #2659 [Verbose] > │ if v378 then │ 00:00:28 #2660 [Verbose] > │ v379 │ 00:00:28 #2661 [Verbose] > │ else │ 00:00:28 #2662 [Verbose] > │ let v380 : UH0 = UH0_1 │ 00:00:28 #2663 [Verbose] > │ let v381 : UH0 = UH0_0(v111, v380) │ 00:00:28 #2664 [Verbose] > │ UH1_0(v111, v381, v379) │ 00:00:28 #2665 [Verbose] > │ let v384 : bool = false │ 00:00:28 #2666 [Verbose] > │ let v385 : UH1 = UH1_1 │ 00:00:28 #2667 [Verbose] > │ let struct (v386 : bool, v387 : UH1) = method5(v115, v383, v384, v385) │ 00:00:28 #2668 [Verbose] > │ let v391 : UH1 = │ 00:00:28 #2669 [Verbose] > │ if v386 then │ 00:00:28 #2670 [Verbose] > │ v387 │ 00:00:28 #2671 [Verbose] > │ else │ 00:00:28 #2672 [Verbose] > │ let v388 : UH0 = UH0_1 │ 00:00:28 #2673 [Verbose] > │ let v389 : UH0 = UH0_0(v115, v388) │ 00:00:28 #2674 [Verbose] > │ UH1_0(v115, v389, v387) │ 00:00:28 #2675 [Verbose] > │ let v392 : bool = false │ 00:00:28 #2676 [Verbose] > │ let v393 : UH1 = UH1_1 │ 00:00:28 #2677 [Verbose] > │ let struct (v394 : bool, v395 : UH1) = method5(v119, v391, v392, v393) │ 00:00:28 #2678 [Verbose] > │ let v399 : UH1 = │ 00:00:28 #2679 [Verbose] > │ if v394 then │ 00:00:28 #2680 [Verbose] > │ v395 │ 00:00:28 #2681 [Verbose] > │ else │ 00:00:28 #2682 [Verbose] > │ let v396 : UH0 = UH0_1 │ 00:00:28 #2683 [Verbose] > │ let v397 : UH0 = UH0_0(v119, v396) │ 00:00:28 #2684 [Verbose] > │ UH1_0(v119, v397, v395) │ 00:00:28 #2685 [Verbose] > │ let v400 : bool = false │ 00:00:28 #2686 [Verbose] > │ let v401 : UH1 = UH1_1 │ 00:00:28 #2687 [Verbose] > │ let struct (v402 : bool, v403 : UH1) = method5(v123, v399, v400, v401) │ 00:00:28 #2688 [Verbose] > │ let v407 : UH1 = │ 00:00:28 #2689 [Verbose] > │ if v402 then │ 00:00:28 #2690 [Verbose] > │ v403 │ 00:00:28 #2691 [Verbose] > │ else │ 00:00:28 #2692 [Verbose] > │ let v404 : UH0 = UH0_1 │ 00:00:28 #2693 [Verbose] > │ let v405 : UH0 = UH0_0(v123, v404) │ 00:00:28 #2694 [Verbose] > │ UH1_0(v123, v405, v403) │ 00:00:28 #2695 [Verbose] > │ let v408 : bool = false │ 00:00:28 #2696 [Verbose] > │ let v409 : UH1 = UH1_1 │ 00:00:28 #2697 [Verbose] > │ let struct (v410 : bool, v411 : UH1) = method5(v127, v407, v408, v409) │ 00:00:28 #2698 [Verbose] > │ let v415 : UH1 = │ 00:00:28 #2699 [Verbose] > │ if v410 then │ 00:00:28 #2700 [Verbose] > │ v411 │ 00:00:28 #2701 [Verbose] > │ else │ 00:00:28 #2702 [Verbose] > │ let v412 : UH0 = UH0_1 │ 00:00:28 #2703 [Verbose] > │ let v413 : UH0 = UH0_0(v127, v412) │ 00:00:28 #2704 [Verbose] > │ UH1_0(v127, v413, v411) │ 00:00:28 #2705 [Verbose] > │ let v416 : bool = false │ 00:00:28 #2706 [Verbose] > │ let v417 : UH1 = UH1_1 │ 00:00:28 #2707 [Verbose] > │ let struct (v418 : bool, v419 : UH1) = method5(v131, v415, v416, v417) │ 00:00:28 #2708 [Verbose] > │ let v423 : UH1 = │ 00:00:28 #2709 [Verbose] > │ if v418 then │ 00:00:28 #2710 [Verbose] > │ v419 │ 00:00:28 #2711 [Verbose] > │ else │ 00:00:28 #2712 [Verbose] > │ let v420 : UH0 = UH0_1 │ 00:00:28 #2713 [Verbose] > │ let v421 : UH0 = UH0_0(v131, v420) │ 00:00:28 #2714 [Verbose] > │ UH1_0(v131, v421, v419) │ 00:00:28 #2715 [Verbose] > │ let v424 : bool = false │ 00:00:28 #2716 [Verbose] > │ let v425 : UH1 = UH1_1 │ 00:00:28 #2717 [Verbose] > │ let struct (v426 : bool, v427 : UH1) = method5(v135, v423, v424, v425) │ 00:00:28 #2718 [Verbose] > │ let v431 : UH1 = │ 00:00:28 #2719 [Verbose] > │ if v426 then │ 00:00:28 #2720 [Verbose] > │ v427 │ 00:00:28 #2721 [Verbose] > │ else │ 00:00:28 #2722 [Verbose] > │ let v428 : UH0 = UH0_1 │ 00:00:28 #2723 [Verbose] > │ let v429 : UH0 = UH0_0(v135, v428) │ 00:00:28 #2724 [Verbose] > │ UH1_0(v135, v429, v427) │ 00:00:28 #2725 [Verbose] > │ let v432 : bool = false │ 00:00:28 #2726 [Verbose] > │ let v433 : UH1 = UH1_1 │ 00:00:28 #2727 [Verbose] > │ let struct (v434 : bool, v435 : UH1) = method5(v139, v431, v432, v433) │ 00:00:28 #2728 [Verbose] > │ let v439 : UH1 = │ 00:00:28 #2729 [Verbose] > │ if v434 then │ 00:00:28 #2730 [Verbose] > │ v435 │ 00:00:28 #2731 [Verbose] > │ else │ 00:00:28 #2732 [Verbose] > │ let v436 : UH0 = UH0_1 │ 00:00:28 #2733 [Verbose] > │ let v437 : UH0 = UH0_0(v139, v436) │ 00:00:28 #2734 [Verbose] > │ UH1_0(v139, v437, v435) │ 00:00:28 #2735 [Verbose] > │ let v440 : bool = false │ 00:00:28 #2736 [Verbose] > │ let v441 : UH1 = UH1_1 │ 00:00:28 #2737 [Verbose] > │ let struct (v442 : bool, v443 : UH1) = method5(v143, v439, v440, v441) │ 00:00:28 #2738 [Verbose] > │ let v447 : UH1 = │ 00:00:28 #2739 [Verbose] > │ if v442 then │ 00:00:28 #2740 [Verbose] > │ v443 │ 00:00:28 #2741 [Verbose] > │ else │ 00:00:28 #2742 [Verbose] > │ let v444 : UH0 = UH0_1 │ 00:00:28 #2743 [Verbose] > │ let v445 : UH0 = UH0_0(v143, v444) │ 00:00:28 #2744 [Verbose] > │ UH1_0(v143, v445, v443) │ 00:00:28 #2745 [Verbose] > │ let v448 : bool = false │ 00:00:28 #2746 [Verbose] > │ let v449 : UH1 = UH1_1 │ 00:00:28 #2747 [Verbose] > │ let struct (v450 : bool, v451 : UH1) = method5(v147, v447, v448, v449) │ 00:00:28 #2748 [Verbose] > │ let v455 : UH1 = │ 00:00:28 #2749 [Verbose] > │ if v450 then │ 00:00:28 #2750 [Verbose] > │ v451 │ 00:00:28 #2751 [Verbose] > │ else │ 00:00:28 #2752 [Verbose] > │ let v452 : UH0 = UH0_1 │ 00:00:28 #2753 [Verbose] > │ let v453 : UH0 = UH0_0(v147, v452) │ 00:00:28 #2754 [Verbose] > │ UH1_0(v147, v453, v451) │ 00:00:28 #2755 [Verbose] > │ let v456 : bool = false │ 00:00:28 #2756 [Verbose] > │ let v457 : UH1 = UH1_1 │ 00:00:28 #2757 [Verbose] > │ let struct (v458 : bool, v459 : UH1) = method5(v151, v455, v456, v457) │ 00:00:28 #2758 [Verbose] > │ let v463 : UH1 = │ 00:00:28 #2759 [Verbose] > │ if v458 then │ 00:00:28 #2760 [Verbose] > │ v459 │ 00:00:28 #2761 [Verbose] > │ else │ 00:00:28 #2762 [Verbose] > │ let v460 : UH0 = UH0_1 │ 00:00:28 #2763 [Verbose] > │ let v461 : UH0 = UH0_0(v151, v460) │ 00:00:28 #2764 [Verbose] > │ UH1_0(v151, v461, v459) │ 00:00:28 #2765 [Verbose] > │ let v464 : bool = false │ 00:00:28 #2766 [Verbose] > │ let v465 : UH1 = UH1_1 │ 00:00:28 #2767 [Verbose] > │ let struct (v466 : bool, v467 : UH1) = method5(v155, v463, v464, v465) │ 00:00:28 #2768 [Verbose] > │ let v471 : UH1 = │ 00:00:28 #2769 [Verbose] > │ if v466 then │ 00:00:28 #2770 [Verbose] > │ v467 │ 00:00:28 #2771 [Verbose] > │ else │ 00:00:28 #2772 [Verbose] > │ let v468 : UH0 = UH0_1 │ 00:00:28 #2773 [Verbose] > │ let v469 : UH0 = UH0_0(v155, v468) │ 00:00:28 #2774 [Verbose] > │ UH1_0(v155, v469, v467) │ 00:00:28 #2775 [Verbose] > │ let v472 : bool = false │ 00:00:28 #2776 [Verbose] > │ let v473 : UH1 = UH1_1 │ 00:00:28 #2777 [Verbose] > │ let struct (v474 : bool, v475 : UH1) = method5(v159, v471, v472, v473) │ 00:00:28 #2778 [Verbose] > │ let v479 : UH1 = │ 00:00:28 #2779 [Verbose] > │ if v474 then │ 00:00:28 #2780 [Verbose] > │ v475 │ 00:00:28 #2781 [Verbose] > │ else │ 00:00:28 #2782 [Verbose] > │ let v476 : UH0 = UH0_1 │ 00:00:28 #2783 [Verbose] > │ let v477 : UH0 = UH0_0(v159, v476) │ 00:00:28 #2784 [Verbose] > │ UH1_0(v159, v477, v475) │ 00:00:28 #2785 [Verbose] > │ let v480 : UH2 = UH2_1 │ 00:00:28 #2786 [Verbose] > │ let v481 : UH2 = method6(v479, v480) │ 00:00:28 #2787 [Verbose] > │ let v482 : (struct (int32 * int32) []) = method8(v481) │ 00:00:28 #2788 [Verbose] > │ let v483 : (struct (int32 * int32) []) = v482 |> Array.sortBy (fun │ 00:00:28 #2789 [Verbose] > │ (struct (a, b)) -> a) │ 00:00:28 #2790 [Verbose] > │ v483 │ 00:00:28 #2791 [Verbose] > │ method0() │ 00:00:28 #2792 [Verbose] > │ │ 00:00:28 #2793 [Verbose] > │ │ 00:00:28 #2794 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:28 #2795 [Verbose] > 00:00:28 #2796 [Verbose] > ── spiral ────────────────────────────────────────────────────────────────────── 00:00:28 #2797 [Verbose] > // // test 00:00:28 #2798 [Verbose] > // // print_code=false 00:00:28 #2799 [Verbose] > 00:00:28 #2800 [Verbose] > listm'.init_series 1i32 40 1 00:00:28 #2801 [Verbose] > |> listm.map (fun _ => roll_progressively None roll_dice true 10) 00:00:28 #2802 [Verbose] > |> listm'.group_by id 00:00:28 #2803 [Verbose] > |> listm.map (fun (k, v) => k, (listm.length v : i32)) 00:00:28 #2804 [Verbose] > |> listm.toArray 00:00:28 #2805 [Verbose] > |> fun (ar : a i32 _) => 00:00:28 #2806 [Verbose] > $"!ar |> Array.sortBy (fun (struct (a, b)) -> a)" : a i32 $"struct (int32 * 00:00:28 #2807 [Verbose] > int32)" 00:00:28 #2808 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1550-1116-1600-1ea5ce976745\main.spi 00:00:29 #2809 [Verbose] > 00:00:29 #2810 [Verbose] > ╭─[ 549.14ms - return value ]──────────────────────────────────────────────────╮ 00:00:29 #2811 [Verbose] > │ <table><thead><tr><th><i>index</i></th><th>value</th></tr></thead><tbody><tr │ 00:00:29 #2812 [Verbose] > │ ><td>0</td><td><details class="dni-treeview"><summary><span │ 00:00:29 #2813 [Verbose] > │ class="dni-code-hint"><code>(2, │ 00:00:29 #2814 [Verbose] > │ 3)</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │ 00:00:29 #2815 [Verbose] > │ >Item1</td><td><div │ 00:00:29 #2816 [Verbose] > │ class="dni-plaintext"><pre>2</pre></div></td></tr><tr><td>Item2</td><td><div │ 00:00:29 #2817 [Verbose] > │ class="dni-plaintext"><pre>3</pre></div></td></tr></tbody></table></div></de │ 00:00:29 #2818 [Verbose] > │ tails></td></tr><tr><td>1</td><td><details │ 00:00:29 #2819 [Verbose] > │ class="dni-treeview"><summary><span class="dni-code-hint"><code>(3, │ 00:00:29 #2820 [Verbose] > │ 5)</code></span></summary><div><table><thead><tr></tr></thead><tbody><tr><td │ 00:00:29 #2821 [Verbose] > │ >Item1</td><td><div │ 00:00:29 #2822 [Verbose] > │ class="dni-plaintext"><pre>3</pre></div></td></tr><tr><td>Item2</td><td><div │ 00:00:29 #2823 [Verbose] > │ class="dni-plaintext"><pre>5</pre></div></td></tr... │ 00:00:29 #2824 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:29 #2825 [Verbose] > 00:00:29 #2826 [Verbose] > ── markdown ──────────────────────────────────────────────────────────────────── 00:00:29 #2827 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮ 00:00:29 #2828 [Verbose] > │ ## main │ 00:00:29 #2829 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯ 00:00:29 #2830 [Verbose] > 00:00:29 #2831 [Verbose] > ── fsharp ────────────────────────────────────────────────────────────────────── 00:00:29 #2832 [Verbose] > let main args = 00:00:29 #2833 [Verbose] > let result = rollWithinBounds (Some (printfn "%s")) 2000 [[ 1; 5; 4; 4; 5 ]] 00:00:29 #2834 [Verbose] > trace Debug (fun () -> $"main / result: {result |> Option.defaultValue -1}") 00:00:29 #2835 [Verbose] > getLocals 00:00:29 #2836 [Verbose] > 0 00:00:30 #2837 [Verbose] > [NbConvertApp] Converting notebook Dice.dib.ipynb to html 00:00:30 #2838 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future. 00:00:30 #2839 [Verbose] > validate(nb) 00:00:31 #2840 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3 00:00:31 #2841 [Verbose] > return _pygments_highlight( 00:00:32 #2842 [Verbose] > [NbConvertApp] Writing 453259 bytes to Dice.dib.html 00:00:32 #2843 [Debug] executeAsync / exitCode: 0 / output.Length: 192882 00:00:32 #2844 [Debug] main / executeCommand / exitCode: 0 00:00:00 #1 [Debug] writeDibCode / output: Spi / path: Dice.dib 00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Dice.dib 00:00:00 #3 [Debug] parseDibCode / output: Spi / file: Dice.dib 00:00:00 #3 [Debug] parseDibCode / output: Fs / file: Dice.dib 00:00:00 #1 [Debug] persistCodeProject / packages: [Fable.Core] / modules: [nbs/Common.fs] / path: C:\home\git\polyglot\apps\dice / name: Dice / code.Length: 3568 00:00:00 #2 [Debug] buildProject / fullPath: C:\home\git\polyglot\apps\dice\target\Dice.fsproj 00:00:00 #3 [Debug] executeAsync / options: { Command = "dotnet publish -c release -o ../dist -r linux-x64" WorkingDirectory = Some "C:\home\git\polyglot\apps\dice\target" CancellationToken = None OnLine = None } 00:00:00 #4 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb for .NET 00:00:00 #5 [Verbose] > Determining projects to restore... 00:00:04 #6 [Verbose] > Restored C:\home\git\polyglot\apps\dice\target\Dice.fsproj (in 2.72 sec). 00:00:04 #7 [Verbose] > C:\Program Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\apps\dice\target\Dice.fsproj] 00:00:07 #8 [Verbose] > Dice -> C:\home\git\polyglot\apps\dice\target\bin\release\net8.0\linux-x64\Dice.dll 00:00:08 #9 [Verbose] > Dice -> C:\home\git\polyglot\apps\dice\dist\ 00:00:08 #10 [Debug] executeAsync / exitCode: 0 / output.Length: 596 00:00:08 #11 [Debug] executeAsync / options: { Command = "dotnet publish -c release -o ../dist -r win-x64" WorkingDirectory = Some "C:\home\git\polyglot\apps\dice\target" CancellationToken = None OnLine = None } 00:00:09 #12 [Verbose] > MSBuild version 17.8.0-preview-23418-03+0125fc9fb for .NET 00:00:09 #13 [Verbose] > Determining projects to restore... 00:00:10 #14 [Verbose] > Restored C:\home\git\polyglot\apps\dice\target\Dice.fsproj (in 340 ms). 00:00:10 #15 [Verbose] > C:\Program Files\dotnet\sdk\8.0.100-rc.1.23463.5\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets(311,5): message NETSDK1057: You are using a preview version of .NET. See: https://aka.ms/dotnet-support-policy [C:\home\git\polyglot\apps\dice\target\Dice.fsproj] 00:00:13 #16 [Verbose] > Dice -> C:\home\git\polyglot\apps\dice\target\bin\release\net8.0\win-x64\Dice.dll 00:00:18 #17 [Verbose] > Dice -> C:\home\git\polyglot\apps\dice\dist\ 00:00:18 #18 [Debug] executeAsync / exitCode: 0 / output.Length: 592 Fable 4.2.2: F# to Rust compiler (status: alpha) Thanks to the contributor! @johlrich Stand with Ukraine! https://standwithukraine.com.ua/ Parsing target\Dice.fsproj... Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option. Project and references (2 source files) parsed in 215ms Started Fable compilation... Fable compilation finished in 2399ms Fable 4.2.2: F# to TypeScript compiler Minimum fable-library version (when installed from npm): 1.1.1 Thanks to the contributor! @tpetricek Stand with Ukraine! https://standwithukraine.com.ua/ Parsing target\Dice.fsproj... Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option. Project and references (2 source files) parsed in 186ms Started Fable compilation... Fable compilation finished in 2354ms Fable 4.2.2: F# to Python compiler (status: beta) Thanks to the contributor! @njlr Stand with Ukraine! https://standwithukraine.com.ua/ Parsing target\Dice.fsproj... Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option. Project and references (2 source files) parsed in 214ms Started Fable compilation... Fable compilation finished in 2367ms Fable 4.2.2: F# to PHP compiler (status: experimental) Thanks to the contributor! @justinjstark Stand with Ukraine! https://standwithukraine.com.ua/ Parsing target\Dice.fsproj... Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option. Project and references (2 source files) parsed in 205ms Started Fable compilation... Fable compilation finished in 2280ms .\..\..\nbs\Common.fs(129,23): (129,35) error FABLE: String templates are not supported .\target\Dice.fs(20,37): (20,89) error FABLE: String templates are not supported .\target\Dice.fs(26,37): (27,76) error FABLE: String templates are not supported .\target\Dice.fs(31,37): (31,104) error FABLE: String templates are not supported .\target\Dice.fs(53,41): (53,93) error FABLE: String templates are not supported .\target\Dice.fs(123,31): (123,83) error FABLE: String templates are not supported Compilation failed # Invoke-Block / $Retries: 1 / $OnError: Continue / $exitcode: 1 / $EnvVars: null / $Error: '' / $ScriptBlock: 'dotnet fable target/Dice.fsproj --optimize --lang php --extension .php --outDir target/php' Fable 4.2.2: F# to Dart compiler (status: beta) Thanks to the contributor! @MNie Stand with Ukraine! https://standwithukraine.com.ua/ Parsing target\Dice.fsproj... Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option. Project and references (2 source files) parsed in 213ms Started Fable compilation... Fable compilation finished in 2282ms .\target\Dice.fs(1,1): error FABLE: Cannot find reference for System.Random .\target\Dice.fs(1,1): error FABLE: Cannot find reference for System.IO.TextWriter .\target\Dice.fs(1,1): error FABLE: Cannot find reference for Microsoft.FSharp.Core.PrintfFormat`5 .\..\..\nbs\Common.fs(1,1): error FABLE: Cannot find reference for Microsoft.FSharp.Core.PrintfFormat`5 Compilation failed # Invoke-Block / $Retries: 1 / $OnError: Continue / $exitcode: 1 / $EnvVars: null / $Error: '' / $ScriptBlock: 'dotnet fable target/Dice.fsproj --optimize --lang dart --extension .dart --outDir target/dart' Fable 4.2.2: F# to Rust compiler (status: alpha) Thanks to the contributor! @battermann Stand with Ukraine! https://standwithukraine.com.ua/ Parsing target\Dice.fsproj... Retrieving project options from cache, in case of issues run `dotnet fable clean` or try `--noCache` option. Project and references (2 source files) parsed in 192ms Started Fable compilation... Fable compilation finished in 2617ms Compiling dice v0.0.1 (C:\home\git\polyglot\apps\dice) Finished release [optimized] target(s) in 3.84s Running `target\release\dice.exe` accumulateDiceRolls / power: 4 / acc: 0 / roll: 1 accumulateDiceRolls / power: 3 / acc: 0 / roll: 5 / value: 864 accumulateDiceRolls / power: 2 / acc: 864 / roll: 4 / value: 108 accumulateDiceRolls / power: 1 / acc: 972 / roll: 4 / value: 18 accumulateDiceRolls / power: 0 / acc: 990 / roll: 5 / value: 4 accumulateDiceRolls / power: -1 / acc: 994 15:51:04 #1 [Debug] main / result: 995 Compiling dice v0.0.1 (C:\home\git\polyglot\apps\dice) Compiling dice_contract v0.0.1 (C:\home\git\polyglot\apps\dice\contract) Finished release [optimized] target(s) in 5.02s ## 7 Finished release [optimized] target(s) in 15.10s Running `target/release/dice` new: ExecutionFinalResult { total_gas_burnt: NearGas { inner: 5273611536186, }, transaction: ExecutionOutcome { transaction_hash: FsDvEk558eoboGgdEP1NUAxHPA6Q3to6Ho55dkz17yL5, block_hash: 5qSdomoKV1pJn2ju5e8Fhw8X33J1ruzKd5nXZpsxtMVt, logs: [], receipt_ids: [ xsM86ecwhLyrhfASFZsXetVY7yPWGmNPiRGoSrhhgVN, ], gas_burnt: NearGas { inner: 2427927707802, }, tokens_burnt: 242792770780200000000, executor_id: AccountId( "dev-20231025195136-49221326294823", ), status: SuccessReceiptId(xsM86ecwhLyrhfASFZsXetVY7yPWGmNPiRGoSrhhgVN), }, receipts: [ ExecutionOutcome { transaction_hash: xsM86ecwhLyrhfASFZsXetVY7yPWGmNPiRGoSrhhgVN, block_hash: 5qSdomoKV1pJn2ju5e8Fhw8X33J1ruzKd5nXZpsxtMVt, logs: [], receipt_ids: [ 3N4nemmNyhR9mp4rxpuzENfCg7ypaxt3fDsUUC44o29h, ], gas_burnt: NearGas { inner: 2622501265884, }, tokens_burnt: 262250126588400000000, executor_id: AccountId( "dev-20231025195136-49221326294823", ), status: SuccessValue(''), }, ExecutionOutcome { transaction_hash: 3N4nemmNyhR9mp4rxpuzENfCg7ypaxt3fDsUUC44o29h, block_hash: 2JzcNbduRzc9jQa8HX35H5UduttYYNJCTqtoGCgAHaRF, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: 0, executor_id: AccountId( "dev-20231025195136-49221326294823", ), status: SuccessValue(''), }, ], status: SuccessValue(''), } total_gas_burnt_usd: 0.0035227725061722477 outcome (success: true): outcome_gas_burnt_usd: 0.001621855708811736 outcome_tokens_burnt_usd: 0.001621855708811736 outcome (success: true): outcome_gas_burnt_usd: 0.0017518308456105117 outcome_tokens_burnt_usd: 0.0017518308456105122 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 roll_within_bounds(contract, ''): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 5459725500163, }, transaction: ExecutionOutcome { transaction_hash: E4dYghzQXtoPps1DqUmyBQFNhxnCMGbJBrAtMkVGXqcy, block_hash: C6EahZPZwNdUN3DXifcbmgKdxrAg9po8MrZHvLC57sPC, logs: [], receipt_ids: [ 6Wu9jP6R4VVBjdneVupcUrAdaFjWHNRfV952UxqoxfkV, ], gas_burnt: NearGas { inner: 2428032796700, }, tokens_burnt: 242803279670000000000, executor_id: AccountId( "dev-20231025195136-49221326294823", ), status: SuccessReceiptId(6Wu9jP6R4VVBjdneVupcUrAdaFjWHNRfV952UxqoxfkV), }, receipts: [ ExecutionOutcome { transaction_hash: 6Wu9jP6R4VVBjdneVupcUrAdaFjWHNRfV952UxqoxfkV, block_hash: C6EahZPZwNdUN3DXifcbmgKdxrAg9po8MrZHvLC57sPC, logs: [ "roll_within_bounds / max: 2000 / rolls: [1, 5, 4, 4, 5]", "accumulateDiceRolls / power: 4 / acc: 0 / roll: 1", "accumulateDiceRolls / power: 3 / acc: 0 / roll: 5 / value: 864", "accumulateDiceRolls / power: 2 / acc: 864 / roll: 4 / value: 108", "accumulateDiceRolls / power: 1 / acc: 972 / roll: 4 / value: 18", "accumulateDiceRolls / power: 0 / acc: 990 / roll: 5 / value: 4", "accumulateDiceRolls / power: -1 / acc: 994", ], receipt_ids: [ AkQfWnpMaWYmJkk6PxaokWLkFYJzrRnKBWJduMc4zPWP, ], gas_burnt: NearGas { inner: 2808510140963, }, tokens_burnt: 280851014096300000000, executor_id: AccountId( "dev-20231025195136-49221326294823", ), status: SuccessValue('995'), }, ExecutionOutcome { transaction_hash: AkQfWnpMaWYmJkk6PxaokWLkFYJzrRnKBWJduMc4zPWP, block_hash: 68RU8ujg7zoNd7RowihsgwgL8EAwqJVD2W85WvNYp5mF, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: 0, executor_id: AccountId( "dev-20231025195136-49221326294823", ), status: SuccessValue(''), }, ], status: SuccessValue('995'), } total_gas_burnt_usd: 0.0036470966341088837 outcome (success: true): outcome_gas_burnt_usd: 0.0016219259081956 outcome_tokens_burnt_usd: 0.0016219259081956 outcome (success: true): outcome_gas_burnt_usd: 0.001876084774163284 outcome_tokens_burnt_usd: 0.001876084774163284 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 roll_within_bounds_borsh(contract, ''): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 5470222311500, }, transaction: ExecutionOutcome { transaction_hash: SonDvJZjKwhcjfJbfYvpeF9454rk5NLeZvLuqQgu1xo, block_hash: 5bJfDvspV7bPiojYuvN5bEFXWGcJYf78p5Wrh93PhPzD, logs: [], receipt_ids: [ CPQRibgGCCznQyyTzc2wm8LbQ7LQysEkRKAgagKM9wSz, ], gas_burnt: NearGas { inner: 2428037268568, }, tokens_burnt: 242803726856800000000, executor_id: AccountId( "dev-20231025195136-49221326294823", ), status: SuccessReceiptId(CPQRibgGCCznQyyTzc2wm8LbQ7LQysEkRKAgagKM9wSz), }, receipts: [ ExecutionOutcome { transaction_hash: CPQRibgGCCznQyyTzc2wm8LbQ7LQysEkRKAgagKM9wSz, block_hash: 5bJfDvspV7bPiojYuvN5bEFXWGcJYf78p5Wrh93PhPzD, logs: [ "roll_within_bounds / max: 2000 / rolls: [2, 2, 6, 4, 5]", "accumulateDiceRolls / power: 4 / acc: 0 / roll: 2 / value: 1296", "accumulateDiceRolls / power: 3 / acc: 1296 / roll: 2 / value: 216", "accumulateDiceRolls / power: 2 / acc: 1512 / roll: 6 / value: 180", "accumulateDiceRolls / power: 1 / acc: 1692 / roll: 4 / value: 18", "accumulateDiceRolls / power: 0 / acc: 1710 / roll: 5 / value: 4", "accumulateDiceRolls / power: -1 / acc: 1714", ], receipt_ids: [ Ai3gosK7RR9jCWrRX46EqSc2uds19pGaAwzDPYMSkkuW, ], gas_burnt: NearGas { inner: 2819002480432, }, tokens_burnt: 281900248043200000000, executor_id: AccountId( "dev-20231025195136-49221326294823", ), status: SuccessValue(AbMGAAA=), }, ExecutionOutcome { transaction_hash: Ai3gosK7RR9jCWrRX46EqSc2uds19pGaAwzDPYMSkkuW, block_hash: D6xVYbGknqMG86YppBnk2FLgvxV7doNaJajkG8DrZd9F, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: 0, executor_id: AccountId( "dev-20231025195136-49221326294823", ), status: SuccessValue(''), }, ], status: SuccessValue(AbMGAAA=), } total_gas_burnt_usd: 0.0036541085040819993 outcome (success: true): outcome_gas_burnt_usd: 0.0016219288954034238 outcome_tokens_burnt_usd: 0.001621928895403424 outcome (success: true): outcome_gas_burnt_usd: 0.0018830936569285757 outcome_tokens_burnt_usd: 0.0018830936569285757 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 n: Some( Some( 1715, ), ) generate_random_number(contract, ''): ExecutionFinalResult { total_gas_burnt: NearGas { inner: 9128376594935, }, transaction: ExecutionOutcome { transaction_hash: AgzAzzc8yCCnaP16icwS67gdLp3biwJ7QP72dvzU3q54, block_hash: 3bCVGo8rV7GmbSFUnqiTy85wEt3psTdSmYdgBbj9tzbT, logs: [], receipt_ids: [ 73sj3veBwUkFuMzsjhByASVGvsQkeDx2HuWY5tMXZT16, ], gas_burnt: NearGas { inner: 2427997021756, }, tokens_burnt: 242799702175600000000, executor_id: AccountId( "dev-20231025195136-49221326294823", ), status: SuccessReceiptId(73sj3veBwUkFuMzsjhByASVGvsQkeDx2HuWY5tMXZT16), }, receipts: [ ExecutionOutcome { transaction_hash: 73sj3veBwUkFuMzsjhByASVGvsQkeDx2HuWY5tMXZT16, block_hash: 3bCVGo8rV7GmbSFUnqiTy85wEt3psTdSmYdgBbj9tzbT, logs: [ "generate_random_number / max: 2000 / seed: [76, 252, 49, 22, 116, 187, 64, 162, 237, 243, 183, 112, 151, 181, 224, 44, 223, 104, 140, 196, 234, 97, 128, 68, 125, 116, 237, 26, 170, 12, 97, 157] / block_timestamp: 1698263501004589719 / signer_account_id: \"dev-20231025195136-49221326294823\" / account_balance: 99996914293411177505960000 / block_height: 21 / epoch_height: 1 / entropy: [76, 252, 49, 22, 116, 187, 64, 162, 237, 243, 183, 112, 151, 181, 224, 44, 223, 104, 140, 196, 234, 97, 128, 68, 125, 116, 237, 26, 170, 12, 97, 157, 151, 202, 99, 8, 168, 113, 145, 23, 100, 101, 118, 45, 50, 48, 50, 51, 49, 48, 50, 53, 49, 57, 53, 49, 51, 54, 45, 52, 57, 50, 50, 49, 51, 50, 54, 50, 57, 52, 56, 50, 51, 64, 48, 231, 92, 16, 11, 0, 150, 43, 183, 82, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0] / hash_vec: [97, 229, 1, 193, 226, 115, 77, 97, 130, 6, 145, 56, 181, 76, 118, 130, 181, 174, 216, 17, 55, 69, 178, 111, 98, 52, 93, 57, 41, 252, 25, 91, 85, 249, 125, 253, 26, 196, 248, 252, 100, 122, 215, 21, 74, 7, 121, 163, 196, 208, 146, 55, 237, 21, 123, 119, 82, 178, 25, 101, 81, 37, 204, 223] / rolls_list: [1, 1, 1, 1, 4, 1, 5, 1, 4, 6, 1, 2, 1, 4, 4, 4, 1, 6, 6, 5, 1, 3, 4, 3, 2, 4, 3, 3, 5, 6, 1, 1, 1, 3, 5, 1, 2, 4, 2, 6, 4, 2, 5, 3, 2, 1, 1, 1, 4, 4, 2, 1, 3, 3, 3, 5, 4, 4, 1, 5, 3, 1, 6, 1]", "calculateDiceCount / max: 2000 / n: 5 / p: 7776", "accumulateDiceRolls / power: 4 / acc: 0 / roll: 4 / value: 3888", "accumulateDiceRolls / power: 3 / acc: 3888 / roll: 1", "accumulateDiceRolls / power: 2 / acc: 3888 / roll: 1", "accumulateDiceRolls / power: 1 / acc: 3888 / roll: 1", "accumulateDiceRolls / power: 0 / acc: 3888 / roll: 1", "accumulateDiceRolls / power: -1 / acc: 3888", "accumulateDiceRolls / power: 4 / acc: 0 / roll: 1", "accumulateDiceRolls / power: 3 / acc: 0 / roll: 4 / value: 648", "accumulateDiceRolls / power: 2 / acc: 648 / roll: 1", "accumulateDiceRolls / power: 1 / acc: 648 / roll: 1", "accumulateDiceRolls / power: 0 / acc: 648 / roll: 1", "accumulateDiceRolls / power: -1 / acc: 648", ], receipt_ids: [ HbXUqZr2S1tpCb27UjrS8PEApQEGQtHFWxe6HgvbuTJR, ], gas_burnt: NearGas { inner: 6477197010679, }, tokens_burnt: 647719701067900000000, executor_id: AccountId( "dev-20231025195136-49221326294823", ), status: SuccessValue('649'), }, ExecutionOutcome { transaction_hash: HbXUqZr2S1tpCb27UjrS8PEApQEGQtHFWxe6HgvbuTJR, block_hash: JDbp8zFsen4Ch6RwLVQYQMPNHh4yHyhUTVHaoSPGB4ry, logs: [], receipt_ids: [], gas_burnt: NearGas { inner: 223182562500, }, tokens_burnt: 0, executor_id: AccountId( "dev-20231025195136-49221326294823", ), status: SuccessValue(''), }, ], status: SuccessValue('649'), } total_gas_burnt_usd: 0.00609775556541658 outcome (success: true): outcome_gas_burnt_usd: 0.001621902010533008 outcome_tokens_burnt_usd: 0.0016219020105330078 outcome (success: true): outcome_gas_burnt_usd: 0.004326767603133571 outcome_tokens_burnt_usd: 0.004326767603133571 outcome (success: true): outcome_gas_burnt_usd: 0.00014908595175 outcome_tokens_burnt_usd: 0.0 n: 649
In [ ]:
{ . "$ScriptDir/../apps/perf/build.ps1" } | Invoke-Block
00:00:00 #1 [Debug] runWithTimeoutAsync / timeout: 60
00:00:00 #2 [Debug] executeAsync / options: { Command =
"dotnet "C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release\Spiral.dll" port=13805"
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = Some <fun:main@450-1020> }
00:00:00 #3 [Verbose] > pwd: C:\home\git\polyglot\apps\perf
00:00:00 #4 [Verbose] > dll_path: C:\home\git\polyglot\deps\The-Spiral-Language\The Spiral Language 2\artifacts\bin\The Spiral Language 2\release
00:00:00 #5 [Debug] runWithTimeoutAsync / timeout: 500
00:00:00 #6 [Verbose] waitForPortAccess / port: 13805 / retry: 0
00:00:01 #7 [Debug] sendJson / port: 13805 / json: {"Ping":true} / result.Length:
00:00:01 #8 [Verbose] awaitCompiler / Ping / result: Some(null) / port: 13805 / retry: 0
00:00:01 #9 [Verbose] > Server bound to: http://localhost:13805
00:00:01 #10 [Debug] executeAsync / options: { Command = "pwsh -c "../../scripts/invoke-dib.ps1 Perf.dib""
WorkingDirectory = None
CancellationToken = Some System.Threading.CancellationToken
OnLine = None }
00:00:03 #11 [Verbose] >
00:00:03 #12 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:03 #13 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:03 #14 [Verbose] > │ ## Perf (Polyglot) │
00:00:03 #15 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:03 #16 [Verbose] >
00:00:03 #17 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:03 #18 [Verbose] > // // test
00:00:03 #19 [Verbose] >
00:00:03 #20 [Verbose] > open testing
00:00:03 #21 [Verbose] > open benchmark
00:00:07 #22 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1551-4939-3968-304e13353258\main.spi
00:00:09 #23 [Verbose] >
00:00:09 #24 [Verbose] > ╭─[ 5.26s - stdout ]───────────────────────────────────────────────────────────╮
00:00:09 #25 [Verbose] > │ () │
00:00:09 #26 [Verbose] > │ │
00:00:09 #27 [Verbose] > │ │
00:00:09 #28 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #29 [Verbose] >
00:00:09 #30 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:09 #31 [Verbose] > inl (/@) x = listm'.(/@) x
00:00:09 #32 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1551-5231-3139-31f458ab2f94\main.spi
00:00:09 #33 [Verbose] >
00:00:09 #34 [Verbose] > ╭─[ 219.38ms - stdout ]────────────────────────────────────────────────────────╮
00:00:09 #35 [Verbose] > │ () │
00:00:09 #36 [Verbose] > │ │
00:00:09 #37 [Verbose] > │ │
00:00:09 #38 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #39 [Verbose] >
00:00:09 #40 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:09 #41 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:09 #42 [Verbose] > │ ## TestCaseResult │
00:00:09 #43 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:09 #44 [Verbose] >
00:00:09 #45 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:09 #46 [Verbose] > type TestCaseResult =
00:00:09 #47 [Verbose] > {
00:00:09 #48 [Verbose] > Input: string
00:00:09 #49 [Verbose] > Expected: string
00:00:09 #50 [Verbose] > Result: string
00:00:09 #51 [Verbose] > TimeList: int64 list
00:00:09 #52 [Verbose] > }
00:00:09 #53 [Verbose] >
00:00:09 #54 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:09 #55 [Verbose] > #r
00:00:09 #56 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.A
00:00:09 #57 [Verbose] > spNetCore.Html.Abstractions.dll"
00:00:09 #58 [Verbose] > #r
00:00:09 #59 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:09 #60 [Verbose] > otNet.Interactive.dll"
00:00:09 #61 [Verbose] > #r
00:00:09 #62 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:09 #63 [Verbose] > otNet.Interactive.FSharp.dll"
00:00:09 #64 [Verbose] > #r
00:00:09 #65 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:09 #66 [Verbose] > otNet.Interactive.Formatting.dll"
00:00:09 #67 [Verbose] > open System
00:00:09 #68 [Verbose] > open System.IO
00:00:09 #69 [Verbose] > open System.Text
00:00:09 #70 [Verbose] > open Microsoft.DotNet.Interactive.Formatting
00:00:10 #71 [Verbose] >
00:00:10 #72 [Verbose] > ── fsharp - import ─────────────────────────────────────────────────────────────
00:00:10 #73 [Verbose] > #r
00:00:10 #74 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:10 #75 [Verbose] > otNet.Interactive.FSharp.dll"
00:00:10 #76 [Verbose] > open Microsoft.DotNet.Interactive.FSharp.FSharpKernelHelpers
00:00:10 #77 [Verbose] > #r
00:00:10 #78 [Verbose] > "C:/Users/i574n/.nuget/packages/dotnet-repl/0.1.204/tools/net7.0/any/Microsoft.D
00:00:10 #79 [Verbose] > otNet.Interactive.dll"
00:00:10 #80 [Verbose] > open type Microsoft.DotNet.Interactive.Kernel
00:00:11 #81 [Verbose] >
00:00:11 #82 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:11 #83 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:11 #84 [Verbose] > │ ## run │
00:00:11 #85 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:11 #86 [Verbose] >
00:00:11 #87 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:11 #88 [Verbose] > let run count (solutions: (string * ('TInput -> 'TExpected)) list) (input,
00:00:11 #89 [Verbose] > expected) =
00:00:11 #90 [Verbose] > let inputStr =
00:00:11 #91 [Verbose] > match box input with
00:00:11 #92 [Verbose] > | :? System.Collections.ICollection as input ->
00:00:11 #93 [Verbose] > System.Linq.Enumerable.Cast<obj> input
00:00:11 #94 [Verbose] > |> Seq.map string
00:00:11 #95 [Verbose] > |> String.concat ","
00:00:11 #96 [Verbose] > | _ -> input.ToString ()
00:00:11 #97 [Verbose] >
00:00:11 #98 [Verbose] > printfn ""
00:00:11 #99 [Verbose] > printfn $"Solution: {inputStr} "
00:00:11 #100 [Verbose] >
00:00:11 #101 [Verbose] > let performanceInvoke (fn: unit -> 'T) =
00:00:11 #102 [Verbose] > GC.Collect ()
00:00:11 #103 [Verbose] > let stopwatch = System.Diagnostics.Stopwatch ()
00:00:11 #104 [Verbose] > stopwatch.Start ()
00:00:11 #105 [Verbose] > let time1 = stopwatch.ElapsedMilliseconds
00:00:11 #106 [Verbose] >
00:00:11 #107 [Verbose] > let result =
00:00:11 #108 [Verbose] > [[| 0 .. count |]]
00:00:11 #109 [Verbose] > |> Array.Parallel.map (fun _ ->
00:00:11 #110 [Verbose] > fn ()
00:00:11 #111 [Verbose] > )
00:00:11 #112 [Verbose] > |> Array.last
00:00:11 #113 [Verbose] >
00:00:11 #114 [Verbose] > let time2 = stopwatch.ElapsedMilliseconds - time1
00:00:11 #115 [Verbose] >
00:00:11 #116 [Verbose] > result, time2
00:00:11 #117 [Verbose] >
00:00:11 #118 [Verbose] > let resultsWithTime =
00:00:11 #119 [Verbose] > solutions
00:00:11 #120 [Verbose] > |> List.mapi (fun i (testName, solution) ->
00:00:11 #121 [Verbose] > let result, time = performanceInvoke (fun () -> solution input)
00:00:11 #122 [Verbose] > printfn $"Test case %d{i + 1}. %s{testName}. Time: %A{time} "
00:00:11 #123 [Verbose] > result, time
00:00:11 #124 [Verbose] > )
00:00:11 #125 [Verbose] >
00:00:11 #126 [Verbose] >
00:00:11 #127 [Verbose] > match resultsWithTime |> List.map fst with
00:00:11 #128 [Verbose] > | ([[]] | [[ _ ]]) -> ()
00:00:11 #129 [Verbose] > | (head :: tail) when tail |> List.forall ((=) head) -> ()
00:00:11 #130 [Verbose] > | results -> failwithf $"Challenge error: %A{results}"
00:00:11 #131 [Verbose] >
00:00:11 #132 [Verbose] > {
00:00:11 #133 [Verbose] > Input = inputStr
00:00:11 #134 [Verbose] > Expected = expected.ToString ()
00:00:11 #135 [Verbose] > Result = resultsWithTime |> Seq.map fst |> Seq.head |> fun x ->
00:00:11 #136 [Verbose] > x.ToString ()
00:00:11 #137 [Verbose] > TimeList = resultsWithTime |> List.map snd
00:00:11 #138 [Verbose] > }
00:00:12 #139 [Verbose] >
00:00:12 #140 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #141 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #142 [Verbose] > │ ## runAll │
00:00:12 #143 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #144 [Verbose] >
00:00:12 #145 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:12 #146 [Verbose] > let runAll testName count (solutions: (string * ('TInput -> 'TExpected)) list)
00:00:12 #147 [Verbose] > testCases =
00:00:12 #148 [Verbose] > printfn ""
00:00:12 #149 [Verbose] > printfn ""
00:00:12 #150 [Verbose] > printfn $"Test: {testName}"
00:00:12 #151 [Verbose] > testCases
00:00:12 #152 [Verbose] > |> Seq.map (run count solutions)
00:00:12 #153 [Verbose] > |> Seq.toList
00:00:12 #154 [Verbose] >
00:00:12 #155 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #156 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #157 [Verbose] > │ ## sortResultList │
00:00:12 #158 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #159 [Verbose] >
00:00:12 #160 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:12 #161 [Verbose] > let sortResultList resultList =
00:00:12 #162 [Verbose] > let table =
00:00:12 #163 [Verbose] > let rows =
00:00:12 #164 [Verbose] > resultList
00:00:12 #165 [Verbose] > |> List.map (fun result ->
00:00:12 #166 [Verbose] > let best =
00:00:12 #167 [Verbose] > result.TimeList
00:00:12 #168 [Verbose] > |> List.mapi (fun i time ->
00:00:12 #169 [Verbose] > i + 1, time
00:00:12 #170 [Verbose] > )
00:00:12 #171 [Verbose] > |> List.sortBy snd
00:00:12 #172 [Verbose] > |> List.head
00:00:12 #173 [Verbose] > |> fun x -> x.ToString ()
00:00:12 #174 [Verbose] > let row =
00:00:12 #175 [Verbose] > [[
00:00:12 #176 [Verbose] > result.Input
00:00:12 #177 [Verbose] > result.Expected
00:00:12 #178 [Verbose] > result.Result
00:00:12 #179 [Verbose] > best
00:00:12 #180 [Verbose] > ]]
00:00:12 #181 [Verbose] > let color =
00:00:12 #182 [Verbose] > match result.Expected = result.Result with
00:00:12 #183 [Verbose] > | true -> Some ConsoleColor.DarkGreen
00:00:12 #184 [Verbose] > | false -> Some ConsoleColor.DarkRed
00:00:12 #185 [Verbose] > row, color
00:00:12 #186 [Verbose] > )
00:00:12 #187 [Verbose] > let header =
00:00:12 #188 [Verbose] > [[
00:00:12 #189 [Verbose] > [[
00:00:12 #190 [Verbose] > "Input"
00:00:12 #191 [Verbose] > "Expected"
00:00:12 #192 [Verbose] > "Result"
00:00:12 #193 [Verbose] > "Best"
00:00:12 #194 [Verbose] > ]]
00:00:12 #195 [Verbose] > [[
00:00:12 #196 [Verbose] > "---"
00:00:12 #197 [Verbose] > "---"
00:00:12 #198 [Verbose] > "---"
00:00:12 #199 [Verbose] > "---"
00:00:12 #200 [Verbose] > ]]
00:00:12 #201 [Verbose] > ]]
00:00:12 #202 [Verbose] > |> List.map (fun row -> row, None)
00:00:12 #203 [Verbose] > header @ rows
00:00:12 #204 [Verbose] >
00:00:12 #205 [Verbose] > let formattedTable =
00:00:12 #206 [Verbose] > let lengthMap =
00:00:12 #207 [Verbose] > table
00:00:12 #208 [Verbose] > |> List.map fst
00:00:12 #209 [Verbose] > |> List.transpose
00:00:12 #210 [Verbose] > |> List.map (fun column ->
00:00:12 #211 [Verbose] > column
00:00:12 #212 [Verbose] > |> List.map String.length
00:00:12 #213 [Verbose] > |> List.sortDescending
00:00:12 #214 [Verbose] > |> List.tryHead
00:00:12 #215 [Verbose] > |> Option.defaultValue 0
00:00:12 #216 [Verbose] > )
00:00:12 #217 [Verbose] > |> List.indexed
00:00:12 #218 [Verbose] > |> Map.ofList
00:00:12 #219 [Verbose] > table
00:00:12 #220 [Verbose] > |> List.map (fun (row, color) ->
00:00:12 #221 [Verbose] > let newRow =
00:00:12 #222 [Verbose] > row
00:00:12 #223 [Verbose] > |> List.mapi (fun i cell ->
00:00:12 #224 [Verbose] > cell.PadRight lengthMap.[[i]]
00:00:12 #225 [Verbose] > )
00:00:12 #226 [Verbose] > newRow, color
00:00:12 #227 [Verbose] > )
00:00:12 #228 [Verbose] >
00:00:12 #229 [Verbose] > printfn ""
00:00:12 #230 [Verbose] > formattedTable
00:00:12 #231 [Verbose] > |> List.iter (fun (row, color) ->
00:00:12 #232 [Verbose] > match color with
00:00:12 #233 [Verbose] > | Some color -> Console.ForegroundColor <- color
00:00:12 #234 [Verbose] > | None -> Console.ResetColor ()
00:00:12 #235 [Verbose] >
00:00:12 #236 [Verbose] > printfn "%s" (String.Join ("\t| ", row))
00:00:12 #237 [Verbose] >
00:00:12 #238 [Verbose] > Console.ResetColor ()
00:00:12 #239 [Verbose] > )
00:00:12 #240 [Verbose] >
00:00:12 #241 [Verbose] > let averages =
00:00:12 #242 [Verbose] > resultList
00:00:12 #243 [Verbose] > |> List.map (fun result -> result.TimeList |> List.map float)
00:00:12 #244 [Verbose] > |> List.transpose
00:00:12 #245 [Verbose] > |> List.map List.average
00:00:12 #246 [Verbose] > |> List.map int64
00:00:12 #247 [Verbose] > |> List.indexed
00:00:12 #248 [Verbose] >
00:00:12 #249 [Verbose] > printfn ""
00:00:12 #250 [Verbose] > printfn "Average Ranking "
00:00:12 #251 [Verbose] > averages
00:00:12 #252 [Verbose] > |> List.sortBy snd
00:00:12 #253 [Verbose] > |> List.iter (fun (i, avg) ->
00:00:12 #254 [Verbose] > printfn $"Test case %d{i + 1}. Average Time: %A{avg} "
00:00:12 #255 [Verbose] > )
00:00:12 #256 [Verbose] >
00:00:12 #257 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:12 #258 [Verbose] > let mutable _count =
00:00:12 #259 [Verbose] > if ("CI" |> System.Environment.GetEnvironmentVariable |> fun x -> $"%A{x}")
00:00:12 #260 [Verbose] > <> "<null>"
00:00:12 #261 [Verbose] > then 2000000
00:00:12 #262 [Verbose] > else 2000
00:00:12 #263 [Verbose] >
00:00:12 #264 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:12 #265 [Verbose] > inl is_fast () =
00:00:12 #266 [Verbose] > false
00:00:12 #267 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1551-5562-6250-6eaa2264d0b2\main.spi
00:00:12 #268 [Verbose] >
00:00:12 #269 [Verbose] > ╭─[ 273.70ms - stdout ]────────────────────────────────────────────────────────╮
00:00:12 #270 [Verbose] > │ () │
00:00:12 #271 [Verbose] > │ │
00:00:12 #272 [Verbose] > │ │
00:00:12 #273 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #274 [Verbose] >
00:00:12 #275 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #276 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #277 [Verbose] > │ ## empty3Tests │
00:00:12 #278 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #279 [Verbose] >
00:00:12 #280 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:12 #281 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:12 #282 [Verbose] > │ Test: Empty3 │
00:00:12 #283 [Verbose] > │ │
00:00:12 #284 [Verbose] > │ Solution: (a, a) │
00:00:12 #285 [Verbose] > │ Test case 1. A. Time: 91L │
00:00:12 #286 [Verbose] > │ │
00:00:12 #287 [Verbose] > │ Solution: (a, a) │
00:00:12 #288 [Verbose] > │ Test case 1. A. Time: 56L │
00:00:12 #289 [Verbose] > │ │
00:00:12 #290 [Verbose] > │ Input | Expected | Result | Best │
00:00:12 #291 [Verbose] > │ --- | --- | --- | --- │
00:00:12 #292 [Verbose] > │ (a, a) | a | a | (1, 91) │
00:00:12 #293 [Verbose] > │ (a, a) | a | a | (1, 56) │
00:00:12 #294 [Verbose] > │ │
00:00:12 #295 [Verbose] > │ Averages │
00:00:12 #296 [Verbose] > │ Test case 1. Average Time: 73L │
00:00:12 #297 [Verbose] > │ │
00:00:12 #298 [Verbose] > │ Ranking │
00:00:12 #299 [Verbose] > │ Test case 1. Average Time: 73L │
00:00:12 #300 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:12 #301 [Verbose] >
00:00:12 #302 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:12 #303 [Verbose] > //// test
00:00:12 #304 [Verbose] >
00:00:12 #305 [Verbose] > let solutions = [[
00:00:12 #306 [Verbose] > "A",
00:00:12 #307 [Verbose] > fun (a, _b) ->
00:00:12 #308 [Verbose] > a
00:00:12 #309 [Verbose] > ]]
00:00:12 #310 [Verbose] > let testCases = seq {
00:00:12 #311 [Verbose] > ("a", "a"), "a"
00:00:12 #312 [Verbose] > ("a", "a"), "a"
00:00:12 #313 [Verbose] > }
00:00:12 #314 [Verbose] > let rec empty3Tests = runAll (nameof empty3Tests) _count solutions testCases
00:00:12 #315 [Verbose] > empty3Tests
00:00:12 #316 [Verbose] > |> sortResultList
00:00:13 #317 [Verbose] >
00:00:13 #318 [Verbose] > ╭─[ 333.59ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #319 [Verbose] > │ │
00:00:13 #320 [Verbose] > │ │
00:00:13 #321 [Verbose] > │ Test: empty3Tests │
00:00:13 #322 [Verbose] > │ │
00:00:13 #323 [Verbose] > │ Solution: (a, a) │
00:00:13 #324 [Verbose] > │ Test case 1. A. Time: 1L │
00:00:13 #325 [Verbose] > │ │
00:00:13 #326 [Verbose] > │ Solution: (a, a) │
00:00:13 #327 [Verbose] > │ Test case 1. A. Time: 0L │
00:00:13 #328 [Verbose] > │ │
00:00:13 #329 [Verbose] > │ Input | Expected | Result | Best │
00:00:13 #330 [Verbose] > │ --- | --- | --- | --- │
00:00:13 #331 [Verbose] > │ (a, a) | a | a | (1, 1) │
00:00:13 #332 [Verbose] > │ (a, a) | a | a | (1, 0) │
00:00:13 #333 [Verbose] > │ │
00:00:13 #334 [Verbose] > │ Average Ranking │
00:00:13 #335 [Verbose] > │ Test case 1. Average Time: 0L │
00:00:13 #336 [Verbose] > │ │
00:00:13 #337 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #338 [Verbose] >
00:00:13 #339 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #340 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #341 [Verbose] > │ ## empty2Tests │
00:00:13 #342 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #343 [Verbose] >
00:00:13 #344 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #345 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #346 [Verbose] > │ Test: Empty2 │
00:00:13 #347 [Verbose] > │ │
00:00:13 #348 [Verbose] > │ Solution: (a, a) │
00:00:13 #349 [Verbose] > │ Test case 1. A. Time: 59L │
00:00:13 #350 [Verbose] > │ │
00:00:13 #351 [Verbose] > │ Solution: (a, a) │
00:00:13 #352 [Verbose] > │ Test case 1. A. Time: 53L │
00:00:13 #353 [Verbose] > │ │
00:00:13 #354 [Verbose] > │ Input | Expected | Result | Best │
00:00:13 #355 [Verbose] > │ --- | --- | --- | --- │
00:00:13 #356 [Verbose] > │ (a, a) | a | a | (1, 59) │
00:00:13 #357 [Verbose] > │ (a, a) | a | a | (1, 53) │
00:00:13 #358 [Verbose] > │ │
00:00:13 #359 [Verbose] > │ Averages │
00:00:13 #360 [Verbose] > │ Test case 1. Average Time: 56L │
00:00:13 #361 [Verbose] > │ │
00:00:13 #362 [Verbose] > │ Ranking │
00:00:13 #363 [Verbose] > │ Test case 1. Average Time: 56L │
00:00:13 #364 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #365 [Verbose] >
00:00:13 #366 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:13 #367 [Verbose] > //// test
00:00:13 #368 [Verbose] >
00:00:13 #369 [Verbose] > let solutions = [[
00:00:13 #370 [Verbose] > "A",
00:00:13 #371 [Verbose] > fun (a, _b) ->
00:00:13 #372 [Verbose] > a
00:00:13 #373 [Verbose] > ]]
00:00:13 #374 [Verbose] > let testCases = seq {
00:00:13 #375 [Verbose] > ("a", "a"), "a"
00:00:13 #376 [Verbose] > ("a", "a"), "a"
00:00:13 #377 [Verbose] > }
00:00:13 #378 [Verbose] > let rec empty2Tests = runAll (nameof empty2Tests) _count solutions testCases
00:00:13 #379 [Verbose] > empty2Tests
00:00:13 #380 [Verbose] > |> sortResultList
00:00:13 #381 [Verbose] >
00:00:13 #382 [Verbose] > ╭─[ 281.82ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #383 [Verbose] > │ │
00:00:13 #384 [Verbose] > │ │
00:00:13 #385 [Verbose] > │ Test: empty2Tests │
00:00:13 #386 [Verbose] > │ │
00:00:13 #387 [Verbose] > │ Solution: (a, a) │
00:00:13 #388 [Verbose] > │ Test case 1. A. Time: 0L │
00:00:13 #389 [Verbose] > │ │
00:00:13 #390 [Verbose] > │ Solution: (a, a) │
00:00:13 #391 [Verbose] > │ Test case 1. A. Time: 0L │
00:00:13 #392 [Verbose] > │ │
00:00:13 #393 [Verbose] > │ Input | Expected | Result | Best │
00:00:13 #394 [Verbose] > │ --- | --- | --- | --- │
00:00:13 #395 [Verbose] > │ (a, a) | a | a | (1, 0) │
00:00:13 #396 [Verbose] > │ (a, a) | a | a | (1, 0) │
00:00:13 #397 [Verbose] > │ │
00:00:13 #398 [Verbose] > │ Average Ranking │
00:00:13 #399 [Verbose] > │ Test case 1. Average Time: 0L │
00:00:13 #400 [Verbose] > │ │
00:00:13 #401 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #402 [Verbose] >
00:00:13 #403 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #404 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #405 [Verbose] > │ ## emptyTests │
00:00:13 #406 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #407 [Verbose] >
00:00:13 #408 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #409 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #410 [Verbose] > │ Test: Empty │
00:00:13 #411 [Verbose] > │ │
00:00:13 #412 [Verbose] > │ Solution: 0 │
00:00:13 #413 [Verbose] > │ Test case 1. A. Time: 61L │
00:00:13 #414 [Verbose] > │ │
00:00:13 #415 [Verbose] > │ Solution: 2 │
00:00:13 #416 [Verbose] > │ Test case 1. A. Time: 62L │
00:00:13 #417 [Verbose] > │ │
00:00:13 #418 [Verbose] > │ Solution: 5 │
00:00:13 #419 [Verbose] > │ Test case 1. A. Time: 70L │
00:00:13 #420 [Verbose] > │ │
00:00:13 #421 [Verbose] > │ Input | Expected | Result | Best │
00:00:13 #422 [Verbose] > │ --- | --- | --- | --- │
00:00:13 #423 [Verbose] > │ 0 | 0 | 0 | (1, 61) │
00:00:13 #424 [Verbose] > │ 2 | 2 | 2 | (1, 62) │
00:00:13 #425 [Verbose] > │ 5 | 5 | 5 | (1, 70) │
00:00:13 #426 [Verbose] > │ │
00:00:13 #427 [Verbose] > │ Averages │
00:00:13 #428 [Verbose] > │ Test case 1. Average Time: 64L │
00:00:13 #429 [Verbose] > │ │
00:00:13 #430 [Verbose] > │ Ranking │
00:00:13 #431 [Verbose] > │ Test case 1. Average Time: 64L │
00:00:13 #432 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #433 [Verbose] >
00:00:13 #434 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:13 #435 [Verbose] > //// test
00:00:13 #436 [Verbose] >
00:00:13 #437 [Verbose] > let solutions = [[
00:00:13 #438 [Verbose] > "A",
00:00:13 #439 [Verbose] > fun n ->
00:00:13 #440 [Verbose] > n + 0
00:00:13 #441 [Verbose] > ]]
00:00:13 #442 [Verbose] > let testCases = seq {
00:00:13 #443 [Verbose] > 0, 0
00:00:13 #444 [Verbose] > 2, 2
00:00:13 #445 [Verbose] > 5, 5
00:00:13 #446 [Verbose] > }
00:00:13 #447 [Verbose] > let rec emptyTests = runAll (nameof emptyTests) _count solutions testCases
00:00:13 #448 [Verbose] > emptyTests
00:00:13 #449 [Verbose] > |> sortResultList
00:00:13 #450 [Verbose] >
00:00:13 #451 [Verbose] > ╭─[ 392.81ms - stdout ]────────────────────────────────────────────────────────╮
00:00:13 #452 [Verbose] > │ │
00:00:13 #453 [Verbose] > │ │
00:00:13 #454 [Verbose] > │ Test: emptyTests │
00:00:13 #455 [Verbose] > │ │
00:00:13 #456 [Verbose] > │ Solution: 0 │
00:00:13 #457 [Verbose] > │ Test case 1. A. Time: 2L │
00:00:13 #458 [Verbose] > │ │
00:00:13 #459 [Verbose] > │ Solution: 2 │
00:00:13 #460 [Verbose] > │ Test case 1. A. Time: 0L │
00:00:13 #461 [Verbose] > │ │
00:00:13 #462 [Verbose] > │ Solution: 5 │
00:00:13 #463 [Verbose] > │ Test case 1. A. Time: 0L │
00:00:13 #464 [Verbose] > │ │
00:00:13 #465 [Verbose] > │ Input | Expected | Result | Best │
00:00:13 #466 [Verbose] > │ --- | --- | --- | --- │
00:00:13 #467 [Verbose] > │ 0 | 0 | 0 | (1, 2) │
00:00:13 #468 [Verbose] > │ 2 | 2 | 2 | (1, 0) │
00:00:13 #469 [Verbose] > │ 5 | 5 | 5 | (1, 0) │
00:00:13 #470 [Verbose] > │ │
00:00:13 #471 [Verbose] > │ Average Ranking │
00:00:13 #472 [Verbose] > │ Test case 1. Average Time: 0L │
00:00:13 #473 [Verbose] > │ │
00:00:13 #474 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #475 [Verbose] >
00:00:13 #476 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #477 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #478 [Verbose] > │ ## uniqueLettersTests │
00:00:13 #479 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #480 [Verbose] >
00:00:13 #481 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:13 #482 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:13 #483 [Verbose] > │ Test: UniqueLetters │
00:00:13 #484 [Verbose] > │ │
00:00:13 #485 [Verbose] > │ Solution: abc │
00:00:13 #486 [Verbose] > │ Test case 1. A. Time: 1512L │
00:00:13 #487 [Verbose] > │ Test case 2. B. Time: 1947L │
00:00:13 #488 [Verbose] > │ Test case 3. C. Time: 2023L │
00:00:13 #489 [Verbose] > │ Test case 4. D. Time: 1358L │
00:00:13 #490 [Verbose] > │ Test case 5. E. Time: 1321L │
00:00:13 #491 [Verbose] > │ Test case 6. F. Time: 1346L │
00:00:13 #492 [Verbose] > │ Test case 7. G. Time: 1304L │
00:00:13 #493 [Verbose] > │ Test case 8. H. Time: 1383L │
00:00:13 #494 [Verbose] > │ Test case 9. I. Time: 1495L │
00:00:13 #495 [Verbose] > │ Test case 10. J. Time: 1245L │
00:00:13 #496 [Verbose] > │ Test case 11. K. Time: 1219L │
00:00:13 #497 [Verbose] > │ │
00:00:13 #498 [Verbose] > │ Solution: accabb │
00:00:13 #499 [Verbose] > │ Test case 1. A. Time: 1648L │
00:00:13 #500 [Verbose] > │ Test case 2. B. Time: 2061L │
00:00:13 #501 [Verbose] > │ Test case 3. C. Time: 2413L │
00:00:13 #502 [Verbose] > │ Test case 4. D. Time: 1561L │
00:00:13 #503 [Verbose] > │ Test case 5. E. Time: 1593L │
00:00:13 #504 [Verbose] > │ Test case 6. F. Time: 1518L │
00:00:13 #505 [Verbose] > │ Test case 7. G. Time: 1415L │
00:00:13 #506 [Verbose] > │ Test case 8. H. Time: 1510L │
00:00:13 #507 [Verbose] > │ Test case 9. I. Time: 1445L │
00:00:13 #508 [Verbose] > │ Test case 10. J. Time: 1636L │
00:00:13 #509 [Verbose] > │ Test case 11. K. Time: 1317L │
00:00:13 #510 [Verbose] > │ │
00:00:13 #511 [Verbose] > │ Solution: pprrqqpp │
00:00:13 #512 [Verbose] > │ Test case 1. A. Time: 2255L │
00:00:13 #513 [Verbose] > │ Test case 2. B. Time: 2408L │
00:00:13 #514 [Verbose] > │ Test case 3. C. Time: 2393L │
00:00:13 #515 [Verbose] > │ Test case 4. D. Time: 1675L │
00:00:13 #516 [Verbose] > │ Test case 5. E. Time: 1911L │
00:00:13 #517 [Verbose] > │ Test case 6. F. Time: 2126L │
00:00:13 #518 [Verbose] > │ Test case 7. G. Time: 1504L │
00:00:13 #519 [Verbose] > │ Test case 8. H. Time: 1715L │
00:00:13 #520 [Verbose] > │ Test case 9. I. Time: 1537L │
00:00:13 #521 [Verbose] > │ Test case 10. J. Time: 1522L │
00:00:13 #522 [Verbose] > │ Test case 11. K. Time: 1322L │
00:00:13 #523 [Verbose] > │ │
00:00:13 #524 [Verbose] > │ Solution: │
00:00:13 #525 [Verbose] > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │
00:00:13 #526 [Verbose] > │ bbb │
00:00:13 #527 [Verbose] > │ Test case 1. A. Time: 13073L │
00:00:13 #528 [Verbose] > │ Test case 2. B. Time: 11519L │
00:00:13 #529 [Verbose] > │ Test case 3. C. Time: 8373L │
00:00:13 #530 [Verbose] > │ Test case 4. D. Time: 5860L │
00:00:13 #531 [Verbose] > │ Test case 5. E. Time: 6490L │
00:00:13 #532 [Verbose] > │ Test case 6. F. Time: 6325L │
00:00:13 #533 [Verbose] > │ Test case 7. G. Time: 5799L │
00:00:13 #534 [Verbose] > │ Test case 8. H. Time: 7099L │
00:00:13 #535 [Verbose] > │ Test case 9. I. Time: 6133L │
00:00:13 #536 [Verbose] > │ Test case 10. J. Time: 5993L │
00:00:13 #537 [Verbose] > │ Test case 11. K. Time: 2040L │
00:00:13 #538 [Verbose] > │ │
00:00:13 #539 [Verbose] > │ Input │
00:00:13 #540 [Verbose] > │ | Expected | Result | Best │
00:00:13 #541 [Verbose] > │ --- │
00:00:13 #542 [Verbose] > │ │
00:00:13 #543 [Verbose] > │ | --- | --- | --- │
00:00:13 #544 [Verbose] > │ abc │
00:00:13 #545 [Verbose] > │ │
00:00:13 #546 [Verbose] > │ | abc | abc | (11, 1219) │
00:00:13 #547 [Verbose] > │ accabb │
00:00:13 #548 [Verbose] > │ | acb | acb | (11, 1317) │
00:00:13 #549 [Verbose] > │ pprrqqpp │
00:00:13 #550 [Verbose] > │ | prq | prq | (11, 1322) │
00:00:13 #551 [Verbose] > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │
00:00:13 #552 [Verbose] > │ bbb | acb | acb | (11, 2040) │
00:00:13 #553 [Verbose] > │ │
00:00:13 #554 [Verbose] > │ Averages │
00:00:13 #555 [Verbose] > │ Test case 1. Average Time: 4622L │
00:00:13 #556 [Verbose] > │ Test case 2. Average Time: 4483L │
00:00:13 #557 [Verbose] > │ Test case 3. Average Time: 3800L │
00:00:13 #558 [Verbose] > │ Test case 4. Average Time: 2613L │
00:00:13 #559 [Verbose] > │ Test case 5. Average Time: 2828L │
00:00:13 #560 [Verbose] > │ Test case 6. Average Time: 2828L │
00:00:13 #561 [Verbose] > │ Test case 7. Average Time: 2505L │
00:00:13 #562 [Verbose] > │ Test case 8. Average Time: 2926L │
00:00:13 #563 [Verbose] > │ Test case 9. Average Time: 2652L │
00:00:13 #564 [Verbose] > │ Test case 10. Average Time: 2599L │
00:00:13 #565 [Verbose] > │ Test case 11. Average Time: 1474L │
00:00:13 #566 [Verbose] > │ │
00:00:13 #567 [Verbose] > │ Ranking │
00:00:13 #568 [Verbose] > │ Test case 1. Average Time: 4622L │
00:00:13 #569 [Verbose] > │ Test case 2. Average Time: 4483L │
00:00:13 #570 [Verbose] > │ Test case 3. Average Time: 3800L │
00:00:13 #571 [Verbose] > │ Test case 8. Average Time: 2926L │
00:00:13 #572 [Verbose] > │ Test case 5. Average Time: 2828L │
00:00:13 #573 [Verbose] > │ Test case 6. Average Time: 2828L │
00:00:13 #574 [Verbose] > │ Test case 9. Average Time: 2652L │
00:00:13 #575 [Verbose] > │ Test case 4. Average Time: 2613L │
00:00:13 #576 [Verbose] > │ Test case 10. Average Time: 2599L │
00:00:13 #577 [Verbose] > │ Test case 7. Average Time: 2505L │
00:00:13 #578 [Verbose] > │ Test case 11. Average Time: 1474L │
00:00:13 #579 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:13 #580 [Verbose] >
00:00:13 #581 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:13 #582 [Verbose] > //// test
00:00:13 #583 [Verbose] >
00:00:13 #584 [Verbose] > let solutions = [[
00:00:13 #585 [Verbose] > "A",
00:00:13 #586 [Verbose] > fun input ->
00:00:13 #587 [Verbose] > input
00:00:13 #588 [Verbose] > |> Seq.toList
00:00:13 #589 [Verbose] > |> List.fold (fun acc x -> if List.contains x acc then acc else acc @ [[
00:00:13 #590 [Verbose] > x ]]) [[]]
00:00:13 #591 [Verbose] > |> Seq.toArray
00:00:13 #592 [Verbose] > |> String
00:00:13 #593 [Verbose] >
00:00:13 #594 [Verbose] > "B",
00:00:13 #595 [Verbose] > fun input ->
00:00:13 #596 [Verbose] > input
00:00:13 #597 [Verbose] > |> Seq.rev
00:00:13 #598 [Verbose] > |> fun list -> Seq.foldBack (fun x acc -> if List.contains x acc then
00:00:13 #599 [Verbose] > acc else x :: acc) list [[]]
00:00:13 #600 [Verbose] > |> Seq.rev
00:00:13 #601 [Verbose] > |> Seq.toArray
00:00:13 #602 [Verbose] > |> String
00:00:13 #603 [Verbose] >
00:00:13 #604 [Verbose] > "C",
00:00:13 #605 [Verbose] > fun input ->
00:00:13 #606 [Verbose] > input
00:00:13 #607 [Verbose] > |> Seq.rev
00:00:13 #608 [Verbose] > |> fun list -> Seq.foldBack (fun x (set, acc) -> if Set.contains x set
00:00:13 #609 [Verbose] > then set, acc else set.Add x, x :: acc) list (Set.empty, [[]])
00:00:13 #610 [Verbose] > |> snd
00:00:13 #611 [Verbose] > |> Seq.rev
00:00:13 #612 [Verbose] > |> Seq.toArray
00:00:13 #613 [Verbose] > |> String
00:00:13 #614 [Verbose] >
00:00:13 #615 [Verbose] > "D",
00:00:13 #616 [Verbose] > fun input ->
00:00:13 #617 [Verbose] > input
00:00:13 #618 [Verbose] > |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc
00:00:13 #619 [Verbose] > else set.Add x, Array.append acc [[| x |]]) (Set.empty, [[||]])
00:00:13 #620 [Verbose] > |> snd
00:00:13 #621 [Verbose] > |> String
00:00:13 #622 [Verbose] >
00:00:13 #623 [Verbose] > "E",
00:00:13 #624 [Verbose] > fun input ->
00:00:13 #625 [Verbose] > input
00:00:13 #626 [Verbose] > |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc
00:00:13 #627 [Verbose] > else set.Add x, x :: acc) (Set.empty, [[]])
00:00:13 #628 [Verbose] > |> snd
00:00:13 #629 [Verbose] > |> List.rev
00:00:13 #630 [Verbose] > |> List.toArray
00:00:13 #631 [Verbose] > |> String
00:00:13 #632 [Verbose] >
00:00:13 #633 [Verbose] > "F",
00:00:13 #634 [Verbose] > fun input ->
00:00:13 #635 [Verbose] > input
00:00:13 #636 [Verbose] > |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc
00:00:13 #637 [Verbose] > else set.Add x, acc @ [[ x ]]) (Set.empty, [[]])
00:00:13 #638 [Verbose] > |> snd
00:00:13 #639 [Verbose] > |> List.toArray
00:00:13 #640 [Verbose] > |> String
00:00:13 #641 [Verbose] >
00:00:13 #642 [Verbose] > "G",
00:00:13 #643 [Verbose] > fun input ->
00:00:13 #644 [Verbose] > input
00:00:13 #645 [Verbose] > |> Seq.fold (fun (set, acc) x -> if Set.contains x set then set, acc
00:00:13 #646 [Verbose] > else set.Add x, x :: acc) (Set.empty, [[]])
00:00:13 #647 [Verbose] > |> snd
00:00:13 #648 [Verbose] > |> List.toArray
00:00:13 #649 [Verbose] > |> Array.rev
00:00:13 #650 [Verbose] > |> String
00:00:13 #651 [Verbose] >
00:00:13 #652 [Verbose] > "H",
00:00:13 #653 [Verbose] > fun input ->
00:00:13 #654 [Verbose] > input
00:00:13 #655 [Verbose] > |> Seq.toList
00:00:13 #656 [Verbose] > |> fun list ->
00:00:13 #657 [Verbose] > let rec loop set = function
00:00:13 #658 [Verbose] > | head :: tail when Set.contains head set -> loop set tail
00:00:13 #659 [Verbose] > | head :: tail -> (loop (set.Add head) tail) @ [[ head ]]
00:00:13 #660 [Verbose] > | [[]] -> [[]]
00:00:13 #661 [Verbose] > loop Set.empty list
00:00:13 #662 [Verbose] > |> List.rev
00:00:13 #663 [Verbose] > |> List.toArray
00:00:13 #664 [Verbose] > |> String
00:00:13 #665 [Verbose] >
00:00:13 #666 [Verbose] > "I",
00:00:13 #667 [Verbose] > fun input ->
00:00:13 #668 [Verbose] > input
00:00:13 #669 [Verbose] > |> Seq.toList
00:00:13 #670 [Verbose] > |> fun list ->
00:00:13 #671 [Verbose] > let rec loop set = function
00:00:13 #672 [Verbose] > | head :: tail when Set.contains head set -> loop set tail
00:00:13 #673 [Verbose] > | head :: tail -> loop (set.Add head) tail |> Array.append [[|
00:00:13 #674 [Verbose] > head |]]
00:00:13 #675 [Verbose] > | [[]] -> [[||]]
00:00:13 #676 [Verbose] > loop Set.empty list
00:00:13 #677 [Verbose] > |> String
00:00:13 #678 [Verbose] >
00:00:13 #679 [Verbose] > "J",
00:00:13 #680 [Verbose] > fun input ->
00:00:13 #681 [Verbose] > input
00:00:13 #682 [Verbose] > |> Seq.toList
00:00:13 #683 [Verbose] > |> fun list ->
00:00:13 #684 [Verbose] > let rec loop set = function
00:00:13 #685 [Verbose] > | head :: tail when Set.contains head set -> loop set tail
00:00:13 #686 [Verbose] > | head :: tail -> head :: loop (set.Add head) tail
00:00:13 #687 [Verbose] > | [[]] -> [[]]
00:00:13 #688 [Verbose] > loop Set.empty list
00:00:13 #689 [Verbose] > |> List.toArray
00:00:13 #690 [Verbose] > |> String
00:00:13 #691 [Verbose] >
00:00:13 #692 [Verbose] > "K",
00:00:13 #693 [Verbose] > fun input ->
00:00:13 #694 [Verbose] > input
00:00:13 #695 [Verbose] > |> Seq.distinct
00:00:13 #696 [Verbose] > |> Seq.toArray
00:00:13 #697 [Verbose] > |> String
00:00:13 #698 [Verbose] > ]]
00:00:13 #699 [Verbose] > let testCases = seq {
00:00:13 #700 [Verbose] > "abc", "abc"
00:00:13 #701 [Verbose] > "accabb", "acb"
00:00:13 #702 [Verbose] > "pprrqqpp", "prq"
00:00:13 #703 [Verbose] >
00:00:13 #704 [Verbose] > "aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbbbbb
00:00:13 #705 [Verbose] > ", "acb"
00:00:13 #706 [Verbose] > }
00:00:13 #707 [Verbose] > let rec uniqueLettersTests = runAll (nameof uniqueLettersTests) _count solutions
00:00:13 #708 [Verbose] > testCases
00:00:13 #709 [Verbose] > uniqueLettersTests
00:00:13 #710 [Verbose] > |> sortResultList
00:00:19 #711 [Verbose] >
00:00:19 #712 [Verbose] > ╭─[ 5.91s - stdout ]───────────────────────────────────────────────────────────╮
00:00:19 #713 [Verbose] > │ │
00:00:19 #714 [Verbose] > │ │
00:00:19 #715 [Verbose] > │ Test: uniqueLettersTests │
00:00:19 #716 [Verbose] > │ │
00:00:19 #717 [Verbose] > │ Solution: abc │
00:00:19 #718 [Verbose] > │ Test case 1. A. Time: 4L │
00:00:19 #719 [Verbose] > │ Test case 2. B. Time: 6L │
00:00:19 #720 [Verbose] > │ Test case 3. C. Time: 7L │
00:00:19 #721 [Verbose] > │ Test case 4. D. Time: 2L │
00:00:19 #722 [Verbose] > │ Test case 5. E. Time: 2L │
00:00:19 #723 [Verbose] > │ Test case 6. F. Time: 1L │
00:00:19 #724 [Verbose] > │ Test case 7. G. Time: 1L │
00:00:19 #725 [Verbose] > │ Test case 8. H. Time: 2L │
00:00:19 #726 [Verbose] > │ Test case 9. I. Time: 2L │
00:00:19 #727 [Verbose] > │ Test case 10. J. Time: 1L │
00:00:19 #728 [Verbose] > │ Test case 11. K. Time: 3L │
00:00:19 #729 [Verbose] > │ │
00:00:19 #730 [Verbose] > │ Solution: accabb │
00:00:19 #731 [Verbose] > │ Test case 1. A. Time: 1L │
00:00:19 #732 [Verbose] > │ Test case 2. B. Time: 1L │
00:00:19 #733 [Verbose] > │ Test case 3. C. Time: 2L │
00:00:19 #734 [Verbose] > │ Test case 4. D. Time: 4L │
00:00:19 #735 [Verbose] > │ Test case 5. E. Time: 1L │
00:00:19 #736 [Verbose] > │ Test case 6. F. Time: 1L │
00:00:19 #737 [Verbose] > │ Test case 7. G. Time: 1L │
00:00:19 #738 [Verbose] > │ Test case 8. H. Time: 1L │
00:00:19 #739 [Verbose] > │ Test case 9. I. Time: 0L │
00:00:19 #740 [Verbose] > │ Test case 10. J. Time: 1L │
00:00:19 #741 [Verbose] > │ Test case 11. K. Time: 1L │
00:00:19 #742 [Verbose] > │ │
00:00:19 #743 [Verbose] > │ Solution: pprrqqpp │
00:00:19 #744 [Verbose] > │ Test case 1. A. Time: 1L │
00:00:19 #745 [Verbose] > │ Test case 2. B. Time: 1L │
00:00:19 #746 [Verbose] > │ Test case 3. C. Time: 1L │
00:00:19 #747 [Verbose] > │ Test case 4. D. Time: 1L │
00:00:19 #748 [Verbose] > │ Test case 5. E. Time: 1L │
00:00:19 #749 [Verbose] > │ Test case 6. F. Time: 1L │
00:00:19 #750 [Verbose] > │ Test case 7. G. Time: 1L │
00:00:19 #751 [Verbose] > │ Test case 8. H. Time: 1L │
00:00:19 #752 [Verbose] > │ Test case 9. I. Time: 1L │
00:00:19 #753 [Verbose] > │ Test case 10. J. Time: 1L │
00:00:19 #754 [Verbose] > │ Test case 11. K. Time: 1L │
00:00:19 #755 [Verbose] > │ │
00:00:19 #756 [Verbose] > │ Solution: │
00:00:19 #757 [Verbose] > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │
00:00:19 #758 [Verbose] > │ bbb │
00:00:19 #759 [Verbose] > │ Test case 1. A. Time: 12L │
00:00:19 #760 [Verbose] > │ Test case 2. B. Time: 9L │
00:00:19 #761 [Verbose] > │ Test case 3. C. Time: 13L │
00:00:19 #762 [Verbose] > │ Test case 4. D. Time: 8L │
00:00:19 #763 [Verbose] > │ Test case 5. E. Time: 9L │
00:00:19 #764 [Verbose] > │ Test case 6. F. Time: 8L │
00:00:19 #765 [Verbose] > │ Test case 7. G. Time: 8L │
00:00:19 #766 [Verbose] > │ Test case 8. H. Time: 9L │
00:00:19 #767 [Verbose] > │ Test case 9. I. Time: 6L │
00:00:19 #768 [Verbose] > │ Test case 10. J. Time: 8L │
00:00:19 #769 [Verbose] > │ Test case 11. K. Time: 2L │
00:00:19 #770 [Verbose] > │ │
00:00:19 #771 [Verbose] > │ Input │
00:00:19 #772 [Verbose] > │ | Expected | Result | Best │
00:00:19 #773 [Verbose] > │ --- │
00:00:19 #774 [Verbose] > │ | --- | --- | --- │
00:00:19 #775 [Verbose] > │ abc │
00:00:19 #776 [Verbose] > │ | abc | abc | (6, 1) │
00:00:19 #777 [Verbose] > │ accabb │
00:00:19 #778 [Verbose] > │ | acb | acb | (9, 0) │
00:00:19 #779 [Verbose] > │ pprrqqpp │
00:00:19 #780 [Verbose] > │ | prq | prq | (1, 1) │
00:00:19 #781 [Verbose] > │ aaaaaaaaaaaaaaccccccabbbbbbbaaacccbbbaaccccccccccacbbbbbbbbbbbbbcccccccbbbbb │
00:00:19 #782 [Verbose] > │ bbb | acb | acb | (11, 2) │
00:00:19 #783 [Verbose] > │ │
00:00:19 #784 [Verbose] > │ Average Ranking │
00:00:19 #785 [Verbose] > │ Test case 11. Average Time: 1L │
00:00:19 #786 [Verbose] > │ Test case 6. Average Time: 2L │
00:00:19 #787 [Verbose] > │ Test case 7. Average Time: 2L │
00:00:19 #788 [Verbose] > │ Test case 9. Average Time: 2L │
00:00:19 #789 [Verbose] > │ Test case 10. Average Time: 2L │
00:00:19 #790 [Verbose] > │ Test case 4. Average Time: 3L │
00:00:19 #791 [Verbose] > │ Test case 5. Average Time: 3L │
00:00:19 #792 [Verbose] > │ Test case 8. Average Time: 3L │
00:00:19 #793 [Verbose] > │ Test case 1. Average Time: 4L │
00:00:19 #794 [Verbose] > │ Test case 2. Average Time: 4L │
00:00:19 #795 [Verbose] > │ Test case 3. Average Time: 5L │
00:00:19 #796 [Verbose] > │ │
00:00:19 #797 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #798 [Verbose] >
00:00:19 #799 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 #800 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 #801 [Verbose] > │ ## rotateStringsTests │
00:00:19 #802 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #803 [Verbose] >
00:00:19 #804 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:19 #805 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:19 #806 [Verbose] > │ https://www.hackerrank.com/challenges/rotate-string/forum │
00:00:19 #807 [Verbose] > │ │
00:00:19 #808 [Verbose] > │ Test: RotateStrings │
00:00:19 #809 [Verbose] > │ │
00:00:19 #810 [Verbose] > │ Solution: abc │
00:00:19 #811 [Verbose] > │ Test case 1. A. Time: 1842L │
00:00:19 #812 [Verbose] > │ Test case 2. B. Time: 1846L │
00:00:19 #813 [Verbose] > │ Test case 3. C. Time: 1936L │
00:00:19 #814 [Verbose] > │ Test case 4. CA. Time: 2224L │
00:00:19 #815 [Verbose] > │ Test case 5. CB. Time: 2329L │
00:00:19 #816 [Verbose] > │ Test case 6. D. Time: 2474L │
00:00:19 #817 [Verbose] > │ Test case 7. E. Time: 1664L │
00:00:19 #818 [Verbose] > │ Test case 8. F. Time: 1517L │
00:00:19 #819 [Verbose] > │ Test case 9. FA. Time: 1651L │
00:00:19 #820 [Verbose] > │ Test case 10. FB. Time: 3764L │
00:00:19 #821 [Verbose] > │ Test case 11. FC. Time: 5415L │
00:00:19 #822 [Verbose] > │ │
00:00:19 #823 [Verbose] > │ Solution: abcde │
00:00:19 #824 [Verbose] > │ Test case 1. A. Time: 3356L │
00:00:19 #825 [Verbose] > │ Test case 2. B. Time: 2592L │
00:00:19 #826 [Verbose] > │ Test case 3. C. Time: 2346L │
00:00:19 #827 [Verbose] > │ Test case 4. CA. Time: 2997L │
00:00:19 #828 [Verbose] > │ Test case 5. CB. Time: 3061L │
00:00:19 #829 [Verbose] > │ Test case 6. D. Time: 4051L │
00:00:19 #830 [Verbose] > │ Test case 7. E. Time: 1905L │
00:00:19 #831 [Verbose] > │ Test case 8. F. Time: 1771L │
00:00:19 #832 [Verbose] > │ Test case 9. FA. Time: 2175L │
00:00:19 #833 [Verbose] > │ Test case 10. FB. Time: 3275L │
00:00:19 #834 [Verbose] > │ Test case 11. FC. Time: 5266L │
00:00:19 #835 [Verbose] > │ │
00:00:19 #836 [Verbose] > │ Solution: abcdefghi │
00:00:19 #837 [Verbose] > │ Test case 1. A. Time: 4492L │
00:00:19 #838 [Verbose] > │ Test case 2. B. Time: 3526L │
00:00:19 #839 [Verbose] > │ Test case 3. C. Time: 3583L │
00:00:19 #840 [Verbose] > │ Test case 4. CA. Time: 3711L │
00:00:19 #841 [Verbose] > │ Test case 5. CB. Time: 4783L │
00:00:19 #842 [Verbose] > │ Test case 6. D. Time: 7557L │
00:00:19 #843 [Verbose] > │ Test case 7. E. Time: 3452L │
00:00:19 #844 [Verbose] > │ Test case 8. F. Time: 3050L │
00:00:19 #845 [Verbose] > │ Test case 9. FA. Time: 3275L │
00:00:19 #846 [Verbose] > │ Test case 10. FB. Time: 4635L │
00:00:19 #847 [Verbose] > │ Test case 11. FC. Time: 5616L │
00:00:19 #848 [Verbose] > │ │
00:00:19 #849 [Verbose] > │ Solution: abab │
00:00:19 #850 [Verbose] > │ Test case 1. A. Time: 2093L │
00:00:19 #851 [Verbose] > │ Test case 2. B. Time: 1843L │
00:00:19 #852 [Verbose] > │ Test case 3. C. Time: 1746L │
00:00:19 #853 [Verbose] > │ Test case 4. CA. Time: 2085L │
00:00:19 #854 [Verbose] > │ Test case 5. CB. Time: 2139L │
00:00:19 #855 [Verbose] > │ Test case 6. D. Time: 2095L │
00:00:19 #856 [Verbose] > │ Test case 7. E. Time: 1723L │
00:00:19 #857 [Verbose] > │ Test case 8. F. Time: 1558L │
00:00:19 #858 [Verbose] > │ Test case 9. FA. Time: 1620L │
00:00:19 #859 [Verbose] > │ Test case 10. FB. Time: 2319L │
00:00:19 #860 [Verbose] > │ Test case 11. FC. Time: 3918L │
00:00:19 #861 [Verbose] > │ │
00:00:19 #862 [Verbose] > │ Solution: aa │
00:00:19 #863 [Verbose] > │ Test case 1. A. Time: 1107L │
00:00:19 #864 [Verbose] > │ Test case 2. B. Time: 1241L │
00:00:19 #865 [Verbose] > │ Test case 3. C. Time: 1183L │
00:00:19 #866 [Verbose] > │ Test case 4. CA. Time: 1563L │
00:00:19 #867 [Verbose] > │ Test case 5. CB. Time: 1525L │
00:00:19 #868 [Verbose] > │ Test case 6. D. Time: 1591L │
00:00:19 #869 [Verbose] > │ Test case 7. E. Time: 1327L │
00:00:19 #870 [Verbose] > │ Test case 8. F. Time: 1151L │
00:00:19 #871 [Verbose] > │ Test case 9. FA. Time: 1180L │
00:00:19 #872 [Verbose] > │ Test case 10. FB. Time: 1733L │
00:00:19 #873 [Verbose] > │ Test case 11. FC. Time: 2817L │
00:00:19 #874 [Verbose] > │ │
00:00:19 #875 [Verbose] > │ Solution: z │
00:00:19 #876 [Verbose] > │ Test case 1. A. Time: 816L │
00:00:19 #877 [Verbose] > │ Test case 2. B. Time: 745L │
00:00:19 #878 [Verbose] > │ Test case 3. C. Time: 928L │
00:00:19 #879 [Verbose] > │ Test case 4. CA. Time: 1375L │
00:00:19 #880 [Verbose] > │ Test case 5. CB. Time: 1029L │
00:00:19 #881 [Verbose] > │ Test case 6. D. Time: 852L │
00:00:19 #882 [Verbose] > │ Test case 7. E. Time: 712L │
00:00:19 #883 [Verbose] > │ Test case 8. F. Time: 263L │
00:00:19 #884 [Verbose] > │ Test case 9. FA. Time: 232L │
00:00:19 #885 [Verbose] > │ Test case 10. FB. Time: 773L │
00:00:19 #886 [Verbose] > │ Test case 11. FC. Time: 1789L │
00:00:19 #887 [Verbose] > │ │
00:00:19 #888 [Verbose] > │ Input | Expected │
00:00:19 #889 [Verbose] > │ │
00:00:19 #890 [Verbose] > │ | Result │
00:00:19 #891 [Verbose] > │ │
00:00:19 #892 [Verbose] > │ | Best │
00:00:19 #893 [Verbose] > │ --- | --- │
00:00:19 #894 [Verbose] > │ │
00:00:19 #895 [Verbose] > │ | --- │
00:00:19 #896 [Verbose] > │ │
00:00:19 #897 [Verbose] > │ | --- │
00:00:19 #898 [Verbose] > │ abc | bca cab abc │
00:00:19 #899 [Verbose] > │ │
00:00:19 #900 [Verbose] > │ | bca cab abc │
00:00:19 #901 [Verbose] > │ │
00:00:19 #902 [Verbose] > │ | (8, 1517) │
00:00:19 #903 [Verbose] > │ abcde | bcdea cdeab deabc eabcd abcde │
00:00:19 #904 [Verbose] > │ | bcdea cdeab deabc eabcd abcde │
00:00:19 #905 [Verbose] > │ | (8, 1771) │
00:00:19 #906 [Verbose] > │ abcdefghi | bcdefghia cdefghiab defghiabc efghiabcd fghiabcde │
00:00:19 #907 [Verbose] > │ ghiabcdef hiabcdefg iabcdefgh abcdefghi | bcdefghia cdefghiab │
00:00:19 #908 [Verbose] > │ defghiabc efghiabcd fghiabcde ghiabcdef hiabcdefg iabcdefgh abcdefghi │
00:00:19 #909 [Verbose] > │ | (8, 3050) │
00:00:19 #910 [Verbose] > │ abab | baba abab baba abab │
00:00:19 #911 [Verbose] > │ │
00:00:19 #912 [Verbose] > │ | baba abab baba abab │
00:00:19 #913 [Verbose] > │ │
00:00:19 #914 [Verbose] > │ | (8, 1558) │
00:00:19 #915 [Verbose] > │ aa | aa aa │
00:00:19 #916 [Verbose] > │ │
00:00:19 #917 [Verbose] > │ | aa aa │
00:00:19 #918 [Verbose] > │ │
00:00:19 #919 [Verbose] > │ | (1, 1107) │
00:00:19 #920 [Verbose] > │ z | z │
00:00:19 #921 [Verbose] > │ │
00:00:19 #922 [Verbose] > │ | z │
00:00:19 #923 [Verbose] > │ │
00:00:19 #924 [Verbose] > │ | (9, 232) │
00:00:19 #925 [Verbose] > │ │
00:00:19 #926 [Verbose] > │ Averages │
00:00:19 #927 [Verbose] > │ Test case 1. Average Time: 2284L │
00:00:19 #928 [Verbose] > │ Test case 2. Average Time: 1965L │
00:00:19 #929 [Verbose] > │ Test case 3. Average Time: 1953L │
00:00:19 #930 [Verbose] > │ Test case 4. Average Time: 2325L │
00:00:19 #931 [Verbose] > │ Test case 5. Average Time: 2477L │
00:00:19 #932 [Verbose] > │ Test case 6. Average Time: 3103L │
00:00:19 #933 [Verbose] > │ Test case 7. Average Time: 1797L │
00:00:19 #934 [Verbose] > │ Test case 8. Average Time: 1551L │
00:00:19 #935 [Verbose] > │ Test case 9. Average Time: 1688L │
00:00:19 #936 [Verbose] > │ Test case 10. Average Time: 2749L │
00:00:19 #937 [Verbose] > │ Test case 11. Average Time: 4136L │
00:00:19 #938 [Verbose] > │ │
00:00:19 #939 [Verbose] > │ Ranking │
00:00:19 #940 [Verbose] > │ Test case 11. Average Time: 4136L │
00:00:19 #941 [Verbose] > │ Test case 6. Average Time: 3103L │
00:00:19 #942 [Verbose] > │ Test case 10. Average Time: 2749L │
00:00:19 #943 [Verbose] > │ Test case 5. Average Time: 2477L │
00:00:19 #944 [Verbose] > │ Test case 4. Average Time: 2325L │
00:00:19 #945 [Verbose] > │ Test case 1. Average Time: 2284L │
00:00:19 #946 [Verbose] > │ Test case 2. Average Time: 1965L │
00:00:19 #947 [Verbose] > │ Test case 3. Average Time: 1953L │
00:00:19 #948 [Verbose] > │ Test case 7. Average Time: 1797L │
00:00:19 #949 [Verbose] > │ Test case 9. Average Time: 1688L │
00:00:19 #950 [Verbose] > │ Test case 8. Average Time: 1551L │
00:00:19 #951 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:19 #952 [Verbose] >
00:00:19 #953 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:00:19 #954 [Verbose] > //// test
00:00:19 #955 [Verbose] >
00:00:19 #956 [Verbose] > let solutions = [[
00:00:19 #957 [Verbose] > "A",
00:00:19 #958 [Verbose] > fun (input: string) ->
00:00:19 #959 [Verbose] > let resultList =
00:00:19 #960 [Verbose] > List.fold (fun acc x ->
00:00:19 #961 [Verbose] > let rotate (text: string) (letter: string) = text.Substring (1,
00:00:19 #962 [Verbose] > input.Length - 1) + letter
00:00:19 #963 [Verbose] > [[ rotate (if acc.IsEmpty then input else acc.Head) (string x)
00:00:19 #964 [Verbose] > ]] @ acc
00:00:19 #965 [Verbose] > ) [[]] (Seq.toList input)
00:00:19 #966 [Verbose] >
00:00:19 #967 [Verbose] > List.foldBack (fun acc x -> x + acc + " ") resultList ""
00:00:19 #968 [Verbose] > |> fun x -> x.TrimEnd ()
00:00:19 #969 [Verbose] >
00:00:19 #970 [Verbose] > "B",
00:00:19 #971 [Verbose] > fun input ->
00:00:19 #972 [Verbose] > input
00:00:19 #973 [Verbose] > |> Seq.toList
00:00:19 #974 [Verbose] > |> List.fold (fun (acc: string list) letter ->
00:00:19 #975 [Verbose] > let last =
00:00:19 #976 [Verbose] > if acc.IsEmpty
00:00:19 #977 [Verbose] > then input
00:00:19 #978 [Verbose] > else acc.Head
00:00:19 #979 [Verbose] >
00:00:19 #980 [Verbose] > let item = last.[[1 .. input.Length - 1]] + string letter
00:00:19 #981 [Verbose] >
00:00:19 #982 [Verbose] > item :: acc
00:00:19 #983 [Verbose] > ) [[]]
00:00:19 #984 [Verbose] > |> List.rev
00:00:19 #985 [Verbose] > |> String.concat " "
00:00:19 #986 [Verbose] >
00:00:19 #987 [Verbose] > "C",
00:00:19 #988 [Verbose] > fun input ->
00:00:19 #989 [Verbose] > input
00:00:19 #990 [Verbose] > |> Seq.toList
00:00:19 #991 [Verbose] > |> List.fold (fun (acc: string list) letter -> acc.Head.[[ 1 ..
00:00:19 #992 [Verbose] > input.Length - 1 ]] + string letter :: acc) [[ input ]]
00:00:19 #993 [Verbose] > |> List.rev
00:00:19 #994 [Verbose] > |> List.skip 1
00:00:19 #995 [Verbose] > |> String.concat " "
00:00:19 #996 [Verbose] >
00:00:19 #997 [Verbose] > "CA",
00:00:19 #998 [Verbose] > fun input ->
00:00:19 #999 [Verbose] > input
00:00:19 #1000 [Verbose] > |> Seq.fold (fun (acc: string list) letter -> acc.Head.[[ 1 ..
00:00:19 #1001 [Verbose] > input.Length - 1 ]] + string letter :: acc) [[ input ]]
00:00:19 #1002 [Verbose] > |> Seq.rev
00:00:19 #1003 [Verbose] > |> Seq.skip 1
00:00:19 #1004 [Verbose] > |> String.concat " "
00:00:19 #1005 [Verbose] >
00:00:19 #1006 [Verbose] > "CB",
00:00:19 #1007 [Verbose] > fun input ->
00:00:19 #1008 [Verbose] > input
00:00:19 #1009 [Verbose] > |> Seq.toArray
00:00:19 #1010 [Verbose] > |> Array.fold (fun (acc: string[[]]) letter -> acc |> Array.append [[|
00:00:19 #1011 [Verbose] > acc.[[0]].[[ 1 .. input.Length - 1 ]] + string letter |]]) [[| input |]]
00:00:19 #1012 [Verbose] > |> Array.rev
00:00:19 #1013 [Verbose] > |> Array.skip 1
00:00:19 #1014 [Verbose] > |> String.concat " "
00:00:19 #1015 [Verbose] >
00:00:19 #1016 [Verbose] > "D",
00:00:19 #1017 [Verbose] > fun input ->
00:00:19 #1018 [Verbose] > input
00:00:19 #1019 [Verbose] > |> Seq.toList
00:00:19 #1020 [Verbose] > |> fun list ->
00:00:19 #1021 [Verbose] > let rec loop (acc: char list list) = function
00:00:19 #1022 [Verbose] > | _ when acc.Length = list.Length -> acc
00:00:19 #1023 [Verbose] > | head :: tail ->
00:00:19 #1024 [Verbose] > let item = tail @ [[ head ]]
00:00:19 #1025 [Verbose] > loop (item :: acc) item
00:00:19 #1026 [Verbose] > | [[]] -> [[]]
00:00:19 #1027 [Verbose] > loop [[]] list
00:00:19 #1028 [Verbose] > |> List.rev
00:00:19 #1029 [Verbose] > |> List.map (List.toArray >> String)
00:00:19 #1030 [Verbose] > |> String.concat " "
00:00:19 #1031 [Verbose] >
00:00:19 #1032 [Verbose] > "E",
00:00:19 #1033 [Verbose] > fun input ->
00:00:19 #1034 [Verbose] > input
00:00:19 #1035 [Verbose] > |> Seq.toList
00:00:19 #1036 [Verbose] > |> fun list ->
00:00:19 #1037 [Verbose] > let rec loop (last: string) = function
00:00:19 #1038 [Verbose] > | head :: tail ->
00:00:19 #1039 [Verbose] > let item = last.[[1 .. input.Length - 1]] + string head
00:00:19 #1040 [Verbose] > item :: loop item tail
00:00:19 #1041 [Verbose] > | [[]] -> [[]]
00:00:19 #1042 [Verbose] > loop input list
00:00:19 #1043 [Verbose] > |> String.concat " "
00:00:19 #1044 [Verbose] >
00:00:19 #1045 [Verbose] > "F",
00:00:19 #1046 [Verbose] > fun input ->
00:00:19 #1047 [Verbose] > Array.singleton 0
00:00:19 #1048 [Verbose] > |> Array.append [[| 1 .. input.Length - 1 |]]
00:00:19 #1049 [Verbose] > |> Array.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:19 #1050 [Verbose] > |> String.concat " "
00:00:19 #1051 [Verbose] >
00:00:19 #1052 [Verbose] > "FA",
00:00:19 #1053 [Verbose] > fun input ->
00:00:19 #1054 [Verbose] > List.singleton 0
00:00:19 #1055 [Verbose] > |> List.append [[ 1 .. input.Length - 1 ]]
00:00:19 #1056 [Verbose] > |> List.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:19 #1057 [Verbose] > |> String.concat " "
00:00:19 #1058 [Verbose] >
00:00:19 #1059 [Verbose] > "FB",
00:00:19 #1060 [Verbose] > fun input ->
00:00:19 #1061 [Verbose] > Seq.singleton 0
00:00:19 #1062 [Verbose] > |> Seq.append (seq { 1 .. input.Length - 1 })
00:00:19 #1063 [Verbose] > |> Seq.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:19 #1064 [Verbose] > |> String.concat " "
00:00:19 #1065 [Verbose] >
00:00:19 #1066 [Verbose] > "FC",
00:00:19 #1067 [Verbose] > fun input ->
00:00:19 #1068 [Verbose] > Array.singleton 0
00:00:19 #1069 [Verbose] > |> Array.append [[| 1 .. input.Length - 1 |]]
00:00:19 #1070 [Verbose] > |> Array.Parallel.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:19 #1071 [Verbose] > |> String.concat " "
00:00:19 #1072 [Verbose] > ]]
00:00:19 #1073 [Verbose] > let testCases = seq {
00:00:19 #1074 [Verbose] > "abc", "bca cab abc"
00:00:19 #1075 [Verbose] > "abcde", "bcdea cdeab deabc eabcd abcde"
00:00:19 #1076 [Verbose] > "abcdefghi", "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde ghiabcdef
00:00:19 #1077 [Verbose] > hiabcdefg iabcdefgh abcdefghi"
00:00:19 #1078 [Verbose] > "abab", "baba abab baba abab"
00:00:19 #1079 [Verbose] > "aa", "aa aa"
00:00:19 #1080 [Verbose] > "z", "z"
00:00:19 #1081 [Verbose] > }
00:00:19 #1082 [Verbose] > let rec rotateStringsTests = runAll (nameof rotateStringsTests) _count solutions
00:00:19 #1083 [Verbose] > testCases
00:00:19 #1084 [Verbose] > rotateStringsTests
00:00:19 #1085 [Verbose] > |> sortResultList
00:00:28 #1086 [Verbose] >
00:00:28 #1087 [Verbose] > ╭─[ 8.12s - stdout ]───────────────────────────────────────────────────────────╮
00:00:28 #1088 [Verbose] > │ │
00:00:28 #1089 [Verbose] > │ │
00:00:28 #1090 [Verbose] > │ Test: rotateStringsTests │
00:00:28 #1091 [Verbose] > │ │
00:00:28 #1092 [Verbose] > │ Solution: abc │
00:00:28 #1093 [Verbose] > │ Test case 1. A. Time: 2L │
00:00:28 #1094 [Verbose] > │ Test case 2. B. Time: 2L │
00:00:28 #1095 [Verbose] > │ Test case 3. C. Time: 3L │
00:00:28 #1096 [Verbose] > │ Test case 4. CA. Time: 4L │
00:00:28 #1097 [Verbose] > │ Test case 5. CB. Time: 2L │
00:00:28 #1098 [Verbose] > │ Test case 6. D. Time: 2L │
00:00:28 #1099 [Verbose] > │ Test case 7. E. Time: 1L │
00:00:28 #1100 [Verbose] > │ Test case 8. F. Time: 2L │
00:00:28 #1101 [Verbose] > │ Test case 9. FA. Time: 3L │
00:00:28 #1102 [Verbose] > │ Test case 10. FB. Time: 9L │
00:00:28 #1103 [Verbose] > │ Test case 11. FC. Time: 9L │
00:00:28 #1104 [Verbose] > │ │
00:00:28 #1105 [Verbose] > │ Solution: abcde │
00:00:28 #1106 [Verbose] > │ Test case 1. A. Time: 1L │
00:00:28 #1107 [Verbose] > │ Test case 2. B. Time: 1L │
00:00:28 #1108 [Verbose] > │ Test case 3. C. Time: 1L │
00:00:28 #1109 [Verbose] > │ Test case 4. CA. Time: 1L │
00:00:28 #1110 [Verbose] > │ Test case 5. CB. Time: 1L │
00:00:28 #1111 [Verbose] > │ Test case 6. D. Time: 5L │
00:00:28 #1112 [Verbose] > │ Test case 7. E. Time: 1L │
00:00:28 #1113 [Verbose] > │ Test case 8. F. Time: 0L │
00:00:28 #1114 [Verbose] > │ Test case 9. FA. Time: 1L │
00:00:28 #1115 [Verbose] > │ Test case 10. FB. Time: 5L │
00:00:28 #1116 [Verbose] > │ Test case 11. FC. Time: 5L │
00:00:28 #1117 [Verbose] > │ │
00:00:28 #1118 [Verbose] > │ Solution: abcdefghi │
00:00:28 #1119 [Verbose] > │ Test case 1. A. Time: 4L │
00:00:28 #1120 [Verbose] > │ Test case 2. B. Time: 5L │
00:00:28 #1121 [Verbose] > │ Test case 3. C. Time: 1L │
00:00:28 #1122 [Verbose] > │ Test case 4. CA. Time: 4L │
00:00:28 #1123 [Verbose] > │ Test case 5. CB. Time: 2L │
00:00:28 #1124 [Verbose] > │ Test case 6. D. Time: 8L │
00:00:28 #1125 [Verbose] > │ Test case 7. E. Time: 2L │
00:00:28 #1126 [Verbose] > │ Test case 8. F. Time: 1L │
00:00:28 #1127 [Verbose] > │ Test case 9. FA. Time: 4L │
00:00:28 #1128 [Verbose] > │ Test case 10. FB. Time: 1L │
00:00:28 #1129 [Verbose] > │ Test case 11. FC. Time: 8L │
00:00:28 #1130 [Verbose] > │ │
00:00:28 #1131 [Verbose] > │ Solution: abab │
00:00:28 #1132 [Verbose] > │ Test case 1. A. Time: 0L │
00:00:28 #1133 [Verbose] > │ Test case 2. B. Time: 0L │
00:00:28 #1134 [Verbose] > │ Test case 3. C. Time: 0L │
00:00:28 #1135 [Verbose] > │ Test case 4. CA. Time: 1L │
00:00:28 #1136 [Verbose] > │ Test case 5. CB. Time: 0L │
00:00:28 #1137 [Verbose] > │ Test case 6. D. Time: 1L │
00:00:28 #1138 [Verbose] > │ Test case 7. E. Time: 0L │
00:00:28 #1139 [Verbose] > │ Test case 8. F. Time: 0L │
00:00:28 #1140 [Verbose] > │ Test case 9. FA. Time: 0L │
00:00:28 #1141 [Verbose] > │ Test case 10. FB. Time: 1L │
00:00:28 #1142 [Verbose] > │ Test case 11. FC. Time: 5L │
00:00:28 #1143 [Verbose] > │ │
00:00:28 #1144 [Verbose] > │ Solution: aa │
00:00:28 #1145 [Verbose] > │ Test case 1. A. Time: 0L │
00:00:28 #1146 [Verbose] > │ Test case 2. B. Time: 0L │
00:00:28 #1147 [Verbose] > │ Test case 3. C. Time: 0L │
00:00:28 #1148 [Verbose] > │ Test case 4. CA. Time: 1L │
00:00:28 #1149 [Verbose] > │ Test case 5. CB. Time: 0L │
00:00:28 #1150 [Verbose] > │ Test case 6. D. Time: 0L │
00:00:28 #1151 [Verbose] > │ Test case 7. E. Time: 0L │
00:00:28 #1152 [Verbose] > │ Test case 8. F. Time: 0L │
00:00:28 #1153 [Verbose] > │ Test case 9. FA. Time: 0L │
00:00:28 #1154 [Verbose] > │ Test case 10. FB. Time: 1L │
00:00:28 #1155 [Verbose] > │ Test case 11. FC. Time: 5L │
00:00:28 #1156 [Verbose] > │ │
00:00:28 #1157 [Verbose] > │ Solution: z │
00:00:28 #1158 [Verbose] > │ Test case 1. A. Time: 0L │
00:00:28 #1159 [Verbose] > │ Test case 2. B. Time: 0L │
00:00:28 #1160 [Verbose] > │ Test case 3. C. Time: 0L │
00:00:28 #1161 [Verbose] > │ Test case 4. CA. Time: 1L │
00:00:28 #1162 [Verbose] > │ Test case 5. CB. Time: 0L │
00:00:28 #1163 [Verbose] > │ Test case 6. D. Time: 0L │
00:00:28 #1164 [Verbose] > │ Test case 7. E. Time: 0L │
00:00:28 #1165 [Verbose] > │ Test case 8. F. Time: 0L │
00:00:28 #1166 [Verbose] > │ Test case 9. FA. Time: 0L │
00:00:28 #1167 [Verbose] > │ Test case 10. FB. Time: 0L │
00:00:28 #1168 [Verbose] > │ Test case 11. FC. Time: 4L │
00:00:28 #1169 [Verbose] > │ │
00:00:28 #1170 [Verbose] > │ Input | Expected │
00:00:28 #1171 [Verbose] > │ │
00:00:28 #1172 [Verbose] > │ | Result │
00:00:28 #1173 [Verbose] > │ │
00:00:28 #1174 [Verbose] > │ | Best │
00:00:28 #1175 [Verbose] > │ --- | --- │
00:00:28 #1176 [Verbose] > │ │
00:00:28 #1177 [Verbose] > │ | --- │
00:00:28 #1178 [Verbose] > │ │
00:00:28 #1179 [Verbose] > │ | --- │
00:00:28 #1180 [Verbose] > │ abc | bca cab abc │
00:00:28 #1181 [Verbose] > │ │
00:00:28 #1182 [Verbose] > │ | bca cab abc │
00:00:28 #1183 [Verbose] > │ │
00:00:28 #1184 [Verbose] > │ | (7, 1) │
00:00:28 #1185 [Verbose] > │ abcde | bcdea cdeab deabc eabcd abcde │
00:00:28 #1186 [Verbose] > │ | bcdea cdeab deabc eabcd abcde │
00:00:28 #1187 [Verbose] > │ | (8, 0) │
00:00:28 #1188 [Verbose] > │ abcdefghi | bcdefghia cdefghiab defghiabc efghiabcd fghiabcde ghiabcdef │
00:00:28 #1189 [Verbose] > │ hiabcdefg iabcdefgh abcdefghi | bcdefghia cdefghiab defghiabc efghiabcd │
00:00:28 #1190 [Verbose] > │ fghiabcde ghiabcdef hiabcdefg iabcdefgh abcdefghi | (3, 1) │
00:00:28 #1191 [Verbose] > │ abab | baba abab baba abab │
00:00:28 #1192 [Verbose] > │ | baba abab baba abab │
00:00:28 #1193 [Verbose] > │ | (1, 0) │
00:00:28 #1194 [Verbose] > │ aa | aa aa │
00:00:28 #1195 [Verbose] > │ │
00:00:28 #1196 [Verbose] > │ | aa aa │
00:00:28 #1197 [Verbose] > │ │
00:00:28 #1198 [Verbose] > │ | (1, 0) │
00:00:28 #1199 [Verbose] > │ z | z │
00:00:28 #1200 [Verbose] > │ │
00:00:28 #1201 [Verbose] > │ | z │
00:00:28 #1202 [Verbose] > │ │
00:00:28 #1203 [Verbose] > │ | (1, 0) │
00:00:28 #1204 [Verbose] > │ │
00:00:28 #1205 [Verbose] > │ Average Ranking │
00:00:28 #1206 [Verbose] > │ Test case 3. Average Time: 0L │
00:00:28 #1207 [Verbose] > │ Test case 5. Average Time: 0L │
00:00:28 #1208 [Verbose] > │ Test case 7. Average Time: 0L │
00:00:28 #1209 [Verbose] > │ Test case 8. Average Time: 0L │
00:00:28 #1210 [Verbose] > │ Test case 1. Average Time: 1L │
00:00:28 #1211 [Verbose] > │ Test case 2. Average Time: 1L │
00:00:28 #1212 [Verbose] > │ Test case 9. Average Time: 1L │
00:00:28 #1213 [Verbose] > │ Test case 4. Average Time: 2L │
00:00:28 #1214 [Verbose] > │ Test case 6. Average Time: 2L │
00:00:28 #1215 [Verbose] > │ Test case 10. Average Time: 2L │
00:00:28 #1216 [Verbose] > │ Test case 11. Average Time: 6L │
00:00:28 #1217 [Verbose] > │ │
00:00:28 #1218 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #1219 [Verbose] >
00:00:28 #1220 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:28 #1221 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:28 #1222 [Verbose] > │ ## rotate_strings_tests │
00:00:28 #1223 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:28 #1224 [Verbose] >
00:00:28 #1225 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:28 #1226 [Verbose] > // // test
00:00:28 #1227 [Verbose] > // // timeout=60000
00:00:28 #1228 [Verbose] > // // print_code=true
00:00:28 #1229 [Verbose] >
00:00:28 #1230 [Verbose] > inl get_solutions () =
00:00:28 #1231 [Verbose] > [[
00:00:28 #1232 [Verbose] > // "A",
00:00:28 #1233 [Verbose] > // fun (input : string) =>
00:00:28 #1234 [Verbose] > // let resultList =
00:00:28 #1235 [Verbose] > // List.fold (fun acc x =>
00:00:28 #1236 [Verbose] > // let rotate (text : string) (letter : string) =
00:00:28 #1237 [Verbose] > text.Substring (1, input.Length - 1) + letter
00:00:28 #1238 [Verbose] > // [[ rotate (if acc.IsEmpty then input else acc.Head)
00:00:28 #1239 [Verbose] > (string x) ]] /@ acc
00:00:28 #1240 [Verbose] > // ) [[]] (Seq.toList input)
00:00:28 #1241 [Verbose] >
00:00:28 #1242 [Verbose] > // List.foldBack (fun acc x => x + acc + " ") resultList ""
00:00:28 #1243 [Verbose] > // |> fun x => x.TrimEnd ()
00:00:28 #1244 [Verbose] >
00:00:28 #1245 [Verbose] > // "B",
00:00:28 #1246 [Verbose] > // fun input =>
00:00:28 #1247 [Verbose] > // input
00:00:28 #1248 [Verbose] > // |> Seq.toList
00:00:28 #1249 [Verbose] > // |> List.fold (fun (acc : string list) letter =>
00:00:28 #1250 [Verbose] > // let last =
00:00:28 #1251 [Verbose] > // if acc.IsEmpty
00:00:28 #1252 [Verbose] > // then input
00:00:28 #1253 [Verbose] > // else acc.Head
00:00:28 #1254 [Verbose] >
00:00:28 #1255 [Verbose] > // let item = last.[[1 .. input.Length - 1]] + string letter
00:00:28 #1256 [Verbose] >
00:00:28 #1257 [Verbose] > // item :: acc
00:00:28 #1258 [Verbose] > // ) [[]]
00:00:28 #1259 [Verbose] > // |> List.rev
00:00:28 #1260 [Verbose] > // |> String.concat " "
00:00:28 #1261 [Verbose] >
00:00:28 #1262 [Verbose] > // "C",
00:00:28 #1263 [Verbose] > // fun input =>
00:00:28 #1264 [Verbose] > // input
00:00:28 #1265 [Verbose] > // |> Seq.toList
00:00:28 #1266 [Verbose] > // |> List.fold (fun (acc : list string) letter => acc.Head.[[ 1 ..
00:00:28 #1267 [Verbose] > input.Length - 1 ]] + string letter :: acc) [[ input ]]
00:00:28 #1268 [Verbose] > // |> List.rev
00:00:28 #1269 [Verbose] > // |> List.skip 1
00:00:28 #1270 [Verbose] > // |> String.concat " "
00:00:28 #1271 [Verbose] >
00:00:28 #1272 [Verbose] > // "CA",
00:00:28 #1273 [Verbose] > // fun input =>
00:00:28 #1274 [Verbose] > // input
00:00:28 #1275 [Verbose] > // |> Seq.fold (fun (acc : list string) letter => acc.Head.[[ 1 ..
00:00:28 #1276 [Verbose] > input.Length - 1 ]] + string letter :: acc) [[ input ]]
00:00:28 #1277 [Verbose] > // |> Seq.rev
00:00:28 #1278 [Verbose] > // |> Seq.skip 1
00:00:28 #1279 [Verbose] > // |> String.concat " "
00:00:28 #1280 [Verbose] >
00:00:28 #1281 [Verbose] > // "CB",
00:00:28 #1282 [Verbose] > // fun input =>
00:00:28 #1283 [Verbose] > // input
00:00:28 #1284 [Verbose] > // |> Seq.toArray
00:00:28 #1285 [Verbose] > // |> Array.fold (fun (acc : a _ string) letter => acc |>
00:00:28 #1286 [Verbose] > Array.append (a ;[[ acc.[[0]].[[ 1 .. input.Length - 1 ]] + string letter ]]))
00:00:28 #1287 [Verbose] > (a ;[[ input ]])
00:00:28 #1288 [Verbose] > // |> Array.rev
00:00:28 #1289 [Verbose] > // |> Array.skip 1
00:00:28 #1290 [Verbose] > // |> String.concat " "
00:00:28 #1291 [Verbose] >
00:00:28 #1292 [Verbose] > // "D",
00:00:28 #1293 [Verbose] > // fun input =>
00:00:28 #1294 [Verbose] > // input
00:00:28 #1295 [Verbose] > // |> Seq.toList
00:00:28 #1296 [Verbose] > // |> fun list =>
00:00:28 #1297 [Verbose] > // let rec loop (acc : list (list char)) = function
00:00:28 #1298 [Verbose] > // | _ when acc.Length = list.Length => acc
00:00:28 #1299 [Verbose] > // | head :: tail =>
00:00:28 #1300 [Verbose] > // let item = tail /@ [[ head ]]
00:00:28 #1301 [Verbose] > // loop (item :: acc) item
00:00:28 #1302 [Verbose] > // | [[]] => [[]]
00:00:28 #1303 [Verbose] > // loop [[]] list
00:00:28 #1304 [Verbose] > // |> List.rev
00:00:28 #1305 [Verbose] > // |> List.map (List.toArray >> String)
00:00:28 #1306 [Verbose] > // |> String.concat " "
00:00:28 #1307 [Verbose] >
00:00:28 #1308 [Verbose] > // "E",
00:00:28 #1309 [Verbose] > // fun input =>
00:00:28 #1310 [Verbose] > // input
00:00:28 #1311 [Verbose] > // |> Seq.toList
00:00:28 #1312 [Verbose] > // |> fun list =>
00:00:28 #1313 [Verbose] > // let rec loop (last : string) = function
00:00:28 #1314 [Verbose] > // | head :: tail =>
00:00:28 #1315 [Verbose] > // let item = last.[[1 .. input.Length - 1]] + string
00:00:28 #1316 [Verbose] > head
00:00:28 #1317 [Verbose] > // item :: loop item tail
00:00:28 #1318 [Verbose] > // | [[]] => [[]]
00:00:28 #1319 [Verbose] > // loop input list
00:00:28 #1320 [Verbose] > // |> String.concat " "
00:00:28 #1321 [Verbose] >
00:00:28 #1322 [Verbose] > "F",
00:00:28 #1323 [Verbose] > fun input =>
00:00:28 #1324 [Verbose] > // Array.singleton 0
00:00:28 #1325 [Verbose] > // |> Array.append [[| 1 .. input.Length - 1 |]]
00:00:28 #1326 [Verbose] > // |> Array.map (fun i -> input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:28 #1327 [Verbose] > // |> String.concat " "
00:00:28 #1328 [Verbose] > inl input_length = input |> sm.length
00:00:28 #1329 [Verbose] > am.singleton 0i32
00:00:28 #1330 [Verbose] > |> am.append (am'.init_series 1 (input_length - 1) 1)
00:00:28 #1331 [Verbose] > |> am.map (fun i =>
00:00:28 #1332 [Verbose] > inl a = sm.slice input { from = i; to = input_length - 1 } :
00:00:28 #1333 [Verbose] > string
00:00:28 #1334 [Verbose] > inl b = sm.slice input { from = 0; to = i - 1 } : string
00:00:28 #1335 [Verbose] > $"!a + !b" : string
00:00:28 #1336 [Verbose] > )
00:00:28 #1337 [Verbose] > |> string_concat " "
00:00:28 #1338 [Verbose] >
00:00:28 #1339 [Verbose] > "FA",
00:00:28 #1340 [Verbose] > fun input =>
00:00:28 #1341 [Verbose] > // List.singleton 0
00:00:28 #1342 [Verbose] > // |> List.append [[ 1 .. input.Length - 1 ]]
00:00:28 #1343 [Verbose] > // // |> List.map (fun i => input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:28 #1344 [Verbose] > // |> String.concat " "
00:00:28 #1345 [Verbose] > inl input_length = input |> sm.length
00:00:28 #1346 [Verbose] > listm.singleton 0i32
00:00:28 #1347 [Verbose] > |> listm.append (listm'.init_series 1 (input_length - 1) 1)
00:00:28 #1348 [Verbose] > |> listm.map (fun i =>
00:00:28 #1349 [Verbose] > inl a = sm.slice input { from = i; to = input_length - 1 } :
00:00:28 #1350 [Verbose] > string
00:00:28 #1351 [Verbose] > inl b = if i = 0 then "" else sm.slice input { from = 0; to = i
00:00:28 #1352 [Verbose] > - 1 } : string
00:00:28 #1353 [Verbose] > $"!a + !b" : string
00:00:28 #1354 [Verbose] > )
00:00:28 #1355 [Verbose] > |> listm.toArray
00:00:28 #1356 [Verbose] > |> fun x => x : a i32 _
00:00:28 #1357 [Verbose] > |> string_concat " "
00:00:28 #1358 [Verbose] >
00:00:28 #1359 [Verbose] > // "FB",
00:00:28 #1360 [Verbose] > // fun input =>
00:00:28 #1361 [Verbose] > // Seq.singleton 0
00:00:28 #1362 [Verbose] > // // |> Seq.append (seq { 1 .. input.Length - 1 })
00:00:28 #1363 [Verbose] > // // |> Seq.map (fun i => input.[[ i .. ]] + input.[[ .. i - 1 ]])
00:00:28 #1364 [Verbose] > // |> String.concat " "
00:00:28 #1365 [Verbose] >
00:00:28 #1366 [Verbose] > // "FC",
00:00:28 #1367 [Verbose] > // fun input =>
00:00:28 #1368 [Verbose] > // Array.singleton 0
00:00:28 #1369 [Verbose] > // |> Array.append (a ;[[ 1 .. input.Length - 1 ]])
00:00:28 #1370 [Verbose] > // // |> Array.Parallel.map (fun i => input.[[ i .. ]] + input.[[ ..
00:00:28 #1371 [Verbose] > i - 1 ]])
00:00:28 #1372 [Verbose] > // |> String.concat " "
00:00:28 #1373 [Verbose] > ]]
00:00:28 #1374 [Verbose] >
00:00:28 #1375 [Verbose] > inl rec rotate_strings_tests () =
00:00:28 #1376 [Verbose] > inl test_cases = [[
00:00:28 #1377 [Verbose] > "abc", "bca cab abc"
00:00:28 #1378 [Verbose] > "abcde", "bcdea cdeab deabc eabcd abcde"
00:00:28 #1379 [Verbose] > "abcdefghi", "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde
00:00:28 #1380 [Verbose] > ghiabcdef hiabcdefg iabcdefgh abcdefghi"
00:00:28 #1381 [Verbose] > "abab", "baba abab baba abab"
00:00:28 #1382 [Verbose] > "aa", "aa aa"
00:00:28 #1383 [Verbose] > "z", "z"
00:00:28 #1384 [Verbose] > ]]
00:00:28 #1385 [Verbose] >
00:00:28 #1386 [Verbose] > inl solutions = get_solutions ()
00:00:28 #1387 [Verbose] >
00:00:28 #1388 [Verbose] > // inl is_fast () = true
00:00:28 #1389 [Verbose] >
00:00:28 #1390 [Verbose] > inl count =
00:00:28 #1391 [Verbose] > if is_fast ()
00:00:28 #1392 [Verbose] > then 1000i32
00:00:28 #1393 [Verbose] > else 2000000i32
00:00:28 #1394 [Verbose] >
00:00:28 #1395 [Verbose] > run_all (nameof rotate_strings_tests) count solutions test_cases
00:00:28 #1396 [Verbose] > |> sort_result_list
00:00:28 #1397 [Verbose] >
00:00:28 #1398 [Verbose] > rotate_strings_tests ()
00:00:28 #1399 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1552-1122-2247-2d7aa07e6328\main.spi
00:00:52 #1400 [Verbose] >
00:00:52 #1401 [Verbose] > ╭─[ 24.37s - stdout ]──────────────────────────────────────────────────────────╮
00:00:52 #1402 [Verbose] > │ type UH0 = │
00:00:52 #1403 [Verbose] > │ | UH0_0 of string * string * UH0 │
00:00:52 #1404 [Verbose] > │ | UH0_1 │
00:00:52 #1405 [Verbose] > │ and Mut0 = {mutable l0 : uint64} │
00:00:52 #1406 [Verbose] > │ and Mut1 = {mutable l0 : int32} │
00:00:52 #1407 [Verbose] > │ and UH1 = │
00:00:52 #1408 [Verbose] > │ | UH1_0 of int32 * UH1 │
00:00:52 #1409 [Verbose] > │ | UH1_1 │
00:00:52 #1410 [Verbose] > │ and UH2 = │
00:00:52 #1411 [Verbose] > │ | UH2_0 of string * UH2 │
00:00:52 #1412 [Verbose] > │ | UH2_1 │
00:00:52 #1413 [Verbose] > │ and UH3 = │
00:00:52 #1414 [Verbose] > │ | UH3_0 of int32 * string * (string -> string) * UH3 │
00:00:52 #1415 [Verbose] > │ | UH3_1 │
00:00:52 #1416 [Verbose] > │ and [<Struct>] US0 = │
00:00:52 #1417 [Verbose] > │ | US0_0 │
00:00:52 #1418 [Verbose] > │ | US0_1 of f1_0 : System.ConsoleColor │
00:00:52 #1419 [Verbose] > │ and UH4 = │
00:00:52 #1420 [Verbose] > │ | UH4_0 of int64 * int64 * UH4 │
00:00:52 #1421 [Verbose] > │ | UH4_1 │
00:00:52 #1422 [Verbose] > │ and Mut2 = {mutable l0 : uint64; mutable l1 : UH4; mutable l2 : int64} │
00:00:52 #1423 [Verbose] > │ and UH5 = │
00:00:52 #1424 [Verbose] > │ | UH5_0 of UH2 * US0 * UH5 │
00:00:52 #1425 [Verbose] > │ | UH5_1 │
00:00:52 #1426 [Verbose] > │ and [<Struct>] US1 = │
00:00:52 #1427 [Verbose] > │ | US1_0 │
00:00:52 #1428 [Verbose] > │ | US1_1 of f1_0 : int64 │
00:00:52 #1429 [Verbose] > │ and UH6 = │
00:00:52 #1430 [Verbose] > │ | UH6_0 of int32 * int64 * UH6 │
00:00:52 #1431 [Verbose] > │ | UH6_1 │
00:00:52 #1432 [Verbose] > │ and Mut3 = {mutable l0 : uint64; mutable l1 : UH6; mutable l2 : int32} │
00:00:52 #1433 [Verbose] > │ and UH7 = │
00:00:52 #1434 [Verbose] > │ | UH7_0 of int32 * string * UH7 │
00:00:52 #1435 [Verbose] > │ | UH7_1 │
00:00:52 #1436 [Verbose] > │ let rec method2 (v0 : UH0, v1 : uint64) : uint64 = │
00:00:52 #1437 [Verbose] > │ match v0 with │
00:00:52 #1438 [Verbose] > │ | UH0_0(v2, v3, v4) -> (* Cons *) │
00:00:52 #1439 [Verbose] > │ let v5 : uint64 = v1 + 1UL │
00:00:52 #1440 [Verbose] > │ method2(v4, v5) │
00:00:52 #1441 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:52 #1442 [Verbose] > │ v1 │
00:00:52 #1443 [Verbose] > │ and method3 (v0 : (struct (string * string) []), v1 : UH0, v2 : uint64) : │
00:00:52 #1444 [Verbose] > │ uint64 = │
00:00:52 #1445 [Verbose] > │ match v1 with │
00:00:52 #1446 [Verbose] > │ | UH0_0(v3, v4, v5) -> (* Cons *) │
00:00:52 #1447 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:52 #1448 [Verbose] > │ let v6 : uint64 = v2 + 1UL │
00:00:52 #1449 [Verbose] > │ method3(v0, v5, v6) │
00:00:52 #1450 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:00:52 #1451 [Verbose] > │ v2 │
00:00:52 #1452 [Verbose] > │ and method1 (v0 : UH0) : (struct (string * string) []) = │
00:00:52 #1453 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:52 #1454 [Verbose] > │ let v2 : uint64 = method2(v0, v1) │
00:00:52 #1455 [Verbose] > │ let v3 : (struct (string * string) []) = Array.zeroCreate<struct (string │
00:00:52 #1456 [Verbose] > │ * string)> (System.Convert.ToInt32(v2)) │
00:00:52 #1457 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:52 #1458 [Verbose] > │ let v5 : uint64 = method3(v3, v0, v4) │
00:00:52 #1459 [Verbose] > │ v3 │
00:00:52 #1460 [Verbose] > │ and method4 (v0 : uint64, v1 : Mut0) : bool = │
00:00:52 #1461 [Verbose] > │ let v2 : uint64 = v1.l0 │
00:00:52 #1462 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:52 #1463 [Verbose] > │ v3 │
00:00:52 #1464 [Verbose] > │ and method5 (v0 : int32, v1 : Mut1) : bool = │
00:00:52 #1465 [Verbose] > │ let v2 : int32 = v1.l0 │
00:00:52 #1466 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:52 #1467 [Verbose] > │ v3 │
00:00:52 #1468 [Verbose] > │ and closure1 () (v0 : string) : string = │
00:00:52 #1469 [Verbose] > │ let v1 : int32 = v0.Length │
00:00:52 #1470 [Verbose] > │ let v2 : (int32 []) = Array.zeroCreate<int32> (1) │
00:00:52 #1471 [Verbose] > │ v2.[int 0] <- 0 │
00:00:52 #1472 [Verbose] > │ let v3 : int32 = v1 - 1 │
00:00:52 #1473 [Verbose] > │ let v4 : int32 = v3 - 1 │
00:00:52 #1474 [Verbose] > │ let v5 : int32 = v4 + 1 │
00:00:52 #1475 [Verbose] > │ let v6 : (int32 []) = Array.zeroCreate<int32> (v5) │
00:00:52 #1476 [Verbose] > │ let v7 : Mut1 = {l0 = 0} : Mut1 │
00:00:52 #1477 [Verbose] > │ while method5(v5, v7) do │
00:00:52 #1478 [Verbose] > │ let v9 : int32 = v7.l0 │
00:00:52 #1479 [Verbose] > │ let v10 : int32 = 1 + v9 │
00:00:52 #1480 [Verbose] > │ v6.[int v9] <- v10 │
00:00:52 #1481 [Verbose] > │ let v11 : int32 = v9 + 1 │
00:00:52 #1482 [Verbose] > │ v7.l0 <- v11 │
00:00:52 #1483 [Verbose] > │ () │
00:00:52 #1484 [Verbose] > │ let v12 : int32 = v6.Length │
00:00:52 #1485 [Verbose] > │ let v13 : int32 = v2.Length │
00:00:52 #1486 [Verbose] > │ let v14 : int32 = v12 + v13 │
00:00:52 #1487 [Verbose] > │ let v15 : (int32 []) = Array.zeroCreate<int32> (v14) │
00:00:52 #1488 [Verbose] > │ let v16 : Mut1 = {l0 = 0} : Mut1 │
00:00:52 #1489 [Verbose] > │ while method5(v14, v16) do │
00:00:52 #1490 [Verbose] > │ let v18 : int32 = v16.l0 │
00:00:52 #1491 [Verbose] > │ let v19 : bool = v18 < v12 │
00:00:52 #1492 [Verbose] > │ let v23 : int32 = │
00:00:52 #1493 [Verbose] > │ if v19 then │
00:00:52 #1494 [Verbose] > │ let v20 : int32 = v6.[int v18] │
00:00:52 #1495 [Verbose] > │ v20 │
00:00:52 #1496 [Verbose] > │ else │
00:00:52 #1497 [Verbose] > │ let v21 : int32 = v18 - v12 │
00:00:52 #1498 [Verbose] > │ let v22 : int32 = v2.[int v21] │
00:00:52 #1499 [Verbose] > │ v22 │
00:00:52 #1500 [Verbose] > │ v15.[int v18] <- v23 │
00:00:52 #1501 [Verbose] > │ let v24 : int32 = v18 + 1 │
00:00:52 #1502 [Verbose] > │ v16.l0 <- v24 │
00:00:52 #1503 [Verbose] > │ () │
00:00:52 #1504 [Verbose] > │ let v25 : int32 = v15.Length │
00:00:52 #1505 [Verbose] > │ let v26 : (string []) = Array.zeroCreate<string> (v25) │
00:00:52 #1506 [Verbose] > │ let v27 : Mut1 = {l0 = 0} : Mut1 │
00:00:52 #1507 [Verbose] > │ while method5(v25, v27) do │
00:00:52 #1508 [Verbose] > │ let v29 : int32 = v27.l0 │
00:00:52 #1509 [Verbose] > │ let v30 : int32 = v15.[int v29] │
00:00:52 #1510 [Verbose] > │ let v31 : string = v0.[int v30..int v3] │
00:00:52 #1511 [Verbose] > │ let v32 : int32 = v30 - 1 │
00:00:52 #1512 [Verbose] > │ let v33 : string = v0.[int 0..int v32] │
00:00:52 #1513 [Verbose] > │ let v34 : string = v31 + v33 │
00:00:52 #1514 [Verbose] > │ v26.[int v29] <- v34 │
00:00:52 #1515 [Verbose] > │ let v35 : int32 = v29 + 1 │
00:00:52 #1516 [Verbose] > │ v27.l0 <- v35 │
00:00:52 #1517 [Verbose] > │ () │
00:00:52 #1518 [Verbose] > │ let v36 : string = " " │
00:00:52 #1519 [Verbose] > │ let v37 : string = v26 |> String.concat v36 │
00:00:52 #1520 [Verbose] > │ v37 │
00:00:52 #1521 [Verbose] > │ and method6 (v0 : float, v1 : float) : UH1 = │
00:00:52 #1522 [Verbose] > │ let v2 : bool = v1 < v0 │
00:00:52 #1523 [Verbose] > │ if v2 then │
00:00:52 #1524 [Verbose] > │ let v3 : int32 = int32 v1 │
00:00:52 #1525 [Verbose] > │ let v4 : int32 = 1 + v3 │
00:00:52 #1526 [Verbose] > │ let v5 : float = v1 + 1.0 │
00:00:52 #1527 [Verbose] > │ let v6 : UH1 = method6(v0, v5) │
00:00:52 #1528 [Verbose] > │ UH1_0(v4, v6) │
00:00:52 #1529 [Verbose] > │ else │
00:00:52 #1530 [Verbose] > │ UH1_1 │
00:00:52 #1531 [Verbose] > │ and method7 (v0 : UH1, v1 : UH1) : UH1 = │
00:00:52 #1532 [Verbose] > │ match v0 with │
00:00:52 #1533 [Verbose] > │ | UH1_0(v2, v3) -> (* Cons *) │
00:00:52 #1534 [Verbose] > │ let v4 : UH1 = method7(v3, v1) │
00:00:52 #1535 [Verbose] > │ UH1_0(v2, v4) │
00:00:52 #1536 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:52 #1537 [Verbose] > │ v1 │
00:00:52 #1538 [Verbose] > │ and method8 (v0 : string, v1 : int32, v2 : UH1, v3 : UH2) : UH2 = │
00:00:52 #1539 [Verbose] > │ match v2 with │
00:00:52 #1540 [Verbose] > │ | UH1_0(v4, v5) -> (* Cons *) │
00:00:52 #1541 [Verbose] > │ let v6 : UH2 = method8(v0, v1, v5, v3) │
00:00:52 #1542 [Verbose] > │ let v7 : int32 = v1 - 1 │
00:00:52 #1543 [Verbose] > │ let v8 : string = v0.[int v4..int v7] │
00:00:52 #1544 [Verbose] > │ let v9 : bool = v4 = 0 │
00:00:52 #1545 [Verbose] > │ let v13 : string = │
00:00:52 #1546 [Verbose] > │ if v9 then │
00:00:52 #1547 [Verbose] > │ let v10 : string = "" │
00:00:52 #1548 [Verbose] > │ v10 │
00:00:52 #1549 [Verbose] > │ else │
00:00:52 #1550 [Verbose] > │ let v11 : int32 = v4 - 1 │
00:00:52 #1551 [Verbose] > │ let v12 : string = v0.[int 0..int v11] │
00:00:52 #1552 [Verbose] > │ v12 │
00:00:52 #1553 [Verbose] > │ let v14 : string = v8 + v13 │
00:00:52 #1554 [Verbose] > │ UH2_0(v14, v6) │
00:00:52 #1555 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:00:52 #1556 [Verbose] > │ v3 │
00:00:52 #1557 [Verbose] > │ and method10 (v0 : UH2, v1 : int32) : int32 = │
00:00:52 #1558 [Verbose] > │ match v0 with │
00:00:52 #1559 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:52 #1560 [Verbose] > │ let v4 : int32 = v1 + 1 │
00:00:52 #1561 [Verbose] > │ method10(v3, v4) │
00:00:52 #1562 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:52 #1563 [Verbose] > │ v1 │
00:00:52 #1564 [Verbose] > │ and method11 (v0 : (string []), v1 : UH2, v2 : int32) : int32 = │
00:00:52 #1565 [Verbose] > │ match v1 with │
00:00:52 #1566 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:00:52 #1567 [Verbose] > │ v0.[int v2] <- v3 │
00:00:52 #1568 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:52 #1569 [Verbose] > │ method11(v0, v4, v5) │
00:00:52 #1570 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:52 #1571 [Verbose] > │ v2 │
00:00:52 #1572 [Verbose] > │ and method9 (v0 : UH2) : (string []) = │
00:00:52 #1573 [Verbose] > │ let v1 : int32 = 0 │
00:00:52 #1574 [Verbose] > │ let v2 : int32 = method10(v0, v1) │
00:00:52 #1575 [Verbose] > │ let v3 : (string []) = Array.zeroCreate<string> (v2) │
00:00:52 #1576 [Verbose] > │ let v4 : int32 = 0 │
00:00:52 #1577 [Verbose] > │ let v5 : int32 = method11(v3, v0, v4) │
00:00:52 #1578 [Verbose] > │ v3 │
00:00:52 #1579 [Verbose] > │ and closure2 () (v0 : string) : string = │
00:00:52 #1580 [Verbose] > │ let v1 : int32 = v0.Length │
00:00:52 #1581 [Verbose] > │ let v2 : int32 = v1 - 1 │
00:00:52 #1582 [Verbose] > │ let v3 : int32 = v2 - 1 │
00:00:52 #1583 [Verbose] > │ let v4 : float = float v3 │
00:00:52 #1584 [Verbose] > │ let v5 : float = v4 + 1.0 │
00:00:52 #1585 [Verbose] > │ let v6 : float = 0.0 │
00:00:52 #1586 [Verbose] > │ let v7 : UH1 = method6(v5, v6) │
00:00:52 #1587 [Verbose] > │ let v8 : int32 = 0 │
00:00:52 #1588 [Verbose] > │ let v9 : UH1 = UH1_1 │
00:00:52 #1589 [Verbose] > │ let v10 : UH1 = UH1_0(v8, v9) │
00:00:52 #1590 [Verbose] > │ let v11 : UH1 = method7(v7, v10) │
00:00:52 #1591 [Verbose] > │ let v12 : UH2 = UH2_1 │
00:00:52 #1592 [Verbose] > │ let v13 : UH2 = method8(v0, v1, v11, v12) │
00:00:52 #1593 [Verbose] > │ let v14 : (string []) = method9(v13) │
00:00:52 #1594 [Verbose] > │ let v15 : string = " " │
00:00:52 #1595 [Verbose] > │ let v16 : string = v14 |> String.concat v15 │
00:00:52 #1596 [Verbose] > │ v16 │
00:00:52 #1597 [Verbose] > │ and method13 (v0 : UH3, v1 : uint64) : uint64 = │
00:00:52 #1598 [Verbose] > │ match v0 with │
00:00:52 #1599 [Verbose] > │ | UH3_0(v2, v3, v4, v5) -> (* Cons *) │
00:00:52 #1600 [Verbose] > │ let v6 : uint64 = v1 + 1UL │
00:00:52 #1601 [Verbose] > │ method13(v5, v6) │
00:00:52 #1602 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:00:52 #1603 [Verbose] > │ v1 │
00:00:52 #1604 [Verbose] > │ and method14 (v0 : (struct (int32 * string * (string -> string)) []), v1 : │
00:00:52 #1605 [Verbose] > │ UH3, v2 : uint64) : uint64 = │
00:00:52 #1606 [Verbose] > │ match v1 with │
00:00:52 #1607 [Verbose] > │ | UH3_0(v3, v4, v5, v6) -> (* Cons *) │
00:00:52 #1608 [Verbose] > │ v0.[int v2] <- struct (v3, v4, v5) │
00:00:52 #1609 [Verbose] > │ let v7 : uint64 = v2 + 1UL │
00:00:52 #1610 [Verbose] > │ method14(v0, v6, v7) │
00:00:52 #1611 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:00:52 #1612 [Verbose] > │ v2 │
00:00:52 #1613 [Verbose] > │ and method12 (v0 : UH3) : (struct (int32 * string * (string -> string)) []) │
00:00:52 #1614 [Verbose] > │ = │
00:00:52 #1615 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:52 #1616 [Verbose] > │ let v2 : uint64 = method13(v0, v1) │
00:00:52 #1617 [Verbose] > │ let v3 : (struct (int32 * string * (string -> string)) []) = │
00:00:52 #1618 [Verbose] > │ Array.zeroCreate<struct (int32 * string * (string -> string))> │
00:00:52 #1619 [Verbose] > │ (System.Convert.ToInt32(v2)) │
00:00:52 #1620 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:52 #1621 [Verbose] > │ let v5 : uint64 = method14(v3, v0, v4) │
00:00:52 #1622 [Verbose] > │ v3 │
00:00:52 #1623 [Verbose] > │ and closure3 () () : unit = │
00:00:52 #1624 [Verbose] > │ () │
00:00:52 #1625 [Verbose] > │ and closure4 () () : unit = │
00:00:52 #1626 [Verbose] > │ System.GC.Collect () │
00:00:52 #1627 [Verbose] > │ () │
00:00:52 #1628 [Verbose] > │ and method15 (v0 : Mut1) : bool = │
00:00:52 #1629 [Verbose] > │ let v1 : int32 = v0.l0 │
00:00:52 #1630 [Verbose] > │ let v2 : bool = v1 < 2000001 │
00:00:52 #1631 [Verbose] > │ v2 │
00:00:52 #1632 [Verbose] > │ and closure5 (v0 : string, v1 : (string -> string)) (v2 : int32) : string = │
00:00:52 #1633 [Verbose] > │ v1 v0 │
00:00:52 #1634 [Verbose] > │ and method16 (v0 : string, v1 : (string []), v2 : uint64) : bool = │
00:00:52 #1635 [Verbose] > │ let v3 : uint64 = System.Convert.ToUInt64 v1.Length │
00:00:52 #1636 [Verbose] > │ let v4 : bool = v2 < v3 │
00:00:52 #1637 [Verbose] > │ if v4 then │
00:00:52 #1638 [Verbose] > │ let v5 : string = v1.[int v2] │
00:00:52 #1639 [Verbose] > │ let v6 : bool = v0 = v5 │
00:00:52 #1640 [Verbose] > │ if v6 then │
00:00:52 #1641 [Verbose] > │ let v7 : uint64 = v2 + 1UL │
00:00:52 #1642 [Verbose] > │ method16(v0, v1, v7) │
00:00:52 #1643 [Verbose] > │ else │
00:00:52 #1644 [Verbose] > │ false │
00:00:52 #1645 [Verbose] > │ else │
00:00:52 #1646 [Verbose] > │ true │
00:00:52 #1647 [Verbose] > │ and method17 (v0 : uint64, v1 : Mut2) : bool = │
00:00:52 #1648 [Verbose] > │ let v2 : uint64 = v1.l0 │
00:00:52 #1649 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:52 #1650 [Verbose] > │ v3 │
00:00:52 #1651 [Verbose] > │ and method18 (v0 : UH4, v1 : UH4) : UH4 = │
00:00:52 #1652 [Verbose] > │ match v0 with │
00:00:52 #1653 [Verbose] > │ | UH4_0(v2, v3, v4) -> (* Cons *) │
00:00:52 #1654 [Verbose] > │ let v5 : UH4 = UH4_0(v2, v3, v1) │
00:00:52 #1655 [Verbose] > │ method18(v4, v5) │
00:00:52 #1656 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:52 #1657 [Verbose] > │ v1 │
00:00:52 #1658 [Verbose] > │ and method20 (v0 : UH4, v1 : int32) : int32 = │
00:00:52 #1659 [Verbose] > │ match v0 with │
00:00:52 #1660 [Verbose] > │ | UH4_0(v2, v3, v4) -> (* Cons *) │
00:00:52 #1661 [Verbose] > │ let v5 : int32 = v1 + 1 │
00:00:52 #1662 [Verbose] > │ method20(v4, v5) │
00:00:52 #1663 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:52 #1664 [Verbose] > │ v1 │
00:00:52 #1665 [Verbose] > │ and method21 (v0 : (struct (int64 * int64) []), v1 : UH4, v2 : int32) : │
00:00:52 #1666 [Verbose] > │ int32 = │
00:00:52 #1667 [Verbose] > │ match v1 with │
00:00:52 #1668 [Verbose] > │ | UH4_0(v3, v4, v5) -> (* Cons *) │
00:00:52 #1669 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:52 #1670 [Verbose] > │ let v6 : int32 = v2 + 1 │
00:00:52 #1671 [Verbose] > │ method21(v0, v5, v6) │
00:00:52 #1672 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:00:52 #1673 [Verbose] > │ v2 │
00:00:52 #1674 [Verbose] > │ and method19 (v0 : UH4) : (struct (int64 * int64) []) = │
00:00:52 #1675 [Verbose] > │ let v1 : int32 = 0 │
00:00:52 #1676 [Verbose] > │ let v2 : int32 = method20(v0, v1) │
00:00:52 #1677 [Verbose] > │ let v3 : (struct (int64 * int64) []) = Array.zeroCreate<struct (int64 * │
00:00:52 #1678 [Verbose] > │ int64)> (v2) │
00:00:52 #1679 [Verbose] > │ let v4 : int32 = 0 │
00:00:52 #1680 [Verbose] > │ let v5 : int32 = method21(v3, v0, v4) │
00:00:52 #1681 [Verbose] > │ v3 │
00:00:52 #1682 [Verbose] > │ and closure6 () struct (v0 : int64, v1 : int64) : int64 = │
00:00:52 #1683 [Verbose] > │ v1 │
00:00:52 #1684 [Verbose] > │ and method23 (v0 : UH5, v1 : uint64) : uint64 = │
00:00:52 #1685 [Verbose] > │ match v0 with │
00:00:52 #1686 [Verbose] > │ | UH5_0(v2, v3, v4) -> (* Cons *) │
00:00:52 #1687 [Verbose] > │ let v5 : uint64 = v1 + 1UL │
00:00:52 #1688 [Verbose] > │ method23(v4, v5) │
00:00:52 #1689 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:52 #1690 [Verbose] > │ v1 │
00:00:52 #1691 [Verbose] > │ and method24 (v0 : (struct (UH2 * US0) []), v1 : UH5, v2 : uint64) : uint64 │
00:00:52 #1692 [Verbose] > │ = │
00:00:52 #1693 [Verbose] > │ match v1 with │
00:00:52 #1694 [Verbose] > │ | UH5_0(v3, v4, v5) -> (* Cons *) │
00:00:52 #1695 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:52 #1696 [Verbose] > │ let v6 : uint64 = v2 + 1UL │
00:00:52 #1697 [Verbose] > │ method24(v0, v5, v6) │
00:00:52 #1698 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:00:52 #1699 [Verbose] > │ v2 │
00:00:52 #1700 [Verbose] > │ and method22 (v0 : UH5) : (struct (UH2 * US0) []) = │
00:00:52 #1701 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:52 #1702 [Verbose] > │ let v2 : uint64 = method23(v0, v1) │
00:00:52 #1703 [Verbose] > │ let v3 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * US0)> │
00:00:52 #1704 [Verbose] > │ (System.Convert.ToInt32(v2)) │
00:00:52 #1705 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:52 #1706 [Verbose] > │ let v5 : uint64 = method24(v3, v0, v4) │
00:00:52 #1707 [Verbose] > │ v3 │
00:00:52 #1708 [Verbose] > │ and method26 (v0 : UH2, v1 : uint64) : uint64 = │
00:00:52 #1709 [Verbose] > │ match v0 with │
00:00:52 #1710 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:00:52 #1711 [Verbose] > │ let v4 : uint64 = v1 + 1UL │
00:00:52 #1712 [Verbose] > │ method26(v3, v4) │
00:00:52 #1713 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:52 #1714 [Verbose] > │ v1 │
00:00:52 #1715 [Verbose] > │ and method27 (v0 : (string []), v1 : UH2, v2 : uint64) : uint64 = │
00:00:52 #1716 [Verbose] > │ match v1 with │
00:00:52 #1717 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:00:52 #1718 [Verbose] > │ v0.[int v2] <- v3 │
00:00:52 #1719 [Verbose] > │ let v5 : uint64 = v2 + 1UL │
00:00:52 #1720 [Verbose] > │ method27(v0, v4, v5) │
00:00:52 #1721 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:52 #1722 [Verbose] > │ v2 │
00:00:52 #1723 [Verbose] > │ and method25 (v0 : UH2) : (string []) = │
00:00:52 #1724 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:52 #1725 [Verbose] > │ let v2 : uint64 = method26(v0, v1) │
00:00:52 #1726 [Verbose] > │ let v3 : (string []) = Array.zeroCreate<string> │
00:00:52 #1727 [Verbose] > │ (System.Convert.ToInt32(v2)) │
00:00:52 #1728 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:52 #1729 [Verbose] > │ let v5 : uint64 = method27(v3, v0, v4) │
00:00:52 #1730 [Verbose] > │ v3 │
00:00:52 #1731 [Verbose] > │ and closure7 () (v0 : int64) : US1 = │
00:00:52 #1732 [Verbose] > │ US1_1(v0) │
00:00:52 #1733 [Verbose] > │ and method28 (v0 : uint64, v1 : Mut3) : bool = │
00:00:52 #1734 [Verbose] > │ let v2 : uint64 = v1.l0 │
00:00:52 #1735 [Verbose] > │ let v3 : bool = v2 < v0 │
00:00:52 #1736 [Verbose] > │ v3 │
00:00:52 #1737 [Verbose] > │ and method29 (v0 : UH6, v1 : UH6) : UH6 = │
00:00:52 #1738 [Verbose] > │ match v0 with │
00:00:52 #1739 [Verbose] > │ | UH6_0(v2, v3, v4) -> (* Cons *) │
00:00:52 #1740 [Verbose] > │ let v5 : UH6 = UH6_0(v2, v3, v1) │
00:00:52 #1741 [Verbose] > │ method29(v4, v5) │
00:00:52 #1742 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:52 #1743 [Verbose] > │ v1 │
00:00:52 #1744 [Verbose] > │ and method31 (v0 : UH6, v1 : int32) : int32 = │
00:00:52 #1745 [Verbose] > │ match v0 with │
00:00:52 #1746 [Verbose] > │ | UH6_0(v2, v3, v4) -> (* Cons *) │
00:00:52 #1747 [Verbose] > │ let v5 : int32 = v1 + 1 │
00:00:52 #1748 [Verbose] > │ method31(v4, v5) │
00:00:52 #1749 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:52 #1750 [Verbose] > │ v1 │
00:00:52 #1751 [Verbose] > │ and method32 (v0 : (struct (int32 * int64) []), v1 : UH6, v2 : int32) : │
00:00:52 #1752 [Verbose] > │ int32 = │
00:00:52 #1753 [Verbose] > │ match v1 with │
00:00:52 #1754 [Verbose] > │ | UH6_0(v3, v4, v5) -> (* Cons *) │
00:00:52 #1755 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:52 #1756 [Verbose] > │ let v6 : int32 = v2 + 1 │
00:00:52 #1757 [Verbose] > │ method32(v0, v5, v6) │
00:00:52 #1758 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:52 #1759 [Verbose] > │ v2 │
00:00:52 #1760 [Verbose] > │ and method30 (v0 : UH6) : (struct (int32 * int64) []) = │
00:00:52 #1761 [Verbose] > │ let v1 : int32 = 0 │
00:00:52 #1762 [Verbose] > │ let v2 : int32 = method31(v0, v1) │
00:00:52 #1763 [Verbose] > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:00:52 #1764 [Verbose] > │ int64)> (v2) │
00:00:52 #1765 [Verbose] > │ let v4 : int32 = 0 │
00:00:52 #1766 [Verbose] > │ let v5 : int32 = method32(v3, v0, v4) │
00:00:52 #1767 [Verbose] > │ v3 │
00:00:52 #1768 [Verbose] > │ and method33 (v0 : UH2, v1 : UH7, v2 : int32) : struct (UH7 * int32) = │
00:00:52 #1769 [Verbose] > │ match v0 with │
00:00:52 #1770 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:00:52 #1771 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:00:52 #1772 [Verbose] > │ let v6 : UH7 = UH7_0(v2, v3, v1) │
00:00:52 #1773 [Verbose] > │ method33(v4, v6, v5) │
00:00:52 #1774 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:00:52 #1775 [Verbose] > │ struct (v1, v2) │
00:00:52 #1776 [Verbose] > │ and method34 (v0 : UH7, v1 : UH7) : UH7 = │
00:00:52 #1777 [Verbose] > │ match v0 with │
00:00:52 #1778 [Verbose] > │ | UH7_0(v2, v3, v4) -> (* Cons *) │
00:00:52 #1779 [Verbose] > │ let v5 : UH7 = UH7_0(v2, v3, v1) │
00:00:52 #1780 [Verbose] > │ method34(v4, v5) │
00:00:52 #1781 [Verbose] > │ | UH7_1 -> (* Nil *) │
00:00:52 #1782 [Verbose] > │ v1 │
00:00:52 #1783 [Verbose] > │ and method35 (v0 : Map<int32, int64>, v1 : UH7, v2 : UH2) : UH2 = │
00:00:52 #1784 [Verbose] > │ match v1 with │
00:00:52 #1785 [Verbose] > │ | UH7_0(v3, v4, v5) -> (* Cons *) │
00:00:52 #1786 [Verbose] > │ let v6 : UH2 = method35(v0, v5, v2) │
00:00:52 #1787 [Verbose] > │ let v7 : int64 = v0.[v3] │
00:00:52 #1788 [Verbose] > │ let v8 : int32 = int32 v7 │
00:00:52 #1789 [Verbose] > │ let v9 : string = v4.PadRight v8 │
00:00:52 #1790 [Verbose] > │ UH2_0(v9, v6) │
00:00:52 #1791 [Verbose] > │ | UH7_1 -> (* Nil *) │
00:00:52 #1792 [Verbose] > │ v2 │
00:00:52 #1793 [Verbose] > │ and closure8 () () : unit = │
00:00:52 #1794 [Verbose] > │ () │
00:00:52 #1795 [Verbose] > │ and closure9 () () : unit = │
00:00:52 #1796 [Verbose] > │ System.Console.ResetColor () │
00:00:52 #1797 [Verbose] > │ () │
00:00:52 #1798 [Verbose] > │ and closure10 () () : unit = │
00:00:52 #1799 [Verbose] > │ () │
00:00:52 #1800 [Verbose] > │ and closure11 (v0 : System.ConsoleColor) () : unit = │
00:00:52 #1801 [Verbose] > │ System.Console.ForegroundColor <- v0 │
00:00:52 #1802 [Verbose] > │ () │
00:00:52 #1803 [Verbose] > │ and method37 (v0 : UH6, v1 : uint64) : uint64 = │
00:00:52 #1804 [Verbose] > │ match v0 with │
00:00:52 #1805 [Verbose] > │ | UH6_0(v2, v3, v4) -> (* Cons *) │
00:00:52 #1806 [Verbose] > │ let v5 : uint64 = v1 + 1UL │
00:00:52 #1807 [Verbose] > │ method37(v4, v5) │
00:00:52 #1808 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:52 #1809 [Verbose] > │ v1 │
00:00:52 #1810 [Verbose] > │ and method38 (v0 : (struct (int32 * int64) []), v1 : UH6, v2 : uint64) : │
00:00:52 #1811 [Verbose] > │ uint64 = │
00:00:52 #1812 [Verbose] > │ match v1 with │
00:00:52 #1813 [Verbose] > │ | UH6_0(v3, v4, v5) -> (* Cons *) │
00:00:52 #1814 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:00:52 #1815 [Verbose] > │ let v6 : uint64 = v2 + 1UL │
00:00:52 #1816 [Verbose] > │ method38(v0, v5, v6) │
00:00:52 #1817 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:00:52 #1818 [Verbose] > │ v2 │
00:00:52 #1819 [Verbose] > │ and method36 (v0 : UH6) : (struct (int32 * int64) []) = │
00:00:52 #1820 [Verbose] > │ let v1 : uint64 = 0UL │
00:00:52 #1821 [Verbose] > │ let v2 : uint64 = method37(v0, v1) │
00:00:52 #1822 [Verbose] > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:00:52 #1823 [Verbose] > │ int64)> (System.Convert.ToInt32(v2)) │
00:00:52 #1824 [Verbose] > │ let v4 : uint64 = 0UL │
00:00:52 #1825 [Verbose] > │ let v5 : uint64 = method38(v3, v0, v4) │
00:00:52 #1826 [Verbose] > │ v3 │
00:00:52 #1827 [Verbose] > │ and closure12 () struct (v0 : int32, v1 : int64) : int64 = │
00:00:52 #1828 [Verbose] > │ v1 │
00:00:52 #1829 [Verbose] > │ and closure0 () () : unit = │
00:00:52 #1830 [Verbose] > │ let v0 : (unit -> unit) = closure0() │
00:00:52 #1831 [Verbose] > │ let v1 : string = nameof v0 │
00:00:52 #1832 [Verbose] > │ let v2 : string = "" │
00:00:52 #1833 [Verbose] > │ System.Console.WriteLine v2 │
00:00:52 #1834 [Verbose] > │ System.Console.WriteLine v2 │
00:00:52 #1835 [Verbose] > │ let v3 : string = $"Test: {v1}" │
00:00:52 #1836 [Verbose] > │ System.Console.WriteLine v3 │
00:00:52 #1837 [Verbose] > │ let v4 : string = "abc" │
00:00:52 #1838 [Verbose] > │ let v5 : string = "bca cab abc" │
00:00:52 #1839 [Verbose] > │ let v6 : string = "abcde" │
00:00:52 #1840 [Verbose] > │ let v7 : string = "bcdea cdeab deabc eabcd abcde" │
00:00:52 #1841 [Verbose] > │ let v8 : string = "abcdefghi" │
00:00:52 #1842 [Verbose] > │ let v9 : string = "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde │
00:00:52 #1843 [Verbose] > │ ghiabcdef hiabcdefg iabcdefgh abcdefghi" │
00:00:52 #1844 [Verbose] > │ let v10 : string = "abab" │
00:00:52 #1845 [Verbose] > │ let v11 : string = "baba abab baba abab" │
00:00:52 #1846 [Verbose] > │ let v12 : string = "aa" │
00:00:52 #1847 [Verbose] > │ let v13 : string = "aa aa" │
00:00:52 #1848 [Verbose] > │ let v14 : string = "z" │
00:00:52 #1849 [Verbose] > │ let v15 : UH0 = UH0_1 │
00:00:52 #1850 [Verbose] > │ let v16 : UH0 = UH0_0(v14, v14, v15) │
00:00:52 #1851 [Verbose] > │ let v17 : UH0 = UH0_0(v12, v13, v16) │
00:00:52 #1852 [Verbose] > │ let v18 : UH0 = UH0_0(v10, v11, v17) │
00:00:52 #1853 [Verbose] > │ let v19 : UH0 = UH0_0(v8, v9, v18) │
00:00:52 #1854 [Verbose] > │ let v20 : UH0 = UH0_0(v6, v7, v19) │
00:00:52 #1855 [Verbose] > │ let v21 : UH0 = UH0_0(v4, v5, v20) │
00:00:52 #1856 [Verbose] > │ let v22 : (struct (string * string) []) = method1(v21) │
00:00:52 #1857 [Verbose] > │ let v23 : uint64 = System.Convert.ToUInt64 v22.Length │
00:00:52 #1858 [Verbose] > │ let v24 : (struct (string * string * string * (int64 [])) []) = │
00:00:52 #1859 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:00:52 #1860 [Verbose] > │ (System.Convert.ToInt32(v23)) │
00:00:52 #1861 [Verbose] > │ let v25 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #1862 [Verbose] > │ while method4(v23, v25) do │
00:00:52 #1863 [Verbose] > │ let v27 : uint64 = v25.l0 │
00:00:52 #1864 [Verbose] > │ let struct (v28 : string, v29 : string) = v22.[int v27] │
00:00:52 #1865 [Verbose] > │ let v30 : string = $"%A{v28}" │
00:00:52 #1866 [Verbose] > │ System.Console.WriteLine v2 │
00:00:52 #1867 [Verbose] > │ let v31 : string = $"Solution: {v30} " │
00:00:52 #1868 [Verbose] > │ System.Console.WriteLine v31 │
00:00:52 #1869 [Verbose] > │ let v32 : int32 = 0 │
00:00:52 #1870 [Verbose] > │ let v33 : string = "F" │
00:00:52 #1871 [Verbose] > │ let v34 : (string -> string) = closure1() │
00:00:52 #1872 [Verbose] > │ let v35 : int32 = 1 │
00:00:52 #1873 [Verbose] > │ let v36 : string = "FA" │
00:00:52 #1874 [Verbose] > │ let v37 : (string -> string) = closure2() │
00:00:52 #1875 [Verbose] > │ let v38 : UH3 = UH3_1 │
00:00:52 #1876 [Verbose] > │ let v39 : UH3 = UH3_0(v35, v36, v37, v38) │
00:00:52 #1877 [Verbose] > │ let v40 : UH3 = UH3_0(v32, v33, v34, v39) │
00:00:52 #1878 [Verbose] > │ let v41 : (struct (int32 * string * (string -> string)) []) = │
00:00:52 #1879 [Verbose] > │ method12(v40) │
00:00:52 #1880 [Verbose] > │ let v42 : uint64 = System.Convert.ToUInt64 v41.Length │
00:00:52 #1881 [Verbose] > │ let v43 : (struct (string * int64) []) = Array.zeroCreate<struct │
00:00:52 #1882 [Verbose] > │ (string * int64)> (System.Convert.ToInt32(v42)) │
00:00:52 #1883 [Verbose] > │ let v44 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #1884 [Verbose] > │ while method4(v42, v44) do │
00:00:52 #1885 [Verbose] > │ let v46 : uint64 = v44.l0 │
00:00:52 #1886 [Verbose] > │ let struct (v47 : int32, v48 : string, v49 : (string -> string)) │
00:00:52 #1887 [Verbose] > │ = v41.[int v46] │
00:00:52 #1888 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:52 #1889 [Verbose] > │ let v50 : (unit -> unit) = closure3() │
00:00:52 #1890 [Verbose] > │ v50 () │
00:00:52 #1891 [Verbose] > │ #else │
00:00:52 #1892 [Verbose] > │ let v51 : (unit -> unit) = closure4() │
00:00:52 #1893 [Verbose] > │ v51 () │
00:00:52 #1894 [Verbose] > │ #endif │
00:00:52 #1895 [Verbose] > │ let v52 : (unit -> System.Diagnostics.Stopwatch) = │
00:00:52 #1896 [Verbose] > │ System.Diagnostics.Stopwatch │
00:00:52 #1897 [Verbose] > │ let v53 : System.Diagnostics.Stopwatch = v52 () │
00:00:52 #1898 [Verbose] > │ v53.Start () │
00:00:52 #1899 [Verbose] > │ let v54 : int64 = v53.ElapsedMilliseconds │
00:00:52 #1900 [Verbose] > │ let v55 : (int32 []) = Array.zeroCreate<int32> (2000001) │
00:00:52 #1901 [Verbose] > │ let v56 : Mut1 = {l0 = 0} : Mut1 │
00:00:52 #1902 [Verbose] > │ while method15(v56) do │
00:00:52 #1903 [Verbose] > │ let v58 : int32 = v56.l0 │
00:00:52 #1904 [Verbose] > │ v55.[int v58] <- v58 │
00:00:52 #1905 [Verbose] > │ let v59 : int32 = v58 + 1 │
00:00:52 #1906 [Verbose] > │ v56.l0 <- v59 │
00:00:52 #1907 [Verbose] > │ () │
00:00:52 #1908 [Verbose] > │ let v60 : (int32 -> string) = closure5(v28, v49) │
00:00:52 #1909 [Verbose] > │ let v61 : (string []) = v55 |> Array.Parallel.map v60 │
00:00:52 #1910 [Verbose] > │ let v62 : int32 = v61.Length │
00:00:52 #1911 [Verbose] > │ let v63 : int32 = v62 - 1 │
00:00:52 #1912 [Verbose] > │ let v64 : string = v61.[int v63] │
00:00:52 #1913 [Verbose] > │ let v65 : int64 = v53.ElapsedMilliseconds │
00:00:52 #1914 [Verbose] > │ let v66 : int64 = v65 - v54 │
00:00:52 #1915 [Verbose] > │ let v67 : string = $"Test case {v47 + 1}. {v48}. Time: {v66} " │
00:00:52 #1916 [Verbose] > │ System.Console.WriteLine v67 │
00:00:52 #1917 [Verbose] > │ v43.[int v46] <- struct (v64, v66) │
00:00:52 #1918 [Verbose] > │ let v68 : uint64 = v46 + 1UL │
00:00:52 #1919 [Verbose] > │ v44.l0 <- v68 │
00:00:52 #1920 [Verbose] > │ () │
00:00:52 #1921 [Verbose] > │ let v69 : uint64 = System.Convert.ToUInt64 v43.Length │
00:00:52 #1922 [Verbose] > │ let v70 : (string []) = Array.zeroCreate<string> │
00:00:52 #1923 [Verbose] > │ (System.Convert.ToInt32(v69)) │
00:00:52 #1924 [Verbose] > │ let v71 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #1925 [Verbose] > │ while method4(v69, v71) do │
00:00:52 #1926 [Verbose] > │ let v73 : uint64 = v71.l0 │
00:00:52 #1927 [Verbose] > │ let struct (v74 : string, v75 : int64) = v43.[int v73] │
00:00:52 #1928 [Verbose] > │ v70.[int v73] <- v74 │
00:00:52 #1929 [Verbose] > │ let v76 : uint64 = v73 + 1UL │
00:00:52 #1930 [Verbose] > │ v71.l0 <- v76 │
00:00:52 #1931 [Verbose] > │ () │
00:00:52 #1932 [Verbose] > │ let v77 : uint64 = System.Convert.ToUInt64 v70.Length │
00:00:52 #1933 [Verbose] > │ let v78 : bool = v77 <= 1UL │
00:00:52 #1934 [Verbose] > │ if v78 then │
00:00:52 #1935 [Verbose] > │ () │
00:00:52 #1936 [Verbose] > │ else │
00:00:52 #1937 [Verbose] > │ let v79 : string = v70.[int 0UL] │
00:00:52 #1938 [Verbose] > │ let v80 : uint64 = 0UL │
00:00:52 #1939 [Verbose] > │ let v81 : bool = method16(v79, v70, v80) │
00:00:52 #1940 [Verbose] > │ if v81 then │
00:00:52 #1941 [Verbose] > │ () │
00:00:52 #1942 [Verbose] > │ else │
00:00:52 #1943 [Verbose] > │ let v82 : string = $"Challenge error: {v70}" │
00:00:52 #1944 [Verbose] > │ failwith<unit> v82 │
00:00:52 #1945 [Verbose] > │ let v83 : string = $"%A{v29}" │
00:00:52 #1946 [Verbose] > │ let v84 : (string []) = Array.zeroCreate<string> │
00:00:52 #1947 [Verbose] > │ (System.Convert.ToInt32(v69)) │
00:00:52 #1948 [Verbose] > │ let v85 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #1949 [Verbose] > │ while method4(v69, v85) do │
00:00:52 #1950 [Verbose] > │ let v87 : uint64 = v85.l0 │
00:00:52 #1951 [Verbose] > │ let struct (v88 : string, v89 : int64) = v43.[int v87] │
00:00:52 #1952 [Verbose] > │ v84.[int v87] <- v88 │
00:00:52 #1953 [Verbose] > │ let v90 : uint64 = v87 + 1UL │
00:00:52 #1954 [Verbose] > │ v85.l0 <- v90 │
00:00:52 #1955 [Verbose] > │ () │
00:00:52 #1956 [Verbose] > │ let v91 : string = v84.[int 0UL] │
00:00:52 #1957 [Verbose] > │ let v92 : string = $"%A{v91}" │
00:00:52 #1958 [Verbose] > │ let v93 : (int64 []) = Array.zeroCreate<int64> │
00:00:52 #1959 [Verbose] > │ (System.Convert.ToInt32(v69)) │
00:00:52 #1960 [Verbose] > │ let v94 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #1961 [Verbose] > │ while method4(v69, v94) do │
00:00:52 #1962 [Verbose] > │ let v96 : uint64 = v94.l0 │
00:00:52 #1963 [Verbose] > │ let struct (v97 : string, v98 : int64) = v43.[int v96] │
00:00:52 #1964 [Verbose] > │ v93.[int v96] <- v98 │
00:00:52 #1965 [Verbose] > │ let v99 : uint64 = v96 + 1UL │
00:00:52 #1966 [Verbose] > │ v94.l0 <- v99 │
00:00:52 #1967 [Verbose] > │ () │
00:00:52 #1968 [Verbose] > │ v24.[int v27] <- struct (v83, v30, v92, v93) │
00:00:52 #1969 [Verbose] > │ let v100 : uint64 = v27 + 1UL │
00:00:52 #1970 [Verbose] > │ v25.l0 <- v100 │
00:00:52 #1971 [Verbose] > │ () │
00:00:52 #1972 [Verbose] > │ let v101 : uint64 = System.Convert.ToUInt64 v24.Length │
00:00:52 #1973 [Verbose] > │ let v102 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:00:52 #1974 [Verbose] > │ US0)> (System.Convert.ToInt32(v101)) │
00:00:52 #1975 [Verbose] > │ let v103 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #1976 [Verbose] > │ while method4(v101, v103) do │
00:00:52 #1977 [Verbose] > │ let v105 : uint64 = v103.l0 │
00:00:52 #1978 [Verbose] > │ let struct (v106 : string, v107 : string, v108 : string, v109 : │
00:00:52 #1979 [Verbose] > │ (int64 [])) = v24.[int v105] │
00:00:52 #1980 [Verbose] > │ let v110 : uint64 = System.Convert.ToUInt64 v109.Length │
00:00:52 #1981 [Verbose] > │ let v111 : UH4 = UH4_1 │
00:00:52 #1982 [Verbose] > │ let v112 : Mut2 = {l0 = 0UL; l1 = v111; l2 = 0L} : Mut2 │
00:00:52 #1983 [Verbose] > │ while method17(v110, v112) do │
00:00:52 #1984 [Verbose] > │ let v114 : uint64 = v112.l0 │
00:00:52 #1985 [Verbose] > │ let struct (v115 : UH4, v116 : int64) = v112.l1, v112.l2 │
00:00:52 #1986 [Verbose] > │ let v117 : int64 = v109.[int v114] │
00:00:52 #1987 [Verbose] > │ let v118 : int64 = v116 + 1L │
00:00:52 #1988 [Verbose] > │ let v119 : uint64 = v114 + 1UL │
00:00:52 #1989 [Verbose] > │ let v120 : UH4 = UH4_0(v116, v117, v115) │
00:00:52 #1990 [Verbose] > │ v112.l0 <- v119 │
00:00:52 #1991 [Verbose] > │ v112.l1 <- v120 │
00:00:52 #1992 [Verbose] > │ v112.l2 <- v118 │
00:00:52 #1993 [Verbose] > │ () │
00:00:52 #1994 [Verbose] > │ let struct (v121 : UH4, v122 : int64) = v112.l1, v112.l2 │
00:00:52 #1995 [Verbose] > │ let v123 : UH4 = UH4_1 │
00:00:52 #1996 [Verbose] > │ let v124 : UH4 = method18(v121, v123) │
00:00:52 #1997 [Verbose] > │ let v125 : (struct (int64 * int64) []) = method19(v124) │
00:00:52 #1998 [Verbose] > │ let v126 : int32 = v125.Length │
00:00:52 #1999 [Verbose] > │ let v127 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:00:52 #2000 [Verbose] > │ (int64 * int64)> (v126) │
00:00:52 #2001 [Verbose] > │ let v128 : Mut1 = {l0 = 0} : Mut1 │
00:00:52 #2002 [Verbose] > │ while method5(v126, v128) do │
00:00:52 #2003 [Verbose] > │ let v130 : int32 = v128.l0 │
00:00:52 #2004 [Verbose] > │ let struct (v131 : int64, v132 : int64) = v125.[int v130] │
00:00:52 #2005 [Verbose] > │ let v133 : int64 = v131 + 1L │
00:00:52 #2006 [Verbose] > │ v127.[int v130] <- struct (v133, v132) │
00:00:52 #2007 [Verbose] > │ let v134 : int32 = v130 + 1 │
00:00:52 #2008 [Verbose] > │ v128.l0 <- v134 │
00:00:52 #2009 [Verbose] > │ () │
00:00:52 #2010 [Verbose] > │ let v135 : (struct (int64 * int64) -> int64) = closure6() │
00:00:52 #2011 [Verbose] > │ let v136 : (struct (int64 * int64) []) = v127 |> Array.sortBy v135 │
00:00:52 #2012 [Verbose] > │ let struct (v137 : int64, v138 : int64) = v136.[int 0] │
00:00:52 #2013 [Verbose] > │ let v139 : string = $"%A{struct (v137, v138)}" │
00:00:52 #2014 [Verbose] > │ let v140 : bool = v106 = v108 │
00:00:52 #2015 [Verbose] > │ let v145 : US0 = │
00:00:52 #2016 [Verbose] > │ if v140 then │
00:00:52 #2017 [Verbose] > │ let v141 : System.ConsoleColor = │
00:00:52 #2018 [Verbose] > │ System.ConsoleColor.DarkGreen │
00:00:52 #2019 [Verbose] > │ US0_1(v141) │
00:00:52 #2020 [Verbose] > │ else │
00:00:52 #2021 [Verbose] > │ let v143 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:00:52 #2022 [Verbose] > │ US0_1(v143) │
00:00:52 #2023 [Verbose] > │ let v146 : UH2 = UH2_1 │
00:00:52 #2024 [Verbose] > │ let v147 : UH2 = UH2_0(v139, v146) │
00:00:52 #2025 [Verbose] > │ let v148 : UH2 = UH2_0(v108, v147) │
00:00:52 #2026 [Verbose] > │ let v149 : UH2 = UH2_0(v106, v148) │
00:00:52 #2027 [Verbose] > │ let v150 : UH2 = UH2_0(v107, v149) │
00:00:52 #2028 [Verbose] > │ v102.[int v105] <- struct (v150, v145) │
00:00:52 #2029 [Verbose] > │ let v151 : uint64 = v105 + 1UL │
00:00:52 #2030 [Verbose] > │ v103.l0 <- v151 │
00:00:52 #2031 [Verbose] > │ () │
00:00:52 #2032 [Verbose] > │ let v152 : string = "Input" │
00:00:52 #2033 [Verbose] > │ let v153 : string = "Expected" │
00:00:52 #2034 [Verbose] > │ let v154 : string = "Result" │
00:00:52 #2035 [Verbose] > │ let v155 : string = "Best" │
00:00:52 #2036 [Verbose] > │ let v156 : UH2 = UH2_1 │
00:00:52 #2037 [Verbose] > │ let v157 : UH2 = UH2_0(v155, v156) │
00:00:52 #2038 [Verbose] > │ let v158 : UH2 = UH2_0(v154, v157) │
00:00:52 #2039 [Verbose] > │ let v159 : UH2 = UH2_0(v153, v158) │
00:00:52 #2040 [Verbose] > │ let v160 : UH2 = UH2_0(v152, v159) │
00:00:52 #2041 [Verbose] > │ let v161 : US0 = US0_0 │
00:00:52 #2042 [Verbose] > │ let v162 : string = "---" │
00:00:52 #2043 [Verbose] > │ let v163 : UH2 = UH2_1 │
00:00:52 #2044 [Verbose] > │ let v164 : UH2 = UH2_0(v162, v163) │
00:00:52 #2045 [Verbose] > │ let v165 : UH2 = UH2_0(v162, v164) │
00:00:52 #2046 [Verbose] > │ let v166 : UH2 = UH2_0(v162, v165) │
00:00:52 #2047 [Verbose] > │ let v167 : UH2 = UH2_0(v162, v166) │
00:00:52 #2048 [Verbose] > │ let v168 : US0 = US0_0 │
00:00:52 #2049 [Verbose] > │ let v169 : UH5 = UH5_1 │
00:00:52 #2050 [Verbose] > │ let v170 : UH5 = UH5_0(v167, v168, v169) │
00:00:52 #2051 [Verbose] > │ let v171 : UH5 = UH5_0(v160, v161, v170) │
00:00:52 #2052 [Verbose] > │ let v172 : (struct (UH2 * US0) []) = method22(v171) │
00:00:52 #2053 [Verbose] > │ let v173 : uint64 = System.Convert.ToUInt64 v172.Length │
00:00:52 #2054 [Verbose] > │ let v174 : uint64 = System.Convert.ToUInt64 v102.Length │
00:00:52 #2055 [Verbose] > │ let v175 : uint64 = v173 + v174 │
00:00:52 #2056 [Verbose] > │ let v176 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:00:52 #2057 [Verbose] > │ US0)> (System.Convert.ToInt32(v175)) │
00:00:52 #2058 [Verbose] > │ let v177 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2059 [Verbose] > │ while method4(v175, v177) do │
00:00:52 #2060 [Verbose] > │ let v179 : uint64 = v177.l0 │
00:00:52 #2061 [Verbose] > │ let v180 : bool = v179 < v173 │
00:00:52 #2062 [Verbose] > │ let struct (v186 : UH2, v187 : US0) = │
00:00:52 #2063 [Verbose] > │ if v180 then │
00:00:52 #2064 [Verbose] > │ let struct (v181 : UH2, v182 : US0) = v172.[int v179] │
00:00:52 #2065 [Verbose] > │ struct (v181, v182) │
00:00:52 #2066 [Verbose] > │ else │
00:00:52 #2067 [Verbose] > │ let v183 : uint64 = v179 - v173 │
00:00:52 #2068 [Verbose] > │ let struct (v184 : UH2, v185 : US0) = v102.[int v183] │
00:00:52 #2069 [Verbose] > │ struct (v184, v185) │
00:00:52 #2070 [Verbose] > │ v176.[int v179] <- struct (v186, v187) │
00:00:52 #2071 [Verbose] > │ let v188 : uint64 = v179 + 1UL │
00:00:52 #2072 [Verbose] > │ v177.l0 <- v188 │
00:00:52 #2073 [Verbose] > │ () │
00:00:52 #2074 [Verbose] > │ let v189 : uint64 = System.Convert.ToUInt64 v176.Length │
00:00:52 #2075 [Verbose] > │ let v190 : ((string []) []) = Array.zeroCreate<(string [])> │
00:00:52 #2076 [Verbose] > │ (System.Convert.ToInt32(v189)) │
00:00:52 #2077 [Verbose] > │ let v191 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2078 [Verbose] > │ while method4(v189, v191) do │
00:00:52 #2079 [Verbose] > │ let v193 : uint64 = v191.l0 │
00:00:52 #2080 [Verbose] > │ let struct (v194 : UH2, v195 : US0) = v176.[int v193] │
00:00:52 #2081 [Verbose] > │ let v196 : (string []) = method25(v194) │
00:00:52 #2082 [Verbose] > │ v190.[int v193] <- v196 │
00:00:52 #2083 [Verbose] > │ let v197 : uint64 = v193 + 1UL │
00:00:52 #2084 [Verbose] > │ v191.l0 <- v197 │
00:00:52 #2085 [Verbose] > │ () │
00:00:52 #2086 [Verbose] > │ let v198 : ((string []) []) = v190 |> Array.transpose │
00:00:52 #2087 [Verbose] > │ let v199 : uint64 = System.Convert.ToUInt64 v198.Length │
00:00:52 #2088 [Verbose] > │ let v200 : (int64 []) = Array.zeroCreate<int64> │
00:00:52 #2089 [Verbose] > │ (System.Convert.ToInt32(v199)) │
00:00:52 #2090 [Verbose] > │ let v201 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2091 [Verbose] > │ while method4(v199, v201) do │
00:00:52 #2092 [Verbose] > │ let v203 : uint64 = v201.l0 │
00:00:52 #2093 [Verbose] > │ let v204 : (string []) = v198.[int v203] │
00:00:52 #2094 [Verbose] > │ let v205 : uint64 = System.Convert.ToUInt64 v204.Length │
00:00:52 #2095 [Verbose] > │ let v206 : (int64 []) = Array.zeroCreate<int64> │
00:00:52 #2096 [Verbose] > │ (System.Convert.ToInt32(v205)) │
00:00:52 #2097 [Verbose] > │ let v207 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2098 [Verbose] > │ while method4(v205, v207) do │
00:00:52 #2099 [Verbose] > │ let v209 : uint64 = v207.l0 │
00:00:52 #2100 [Verbose] > │ let v210 : string = v204.[int v209] │
00:00:52 #2101 [Verbose] > │ let v211 : int64 = System.Convert.ToInt64 v210.Length │
00:00:52 #2102 [Verbose] > │ v206.[int v209] <- v211 │
00:00:52 #2103 [Verbose] > │ let v212 : uint64 = v209 + 1UL │
00:00:52 #2104 [Verbose] > │ v207.l0 <- v212 │
00:00:52 #2105 [Verbose] > │ () │
00:00:52 #2106 [Verbose] > │ let v213 : (int64 []) = v206 |> Array.sortDescending │
00:00:52 #2107 [Verbose] > │ let v214 : int64 option = v213 |> Array.tryItem 0 │
00:00:52 #2108 [Verbose] > │ let v215 : (int64 -> US1) = closure7() │
00:00:52 #2109 [Verbose] > │ let v216 : US1 = US1_0 │
00:00:52 #2110 [Verbose] > │ let v217 : US1 = v214 |> Option.map v215 |> Option.defaultValue v216 │
00:00:52 #2111 [Verbose] > │ let v220 : int64 = │
00:00:52 #2112 [Verbose] > │ match v217 with │
00:00:52 #2113 [Verbose] > │ | US1_0 -> (* None *) │
00:00:52 #2114 [Verbose] > │ 0L │
00:00:52 #2115 [Verbose] > │ | US1_1(v218) -> (* Some *) │
00:00:52 #2116 [Verbose] > │ v218 │
00:00:52 #2117 [Verbose] > │ v200.[int v203] <- v220 │
00:00:52 #2118 [Verbose] > │ let v221 : uint64 = v203 + 1UL │
00:00:52 #2119 [Verbose] > │ v201.l0 <- v221 │
00:00:52 #2120 [Verbose] > │ () │
00:00:52 #2121 [Verbose] > │ let v222 : uint64 = System.Convert.ToUInt64 v200.Length │
00:00:52 #2122 [Verbose] > │ let v223 : UH6 = UH6_1 │
00:00:52 #2123 [Verbose] > │ let v224 : Mut3 = {l0 = 0UL; l1 = v223; l2 = 0} : Mut3 │
00:00:52 #2124 [Verbose] > │ while method28(v222, v224) do │
00:00:52 #2125 [Verbose] > │ let v226 : uint64 = v224.l0 │
00:00:52 #2126 [Verbose] > │ let struct (v227 : UH6, v228 : int32) = v224.l1, v224.l2 │
00:00:52 #2127 [Verbose] > │ let v229 : int64 = v200.[int v226] │
00:00:52 #2128 [Verbose] > │ let v230 : int32 = v228 + 1 │
00:00:52 #2129 [Verbose] > │ let v231 : uint64 = v226 + 1UL │
00:00:52 #2130 [Verbose] > │ let v232 : UH6 = UH6_0(v228, v229, v227) │
00:00:52 #2131 [Verbose] > │ v224.l0 <- v231 │
00:00:52 #2132 [Verbose] > │ v224.l1 <- v232 │
00:00:52 #2133 [Verbose] > │ v224.l2 <- v230 │
00:00:52 #2134 [Verbose] > │ () │
00:00:52 #2135 [Verbose] > │ let struct (v233 : UH6, v234 : int32) = v224.l1, v224.l2 │
00:00:52 #2136 [Verbose] > │ let v235 : UH6 = UH6_1 │
00:00:52 #2137 [Verbose] > │ let v236 : UH6 = method29(v233, v235) │
00:00:52 #2138 [Verbose] > │ let v237 : (struct (int32 * int64) []) = method30(v236) │
00:00:52 #2139 [Verbose] > │ let v238 : Map<int32, int64> = v237 |> Array.map (fun (struct (a, b)) -> │
00:00:52 #2140 [Verbose] > │ a, b) |> Map.ofArray │
00:00:52 #2141 [Verbose] > │ let v239 : (struct ((string []) * US0) []) = Array.zeroCreate<struct │
00:00:52 #2142 [Verbose] > │ ((string []) * US0)> (System.Convert.ToInt32(v189)) │
00:00:52 #2143 [Verbose] > │ let v240 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2144 [Verbose] > │ while method4(v189, v240) do │
00:00:52 #2145 [Verbose] > │ let v242 : uint64 = v240.l0 │
00:00:52 #2146 [Verbose] > │ let struct (v243 : UH2, v244 : US0) = v176.[int v242] │
00:00:52 #2147 [Verbose] > │ let v245 : UH7 = UH7_1 │
00:00:52 #2148 [Verbose] > │ let v246 : int32 = 0 │
00:00:52 #2149 [Verbose] > │ let struct (v247 : UH7, v248 : int32) = method33(v243, v245, v246) │
00:00:52 #2150 [Verbose] > │ let v249 : UH7 = UH7_1 │
00:00:52 #2151 [Verbose] > │ let v250 : UH7 = method34(v247, v249) │
00:00:52 #2152 [Verbose] > │ let v251 : UH2 = UH2_1 │
00:00:52 #2153 [Verbose] > │ let v252 : UH2 = method35(v238, v250, v251) │
00:00:52 #2154 [Verbose] > │ let v253 : (string []) = method9(v252) │
00:00:52 #2155 [Verbose] > │ v239.[int v242] <- struct (v253, v244) │
00:00:52 #2156 [Verbose] > │ let v254 : uint64 = v242 + 1UL │
00:00:52 #2157 [Verbose] > │ v240.l0 <- v254 │
00:00:52 #2158 [Verbose] > │ () │
00:00:52 #2159 [Verbose] > │ System.Console.WriteLine v2 │
00:00:52 #2160 [Verbose] > │ let v255 : uint64 = System.Convert.ToUInt64 v239.Length │
00:00:52 #2161 [Verbose] > │ let v256 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2162 [Verbose] > │ while method4(v255, v256) do │
00:00:52 #2163 [Verbose] > │ let v258 : uint64 = v256.l0 │
00:00:52 #2164 [Verbose] > │ let struct (v259 : (string []), v260 : US0) = v239.[int v258] │
00:00:52 #2165 [Verbose] > │ match v260 with │
00:00:52 #2166 [Verbose] > │ | US0_0 -> (* None *) │
00:00:52 #2167 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:52 #2168 [Verbose] > │ let v264 : (unit -> unit) = closure8() │
00:00:52 #2169 [Verbose] > │ v264 () │
00:00:52 #2170 [Verbose] > │ #else │
00:00:52 #2171 [Verbose] > │ let v265 : (unit -> unit) = closure9() │
00:00:52 #2172 [Verbose] > │ v265 () │
00:00:52 #2173 [Verbose] > │ #endif │
00:00:52 #2174 [Verbose] > │ () │
00:00:52 #2175 [Verbose] > │ | US0_1(v261) -> (* Some *) │
00:00:52 #2176 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:52 #2177 [Verbose] > │ let v262 : (unit -> unit) = closure10() │
00:00:52 #2178 [Verbose] > │ v262 () │
00:00:52 #2179 [Verbose] > │ #else │
00:00:52 #2180 [Verbose] > │ let v263 : (unit -> unit) = closure11(v261) │
00:00:52 #2181 [Verbose] > │ v263 () │
00:00:52 #2182 [Verbose] > │ #endif │
00:00:52 #2183 [Verbose] > │ () │
00:00:52 #2184 [Verbose] > │ let v266 : string = "\t| " │
00:00:52 #2185 [Verbose] > │ let v267 : string = System.String.Join (v266, v259) │
00:00:52 #2186 [Verbose] > │ System.Console.WriteLine v267 │
00:00:52 #2187 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:52 #2188 [Verbose] > │ let v268 : (unit -> unit) = closure8() │
00:00:52 #2189 [Verbose] > │ v268 () │
00:00:52 #2190 [Verbose] > │ #else │
00:00:52 #2191 [Verbose] > │ let v269 : (unit -> unit) = closure9() │
00:00:52 #2192 [Verbose] > │ v269 () │
00:00:52 #2193 [Verbose] > │ #endif │
00:00:52 #2194 [Verbose] > │ let v270 : uint64 = v258 + 1UL │
00:00:52 #2195 [Verbose] > │ v256.l0 <- v270 │
00:00:52 #2196 [Verbose] > │ () │
00:00:52 #2197 [Verbose] > │ let v271 : ((float []) []) = Array.zeroCreate<(float [])> │
00:00:52 #2198 [Verbose] > │ (System.Convert.ToInt32(v101)) │
00:00:52 #2199 [Verbose] > │ let v272 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2200 [Verbose] > │ while method4(v101, v272) do │
00:00:52 #2201 [Verbose] > │ let v274 : uint64 = v272.l0 │
00:00:52 #2202 [Verbose] > │ let struct (v275 : string, v276 : string, v277 : string, v278 : │
00:00:52 #2203 [Verbose] > │ (int64 [])) = v24.[int v274] │
00:00:52 #2204 [Verbose] > │ let v279 : (int64 -> float) = float │
00:00:52 #2205 [Verbose] > │ let v280 : uint64 = System.Convert.ToUInt64 v278.Length │
00:00:52 #2206 [Verbose] > │ let v281 : (float []) = Array.zeroCreate<float> │
00:00:52 #2207 [Verbose] > │ (System.Convert.ToInt32(v280)) │
00:00:52 #2208 [Verbose] > │ let v282 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2209 [Verbose] > │ while method4(v280, v282) do │
00:00:52 #2210 [Verbose] > │ let v284 : uint64 = v282.l0 │
00:00:52 #2211 [Verbose] > │ let v285 : int64 = v278.[int v284] │
00:00:52 #2212 [Verbose] > │ let v286 : float = v279 v285 │
00:00:52 #2213 [Verbose] > │ v281.[int v284] <- v286 │
00:00:52 #2214 [Verbose] > │ let v287 : uint64 = v284 + 1UL │
00:00:52 #2215 [Verbose] > │ v282.l0 <- v287 │
00:00:52 #2216 [Verbose] > │ () │
00:00:52 #2217 [Verbose] > │ v271.[int v274] <- v281 │
00:00:52 #2218 [Verbose] > │ let v288 : uint64 = v274 + 1UL │
00:00:52 #2219 [Verbose] > │ v272.l0 <- v288 │
00:00:52 #2220 [Verbose] > │ () │
00:00:52 #2221 [Verbose] > │ let v289 : ((float []) []) = v271 |> Array.transpose │
00:00:52 #2222 [Verbose] > │ let v290 : uint64 = System.Convert.ToUInt64 v289.Length │
00:00:52 #2223 [Verbose] > │ let v291 : (float []) = Array.zeroCreate<float> │
00:00:52 #2224 [Verbose] > │ (System.Convert.ToInt32(v290)) │
00:00:52 #2225 [Verbose] > │ let v292 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2226 [Verbose] > │ while method4(v290, v292) do │
00:00:52 #2227 [Verbose] > │ let v294 : uint64 = v292.l0 │
00:00:52 #2228 [Verbose] > │ let v295 : (float []) = v289.[int v294] │
00:00:52 #2229 [Verbose] > │ let v296 : float = v295 |> Array.average │
00:00:52 #2230 [Verbose] > │ v291.[int v294] <- v296 │
00:00:52 #2231 [Verbose] > │ let v297 : uint64 = v294 + 1UL │
00:00:52 #2232 [Verbose] > │ v292.l0 <- v297 │
00:00:52 #2233 [Verbose] > │ () │
00:00:52 #2234 [Verbose] > │ let v298 : (float -> int64) = int64 │
00:00:52 #2235 [Verbose] > │ let v299 : uint64 = System.Convert.ToUInt64 v291.Length │
00:00:52 #2236 [Verbose] > │ let v300 : (int64 []) = Array.zeroCreate<int64> │
00:00:52 #2237 [Verbose] > │ (System.Convert.ToInt32(v299)) │
00:00:52 #2238 [Verbose] > │ let v301 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2239 [Verbose] > │ while method4(v299, v301) do │
00:00:52 #2240 [Verbose] > │ let v303 : uint64 = v301.l0 │
00:00:52 #2241 [Verbose] > │ let v304 : float = v291.[int v303] │
00:00:52 #2242 [Verbose] > │ let v305 : int64 = v298 v304 │
00:00:52 #2243 [Verbose] > │ v300.[int v303] <- v305 │
00:00:52 #2244 [Verbose] > │ let v306 : uint64 = v303 + 1UL │
00:00:52 #2245 [Verbose] > │ v301.l0 <- v306 │
00:00:52 #2246 [Verbose] > │ () │
00:00:52 #2247 [Verbose] > │ let v307 : uint64 = System.Convert.ToUInt64 v300.Length │
00:00:52 #2248 [Verbose] > │ let v308 : UH6 = UH6_1 │
00:00:52 #2249 [Verbose] > │ let v309 : Mut3 = {l0 = 0UL; l1 = v308; l2 = 0} : Mut3 │
00:00:52 #2250 [Verbose] > │ while method28(v307, v309) do │
00:00:52 #2251 [Verbose] > │ let v311 : uint64 = v309.l0 │
00:00:52 #2252 [Verbose] > │ let struct (v312 : UH6, v313 : int32) = v309.l1, v309.l2 │
00:00:52 #2253 [Verbose] > │ let v314 : int64 = v300.[int v311] │
00:00:52 #2254 [Verbose] > │ let v315 : int32 = v313 + 1 │
00:00:52 #2255 [Verbose] > │ let v316 : uint64 = v311 + 1UL │
00:00:52 #2256 [Verbose] > │ let v317 : UH6 = UH6_0(v313, v314, v312) │
00:00:52 #2257 [Verbose] > │ v309.l0 <- v316 │
00:00:52 #2258 [Verbose] > │ v309.l1 <- v317 │
00:00:52 #2259 [Verbose] > │ v309.l2 <- v315 │
00:00:52 #2260 [Verbose] > │ () │
00:00:52 #2261 [Verbose] > │ let struct (v318 : UH6, v319 : int32) = v309.l1, v309.l2 │
00:00:52 #2262 [Verbose] > │ let v320 : UH6 = UH6_1 │
00:00:52 #2263 [Verbose] > │ let v321 : UH6 = method29(v318, v320) │
00:00:52 #2264 [Verbose] > │ let v322 : (struct (int32 * int64) []) = method36(v321) │
00:00:52 #2265 [Verbose] > │ System.Console.WriteLine v2 │
00:00:52 #2266 [Verbose] > │ let v323 : string = "Average Ranking " │
00:00:52 #2267 [Verbose] > │ System.Console.WriteLine v323 │
00:00:52 #2268 [Verbose] > │ let v324 : (struct (int32 * int64) -> int64) = closure12() │
00:00:52 #2269 [Verbose] > │ let v325 : (struct (int32 * int64) []) = v322 |> Array.sortBy v324 │
00:00:52 #2270 [Verbose] > │ let v326 : uint64 = System.Convert.ToUInt64 v325.Length │
00:00:52 #2271 [Verbose] > │ let v327 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2272 [Verbose] > │ while method4(v326, v327) do │
00:00:52 #2273 [Verbose] > │ let v329 : uint64 = v327.l0 │
00:00:52 #2274 [Verbose] > │ let struct (v330 : int32, v331 : int64) = v325.[int v329] │
00:00:52 #2275 [Verbose] > │ let v332 : string = $"Test case %d{v330 + 1}. Average Time: %A{v331} │
00:00:52 #2276 [Verbose] > │ " │
00:00:52 #2277 [Verbose] > │ System.Console.WriteLine v332 │
00:00:52 #2278 [Verbose] > │ let v333 : uint64 = v329 + 1UL │
00:00:52 #2279 [Verbose] > │ v327.l0 <- v333 │
00:00:52 #2280 [Verbose] > │ () │
00:00:52 #2281 [Verbose] > │ () │
00:00:52 #2282 [Verbose] > │ and method0 () : unit = │
00:00:52 #2283 [Verbose] > │ let v0 : (unit -> unit) = closure0() │
00:00:52 #2284 [Verbose] > │ let v1 : string = nameof v0 │
00:00:52 #2285 [Verbose] > │ let v2 : string = "" │
00:00:52 #2286 [Verbose] > │ System.Console.WriteLine v2 │
00:00:52 #2287 [Verbose] > │ System.Console.WriteLine v2 │
00:00:52 #2288 [Verbose] > │ let v3 : string = $"Test: {v1}" │
00:00:52 #2289 [Verbose] > │ System.Console.WriteLine v3 │
00:00:52 #2290 [Verbose] > │ let v4 : string = "abc" │
00:00:52 #2291 [Verbose] > │ let v5 : string = "bca cab abc" │
00:00:52 #2292 [Verbose] > │ let v6 : string = "abcde" │
00:00:52 #2293 [Verbose] > │ let v7 : string = "bcdea cdeab deabc eabcd abcde" │
00:00:52 #2294 [Verbose] > │ let v8 : string = "abcdefghi" │
00:00:52 #2295 [Verbose] > │ let v9 : string = "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde │
00:00:52 #2296 [Verbose] > │ ghiabcdef hiabcdefg iabcdefgh abcdefghi" │
00:00:52 #2297 [Verbose] > │ let v10 : string = "abab" │
00:00:52 #2298 [Verbose] > │ let v11 : string = "baba abab baba abab" │
00:00:52 #2299 [Verbose] > │ let v12 : string = "aa" │
00:00:52 #2300 [Verbose] > │ let v13 : string = "aa aa" │
00:00:52 #2301 [Verbose] > │ let v14 : string = "z" │
00:00:52 #2302 [Verbose] > │ let v15 : UH0 = UH0_1 │
00:00:52 #2303 [Verbose] > │ let v16 : UH0 = UH0_0(v14, v14, v15) │
00:00:52 #2304 [Verbose] > │ let v17 : UH0 = UH0_0(v12, v13, v16) │
00:00:52 #2305 [Verbose] > │ let v18 : UH0 = UH0_0(v10, v11, v17) │
00:00:52 #2306 [Verbose] > │ let v19 : UH0 = UH0_0(v8, v9, v18) │
00:00:52 #2307 [Verbose] > │ let v20 : UH0 = UH0_0(v6, v7, v19) │
00:00:52 #2308 [Verbose] > │ let v21 : UH0 = UH0_0(v4, v5, v20) │
00:00:52 #2309 [Verbose] > │ let v22 : (struct (string * string) []) = method1(v21) │
00:00:52 #2310 [Verbose] > │ let v23 : uint64 = System.Convert.ToUInt64 v22.Length │
00:00:52 #2311 [Verbose] > │ let v24 : (struct (string * string * string * (int64 [])) []) = │
00:00:52 #2312 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:00:52 #2313 [Verbose] > │ (System.Convert.ToInt32(v23)) │
00:00:52 #2314 [Verbose] > │ let v25 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2315 [Verbose] > │ while method4(v23, v25) do │
00:00:52 #2316 [Verbose] > │ let v27 : uint64 = v25.l0 │
00:00:52 #2317 [Verbose] > │ let struct (v28 : string, v29 : string) = v22.[int v27] │
00:00:52 #2318 [Verbose] > │ let v30 : string = $"%A{v28}" │
00:00:52 #2319 [Verbose] > │ System.Console.WriteLine v2 │
00:00:52 #2320 [Verbose] > │ let v31 : string = $"Solution: {v30} " │
00:00:52 #2321 [Verbose] > │ System.Console.WriteLine v31 │
00:00:52 #2322 [Verbose] > │ let v32 : int32 = 0 │
00:00:52 #2323 [Verbose] > │ let v33 : string = "F" │
00:00:52 #2324 [Verbose] > │ let v34 : (string -> string) = closure1() │
00:00:52 #2325 [Verbose] > │ let v35 : int32 = 1 │
00:00:52 #2326 [Verbose] > │ let v36 : string = "FA" │
00:00:52 #2327 [Verbose] > │ let v37 : (string -> string) = closure2() │
00:00:52 #2328 [Verbose] > │ let v38 : UH3 = UH3_1 │
00:00:52 #2329 [Verbose] > │ let v39 : UH3 = UH3_0(v35, v36, v37, v38) │
00:00:52 #2330 [Verbose] > │ let v40 : UH3 = UH3_0(v32, v33, v34, v39) │
00:00:52 #2331 [Verbose] > │ let v41 : (struct (int32 * string * (string -> string)) []) = │
00:00:52 #2332 [Verbose] > │ method12(v40) │
00:00:52 #2333 [Verbose] > │ let v42 : uint64 = System.Convert.ToUInt64 v41.Length │
00:00:52 #2334 [Verbose] > │ let v43 : (struct (string * int64) []) = Array.zeroCreate<struct │
00:00:52 #2335 [Verbose] > │ (string * int64)> (System.Convert.ToInt32(v42)) │
00:00:52 #2336 [Verbose] > │ let v44 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2337 [Verbose] > │ while method4(v42, v44) do │
00:00:52 #2338 [Verbose] > │ let v46 : uint64 = v44.l0 │
00:00:52 #2339 [Verbose] > │ let struct (v47 : int32, v48 : string, v49 : (string -> string)) │
00:00:52 #2340 [Verbose] > │ = v41.[int v46] │
00:00:52 #2341 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:52 #2342 [Verbose] > │ let v50 : (unit -> unit) = closure3() │
00:00:52 #2343 [Verbose] > │ v50 () │
00:00:52 #2344 [Verbose] > │ #else │
00:00:52 #2345 [Verbose] > │ let v51 : (unit -> unit) = closure4() │
00:00:52 #2346 [Verbose] > │ v51 () │
00:00:52 #2347 [Verbose] > │ #endif │
00:00:52 #2348 [Verbose] > │ let v52 : (unit -> System.Diagnostics.Stopwatch) = │
00:00:52 #2349 [Verbose] > │ System.Diagnostics.Stopwatch │
00:00:52 #2350 [Verbose] > │ let v53 : System.Diagnostics.Stopwatch = v52 () │
00:00:52 #2351 [Verbose] > │ v53.Start () │
00:00:52 #2352 [Verbose] > │ let v54 : int64 = v53.ElapsedMilliseconds │
00:00:52 #2353 [Verbose] > │ let v55 : (int32 []) = Array.zeroCreate<int32> (2000001) │
00:00:52 #2354 [Verbose] > │ let v56 : Mut1 = {l0 = 0} : Mut1 │
00:00:52 #2355 [Verbose] > │ while method15(v56) do │
00:00:52 #2356 [Verbose] > │ let v58 : int32 = v56.l0 │
00:00:52 #2357 [Verbose] > │ v55.[int v58] <- v58 │
00:00:52 #2358 [Verbose] > │ let v59 : int32 = v58 + 1 │
00:00:52 #2359 [Verbose] > │ v56.l0 <- v59 │
00:00:52 #2360 [Verbose] > │ () │
00:00:52 #2361 [Verbose] > │ let v60 : (int32 -> string) = closure5(v28, v49) │
00:00:52 #2362 [Verbose] > │ let v61 : (string []) = v55 |> Array.Parallel.map v60 │
00:00:52 #2363 [Verbose] > │ let v62 : int32 = v61.Length │
00:00:52 #2364 [Verbose] > │ let v63 : int32 = v62 - 1 │
00:00:52 #2365 [Verbose] > │ let v64 : string = v61.[int v63] │
00:00:52 #2366 [Verbose] > │ let v65 : int64 = v53.ElapsedMilliseconds │
00:00:52 #2367 [Verbose] > │ let v66 : int64 = v65 - v54 │
00:00:52 #2368 [Verbose] > │ let v67 : string = $"Test case {v47 + 1}. {v48}. Time: {v66} " │
00:00:52 #2369 [Verbose] > │ System.Console.WriteLine v67 │
00:00:52 #2370 [Verbose] > │ v43.[int v46] <- struct (v64, v66) │
00:00:52 #2371 [Verbose] > │ let v68 : uint64 = v46 + 1UL │
00:00:52 #2372 [Verbose] > │ v44.l0 <- v68 │
00:00:52 #2373 [Verbose] > │ () │
00:00:52 #2374 [Verbose] > │ let v69 : uint64 = System.Convert.ToUInt64 v43.Length │
00:00:52 #2375 [Verbose] > │ let v70 : (string []) = Array.zeroCreate<string> │
00:00:52 #2376 [Verbose] > │ (System.Convert.ToInt32(v69)) │
00:00:52 #2377 [Verbose] > │ let v71 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2378 [Verbose] > │ while method4(v69, v71) do │
00:00:52 #2379 [Verbose] > │ let v73 : uint64 = v71.l0 │
00:00:52 #2380 [Verbose] > │ let struct (v74 : string, v75 : int64) = v43.[int v73] │
00:00:52 #2381 [Verbose] > │ v70.[int v73] <- v74 │
00:00:52 #2382 [Verbose] > │ let v76 : uint64 = v73 + 1UL │
00:00:52 #2383 [Verbose] > │ v71.l0 <- v76 │
00:00:52 #2384 [Verbose] > │ () │
00:00:52 #2385 [Verbose] > │ let v77 : uint64 = System.Convert.ToUInt64 v70.Length │
00:00:52 #2386 [Verbose] > │ let v78 : bool = v77 <= 1UL │
00:00:52 #2387 [Verbose] > │ if v78 then │
00:00:52 #2388 [Verbose] > │ () │
00:00:52 #2389 [Verbose] > │ else │
00:00:52 #2390 [Verbose] > │ let v79 : string = v70.[int 0UL] │
00:00:52 #2391 [Verbose] > │ let v80 : uint64 = 0UL │
00:00:52 #2392 [Verbose] > │ let v81 : bool = method16(v79, v70, v80) │
00:00:52 #2393 [Verbose] > │ if v81 then │
00:00:52 #2394 [Verbose] > │ () │
00:00:52 #2395 [Verbose] > │ else │
00:00:52 #2396 [Verbose] > │ let v82 : string = $"Challenge error: {v70}" │
00:00:52 #2397 [Verbose] > │ failwith<unit> v82 │
00:00:52 #2398 [Verbose] > │ let v83 : string = $"%A{v29}" │
00:00:52 #2399 [Verbose] > │ let v84 : (string []) = Array.zeroCreate<string> │
00:00:52 #2400 [Verbose] > │ (System.Convert.ToInt32(v69)) │
00:00:52 #2401 [Verbose] > │ let v85 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2402 [Verbose] > │ while method4(v69, v85) do │
00:00:52 #2403 [Verbose] > │ let v87 : uint64 = v85.l0 │
00:00:52 #2404 [Verbose] > │ let struct (v88 : string, v89 : int64) = v43.[int v87] │
00:00:52 #2405 [Verbose] > │ v84.[int v87] <- v88 │
00:00:52 #2406 [Verbose] > │ let v90 : uint64 = v87 + 1UL │
00:00:52 #2407 [Verbose] > │ v85.l0 <- v90 │
00:00:52 #2408 [Verbose] > │ () │
00:00:52 #2409 [Verbose] > │ let v91 : string = v84.[int 0UL] │
00:00:52 #2410 [Verbose] > │ let v92 : string = $"%A{v91}" │
00:00:52 #2411 [Verbose] > │ let v93 : (int64 []) = Array.zeroCreate<int64> │
00:00:52 #2412 [Verbose] > │ (System.Convert.ToInt32(v69)) │
00:00:52 #2413 [Verbose] > │ let v94 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2414 [Verbose] > │ while method4(v69, v94) do │
00:00:52 #2415 [Verbose] > │ let v96 : uint64 = v94.l0 │
00:00:52 #2416 [Verbose] > │ let struct (v97 : string, v98 : int64) = v43.[int v96] │
00:00:52 #2417 [Verbose] > │ v93.[int v96] <- v98 │
00:00:52 #2418 [Verbose] > │ let v99 : uint64 = v96 + 1UL │
00:00:52 #2419 [Verbose] > │ v94.l0 <- v99 │
00:00:52 #2420 [Verbose] > │ () │
00:00:52 #2421 [Verbose] > │ v24.[int v27] <- struct (v83, v30, v92, v93) │
00:00:52 #2422 [Verbose] > │ let v100 : uint64 = v27 + 1UL │
00:00:52 #2423 [Verbose] > │ v25.l0 <- v100 │
00:00:52 #2424 [Verbose] > │ () │
00:00:52 #2425 [Verbose] > │ let v101 : uint64 = System.Convert.ToUInt64 v24.Length │
00:00:52 #2426 [Verbose] > │ let v102 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:00:52 #2427 [Verbose] > │ US0)> (System.Convert.ToInt32(v101)) │
00:00:52 #2428 [Verbose] > │ let v103 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:52 #2429 [Verbose] > │ while method4(v101, v103) do │
00:00:53 #2430 [Verbose] > │ let v105 : uint64 = v103.l0 │
00:00:53 #2431 [Verbose] > │ let struct (v106 : string, v107 : string, v108 : string, v109 : │
00:00:53 #2432 [Verbose] > │ (int64 [])) = v24.[int v105] │
00:00:53 #2433 [Verbose] > │ let v110 : uint64 = System.Convert.ToUInt64 v109.Length │
00:00:53 #2434 [Verbose] > │ let v111 : UH4 = UH4_1 │
00:00:53 #2435 [Verbose] > │ let v112 : Mut2 = {l0 = 0UL; l1 = v111; l2 = 0L} : Mut2 │
00:00:53 #2436 [Verbose] > │ while method17(v110, v112) do │
00:00:53 #2437 [Verbose] > │ let v114 : uint64 = v112.l0 │
00:00:53 #2438 [Verbose] > │ let struct (v115 : UH4, v116 : int64) = v112.l1, v112.l2 │
00:00:53 #2439 [Verbose] > │ let v117 : int64 = v109.[int v114] │
00:00:53 #2440 [Verbose] > │ let v118 : int64 = v116 + 1L │
00:00:53 #2441 [Verbose] > │ let v119 : uint64 = v114 + 1UL │
00:00:53 #2442 [Verbose] > │ let v120 : UH4 = UH4_0(v116, v117, v115) │
00:00:53 #2443 [Verbose] > │ v112.l0 <- v119 │
00:00:53 #2444 [Verbose] > │ v112.l1 <- v120 │
00:00:53 #2445 [Verbose] > │ v112.l2 <- v118 │
00:00:53 #2446 [Verbose] > │ () │
00:00:53 #2447 [Verbose] > │ let struct (v121 : UH4, v122 : int64) = v112.l1, v112.l2 │
00:00:53 #2448 [Verbose] > │ let v123 : UH4 = UH4_1 │
00:00:53 #2449 [Verbose] > │ let v124 : UH4 = method18(v121, v123) │
00:00:53 #2450 [Verbose] > │ let v125 : (struct (int64 * int64) []) = method19(v124) │
00:00:53 #2451 [Verbose] > │ let v126 : int32 = v125.Length │
00:00:53 #2452 [Verbose] > │ let v127 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:00:53 #2453 [Verbose] > │ (int64 * int64)> (v126) │
00:00:53 #2454 [Verbose] > │ let v128 : Mut1 = {l0 = 0} : Mut1 │
00:00:53 #2455 [Verbose] > │ while method5(v126, v128) do │
00:00:53 #2456 [Verbose] > │ let v130 : int32 = v128.l0 │
00:00:53 #2457 [Verbose] > │ let struct (v131 : int64, v132 : int64) = v125.[int v130] │
00:00:53 #2458 [Verbose] > │ let v133 : int64 = v131 + 1L │
00:00:53 #2459 [Verbose] > │ v127.[int v130] <- struct (v133, v132) │
00:00:53 #2460 [Verbose] > │ let v134 : int32 = v130 + 1 │
00:00:53 #2461 [Verbose] > │ v128.l0 <- v134 │
00:00:53 #2462 [Verbose] > │ () │
00:00:53 #2463 [Verbose] > │ let v135 : (struct (int64 * int64) -> int64) = closure6() │
00:00:53 #2464 [Verbose] > │ let v136 : (struct (int64 * int64) []) = v127 |> Array.sortBy v135 │
00:00:53 #2465 [Verbose] > │ let struct (v137 : int64, v138 : int64) = v136.[int 0] │
00:00:53 #2466 [Verbose] > │ let v139 : string = $"%A{struct (v137, v138)}" │
00:00:53 #2467 [Verbose] > │ let v140 : bool = v106 = v108 │
00:00:53 #2468 [Verbose] > │ let v145 : US0 = │
00:00:53 #2469 [Verbose] > │ if v140 then │
00:00:53 #2470 [Verbose] > │ let v141 : System.ConsoleColor = │
00:00:53 #2471 [Verbose] > │ System.ConsoleColor.DarkGreen │
00:00:53 #2472 [Verbose] > │ US0_1(v141) │
00:00:53 #2473 [Verbose] > │ else │
00:00:53 #2474 [Verbose] > │ let v143 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:00:53 #2475 [Verbose] > │ US0_1(v143) │
00:00:53 #2476 [Verbose] > │ let v146 : UH2 = UH2_1 │
00:00:53 #2477 [Verbose] > │ let v147 : UH2 = UH2_0(v139, v146) │
00:00:53 #2478 [Verbose] > │ let v148 : UH2 = UH2_0(v108, v147) │
00:00:53 #2479 [Verbose] > │ let v149 : UH2 = UH2_0(v106, v148) │
00:00:53 #2480 [Verbose] > │ let v150 : UH2 = UH2_0(v107, v149) │
00:00:53 #2481 [Verbose] > │ v102.[int v105] <- struct (v150, v145) │
00:00:53 #2482 [Verbose] > │ let v151 : uint64 = v105 + 1UL │
00:00:53 #2483 [Verbose] > │ v103.l0 <- v151 │
00:00:53 #2484 [Verbose] > │ () │
00:00:53 #2485 [Verbose] > │ let v152 : string = "Input" │
00:00:53 #2486 [Verbose] > │ let v153 : string = "Expected" │
00:00:53 #2487 [Verbose] > │ let v154 : string = "Result" │
00:00:53 #2488 [Verbose] > │ let v155 : string = "Best" │
00:00:53 #2489 [Verbose] > │ let v156 : UH2 = UH2_1 │
00:00:53 #2490 [Verbose] > │ let v157 : UH2 = UH2_0(v155, v156) │
00:00:53 #2491 [Verbose] > │ let v158 : UH2 = UH2_0(v154, v157) │
00:00:53 #2492 [Verbose] > │ let v159 : UH2 = UH2_0(v153, v158) │
00:00:53 #2493 [Verbose] > │ let v160 : UH2 = UH2_0(v152, v159) │
00:00:53 #2494 [Verbose] > │ let v161 : US0 = US0_0 │
00:00:53 #2495 [Verbose] > │ let v162 : string = "---" │
00:00:53 #2496 [Verbose] > │ let v163 : UH2 = UH2_1 │
00:00:53 #2497 [Verbose] > │ let v164 : UH2 = UH2_0(v162, v163) │
00:00:53 #2498 [Verbose] > │ let v165 : UH2 = UH2_0(v162, v164) │
00:00:53 #2499 [Verbose] > │ let v166 : UH2 = UH2_0(v162, v165) │
00:00:53 #2500 [Verbose] > │ let v167 : UH2 = UH2_0(v162, v166) │
00:00:53 #2501 [Verbose] > │ let v168 : US0 = US0_0 │
00:00:53 #2502 [Verbose] > │ let v169 : UH5 = UH5_1 │
00:00:53 #2503 [Verbose] > │ let v170 : UH5 = UH5_0(v167, v168, v169) │
00:00:53 #2504 [Verbose] > │ let v171 : UH5 = UH5_0(v160, v161, v170) │
00:00:53 #2505 [Verbose] > │ let v172 : (struct (UH2 * US0) []) = method22(v171) │
00:00:53 #2506 [Verbose] > │ let v173 : uint64 = System.Convert.ToUInt64 v172.Length │
00:00:53 #2507 [Verbose] > │ let v174 : uint64 = System.Convert.ToUInt64 v102.Length │
00:00:53 #2508 [Verbose] > │ let v175 : uint64 = v173 + v174 │
00:00:53 #2509 [Verbose] > │ let v176 : (struct (UH2 * US0) []) = Array.zeroCreate<struct (UH2 * │
00:00:53 #2510 [Verbose] > │ US0)> (System.Convert.ToInt32(v175)) │
00:00:53 #2511 [Verbose] > │ let v177 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:53 #2512 [Verbose] > │ while method4(v175, v177) do │
00:00:53 #2513 [Verbose] > │ let v179 : uint64 = v177.l0 │
00:00:53 #2514 [Verbose] > │ let v180 : bool = v179 < v173 │
00:00:53 #2515 [Verbose] > │ let struct (v186 : UH2, v187 : US0) = │
00:00:53 #2516 [Verbose] > │ if v180 then │
00:00:53 #2517 [Verbose] > │ let struct (v181 : UH2, v182 : US0) = v172.[int v179] │
00:00:53 #2518 [Verbose] > │ struct (v181, v182) │
00:00:53 #2519 [Verbose] > │ else │
00:00:53 #2520 [Verbose] > │ let v183 : uint64 = v179 - v173 │
00:00:53 #2521 [Verbose] > │ let struct (v184 : UH2, v185 : US0) = v102.[int v183] │
00:00:53 #2522 [Verbose] > │ struct (v184, v185) │
00:00:53 #2523 [Verbose] > │ v176.[int v179] <- struct (v186, v187) │
00:00:53 #2524 [Verbose] > │ let v188 : uint64 = v179 + 1UL │
00:00:53 #2525 [Verbose] > │ v177.l0 <- v188 │
00:00:53 #2526 [Verbose] > │ () │
00:00:53 #2527 [Verbose] > │ let v189 : uint64 = System.Convert.ToUInt64 v176.Length │
00:00:53 #2528 [Verbose] > │ let v190 : ((string []) []) = Array.zeroCreate<(string [])> │
00:00:53 #2529 [Verbose] > │ (System.Convert.ToInt32(v189)) │
00:00:53 #2530 [Verbose] > │ let v191 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:53 #2531 [Verbose] > │ while method4(v189, v191) do │
00:00:53 #2532 [Verbose] > │ let v193 : uint64 = v191.l0 │
00:00:53 #2533 [Verbose] > │ let struct (v194 : UH2, v195 : US0) = v176.[int v193] │
00:00:53 #2534 [Verbose] > │ let v196 : (string []) = method25(v194) │
00:00:53 #2535 [Verbose] > │ v190.[int v193] <- v196 │
00:00:53 #2536 [Verbose] > │ let v197 : uint64 = v193 + 1UL │
00:00:53 #2537 [Verbose] > │ v191.l0 <- v197 │
00:00:53 #2538 [Verbose] > │ () │
00:00:53 #2539 [Verbose] > │ let v198 : ((string []) []) = v190 |> Array.transpose │
00:00:53 #2540 [Verbose] > │ let v199 : uint64 = System.Convert.ToUInt64 v198.Length │
00:00:53 #2541 [Verbose] > │ let v200 : (int64 []) = Array.zeroCreate<int64> │
00:00:53 #2542 [Verbose] > │ (System.Convert.ToInt32(v199)) │
00:00:53 #2543 [Verbose] > │ let v201 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:53 #2544 [Verbose] > │ while method4(v199, v201) do │
00:00:53 #2545 [Verbose] > │ let v203 : uint64 = v201.l0 │
00:00:53 #2546 [Verbose] > │ let v204 : (string []) = v198.[int v203] │
00:00:53 #2547 [Verbose] > │ let v205 : uint64 = System.Convert.ToUInt64 v204.Length │
00:00:53 #2548 [Verbose] > │ let v206 : (int64 []) = Array.zeroCreate<int64> │
00:00:53 #2549 [Verbose] > │ (System.Convert.ToInt32(v205)) │
00:00:53 #2550 [Verbose] > │ let v207 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:53 #2551 [Verbose] > │ while method4(v205, v207) do │
00:00:53 #2552 [Verbose] > │ let v209 : uint64 = v207.l0 │
00:00:53 #2553 [Verbose] > │ let v210 : string = v204.[int v209] │
00:00:53 #2554 [Verbose] > │ let v211 : int64 = System.Convert.ToInt64 v210.Length │
00:00:53 #2555 [Verbose] > │ v206.[int v209] <- v211 │
00:00:53 #2556 [Verbose] > │ let v212 : uint64 = v209 + 1UL │
00:00:53 #2557 [Verbose] > │ v207.l0 <- v212 │
00:00:53 #2558 [Verbose] > │ () │
00:00:53 #2559 [Verbose] > │ let v213 : (int64 []) = v206 |> Array.sortDescending │
00:00:53 #2560 [Verbose] > │ let v214 : int64 option = v213 |> Array.tryItem 0 │
00:00:53 #2561 [Verbose] > │ let v215 : (int64 -> US1) = closure7() │
00:00:53 #2562 [Verbose] > │ let v216 : US1 = US1_0 │
00:00:53 #2563 [Verbose] > │ let v217 : US1 = v214 |> Option.map v215 |> Option.defaultValue v216 │
00:00:53 #2564 [Verbose] > │ let v220 : int64 = │
00:00:53 #2565 [Verbose] > │ match v217 with │
00:00:53 #2566 [Verbose] > │ | US1_0 -> (* None *) │
00:00:53 #2567 [Verbose] > │ 0L │
00:00:53 #2568 [Verbose] > │ | US1_1(v218) -> (* Some *) │
00:00:53 #2569 [Verbose] > │ v218 │
00:00:53 #2570 [Verbose] > │ v200.[int v203] <- v220 │
00:00:53 #2571 [Verbose] > │ let v221 : uint64 = v203 + 1UL │
00:00:53 #2572 [Verbose] > │ v201.l0 <- v221 │
00:00:53 #2573 [Verbose] > │ () │
00:00:53 #2574 [Verbose] > │ let v222 : uint64 = System.Convert.ToUInt64 v200.Length │
00:00:53 #2575 [Verbose] > │ let v223 : UH6 = UH6_1 │
00:00:53 #2576 [Verbose] > │ let v224 : Mut3 = {l0 = 0UL; l1 = v223; l2 = 0} : Mut3 │
00:00:53 #2577 [Verbose] > │ while method28(v222, v224) do │
00:00:53 #2578 [Verbose] > │ let v226 : uint64 = v224.l0 │
00:00:53 #2579 [Verbose] > │ let struct (v227 : UH6, v228 : int32) = v224.l1, v224.l2 │
00:00:53 #2580 [Verbose] > │ let v229 : int64 = v200.[int v226] │
00:00:53 #2581 [Verbose] > │ let v230 : int32 = v228 + 1 │
00:00:53 #2582 [Verbose] > │ let v231 : uint64 = v226 + 1UL │
00:00:53 #2583 [Verbose] > │ let v232 : UH6 = UH6_0(v228, v229, v227) │
00:00:53 #2584 [Verbose] > │ v224.l0 <- v231 │
00:00:53 #2585 [Verbose] > │ v224.l1 <- v232 │
00:00:53 #2586 [Verbose] > │ v224.l2 <- v230 │
00:00:53 #2587 [Verbose] > │ () │
00:00:53 #2588 [Verbose] > │ let struct (v233 : UH6, v234 : int32) = v224.l1, v224.l2 │
00:00:53 #2589 [Verbose] > │ let v235 : UH6 = UH6_1 │
00:00:53 #2590 [Verbose] > │ let v236 : UH6 = method29(v233, v235) │
00:00:53 #2591 [Verbose] > │ let v237 : (struct (int32 * int64) []) = method30(v236) │
00:00:53 #2592 [Verbose] > │ let v238 : Map<int32, int64> = v237 |> Array.map (fun (struct (a, b)) -> │
00:00:53 #2593 [Verbose] > │ a, b) |> Map.ofArray │
00:00:53 #2594 [Verbose] > │ let v239 : (struct ((string []) * US0) []) = Array.zeroCreate<struct │
00:00:53 #2595 [Verbose] > │ ((string []) * US0)> (System.Convert.ToInt32(v189)) │
00:00:53 #2596 [Verbose] > │ let v240 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:53 #2597 [Verbose] > │ while method4(v189, v240) do │
00:00:53 #2598 [Verbose] > │ let v242 : uint64 = v240.l0 │
00:00:53 #2599 [Verbose] > │ let struct (v243 : UH2, v244 : US0) = v176.[int v242] │
00:00:53 #2600 [Verbose] > │ let v245 : UH7 = UH7_1 │
00:00:53 #2601 [Verbose] > │ let v246 : int32 = 0 │
00:00:53 #2602 [Verbose] > │ let struct (v247 : UH7, v248 : int32) = method33(v243, v245, v246) │
00:00:53 #2603 [Verbose] > │ let v249 : UH7 = UH7_1 │
00:00:53 #2604 [Verbose] > │ let v250 : UH7 = method34(v247, v249) │
00:00:53 #2605 [Verbose] > │ let v251 : UH2 = UH2_1 │
00:00:53 #2606 [Verbose] > │ let v252 : UH2 = method35(v238, v250, v251) │
00:00:53 #2607 [Verbose] > │ let v253 : (string []) = method9(v252) │
00:00:53 #2608 [Verbose] > │ v239.[int v242] <- struct (v253, v244) │
00:00:53 #2609 [Verbose] > │ let v254 : uint64 = v242 + 1UL │
00:00:53 #2610 [Verbose] > │ v240.l0 <- v254 │
00:00:53 #2611 [Verbose] > │ () │
00:00:53 #2612 [Verbose] > │ System.Console.WriteLine v2 │
00:00:53 #2613 [Verbose] > │ let v255 : uint64 = System.Convert.ToUInt64 v239.Length │
00:00:53 #2614 [Verbose] > │ let v256 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:53 #2615 [Verbose] > │ while method4(v255, v256) do │
00:00:53 #2616 [Verbose] > │ let v258 : uint64 = v256.l0 │
00:00:53 #2617 [Verbose] > │ let struct (v259 : (string []), v260 : US0) = v239.[int v258] │
00:00:53 #2618 [Verbose] > │ match v260 with │
00:00:53 #2619 [Verbose] > │ | US0_0 -> (* None *) │
00:00:53 #2620 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:53 #2621 [Verbose] > │ let v264 : (unit -> unit) = closure8() │
00:00:53 #2622 [Verbose] > │ v264 () │
00:00:53 #2623 [Verbose] > │ #else │
00:00:53 #2624 [Verbose] > │ let v265 : (unit -> unit) = closure9() │
00:00:53 #2625 [Verbose] > │ v265 () │
00:00:53 #2626 [Verbose] > │ #endif │
00:00:53 #2627 [Verbose] > │ () │
00:00:53 #2628 [Verbose] > │ | US0_1(v261) -> (* Some *) │
00:00:53 #2629 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:53 #2630 [Verbose] > │ let v262 : (unit -> unit) = closure10() │
00:00:53 #2631 [Verbose] > │ v262 () │
00:00:53 #2632 [Verbose] > │ #else │
00:00:53 #2633 [Verbose] > │ let v263 : (unit -> unit) = closure11(v261) │
00:00:53 #2634 [Verbose] > │ v263 () │
00:00:53 #2635 [Verbose] > │ #endif │
00:00:53 #2636 [Verbose] > │ () │
00:00:53 #2637 [Verbose] > │ let v266 : string = "\t| " │
00:00:53 #2638 [Verbose] > │ let v267 : string = System.String.Join (v266, v259) │
00:00:53 #2639 [Verbose] > │ System.Console.WriteLine v267 │
00:00:53 #2640 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:00:53 #2641 [Verbose] > │ let v268 : (unit -> unit) = closure8() │
00:00:53 #2642 [Verbose] > │ v268 () │
00:00:53 #2643 [Verbose] > │ #else │
00:00:53 #2644 [Verbose] > │ let v269 : (unit -> unit) = closure9() │
00:00:53 #2645 [Verbose] > │ v269 () │
00:00:53 #2646 [Verbose] > │ #endif │
00:00:53 #2647 [Verbose] > │ let v270 : uint64 = v258 + 1UL │
00:00:53 #2648 [Verbose] > │ v256.l0 <- v270 │
00:00:53 #2649 [Verbose] > │ () │
00:00:53 #2650 [Verbose] > │ let v271 : ((float []) []) = Array.zeroCreate<(float [])> │
00:00:53 #2651 [Verbose] > │ (System.Convert.ToInt32(v101)) │
00:00:53 #2652 [Verbose] > │ let v272 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:53 #2653 [Verbose] > │ while method4(v101, v272) do │
00:00:53 #2654 [Verbose] > │ let v274 : uint64 = v272.l0 │
00:00:53 #2655 [Verbose] > │ let struct (v275 : string, v276 : string, v277 : string, v278 : │
00:00:53 #2656 [Verbose] > │ (int64 [])) = v24.[int v274] │
00:00:53 #2657 [Verbose] > │ let v279 : (int64 -> float) = float │
00:00:53 #2658 [Verbose] > │ let v280 : uint64 = System.Convert.ToUInt64 v278.Length │
00:00:53 #2659 [Verbose] > │ let v281 : (float []) = Array.zeroCreate<float> │
00:00:53 #2660 [Verbose] > │ (System.Convert.ToInt32(v280)) │
00:00:53 #2661 [Verbose] > │ let v282 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:53 #2662 [Verbose] > │ while method4(v280, v282) do │
00:00:53 #2663 [Verbose] > │ let v284 : uint64 = v282.l0 │
00:00:53 #2664 [Verbose] > │ let v285 : int64 = v278.[int v284] │
00:00:53 #2665 [Verbose] > │ let v286 : float = v279 v285 │
00:00:53 #2666 [Verbose] > │ v281.[int v284] <- v286 │
00:00:53 #2667 [Verbose] > │ let v287 : uint64 = v284 + 1UL │
00:00:53 #2668 [Verbose] > │ v282.l0 <- v287 │
00:00:53 #2669 [Verbose] > │ () │
00:00:53 #2670 [Verbose] > │ v271.[int v274] <- v281 │
00:00:53 #2671 [Verbose] > │ let v288 : uint64 = v274 + 1UL │
00:00:53 #2672 [Verbose] > │ v272.l0 <- v288 │
00:00:53 #2673 [Verbose] > │ () │
00:00:53 #2674 [Verbose] > │ let v289 : ((float []) []) = v271 |> Array.transpose │
00:00:53 #2675 [Verbose] > │ let v290 : uint64 = System.Convert.ToUInt64 v289.Length │
00:00:53 #2676 [Verbose] > │ let v291 : (float []) = Array.zeroCreate<float> │
00:00:53 #2677 [Verbose] > │ (System.Convert.ToInt32(v290)) │
00:00:53 #2678 [Verbose] > │ let v292 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:53 #2679 [Verbose] > │ while method4(v290, v292) do │
00:00:53 #2680 [Verbose] > │ let v294 : uint64 = v292.l0 │
00:00:53 #2681 [Verbose] > │ let v295 : (float []) = v289.[int v294] │
00:00:53 #2682 [Verbose] > │ let v296 : float = v295 |> Array.average │
00:00:53 #2683 [Verbose] > │ v291.[int v294] <- v296 │
00:00:53 #2684 [Verbose] > │ let v297 : uint64 = v294 + 1UL │
00:00:53 #2685 [Verbose] > │ v292.l0 <- v297 │
00:00:53 #2686 [Verbose] > │ () │
00:00:53 #2687 [Verbose] > │ let v298 : (float -> int64) = int64 │
00:00:53 #2688 [Verbose] > │ let v299 : uint64 = System.Convert.ToUInt64 v291.Length │
00:00:53 #2689 [Verbose] > │ let v300 : (int64 []) = Array.zeroCreate<int64> │
00:00:53 #2690 [Verbose] > │ (System.Convert.ToInt32(v299)) │
00:00:53 #2691 [Verbose] > │ let v301 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:53 #2692 [Verbose] > │ while method4(v299, v301) do │
00:00:53 #2693 [Verbose] > │ let v303 : uint64 = v301.l0 │
00:00:53 #2694 [Verbose] > │ let v304 : float = v291.[int v303] │
00:00:53 #2695 [Verbose] > │ let v305 : int64 = v298 v304 │
00:00:53 #2696 [Verbose] > │ v300.[int v303] <- v305 │
00:00:53 #2697 [Verbose] > │ let v306 : uint64 = v303 + 1UL │
00:00:53 #2698 [Verbose] > │ v301.l0 <- v306 │
00:00:53 #2699 [Verbose] > │ () │
00:00:53 #2700 [Verbose] > │ let v307 : uint64 = System.Convert.ToUInt64 v300.Length │
00:00:53 #2701 [Verbose] > │ let v308 : UH6 = UH6_1 │
00:00:53 #2702 [Verbose] > │ let v309 : Mut3 = {l0 = 0UL; l1 = v308; l2 = 0} : Mut3 │
00:00:53 #2703 [Verbose] > │ while method28(v307, v309) do │
00:00:53 #2704 [Verbose] > │ let v311 : uint64 = v309.l0 │
00:00:53 #2705 [Verbose] > │ let struct (v312 : UH6, v313 : int32) = v309.l1, v309.l2 │
00:00:53 #2706 [Verbose] > │ let v314 : int64 = v300.[int v311] │
00:00:53 #2707 [Verbose] > │ let v315 : int32 = v313 + 1 │
00:00:53 #2708 [Verbose] > │ let v316 : uint64 = v311 + 1UL │
00:00:53 #2709 [Verbose] > │ let v317 : UH6 = UH6_0(v313, v314, v312) │
00:00:53 #2710 [Verbose] > │ v309.l0 <- v316 │
00:00:53 #2711 [Verbose] > │ v309.l1 <- v317 │
00:00:53 #2712 [Verbose] > │ v309.l2 <- v315 │
00:00:53 #2713 [Verbose] > │ () │
00:00:53 #2714 [Verbose] > │ let struct (v318 : UH6, v319 : int32) = v309.l1, v309.l2 │
00:00:53 #2715 [Verbose] > │ let v320 : UH6 = UH6_1 │
00:00:53 #2716 [Verbose] > │ let v321 : UH6 = method29(v318, v320) │
00:00:53 #2717 [Verbose] > │ let v322 : (struct (int32 * int64) []) = method36(v321) │
00:00:53 #2718 [Verbose] > │ System.Console.WriteLine v2 │
00:00:53 #2719 [Verbose] > │ let v323 : string = "Average Ranking " │
00:00:53 #2720 [Verbose] > │ System.Console.WriteLine v323 │
00:00:53 #2721 [Verbose] > │ let v324 : (struct (int32 * int64) -> int64) = closure12() │
00:00:53 #2722 [Verbose] > │ let v325 : (struct (int32 * int64) []) = v322 |> Array.sortBy v324 │
00:00:53 #2723 [Verbose] > │ let v326 : uint64 = System.Convert.ToUInt64 v325.Length │
00:00:53 #2724 [Verbose] > │ let v327 : Mut0 = {l0 = 0UL} : Mut0 │
00:00:53 #2725 [Verbose] > │ while method4(v326, v327) do │
00:00:53 #2726 [Verbose] > │ let v329 : uint64 = v327.l0 │
00:00:53 #2727 [Verbose] > │ let struct (v330 : int32, v331 : int64) = v325.[int v329] │
00:00:53 #2728 [Verbose] > │ let v332 : string = $"Test case %d{v330 + 1}. Average Time: %A{v331} │
00:00:53 #2729 [Verbose] > │ " │
00:00:53 #2730 [Verbose] > │ System.Console.WriteLine v332 │
00:00:53 #2731 [Verbose] > │ let v333 : uint64 = v329 + 1UL │
00:00:53 #2732 [Verbose] > │ v327.l0 <- v333 │
00:00:53 #2733 [Verbose] > │ () │
00:00:53 #2734 [Verbose] > │ () │
00:00:53 #2735 [Verbose] > │ method0() │
00:00:53 #2736 [Verbose] > │ │
00:00:53 #2737 [Verbose] > │ │
00:00:53 #2738 [Verbose] > │ │
00:00:53 #2739 [Verbose] > │ Test: v0 │
00:00:53 #2740 [Verbose] > │ │
00:00:53 #2741 [Verbose] > │ Solution: "abc" │
00:00:53 #2742 [Verbose] > │ Test case 1. F. Time: 933 │
00:00:53 #2743 [Verbose] > │ Test case 2. FA. Time: 1219 │
00:00:53 #2744 [Verbose] > │ │
00:00:53 #2745 [Verbose] > │ Solution: "abcde" │
00:00:53 #2746 [Verbose] > │ Test case 1. F. Time: 1333 │
00:00:53 #2747 [Verbose] > │ Test case 2. FA. Time: 1753 │
00:00:53 #2748 [Verbose] > │ │
00:00:53 #2749 [Verbose] > │ Solution: "abcdefghi" │
00:00:53 #2750 [Verbose] > │ Test case 1. F. Time: 2223 │
00:00:53 #2751 [Verbose] > │ Test case 2. FA. Time: 2498 │
00:00:53 #2752 [Verbose] > │ │
00:00:53 #2753 [Verbose] > │ Solution: "abab" │
00:00:53 #2754 [Verbose] > │ Test case 1. F. Time: 1012 │
00:00:53 #2755 [Verbose] > │ Test case 2. FA. Time: 1166 │
00:00:53 #2756 [Verbose] > │ │
00:00:53 #2757 [Verbose] > │ Solution: "aa" │
00:00:53 #2758 [Verbose] > │ Test case 1. F. Time: 802 │
00:00:53 #2759 [Verbose] > │ Test case 2. FA. Time: 822 │
00:00:53 #2760 [Verbose] > │ │
00:00:53 #2761 [Verbose] > │ Solution: "z" │
00:00:53 #2762 [Verbose] > │ Test case 1. F. Time: 201 │
00:00:53 #2763 [Verbose] > │ Test case 2. FA. Time: 172 │
00:00:53 #2764 [Verbose] > │ │
00:00:53 #2765 [Verbose] > │ Input | Expected │
00:00:53 #2766 [Verbose] > │ │
00:00:53 #2767 [Verbose] > │ | Result │
00:00:53 #2768 [Verbose] > │ │
00:00:53 #2769 [Verbose] > │ | Best │
00:00:53 #2770 [Verbose] > │ --- | --- │
00:00:53 #2771 [Verbose] > │ │
00:00:53 #2772 [Verbose] > │ | --- │
00:00:53 #2773 [Verbose] > │ │
00:00:53 #2774 [Verbose] > │ | --- │
00:00:53 #2775 [Verbose] > │ "abc" | "bca cab abc" │
00:00:53 #2776 [Verbose] > │ │
00:00:53 #2777 [Verbose] > │ | "bca cab abc" │
00:00:53 #2778 [Verbose] > │ │
00:00:53 #2779 [Verbose] > │ | struct (1L, 933L) │
00:00:53 #2780 [Verbose] > │ "abcde" | "bcdea cdeab deabc eabcd abcde" │
00:00:53 #2781 [Verbose] > │ | "bcdea cdeab deabc eabcd abcde" │
00:00:53 #2782 [Verbose] > │ | struct (1L, 1333L) │
00:00:53 #2783 [Verbose] > │ "abcdefghi" | "bcdefghia cdefghiab defghiabc efghiabcd fghiabcde ghiabcdef │
00:00:53 #2784 [Verbose] > │ hiabcdefg iabcdefgh abcdefghi" | "bcdefghia cdefghiab defghiabc efghiabcd │
00:00:53 #2785 [Verbose] > │ fghiabcde ghiabcdef hiabcdefg iabcdefgh abcdefghi" | struct (1L, 2223L) │
00:00:53 #2786 [Verbose] > │ "abab" | "baba abab baba abab" │
00:00:53 #2787 [Verbose] > │ | "baba abab baba abab" │
00:00:53 #2788 [Verbose] > │ | struct (1L, 1012L) │
00:00:53 #2789 [Verbose] > │ "aa" | "aa aa" │
00:00:53 #2790 [Verbose] > │ │
00:00:53 #2791 [Verbose] > │ | "aa aa" │
00:00:53 #2792 [Verbose] > │ │
00:00:53 #2793 [Verbose] > │ | struct (1L, 802L) │
00:00:53 #2794 [Verbose] > │ "z" | "z" │
00:00:53 #2795 [Verbose] > │ │
00:00:53 #2796 [Verbose] > │ | "z" │
00:00:53 #2797 [Verbose] > │ │
00:00:53 #2798 [Verbose] > │ | struct (2L, 172L) │
00:00:53 #2799 [Verbose] > │ │
00:00:53 #2800 [Verbose] > │ Average Ranking │
00:00:53 #2801 [Verbose] > │ Test case 1. Average Time: 1084L │
00:00:53 #2802 [Verbose] > │ Test case 2. Average Time: 1271L │
00:00:53 #2803 [Verbose] > │ │
00:00:53 #2804 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:53 #2805 [Verbose] >
00:00:53 #2806 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:53 #2807 [Verbose] > // // test
00:00:53 #2808 [Verbose] > // // rust=
00:00:53 #2809 [Verbose] > // // print_code=false
00:00:53 #2810 [Verbose] >
00:00:53 #2811 [Verbose] > // rotate_strings_tests ()
00:00:53 #2812 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1552-3627-2726-276421e42ed6\main.spi
00:00:53 #2813 [Verbose] >
00:00:53 #2814 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:00:53 #2815 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:00:53 #2816 [Verbose] > │ ## binary_search_tests │
00:00:53 #2817 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:00:53 #2818 [Verbose] >
00:00:53 #2819 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:00:53 #2820 [Verbose] > // // test
00:00:53 #2821 [Verbose] > // // timeout=60000
00:00:53 #2822 [Verbose] > // // print_code=true
00:00:53 #2823 [Verbose] >
00:00:53 #2824 [Verbose] > inl binary_search_semi_open_1 arr target left right =
00:00:53 #2825 [Verbose] > inl rec body left right =
00:00:53 #2826 [Verbose] > if left >= right
00:00:53 #2827 [Verbose] > then None
00:00:53 #2828 [Verbose] > else
00:00:53 #2829 [Verbose] > inl mid = (left + right) / 2
00:00:53 #2830 [Verbose] > inl item = index arr mid
00:00:53 #2831 [Verbose] > if item = target
00:00:53 #2832 [Verbose] > then Some mid
00:00:53 #2833 [Verbose] > elif item < target
00:00:53 #2834 [Verbose] > then loop (mid + 1) right
00:00:53 #2835 [Verbose] > else loop left mid
00:00:53 #2836 [Verbose] > and inl loop left right =
00:00:53 #2837 [Verbose] > if var_is right |> not
00:00:53 #2838 [Verbose] > then body left right
00:00:53 #2839 [Verbose] > else
00:00:53 #2840 [Verbose] > inl left = dyn left
00:00:53 #2841 [Verbose] > join body left right
00:00:53 #2842 [Verbose] > loop left right
00:00:53 #2843 [Verbose] >
00:00:53 #2844 [Verbose] > inl binary_search_closed_1 arr target left right =
00:00:53 #2845 [Verbose] > inl rec body left right =
00:00:53 #2846 [Verbose] > if left > right
00:00:53 #2847 [Verbose] > then None
00:00:53 #2848 [Verbose] > else
00:00:53 #2849 [Verbose] > inl mid = (left + right) / 2
00:00:53 #2850 [Verbose] > inl item = index arr mid
00:00:53 #2851 [Verbose] > if item = target
00:00:53 #2852 [Verbose] > then Some mid
00:00:53 #2853 [Verbose] > elif item < target
00:00:53 #2854 [Verbose] > then loop (mid + 1) right
00:00:53 #2855 [Verbose] > else loop left (mid - 1)
00:00:53 #2856 [Verbose] > and inl loop left right =
00:00:53 #2857 [Verbose] > if var_is right |> not
00:00:53 #2858 [Verbose] > then body left right
00:00:53 #2859 [Verbose] > else
00:00:53 #2860 [Verbose] > inl left = dyn left
00:00:53 #2861 [Verbose] > join body left right
00:00:53 #2862 [Verbose] > loop left right
00:00:53 #2863 [Verbose] >
00:00:53 #2864 [Verbose] > inl binary_search_semi_open_2 arr target left right =
00:00:53 #2865 [Verbose] > let rec body left right =
00:00:53 #2866 [Verbose] > if left >= right
00:00:53 #2867 [Verbose] > then None
00:00:53 #2868 [Verbose] > else
00:00:53 #2869 [Verbose] > inl mid = (left + right) / 2
00:00:53 #2870 [Verbose] > inl item = index arr mid
00:00:53 #2871 [Verbose] > if item = target
00:00:53 #2872 [Verbose] > then Some mid
00:00:53 #2873 [Verbose] > elif item < target
00:00:53 #2874 [Verbose] > then loop (mid + 1) right
00:00:53 #2875 [Verbose] > else loop left mid
00:00:53 #2876 [Verbose] > and inl loop left right = body left right
00:00:53 #2877 [Verbose] > loop left right
00:00:53 #2878 [Verbose] >
00:00:53 #2879 [Verbose] > inl binary_search_closed_2 arr target left right =
00:00:53 #2880 [Verbose] > let rec body left right =
00:00:53 #2881 [Verbose] > if left > right
00:00:53 #2882 [Verbose] > then None
00:00:53 #2883 [Verbose] > else
00:00:53 #2884 [Verbose] > inl mid = (left + right) / 2
00:00:53 #2885 [Verbose] > inl item = index arr mid
00:00:53 #2886 [Verbose] > if item = target
00:00:53 #2887 [Verbose] > then Some mid
00:00:53 #2888 [Verbose] > elif item < target
00:00:53 #2889 [Verbose] > then loop (mid + 1) right
00:00:53 #2890 [Verbose] > else loop left (mid - 1)
00:00:53 #2891 [Verbose] > and inl loop left right = body left right
00:00:53 #2892 [Verbose] > loop left right
00:00:53 #2893 [Verbose] >
00:00:53 #2894 [Verbose] > inl get_solutions () =
00:00:53 #2895 [Verbose] > [[
00:00:53 #2896 [Verbose] > "semi_open_1",
00:00:53 #2897 [Verbose] > fun (arr, (target, len)) =>
00:00:53 #2898 [Verbose] > binary_search_semi_open_1 arr target 0 len
00:00:53 #2899 [Verbose] >
00:00:53 #2900 [Verbose] > "closed_1",
00:00:53 #2901 [Verbose] > fun (arr, (target, len)) =>
00:00:53 #2902 [Verbose] > binary_search_closed_1 arr target 0 (len - 1)
00:00:53 #2903 [Verbose] >
00:00:53 #2904 [Verbose] > "semi_open_2",
00:00:53 #2905 [Verbose] > fun (arr, (target, len)) =>
00:00:53 #2906 [Verbose] > binary_search_semi_open_2 arr target 0 len
00:00:53 #2907 [Verbose] >
00:00:53 #2908 [Verbose] > "closed_2",
00:00:53 #2909 [Verbose] > fun (arr, (target, len)) =>
00:00:53 #2910 [Verbose] > binary_search_closed_2 arr target 0 (len - 1)
00:00:53 #2911 [Verbose] > ]]
00:00:53 #2912 [Verbose] >
00:00:53 #2913 [Verbose] > inl rec binary_search_tests () =
00:00:53 #2914 [Verbose] > inl arr_with_len target len arr =
00:00:53 #2915 [Verbose] > arr, (target, (len |> optionm'.default_with fun () => length arr))
00:00:53 #2916 [Verbose] >
00:00:53 #2917 [Verbose] > inl test_cases = [[
00:00:53 #2918 [Verbose] > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 6 None), (Some 3i32)
00:00:53 #2919 [Verbose] > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 1 None), (Some 0i32)
00:00:53 #2920 [Verbose] > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 11 None), (Some 6i32)
00:00:53 #2921 [Verbose] > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 12 None), None
00:00:53 #2922 [Verbose] > ((am'.init_series 1i32 100 1) |> arr_with_len 60 None), (Some 59)
00:00:53 #2923 [Verbose] >
00:00:53 #2924 [Verbose] > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 6 (Some 7)), (Some
00:00:53 #2925 [Verbose] > 3i32)
00:00:53 #2926 [Verbose] > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 1 (Some 7)), (Some
00:00:53 #2927 [Verbose] > 0i32)
00:00:53 #2928 [Verbose] > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 11 (Some 7)), (Some
00:00:53 #2929 [Verbose] > 6i32)
00:00:53 #2930 [Verbose] > (a ;[[ 1i32; 3; 4; 6; 8; 9; 11 ]] |> arr_with_len 12 (Some 7)), None
00:00:53 #2931 [Verbose] > ((am'.init_series 1i32 100 1) |> arr_with_len 60 (Some 100)), (Some 59)
00:00:53 #2932 [Verbose] > ]]
00:00:53 #2933 [Verbose] >
00:00:53 #2934 [Verbose] > inl solutions = get_solutions ()
00:00:53 #2935 [Verbose] >
00:00:53 #2936 [Verbose] > // inl is_fast () = true
00:00:53 #2937 [Verbose] >
00:00:53 #2938 [Verbose] > inl count =
00:00:53 #2939 [Verbose] > if is_fast ()
00:00:53 #2940 [Verbose] > then 1000i32
00:00:53 #2941 [Verbose] > else 8000000i32
00:00:53 #2942 [Verbose] >
00:00:53 #2943 [Verbose] > run_all (nameof binary_search_tests) count solutions test_cases
00:00:53 #2944 [Verbose] > |> sort_result_list
00:00:53 #2945 [Verbose] >
00:00:53 #2946 [Verbose] >
00:00:53 #2947 [Verbose] > let main () =
00:00:53 #2948 [Verbose] > binary_search_tests ()
00:00:53 #2949 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1552-3646-4644-4d1ba84a84b2\main.spi
00:01:24 #2950 [Verbose] >
00:01:24 #2951 [Verbose] > ╭─[ 31.13s - stdout ]──────────────────────────────────────────────────────────╮
00:01:24 #2952 [Verbose] > │ type Mut0 = {mutable l0 : int32} │
00:01:24 #2953 [Verbose] > │ and [<Struct>] US0 = │
00:01:24 #2954 [Verbose] > │ | US0_0 │
00:01:24 #2955 [Verbose] > │ | US0_1 of f1_0 : int32 │
00:01:24 #2956 [Verbose] > │ and UH0 = │
00:01:24 #2957 [Verbose] > │ | UH0_0 of (int32 []) * int32 * int32 * US0 * UH0 │
00:01:24 #2958 [Verbose] > │ | UH0_1 │
00:01:24 #2959 [Verbose] > │ and Mut1 = {mutable l0 : uint64} │
00:01:24 #2960 [Verbose] > │ and UH1 = │
00:01:24 #2961 [Verbose] > │ | UH1_0 of int32 * string * (struct ((int32 []) * int32 * int32) -> US0) │
00:01:24 #2962 [Verbose] > │ * UH1 │
00:01:24 #2963 [Verbose] > │ | UH1_1 │
00:01:24 #2964 [Verbose] > │ and UH2 = │
00:01:24 #2965 [Verbose] > │ | UH2_0 of string * UH2 │
00:01:24 #2966 [Verbose] > │ | UH2_1 │
00:01:24 #2967 [Verbose] > │ and [<Struct>] US1 = │
00:01:24 #2968 [Verbose] > │ | US1_0 │
00:01:24 #2969 [Verbose] > │ | US1_1 of f1_0 : System.ConsoleColor │
00:01:24 #2970 [Verbose] > │ and UH3 = │
00:01:24 #2971 [Verbose] > │ | UH3_0 of int64 * int64 * UH3 │
00:01:24 #2972 [Verbose] > │ | UH3_1 │
00:01:24 #2973 [Verbose] > │ and Mut2 = {mutable l0 : uint64; mutable l1 : UH3; mutable l2 : int64} │
00:01:24 #2974 [Verbose] > │ and UH4 = │
00:01:24 #2975 [Verbose] > │ | UH4_0 of UH2 * US1 * UH4 │
00:01:24 #2976 [Verbose] > │ | UH4_1 │
00:01:24 #2977 [Verbose] > │ and [<Struct>] US2 = │
00:01:24 #2978 [Verbose] > │ | US2_0 │
00:01:24 #2979 [Verbose] > │ | US2_1 of f1_0 : int64 │
00:01:24 #2980 [Verbose] > │ and UH5 = │
00:01:24 #2981 [Verbose] > │ | UH5_0 of int32 * int64 * UH5 │
00:01:24 #2982 [Verbose] > │ | UH5_1 │
00:01:24 #2983 [Verbose] > │ and Mut3 = {mutable l0 : uint64; mutable l1 : UH5; mutable l2 : int32} │
00:01:24 #2984 [Verbose] > │ and UH6 = │
00:01:24 #2985 [Verbose] > │ | UH6_0 of int32 * string * UH6 │
00:01:24 #2986 [Verbose] > │ | UH6_1 │
00:01:24 #2987 [Verbose] > │ let rec method1 (v0 : Mut0) : bool = │
00:01:24 #2988 [Verbose] > │ let v1 : int32 = v0.l0 │
00:01:24 #2989 [Verbose] > │ let v2 : bool = v1 < 100 │
00:01:24 #2990 [Verbose] > │ v2 │
00:01:24 #2991 [Verbose] > │ and method3 (v0 : UH0, v1 : uint64) : uint64 = │
00:01:24 #2992 [Verbose] > │ match v0 with │
00:01:24 #2993 [Verbose] > │ | UH0_0(v2, v3, v4, v5, v6) -> (* Cons *) │
00:01:24 #2994 [Verbose] > │ let v7 : uint64 = v1 + 1UL │
00:01:24 #2995 [Verbose] > │ method3(v6, v7) │
00:01:24 #2996 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:01:24 #2997 [Verbose] > │ v1 │
00:01:24 #2998 [Verbose] > │ and method4 (v0 : (struct ((int32 []) * int32 * int32 * US0) []), v1 : UH0, │
00:01:24 #2999 [Verbose] > │ v2 : uint64) : uint64 = │
00:01:24 #3000 [Verbose] > │ match v1 with │
00:01:24 #3001 [Verbose] > │ | UH0_0(v3, v4, v5, v6, v7) -> (* Cons *) │
00:01:24 #3002 [Verbose] > │ v0.[int v2] <- struct (v3, v4, v5, v6) │
00:01:24 #3003 [Verbose] > │ let v8 : uint64 = v2 + 1UL │
00:01:24 #3004 [Verbose] > │ method4(v0, v7, v8) │
00:01:24 #3005 [Verbose] > │ | UH0_1 -> (* Nil *) │
00:01:24 #3006 [Verbose] > │ v2 │
00:01:24 #3007 [Verbose] > │ and method2 (v0 : UH0) : (struct ((int32 []) * int32 * int32 * US0) []) = │
00:01:24 #3008 [Verbose] > │ let v1 : uint64 = 0UL │
00:01:24 #3009 [Verbose] > │ let v2 : uint64 = method3(v0, v1) │
00:01:24 #3010 [Verbose] > │ let v3 : (struct ((int32 []) * int32 * int32 * US0) []) = │
00:01:24 #3011 [Verbose] > │ Array.zeroCreate<struct ((int32 []) * int32 * int32 * US0)> │
00:01:24 #3012 [Verbose] > │ (System.Convert.ToInt32(v2)) │
00:01:24 #3013 [Verbose] > │ let v4 : uint64 = 0UL │
00:01:24 #3014 [Verbose] > │ let v5 : uint64 = method4(v3, v0, v4) │
00:01:24 #3015 [Verbose] > │ v3 │
00:01:24 #3016 [Verbose] > │ and method5 (v0 : uint64, v1 : Mut1) : bool = │
00:01:24 #3017 [Verbose] > │ let v2 : uint64 = v1.l0 │
00:01:24 #3018 [Verbose] > │ let v3 : bool = v2 < v0 │
00:01:24 #3019 [Verbose] > │ v3 │
00:01:24 #3020 [Verbose] > │ and method6 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : int32) : US0 = │
00:01:24 #3021 [Verbose] > │ let v4 : bool = v3 >= v2 │
00:01:24 #3022 [Verbose] > │ if v4 then │
00:01:24 #3023 [Verbose] > │ US0_0 │
00:01:24 #3024 [Verbose] > │ else │
00:01:24 #3025 [Verbose] > │ let v6 : int32 = v3 + v2 │
00:01:24 #3026 [Verbose] > │ let v7 : int32 = v6 / 2 │
00:01:24 #3027 [Verbose] > │ let v8 : int32 = v0.[int v7] │
00:01:24 #3028 [Verbose] > │ let v9 : bool = v8 = v1 │
00:01:24 #3029 [Verbose] > │ if v9 then │
00:01:24 #3030 [Verbose] > │ US0_1(v7) │
00:01:24 #3031 [Verbose] > │ else │
00:01:24 #3032 [Verbose] > │ let v11 : bool = v8 < v1 │
00:01:24 #3033 [Verbose] > │ if v11 then │
00:01:24 #3034 [Verbose] > │ let v12 : int32 = v7 + 1 │
00:01:24 #3035 [Verbose] > │ method6(v0, v1, v2, v12) │
00:01:24 #3036 [Verbose] > │ else │
00:01:24 #3037 [Verbose] > │ method6(v0, v1, v7, v3) │
00:01:24 #3038 [Verbose] > │ and closure1 () struct (v0 : (int32 []), v1 : int32, v2 : int32) : US0 = │
00:01:24 #3039 [Verbose] > │ let v3 : int32 = 0 │
00:01:24 #3040 [Verbose] > │ method6(v0, v1, v2, v3) │
00:01:24 #3041 [Verbose] > │ and method7 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : int32) : US0 = │
00:01:24 #3042 [Verbose] > │ let v4 : bool = v3 > v2 │
00:01:24 #3043 [Verbose] > │ if v4 then │
00:01:24 #3044 [Verbose] > │ US0_0 │
00:01:24 #3045 [Verbose] > │ else │
00:01:24 #3046 [Verbose] > │ let v6 : int32 = v3 + v2 │
00:01:24 #3047 [Verbose] > │ let v7 : int32 = v6 / 2 │
00:01:24 #3048 [Verbose] > │ let v8 : int32 = v0.[int v7] │
00:01:24 #3049 [Verbose] > │ let v9 : bool = v8 = v1 │
00:01:24 #3050 [Verbose] > │ if v9 then │
00:01:24 #3051 [Verbose] > │ US0_1(v7) │
00:01:24 #3052 [Verbose] > │ else │
00:01:24 #3053 [Verbose] > │ let v11 : bool = v8 < v1 │
00:01:24 #3054 [Verbose] > │ if v11 then │
00:01:24 #3055 [Verbose] > │ let v12 : int32 = v7 + 1 │
00:01:24 #3056 [Verbose] > │ method7(v0, v1, v2, v12) │
00:01:24 #3057 [Verbose] > │ else │
00:01:24 #3058 [Verbose] > │ let v14 : int32 = v7 - 1 │
00:01:24 #3059 [Verbose] > │ method7(v0, v1, v14, v3) │
00:01:24 #3060 [Verbose] > │ and closure2 () struct (v0 : (int32 []), v1 : int32, v2 : int32) : US0 = │
00:01:24 #3061 [Verbose] > │ let v3 : int32 = v2 - 1 │
00:01:24 #3062 [Verbose] > │ let v4 : int32 = 0 │
00:01:24 #3063 [Verbose] > │ method7(v0, v1, v3, v4) │
00:01:24 #3064 [Verbose] > │ and method8 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : int32) : US0 = │
00:01:24 #3065 [Verbose] > │ let v4 : bool = v2 >= v3 │
00:01:24 #3066 [Verbose] > │ if v4 then │
00:01:24 #3067 [Verbose] > │ US0_0 │
00:01:24 #3068 [Verbose] > │ else │
00:01:24 #3069 [Verbose] > │ let v6 : int32 = v2 + v3 │
00:01:24 #3070 [Verbose] > │ let v7 : int32 = v6 / 2 │
00:01:24 #3071 [Verbose] > │ let v8 : int32 = v0.[int v7] │
00:01:24 #3072 [Verbose] > │ let v9 : bool = v8 = v1 │
00:01:24 #3073 [Verbose] > │ if v9 then │
00:01:24 #3074 [Verbose] > │ US0_1(v7) │
00:01:24 #3075 [Verbose] > │ else │
00:01:24 #3076 [Verbose] > │ let v11 : bool = v8 < v1 │
00:01:24 #3077 [Verbose] > │ if v11 then │
00:01:24 #3078 [Verbose] > │ let v12 : int32 = v7 + 1 │
00:01:24 #3079 [Verbose] > │ method8(v0, v1, v12, v3) │
00:01:24 #3080 [Verbose] > │ else │
00:01:24 #3081 [Verbose] > │ method8(v0, v1, v2, v7) │
00:01:24 #3082 [Verbose] > │ and closure3 () struct (v0 : (int32 []), v1 : int32, v2 : int32) : US0 = │
00:01:24 #3083 [Verbose] > │ let v3 : int32 = 0 │
00:01:24 #3084 [Verbose] > │ method8(v0, v1, v3, v2) │
00:01:24 #3085 [Verbose] > │ and method9 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : int32) : US0 = │
00:01:24 #3086 [Verbose] > │ let v4 : bool = v2 > v3 │
00:01:24 #3087 [Verbose] > │ if v4 then │
00:01:24 #3088 [Verbose] > │ US0_0 │
00:01:24 #3089 [Verbose] > │ else │
00:01:24 #3090 [Verbose] > │ let v6 : int32 = v2 + v3 │
00:01:24 #3091 [Verbose] > │ let v7 : int32 = v6 / 2 │
00:01:24 #3092 [Verbose] > │ let v8 : int32 = v0.[int v7] │
00:01:24 #3093 [Verbose] > │ let v9 : bool = v8 = v1 │
00:01:24 #3094 [Verbose] > │ if v9 then │
00:01:24 #3095 [Verbose] > │ US0_1(v7) │
00:01:24 #3096 [Verbose] > │ else │
00:01:24 #3097 [Verbose] > │ let v11 : bool = v8 < v1 │
00:01:24 #3098 [Verbose] > │ if v11 then │
00:01:24 #3099 [Verbose] > │ let v12 : int32 = v7 + 1 │
00:01:24 #3100 [Verbose] > │ method9(v0, v1, v12, v3) │
00:01:24 #3101 [Verbose] > │ else │
00:01:24 #3102 [Verbose] > │ let v14 : int32 = v7 - 1 │
00:01:24 #3103 [Verbose] > │ method9(v0, v1, v2, v14) │
00:01:24 #3104 [Verbose] > │ and closure4 () struct (v0 : (int32 []), v1 : int32, v2 : int32) : US0 = │
00:01:24 #3105 [Verbose] > │ let v3 : int32 = v2 - 1 │
00:01:24 #3106 [Verbose] > │ let v4 : int32 = 0 │
00:01:24 #3107 [Verbose] > │ method9(v0, v1, v4, v3) │
00:01:24 #3108 [Verbose] > │ and method11 (v0 : UH1, v1 : uint64) : uint64 = │
00:01:24 #3109 [Verbose] > │ match v0 with │
00:01:24 #3110 [Verbose] > │ | UH1_0(v2, v3, v4, v5) -> (* Cons *) │
00:01:24 #3111 [Verbose] > │ let v6 : uint64 = v1 + 1UL │
00:01:24 #3112 [Verbose] > │ method11(v5, v6) │
00:01:24 #3113 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:01:24 #3114 [Verbose] > │ v1 │
00:01:24 #3115 [Verbose] > │ and method12 (v0 : (struct (int32 * string * (struct ((int32 []) * int32 * │
00:01:24 #3116 [Verbose] > │ int32) -> US0)) []), v1 : UH1, v2 : uint64) : uint64 = │
00:01:24 #3117 [Verbose] > │ match v1 with │
00:01:24 #3118 [Verbose] > │ | UH1_0(v3, v4, v5, v6) -> (* Cons *) │
00:01:24 #3119 [Verbose] > │ v0.[int v2] <- struct (v3, v4, v5) │
00:01:24 #3120 [Verbose] > │ let v7 : uint64 = v2 + 1UL │
00:01:24 #3121 [Verbose] > │ method12(v0, v6, v7) │
00:01:24 #3122 [Verbose] > │ | UH1_1 -> (* Nil *) │
00:01:24 #3123 [Verbose] > │ v2 │
00:01:24 #3124 [Verbose] > │ and method10 (v0 : UH1) : (struct (int32 * string * (struct ((int32 []) * │
00:01:24 #3125 [Verbose] > │ int32 * int32) -> US0)) []) = │
00:01:24 #3126 [Verbose] > │ let v1 : uint64 = 0UL │
00:01:24 #3127 [Verbose] > │ let v2 : uint64 = method11(v0, v1) │
00:01:24 #3128 [Verbose] > │ let v3 : (struct (int32 * string * (struct ((int32 []) * int32 * int32) │
00:01:24 #3129 [Verbose] > │ -> US0)) []) = Array.zeroCreate<struct (int32 * string * (struct ((int32 []) │
00:01:24 #3130 [Verbose] > │ * int32 * int32) -> US0))> (System.Convert.ToInt32(v2)) │
00:01:24 #3131 [Verbose] > │ let v4 : uint64 = 0UL │
00:01:24 #3132 [Verbose] > │ let v5 : uint64 = method12(v3, v0, v4) │
00:01:24 #3133 [Verbose] > │ v3 │
00:01:24 #3134 [Verbose] > │ and closure5 () () : unit = │
00:01:24 #3135 [Verbose] > │ () │
00:01:24 #3136 [Verbose] > │ and closure6 () () : unit = │
00:01:24 #3137 [Verbose] > │ System.GC.Collect () │
00:01:24 #3138 [Verbose] > │ () │
00:01:24 #3139 [Verbose] > │ and method13 (v0 : Mut0) : bool = │
00:01:24 #3140 [Verbose] > │ let v1 : int32 = v0.l0 │
00:01:24 #3141 [Verbose] > │ let v2 : bool = v1 < 8000001 │
00:01:24 #3142 [Verbose] > │ v2 │
00:01:24 #3143 [Verbose] > │ and closure7 (v0 : (int32 []), v1 : int32, v2 : int32, v3 : (struct ((int32 │
00:01:24 #3144 [Verbose] > │ []) * int32 * int32) -> US0)) (v4 : int32) : US0 = │
00:01:24 #3145 [Verbose] > │ v3 struct (v0, v1, v2) │
00:01:24 #3146 [Verbose] > │ and method14 (v0 : US0, v1 : (US0 []), v2 : uint64) : bool = │
00:01:24 #3147 [Verbose] > │ let v3 : uint64 = System.Convert.ToUInt64 v1.Length │
00:01:24 #3148 [Verbose] > │ let v4 : bool = v2 < v3 │
00:01:24 #3149 [Verbose] > │ if v4 then │
00:01:24 #3150 [Verbose] > │ let v5 : US0 = v1.[int v2] │
00:01:24 #3151 [Verbose] > │ let v9 : bool = │
00:01:24 #3152 [Verbose] > │ match v0, v5 with │
00:01:24 #3153 [Verbose] > │ | US0_0, US0_0 -> (* None *) │
00:01:24 #3154 [Verbose] > │ true │
00:01:24 #3155 [Verbose] > │ | US0_1(v6), US0_1(v7) -> (* Some *) │
00:01:24 #3156 [Verbose] > │ let v8 : bool = v6 = v7 │
00:01:24 #3157 [Verbose] > │ v8 │
00:01:24 #3158 [Verbose] > │ | _ -> │
00:01:24 #3159 [Verbose] > │ false │
00:01:24 #3160 [Verbose] > │ if v9 then │
00:01:24 #3161 [Verbose] > │ let v10 : uint64 = v2 + 1UL │
00:01:24 #3162 [Verbose] > │ method14(v0, v1, v10) │
00:01:24 #3163 [Verbose] > │ else │
00:01:24 #3164 [Verbose] > │ false │
00:01:24 #3165 [Verbose] > │ else │
00:01:24 #3166 [Verbose] > │ true │
00:01:24 #3167 [Verbose] > │ and method15 (v0 : uint64, v1 : Mut2) : bool = │
00:01:24 #3168 [Verbose] > │ let v2 : uint64 = v1.l0 │
00:01:24 #3169 [Verbose] > │ let v3 : bool = v2 < v0 │
00:01:24 #3170 [Verbose] > │ v3 │
00:01:24 #3171 [Verbose] > │ and method16 (v0 : UH3, v1 : UH3) : UH3 = │
00:01:24 #3172 [Verbose] > │ match v0 with │
00:01:24 #3173 [Verbose] > │ | UH3_0(v2, v3, v4) -> (* Cons *) │
00:01:24 #3174 [Verbose] > │ let v5 : UH3 = UH3_0(v2, v3, v1) │
00:01:24 #3175 [Verbose] > │ method16(v4, v5) │
00:01:24 #3176 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:01:24 #3177 [Verbose] > │ v1 │
00:01:24 #3178 [Verbose] > │ and method18 (v0 : UH3, v1 : int32) : int32 = │
00:01:24 #3179 [Verbose] > │ match v0 with │
00:01:24 #3180 [Verbose] > │ | UH3_0(v2, v3, v4) -> (* Cons *) │
00:01:24 #3181 [Verbose] > │ let v5 : int32 = v1 + 1 │
00:01:24 #3182 [Verbose] > │ method18(v4, v5) │
00:01:24 #3183 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:01:24 #3184 [Verbose] > │ v1 │
00:01:24 #3185 [Verbose] > │ and method19 (v0 : (struct (int64 * int64) []), v1 : UH3, v2 : int32) : │
00:01:24 #3186 [Verbose] > │ int32 = │
00:01:24 #3187 [Verbose] > │ match v1 with │
00:01:24 #3188 [Verbose] > │ | UH3_0(v3, v4, v5) -> (* Cons *) │
00:01:24 #3189 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:01:24 #3190 [Verbose] > │ let v6 : int32 = v2 + 1 │
00:01:24 #3191 [Verbose] > │ method19(v0, v5, v6) │
00:01:24 #3192 [Verbose] > │ | UH3_1 -> (* Nil *) │
00:01:24 #3193 [Verbose] > │ v2 │
00:01:24 #3194 [Verbose] > │ and method17 (v0 : UH3) : (struct (int64 * int64) []) = │
00:01:24 #3195 [Verbose] > │ let v1 : int32 = 0 │
00:01:24 #3196 [Verbose] > │ let v2 : int32 = method18(v0, v1) │
00:01:24 #3197 [Verbose] > │ let v3 : (struct (int64 * int64) []) = Array.zeroCreate<struct (int64 * │
00:01:24 #3198 [Verbose] > │ int64)> (v2) │
00:01:24 #3199 [Verbose] > │ let v4 : int32 = 0 │
00:01:24 #3200 [Verbose] > │ let v5 : int32 = method19(v3, v0, v4) │
00:01:24 #3201 [Verbose] > │ v3 │
00:01:24 #3202 [Verbose] > │ and method20 (v0 : int32, v1 : Mut0) : bool = │
00:01:24 #3203 [Verbose] > │ let v2 : int32 = v1.l0 │
00:01:24 #3204 [Verbose] > │ let v3 : bool = v2 < v0 │
00:01:24 #3205 [Verbose] > │ v3 │
00:01:24 #3206 [Verbose] > │ and closure8 () struct (v0 : int64, v1 : int64) : int64 = │
00:01:24 #3207 [Verbose] > │ v1 │
00:01:24 #3208 [Verbose] > │ and method22 (v0 : UH4, v1 : uint64) : uint64 = │
00:01:24 #3209 [Verbose] > │ match v0 with │
00:01:24 #3210 [Verbose] > │ | UH4_0(v2, v3, v4) -> (* Cons *) │
00:01:24 #3211 [Verbose] > │ let v5 : uint64 = v1 + 1UL │
00:01:24 #3212 [Verbose] > │ method22(v4, v5) │
00:01:24 #3213 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:01:24 #3214 [Verbose] > │ v1 │
00:01:24 #3215 [Verbose] > │ and method23 (v0 : (struct (UH2 * US1) []), v1 : UH4, v2 : uint64) : uint64 │
00:01:24 #3216 [Verbose] > │ = │
00:01:24 #3217 [Verbose] > │ match v1 with │
00:01:24 #3218 [Verbose] > │ | UH4_0(v3, v4, v5) -> (* Cons *) │
00:01:24 #3219 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:01:24 #3220 [Verbose] > │ let v6 : uint64 = v2 + 1UL │
00:01:24 #3221 [Verbose] > │ method23(v0, v5, v6) │
00:01:24 #3222 [Verbose] > │ | UH4_1 -> (* Nil *) │
00:01:24 #3223 [Verbose] > │ v2 │
00:01:24 #3224 [Verbose] > │ and method21 (v0 : UH4) : (struct (UH2 * US1) []) = │
00:01:24 #3225 [Verbose] > │ let v1 : uint64 = 0UL │
00:01:24 #3226 [Verbose] > │ let v2 : uint64 = method22(v0, v1) │
00:01:24 #3227 [Verbose] > │ let v3 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 * US1)> │
00:01:24 #3228 [Verbose] > │ (System.Convert.ToInt32(v2)) │
00:01:24 #3229 [Verbose] > │ let v4 : uint64 = 0UL │
00:01:24 #3230 [Verbose] > │ let v5 : uint64 = method23(v3, v0, v4) │
00:01:24 #3231 [Verbose] > │ v3 │
00:01:24 #3232 [Verbose] > │ and method25 (v0 : UH2, v1 : uint64) : uint64 = │
00:01:24 #3233 [Verbose] > │ match v0 with │
00:01:24 #3234 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:01:24 #3235 [Verbose] > │ let v4 : uint64 = v1 + 1UL │
00:01:24 #3236 [Verbose] > │ method25(v3, v4) │
00:01:24 #3237 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:01:24 #3238 [Verbose] > │ v1 │
00:01:24 #3239 [Verbose] > │ and method26 (v0 : (string []), v1 : UH2, v2 : uint64) : uint64 = │
00:01:24 #3240 [Verbose] > │ match v1 with │
00:01:24 #3241 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:01:24 #3242 [Verbose] > │ v0.[int v2] <- v3 │
00:01:24 #3243 [Verbose] > │ let v5 : uint64 = v2 + 1UL │
00:01:24 #3244 [Verbose] > │ method26(v0, v4, v5) │
00:01:24 #3245 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:01:24 #3246 [Verbose] > │ v2 │
00:01:24 #3247 [Verbose] > │ and method24 (v0 : UH2) : (string []) = │
00:01:24 #3248 [Verbose] > │ let v1 : uint64 = 0UL │
00:01:24 #3249 [Verbose] > │ let v2 : uint64 = method25(v0, v1) │
00:01:24 #3250 [Verbose] > │ let v3 : (string []) = Array.zeroCreate<string> │
00:01:24 #3251 [Verbose] > │ (System.Convert.ToInt32(v2)) │
00:01:24 #3252 [Verbose] > │ let v4 : uint64 = 0UL │
00:01:24 #3253 [Verbose] > │ let v5 : uint64 = method26(v3, v0, v4) │
00:01:24 #3254 [Verbose] > │ v3 │
00:01:24 #3255 [Verbose] > │ and closure9 () (v0 : int64) : US2 = │
00:01:24 #3256 [Verbose] > │ US2_1(v0) │
00:01:24 #3257 [Verbose] > │ and method27 (v0 : uint64, v1 : Mut3) : bool = │
00:01:24 #3258 [Verbose] > │ let v2 : uint64 = v1.l0 │
00:01:24 #3259 [Verbose] > │ let v3 : bool = v2 < v0 │
00:01:24 #3260 [Verbose] > │ v3 │
00:01:24 #3261 [Verbose] > │ and method28 (v0 : UH5, v1 : UH5) : UH5 = │
00:01:24 #3262 [Verbose] > │ match v0 with │
00:01:24 #3263 [Verbose] > │ | UH5_0(v2, v3, v4) -> (* Cons *) │
00:01:24 #3264 [Verbose] > │ let v5 : UH5 = UH5_0(v2, v3, v1) │
00:01:24 #3265 [Verbose] > │ method28(v4, v5) │
00:01:24 #3266 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:01:24 #3267 [Verbose] > │ v1 │
00:01:24 #3268 [Verbose] > │ and method30 (v0 : UH5, v1 : int32) : int32 = │
00:01:24 #3269 [Verbose] > │ match v0 with │
00:01:24 #3270 [Verbose] > │ | UH5_0(v2, v3, v4) -> (* Cons *) │
00:01:24 #3271 [Verbose] > │ let v5 : int32 = v1 + 1 │
00:01:24 #3272 [Verbose] > │ method30(v4, v5) │
00:01:24 #3273 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:01:24 #3274 [Verbose] > │ v1 │
00:01:24 #3275 [Verbose] > │ and method31 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : int32) : │
00:01:24 #3276 [Verbose] > │ int32 = │
00:01:24 #3277 [Verbose] > │ match v1 with │
00:01:24 #3278 [Verbose] > │ | UH5_0(v3, v4, v5) -> (* Cons *) │
00:01:24 #3279 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:01:24 #3280 [Verbose] > │ let v6 : int32 = v2 + 1 │
00:01:24 #3281 [Verbose] > │ method31(v0, v5, v6) │
00:01:24 #3282 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:01:24 #3283 [Verbose] > │ v2 │
00:01:24 #3284 [Verbose] > │ and method29 (v0 : UH5) : (struct (int32 * int64) []) = │
00:01:24 #3285 [Verbose] > │ let v1 : int32 = 0 │
00:01:24 #3286 [Verbose] > │ let v2 : int32 = method30(v0, v1) │
00:01:24 #3287 [Verbose] > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:01:24 #3288 [Verbose] > │ int64)> (v2) │
00:01:24 #3289 [Verbose] > │ let v4 : int32 = 0 │
00:01:24 #3290 [Verbose] > │ let v5 : int32 = method31(v3, v0, v4) │
00:01:24 #3291 [Verbose] > │ v3 │
00:01:24 #3292 [Verbose] > │ and method32 (v0 : UH2, v1 : UH6, v2 : int32) : struct (UH6 * int32) = │
00:01:24 #3293 [Verbose] > │ match v0 with │
00:01:24 #3294 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:01:24 #3295 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:01:24 #3296 [Verbose] > │ let v6 : UH6 = UH6_0(v2, v3, v1) │
00:01:24 #3297 [Verbose] > │ method32(v4, v6, v5) │
00:01:24 #3298 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:01:24 #3299 [Verbose] > │ struct (v1, v2) │
00:01:24 #3300 [Verbose] > │ and method33 (v0 : UH6, v1 : UH6) : UH6 = │
00:01:24 #3301 [Verbose] > │ match v0 with │
00:01:24 #3302 [Verbose] > │ | UH6_0(v2, v3, v4) -> (* Cons *) │
00:01:24 #3303 [Verbose] > │ let v5 : UH6 = UH6_0(v2, v3, v1) │
00:01:24 #3304 [Verbose] > │ method33(v4, v5) │
00:01:24 #3305 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:01:24 #3306 [Verbose] > │ v1 │
00:01:24 #3307 [Verbose] > │ and method34 (v0 : Map<int32, int64>, v1 : UH6, v2 : UH2) : UH2 = │
00:01:24 #3308 [Verbose] > │ match v1 with │
00:01:24 #3309 [Verbose] > │ | UH6_0(v3, v4, v5) -> (* Cons *) │
00:01:24 #3310 [Verbose] > │ let v6 : UH2 = method34(v0, v5, v2) │
00:01:24 #3311 [Verbose] > │ let v7 : int64 = v0.[v3] │
00:01:24 #3312 [Verbose] > │ let v8 : int32 = int32 v7 │
00:01:24 #3313 [Verbose] > │ let v9 : string = v4.PadRight v8 │
00:01:24 #3314 [Verbose] > │ UH2_0(v9, v6) │
00:01:24 #3315 [Verbose] > │ | UH6_1 -> (* Nil *) │
00:01:24 #3316 [Verbose] > │ v2 │
00:01:24 #3317 [Verbose] > │ and method36 (v0 : UH2, v1 : int32) : int32 = │
00:01:24 #3318 [Verbose] > │ match v0 with │
00:01:24 #3319 [Verbose] > │ | UH2_0(v2, v3) -> (* Cons *) │
00:01:24 #3320 [Verbose] > │ let v4 : int32 = v1 + 1 │
00:01:24 #3321 [Verbose] > │ method36(v3, v4) │
00:01:24 #3322 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:01:24 #3323 [Verbose] > │ v1 │
00:01:24 #3324 [Verbose] > │ and method37 (v0 : (string []), v1 : UH2, v2 : int32) : int32 = │
00:01:24 #3325 [Verbose] > │ match v1 with │
00:01:24 #3326 [Verbose] > │ | UH2_0(v3, v4) -> (* Cons *) │
00:01:24 #3327 [Verbose] > │ v0.[int v2] <- v3 │
00:01:24 #3328 [Verbose] > │ let v5 : int32 = v2 + 1 │
00:01:24 #3329 [Verbose] > │ method37(v0, v4, v5) │
00:01:24 #3330 [Verbose] > │ | UH2_1 -> (* Nil *) │
00:01:24 #3331 [Verbose] > │ v2 │
00:01:24 #3332 [Verbose] > │ and method35 (v0 : UH2) : (string []) = │
00:01:24 #3333 [Verbose] > │ let v1 : int32 = 0 │
00:01:24 #3334 [Verbose] > │ let v2 : int32 = method36(v0, v1) │
00:01:24 #3335 [Verbose] > │ let v3 : (string []) = Array.zeroCreate<string> (v2) │
00:01:24 #3336 [Verbose] > │ let v4 : int32 = 0 │
00:01:24 #3337 [Verbose] > │ let v5 : int32 = method37(v3, v0, v4) │
00:01:24 #3338 [Verbose] > │ v3 │
00:01:24 #3339 [Verbose] > │ and closure10 () () : unit = │
00:01:24 #3340 [Verbose] > │ () │
00:01:24 #3341 [Verbose] > │ and closure11 () () : unit = │
00:01:24 #3342 [Verbose] > │ System.Console.ResetColor () │
00:01:24 #3343 [Verbose] > │ () │
00:01:24 #3344 [Verbose] > │ and closure12 () () : unit = │
00:01:24 #3345 [Verbose] > │ () │
00:01:24 #3346 [Verbose] > │ and closure13 (v0 : System.ConsoleColor) () : unit = │
00:01:24 #3347 [Verbose] > │ System.Console.ForegroundColor <- v0 │
00:01:24 #3348 [Verbose] > │ () │
00:01:24 #3349 [Verbose] > │ and method39 (v0 : UH5, v1 : uint64) : uint64 = │
00:01:24 #3350 [Verbose] > │ match v0 with │
00:01:24 #3351 [Verbose] > │ | UH5_0(v2, v3, v4) -> (* Cons *) │
00:01:24 #3352 [Verbose] > │ let v5 : uint64 = v1 + 1UL │
00:01:24 #3353 [Verbose] > │ method39(v4, v5) │
00:01:24 #3354 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:01:24 #3355 [Verbose] > │ v1 │
00:01:24 #3356 [Verbose] > │ and method40 (v0 : (struct (int32 * int64) []), v1 : UH5, v2 : uint64) : │
00:01:24 #3357 [Verbose] > │ uint64 = │
00:01:24 #3358 [Verbose] > │ match v1 with │
00:01:24 #3359 [Verbose] > │ | UH5_0(v3, v4, v5) -> (* Cons *) │
00:01:24 #3360 [Verbose] > │ v0.[int v2] <- struct (v3, v4) │
00:01:24 #3361 [Verbose] > │ let v6 : uint64 = v2 + 1UL │
00:01:24 #3362 [Verbose] > │ method40(v0, v5, v6) │
00:01:24 #3363 [Verbose] > │ | UH5_1 -> (* Nil *) │
00:01:24 #3364 [Verbose] > │ v2 │
00:01:24 #3365 [Verbose] > │ and method38 (v0 : UH5) : (struct (int32 * int64) []) = │
00:01:24 #3366 [Verbose] > │ let v1 : uint64 = 0UL │
00:01:24 #3367 [Verbose] > │ let v2 : uint64 = method39(v0, v1) │
00:01:24 #3368 [Verbose] > │ let v3 : (struct (int32 * int64) []) = Array.zeroCreate<struct (int32 * │
00:01:24 #3369 [Verbose] > │ int64)> (System.Convert.ToInt32(v2)) │
00:01:24 #3370 [Verbose] > │ let v4 : uint64 = 0UL │
00:01:24 #3371 [Verbose] > │ let v5 : uint64 = method40(v3, v0, v4) │
00:01:24 #3372 [Verbose] > │ v3 │
00:01:24 #3373 [Verbose] > │ and closure14 () struct (v0 : int32, v1 : int64) : int64 = │
00:01:24 #3374 [Verbose] > │ v1 │
00:01:24 #3375 [Verbose] > │ and closure0 () () : unit = │
00:01:24 #3376 [Verbose] > │ let v0 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3377 [Verbose] > │ let v1 : int32 = v0.Length │
00:01:24 #3378 [Verbose] > │ let v2 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3379 [Verbose] > │ let v3 : int32 = v2.Length │
00:01:24 #3380 [Verbose] > │ let v4 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3381 [Verbose] > │ let v5 : int32 = v4.Length │
00:01:24 #3382 [Verbose] > │ let v6 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3383 [Verbose] > │ let v7 : int32 = v6.Length │
00:01:24 #3384 [Verbose] > │ let v8 : (int32 []) = Array.zeroCreate<int32> (100) │
00:01:24 #3385 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:01:24 #3386 [Verbose] > │ while method1(v9) do │
00:01:24 #3387 [Verbose] > │ let v11 : int32 = v9.l0 │
00:01:24 #3388 [Verbose] > │ let v12 : int32 = 1 + v11 │
00:01:24 #3389 [Verbose] > │ v8.[int v11] <- v12 │
00:01:24 #3390 [Verbose] > │ let v13 : int32 = v11 + 1 │
00:01:24 #3391 [Verbose] > │ v9.l0 <- v13 │
00:01:24 #3392 [Verbose] > │ () │
00:01:24 #3393 [Verbose] > │ let v14 : int32 = v8.Length │
00:01:24 #3394 [Verbose] > │ let v15 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3395 [Verbose] > │ let v16 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3396 [Verbose] > │ let v17 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3397 [Verbose] > │ let v18 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3398 [Verbose] > │ let v19 : (int32 []) = Array.zeroCreate<int32> (100) │
00:01:24 #3399 [Verbose] > │ let v20 : Mut0 = {l0 = 0} : Mut0 │
00:01:24 #3400 [Verbose] > │ while method1(v20) do │
00:01:24 #3401 [Verbose] > │ let v22 : int32 = v20.l0 │
00:01:24 #3402 [Verbose] > │ let v23 : int32 = 1 + v22 │
00:01:24 #3403 [Verbose] > │ v19.[int v22] <- v23 │
00:01:24 #3404 [Verbose] > │ let v24 : int32 = v22 + 1 │
00:01:24 #3405 [Verbose] > │ v20.l0 <- v24 │
00:01:24 #3406 [Verbose] > │ () │
00:01:24 #3407 [Verbose] > │ let v25 : (unit -> unit) = closure0() │
00:01:24 #3408 [Verbose] > │ let v26 : string = nameof v25 │
00:01:24 #3409 [Verbose] > │ let v27 : string = "" │
00:01:24 #3410 [Verbose] > │ System.Console.WriteLine v27 │
00:01:24 #3411 [Verbose] > │ System.Console.WriteLine v27 │
00:01:24 #3412 [Verbose] > │ let v28 : string = $"Test: {v26}" │
00:01:24 #3413 [Verbose] > │ System.Console.WriteLine v28 │
00:01:24 #3414 [Verbose] > │ let v29 : int32 = 6 │
00:01:24 #3415 [Verbose] > │ let v30 : int32 = 3 │
00:01:24 #3416 [Verbose] > │ let v31 : US0 = US0_1(v30) │
00:01:24 #3417 [Verbose] > │ let v32 : int32 = 1 │
00:01:24 #3418 [Verbose] > │ let v33 : int32 = 0 │
00:01:24 #3419 [Verbose] > │ let v34 : US0 = US0_1(v33) │
00:01:24 #3420 [Verbose] > │ let v35 : int32 = 11 │
00:01:24 #3421 [Verbose] > │ let v36 : int32 = 6 │
00:01:24 #3422 [Verbose] > │ let v37 : US0 = US0_1(v36) │
00:01:24 #3423 [Verbose] > │ let v38 : int32 = 12 │
00:01:24 #3424 [Verbose] > │ let v39 : US0 = US0_0 │
00:01:24 #3425 [Verbose] > │ let v40 : int32 = 60 │
00:01:24 #3426 [Verbose] > │ let v41 : int32 = 59 │
00:01:24 #3427 [Verbose] > │ let v42 : US0 = US0_1(v41) │
00:01:24 #3428 [Verbose] > │ let v43 : int32 = 6 │
00:01:24 #3429 [Verbose] > │ let v44 : int32 = 7 │
00:01:24 #3430 [Verbose] > │ let v45 : int32 = 3 │
00:01:24 #3431 [Verbose] > │ let v46 : US0 = US0_1(v45) │
00:01:24 #3432 [Verbose] > │ let v47 : int32 = 1 │
00:01:24 #3433 [Verbose] > │ let v48 : int32 = 7 │
00:01:24 #3434 [Verbose] > │ let v49 : int32 = 0 │
00:01:24 #3435 [Verbose] > │ let v50 : US0 = US0_1(v49) │
00:01:24 #3436 [Verbose] > │ let v51 : int32 = 11 │
00:01:24 #3437 [Verbose] > │ let v52 : int32 = 7 │
00:01:24 #3438 [Verbose] > │ let v53 : int32 = 6 │
00:01:24 #3439 [Verbose] > │ let v54 : US0 = US0_1(v53) │
00:01:24 #3440 [Verbose] > │ let v55 : int32 = 12 │
00:01:24 #3441 [Verbose] > │ let v56 : int32 = 7 │
00:01:24 #3442 [Verbose] > │ let v57 : US0 = US0_0 │
00:01:24 #3443 [Verbose] > │ let v58 : int32 = 60 │
00:01:24 #3444 [Verbose] > │ let v59 : int32 = 100 │
00:01:24 #3445 [Verbose] > │ let v60 : int32 = 59 │
00:01:24 #3446 [Verbose] > │ let v61 : US0 = US0_1(v60) │
00:01:24 #3447 [Verbose] > │ let v62 : UH0 = UH0_1 │
00:01:24 #3448 [Verbose] > │ let v63 : UH0 = UH0_0(v19, v58, v59, v61, v62) │
00:01:24 #3449 [Verbose] > │ let v64 : UH0 = UH0_0(v18, v55, v56, v57, v63) │
00:01:24 #3450 [Verbose] > │ let v65 : UH0 = UH0_0(v17, v51, v52, v54, v64) │
00:01:24 #3451 [Verbose] > │ let v66 : UH0 = UH0_0(v16, v47, v48, v50, v65) │
00:01:24 #3452 [Verbose] > │ let v67 : UH0 = UH0_0(v15, v43, v44, v46, v66) │
00:01:24 #3453 [Verbose] > │ let v68 : UH0 = UH0_0(v8, v40, v14, v42, v67) │
00:01:24 #3454 [Verbose] > │ let v69 : UH0 = UH0_0(v6, v38, v7, v39, v68) │
00:01:24 #3455 [Verbose] > │ let v70 : UH0 = UH0_0(v4, v35, v5, v37, v69) │
00:01:24 #3456 [Verbose] > │ let v71 : UH0 = UH0_0(v2, v32, v3, v34, v70) │
00:01:24 #3457 [Verbose] > │ let v72 : UH0 = UH0_0(v0, v29, v1, v31, v71) │
00:01:24 #3458 [Verbose] > │ let v73 : (struct ((int32 []) * int32 * int32 * US0) []) = method2(v72) │
00:01:24 #3459 [Verbose] > │ let v74 : uint64 = System.Convert.ToUInt64 v73.Length │
00:01:24 #3460 [Verbose] > │ let v75 : (struct (string * string * string * (int64 [])) []) = │
00:01:24 #3461 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:01:24 #3462 [Verbose] > │ (System.Convert.ToInt32(v74)) │
00:01:24 #3463 [Verbose] > │ let v76 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3464 [Verbose] > │ while method5(v74, v76) do │
00:01:24 #3465 [Verbose] > │ let v78 : uint64 = v76.l0 │
00:01:24 #3466 [Verbose] > │ let struct (v79 : (int32 []), v80 : int32, v81 : int32, v82 : US0) = │
00:01:24 #3467 [Verbose] > │ v73.[int v78] │
00:01:24 #3468 [Verbose] > │ let v83 : string = $"%A{struct (v79, v80, v81)}" │
00:01:24 #3469 [Verbose] > │ System.Console.WriteLine v27 │
00:01:24 #3470 [Verbose] > │ let v84 : string = $"Solution: {v83} " │
00:01:24 #3471 [Verbose] > │ System.Console.WriteLine v84 │
00:01:24 #3472 [Verbose] > │ let v85 : int32 = 0 │
00:01:24 #3473 [Verbose] > │ let v86 : string = "semi_open_1" │
00:01:24 #3474 [Verbose] > │ let v87 : (struct ((int32 []) * int32 * int32) -> US0) = closure1() │
00:01:24 #3475 [Verbose] > │ let v88 : int32 = 1 │
00:01:24 #3476 [Verbose] > │ let v89 : string = "closed_1" │
00:01:24 #3477 [Verbose] > │ let v90 : (struct ((int32 []) * int32 * int32) -> US0) = closure2() │
00:01:24 #3478 [Verbose] > │ let v91 : int32 = 2 │
00:01:24 #3479 [Verbose] > │ let v92 : string = "semi_open_2" │
00:01:24 #3480 [Verbose] > │ let v93 : (struct ((int32 []) * int32 * int32) -> US0) = closure3() │
00:01:24 #3481 [Verbose] > │ let v94 : int32 = 3 │
00:01:24 #3482 [Verbose] > │ let v95 : string = "closed_2" │
00:01:24 #3483 [Verbose] > │ let v96 : (struct ((int32 []) * int32 * int32) -> US0) = closure4() │
00:01:24 #3484 [Verbose] > │ let v97 : UH1 = UH1_1 │
00:01:24 #3485 [Verbose] > │ let v98 : UH1 = UH1_0(v94, v95, v96, v97) │
00:01:24 #3486 [Verbose] > │ let v99 : UH1 = UH1_0(v91, v92, v93, v98) │
00:01:24 #3487 [Verbose] > │ let v100 : UH1 = UH1_0(v88, v89, v90, v99) │
00:01:24 #3488 [Verbose] > │ let v101 : UH1 = UH1_0(v85, v86, v87, v100) │
00:01:24 #3489 [Verbose] > │ let v102 : (struct (int32 * string * (struct ((int32 []) * int32 * │
00:01:24 #3490 [Verbose] > │ int32) -> US0)) []) = method10(v101) │
00:01:24 #3491 [Verbose] > │ let v103 : uint64 = System.Convert.ToUInt64 v102.Length │
00:01:24 #3492 [Verbose] > │ let v104 : (struct (US0 * int64) []) = Array.zeroCreate<struct (US0 │
00:01:24 #3493 [Verbose] > │ * int64)> (System.Convert.ToInt32(v103)) │
00:01:24 #3494 [Verbose] > │ let v105 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3495 [Verbose] > │ while method5(v103, v105) do │
00:01:24 #3496 [Verbose] > │ let v107 : uint64 = v105.l0 │
00:01:24 #3497 [Verbose] > │ let struct (v108 : int32, v109 : string, v110 : (struct ((int32 │
00:01:24 #3498 [Verbose] > │ []) * int32 * int32) -> US0)) = v102.[int v107] │
00:01:24 #3499 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:01:24 #3500 [Verbose] > │ let v111 : (unit -> unit) = closure5() │
00:01:24 #3501 [Verbose] > │ v111 () │
00:01:24 #3502 [Verbose] > │ #else │
00:01:24 #3503 [Verbose] > │ let v112 : (unit -> unit) = closure6() │
00:01:24 #3504 [Verbose] > │ v112 () │
00:01:24 #3505 [Verbose] > │ #endif │
00:01:24 #3506 [Verbose] > │ let v113 : (unit -> System.Diagnostics.Stopwatch) = │
00:01:24 #3507 [Verbose] > │ System.Diagnostics.Stopwatch │
00:01:24 #3508 [Verbose] > │ let v114 : System.Diagnostics.Stopwatch = v113 () │
00:01:24 #3509 [Verbose] > │ v114.Start () │
00:01:24 #3510 [Verbose] > │ let v115 : int64 = v114.ElapsedMilliseconds │
00:01:24 #3511 [Verbose] > │ let v116 : (int32 []) = Array.zeroCreate<int32> (8000001) │
00:01:24 #3512 [Verbose] > │ let v117 : Mut0 = {l0 = 0} : Mut0 │
00:01:24 #3513 [Verbose] > │ while method13(v117) do │
00:01:24 #3514 [Verbose] > │ let v119 : int32 = v117.l0 │
00:01:24 #3515 [Verbose] > │ v116.[int v119] <- v119 │
00:01:24 #3516 [Verbose] > │ let v120 : int32 = v119 + 1 │
00:01:24 #3517 [Verbose] > │ v117.l0 <- v120 │
00:01:24 #3518 [Verbose] > │ () │
00:01:24 #3519 [Verbose] > │ let v121 : (int32 -> US0) = closure7(v79, v80, v81, v110) │
00:01:24 #3520 [Verbose] > │ let v122 : (US0 []) = v116 |> Array.Parallel.map v121 │
00:01:24 #3521 [Verbose] > │ let v123 : int32 = v122.Length │
00:01:24 #3522 [Verbose] > │ let v124 : int32 = v123 - 1 │
00:01:24 #3523 [Verbose] > │ let v125 : US0 = v122.[int v124] │
00:01:24 #3524 [Verbose] > │ let v126 : int64 = v114.ElapsedMilliseconds │
00:01:24 #3525 [Verbose] > │ let v127 : int64 = v126 - v115 │
00:01:24 #3526 [Verbose] > │ let v128 : string = $"Test case {v108 + 1}. {v109}. Time: {v127} │
00:01:24 #3527 [Verbose] > │ " │
00:01:24 #3528 [Verbose] > │ System.Console.WriteLine v128 │
00:01:24 #3529 [Verbose] > │ v104.[int v107] <- struct (v125, v127) │
00:01:24 #3530 [Verbose] > │ let v129 : uint64 = v107 + 1UL │
00:01:24 #3531 [Verbose] > │ v105.l0 <- v129 │
00:01:24 #3532 [Verbose] > │ () │
00:01:24 #3533 [Verbose] > │ let v130 : uint64 = System.Convert.ToUInt64 v104.Length │
00:01:24 #3534 [Verbose] > │ let v131 : (US0 []) = Array.zeroCreate<US0> │
00:01:24 #3535 [Verbose] > │ (System.Convert.ToInt32(v130)) │
00:01:24 #3536 [Verbose] > │ let v132 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3537 [Verbose] > │ while method5(v130, v132) do │
00:01:24 #3538 [Verbose] > │ let v134 : uint64 = v132.l0 │
00:01:24 #3539 [Verbose] > │ let struct (v135 : US0, v136 : int64) = v104.[int v134] │
00:01:24 #3540 [Verbose] > │ v131.[int v134] <- v135 │
00:01:24 #3541 [Verbose] > │ let v137 : uint64 = v134 + 1UL │
00:01:24 #3542 [Verbose] > │ v132.l0 <- v137 │
00:01:24 #3543 [Verbose] > │ () │
00:01:24 #3544 [Verbose] > │ let v138 : uint64 = System.Convert.ToUInt64 v131.Length │
00:01:24 #3545 [Verbose] > │ let v139 : bool = v138 <= 1UL │
00:01:24 #3546 [Verbose] > │ if v139 then │
00:01:24 #3547 [Verbose] > │ () │
00:01:24 #3548 [Verbose] > │ else │
00:01:24 #3549 [Verbose] > │ let v140 : US0 = v131.[int 0UL] │
00:01:24 #3550 [Verbose] > │ let v141 : uint64 = 0UL │
00:01:24 #3551 [Verbose] > │ let v142 : bool = method14(v140, v131, v141) │
00:01:24 #3552 [Verbose] > │ if v142 then │
00:01:24 #3553 [Verbose] > │ () │
00:01:24 #3554 [Verbose] > │ else │
00:01:24 #3555 [Verbose] > │ let v143 : string = $"Challenge error: {v131}" │
00:01:24 #3556 [Verbose] > │ failwith<unit> v143 │
00:01:24 #3557 [Verbose] > │ let v144 : string = $"%A{v82}" │
00:01:24 #3558 [Verbose] > │ let v145 : (US0 []) = Array.zeroCreate<US0> │
00:01:24 #3559 [Verbose] > │ (System.Convert.ToInt32(v130)) │
00:01:24 #3560 [Verbose] > │ let v146 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3561 [Verbose] > │ while method5(v130, v146) do │
00:01:24 #3562 [Verbose] > │ let v148 : uint64 = v146.l0 │
00:01:24 #3563 [Verbose] > │ let struct (v149 : US0, v150 : int64) = v104.[int v148] │
00:01:24 #3564 [Verbose] > │ v145.[int v148] <- v149 │
00:01:24 #3565 [Verbose] > │ let v151 : uint64 = v148 + 1UL │
00:01:24 #3566 [Verbose] > │ v146.l0 <- v151 │
00:01:24 #3567 [Verbose] > │ () │
00:01:24 #3568 [Verbose] > │ let v152 : US0 = v145.[int 0UL] │
00:01:24 #3569 [Verbose] > │ let v153 : string = $"%A{v152}" │
00:01:24 #3570 [Verbose] > │ let v154 : (int64 []) = Array.zeroCreate<int64> │
00:01:24 #3571 [Verbose] > │ (System.Convert.ToInt32(v130)) │
00:01:24 #3572 [Verbose] > │ let v155 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3573 [Verbose] > │ while method5(v130, v155) do │
00:01:24 #3574 [Verbose] > │ let v157 : uint64 = v155.l0 │
00:01:24 #3575 [Verbose] > │ let struct (v158 : US0, v159 : int64) = v104.[int v157] │
00:01:24 #3576 [Verbose] > │ v154.[int v157] <- v159 │
00:01:24 #3577 [Verbose] > │ let v160 : uint64 = v157 + 1UL │
00:01:24 #3578 [Verbose] > │ v155.l0 <- v160 │
00:01:24 #3579 [Verbose] > │ () │
00:01:24 #3580 [Verbose] > │ v75.[int v78] <- struct (v144, v83, v153, v154) │
00:01:24 #3581 [Verbose] > │ let v161 : uint64 = v78 + 1UL │
00:01:24 #3582 [Verbose] > │ v76.l0 <- v161 │
00:01:24 #3583 [Verbose] > │ () │
00:01:24 #3584 [Verbose] > │ let v162 : uint64 = System.Convert.ToUInt64 v75.Length │
00:01:24 #3585 [Verbose] > │ let v163 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 * │
00:01:24 #3586 [Verbose] > │ US1)> (System.Convert.ToInt32(v162)) │
00:01:24 #3587 [Verbose] > │ let v164 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3588 [Verbose] > │ while method5(v162, v164) do │
00:01:24 #3589 [Verbose] > │ let v166 : uint64 = v164.l0 │
00:01:24 #3590 [Verbose] > │ let struct (v167 : string, v168 : string, v169 : string, v170 : │
00:01:24 #3591 [Verbose] > │ (int64 [])) = v75.[int v166] │
00:01:24 #3592 [Verbose] > │ let v171 : uint64 = System.Convert.ToUInt64 v170.Length │
00:01:24 #3593 [Verbose] > │ let v172 : UH3 = UH3_1 │
00:01:24 #3594 [Verbose] > │ let v173 : Mut2 = {l0 = 0UL; l1 = v172; l2 = 0L} : Mut2 │
00:01:24 #3595 [Verbose] > │ while method15(v171, v173) do │
00:01:24 #3596 [Verbose] > │ let v175 : uint64 = v173.l0 │
00:01:24 #3597 [Verbose] > │ let struct (v176 : UH3, v177 : int64) = v173.l1, v173.l2 │
00:01:24 #3598 [Verbose] > │ let v178 : int64 = v170.[int v175] │
00:01:24 #3599 [Verbose] > │ let v179 : int64 = v177 + 1L │
00:01:24 #3600 [Verbose] > │ let v180 : uint64 = v175 + 1UL │
00:01:24 #3601 [Verbose] > │ let v181 : UH3 = UH3_0(v177, v178, v176) │
00:01:24 #3602 [Verbose] > │ v173.l0 <- v180 │
00:01:24 #3603 [Verbose] > │ v173.l1 <- v181 │
00:01:24 #3604 [Verbose] > │ v173.l2 <- v179 │
00:01:24 #3605 [Verbose] > │ () │
00:01:24 #3606 [Verbose] > │ let struct (v182 : UH3, v183 : int64) = v173.l1, v173.l2 │
00:01:24 #3607 [Verbose] > │ let v184 : UH3 = UH3_1 │
00:01:24 #3608 [Verbose] > │ let v185 : UH3 = method16(v182, v184) │
00:01:24 #3609 [Verbose] > │ let v186 : (struct (int64 * int64) []) = method17(v185) │
00:01:24 #3610 [Verbose] > │ let v187 : int32 = v186.Length │
00:01:24 #3611 [Verbose] > │ let v188 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:01:24 #3612 [Verbose] > │ (int64 * int64)> (v187) │
00:01:24 #3613 [Verbose] > │ let v189 : Mut0 = {l0 = 0} : Mut0 │
00:01:24 #3614 [Verbose] > │ while method20(v187, v189) do │
00:01:24 #3615 [Verbose] > │ let v191 : int32 = v189.l0 │
00:01:24 #3616 [Verbose] > │ let struct (v192 : int64, v193 : int64) = v186.[int v191] │
00:01:24 #3617 [Verbose] > │ let v194 : int64 = v192 + 1L │
00:01:24 #3618 [Verbose] > │ v188.[int v191] <- struct (v194, v193) │
00:01:24 #3619 [Verbose] > │ let v195 : int32 = v191 + 1 │
00:01:24 #3620 [Verbose] > │ v189.l0 <- v195 │
00:01:24 #3621 [Verbose] > │ () │
00:01:24 #3622 [Verbose] > │ let v196 : (struct (int64 * int64) -> int64) = closure8() │
00:01:24 #3623 [Verbose] > │ let v197 : (struct (int64 * int64) []) = v188 |> Array.sortBy v196 │
00:01:24 #3624 [Verbose] > │ let struct (v198 : int64, v199 : int64) = v197.[int 0] │
00:01:24 #3625 [Verbose] > │ let v200 : string = $"%A{struct (v198, v199)}" │
00:01:24 #3626 [Verbose] > │ let v201 : bool = v167 = v169 │
00:01:24 #3627 [Verbose] > │ let v206 : US1 = │
00:01:24 #3628 [Verbose] > │ if v201 then │
00:01:24 #3629 [Verbose] > │ let v202 : System.ConsoleColor = │
00:01:24 #3630 [Verbose] > │ System.ConsoleColor.DarkGreen │
00:01:24 #3631 [Verbose] > │ US1_1(v202) │
00:01:24 #3632 [Verbose] > │ else │
00:01:24 #3633 [Verbose] > │ let v204 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:01:24 #3634 [Verbose] > │ US1_1(v204) │
00:01:24 #3635 [Verbose] > │ let v207 : UH2 = UH2_1 │
00:01:24 #3636 [Verbose] > │ let v208 : UH2 = UH2_0(v200, v207) │
00:01:24 #3637 [Verbose] > │ let v209 : UH2 = UH2_0(v169, v208) │
00:01:24 #3638 [Verbose] > │ let v210 : UH2 = UH2_0(v167, v209) │
00:01:24 #3639 [Verbose] > │ let v211 : UH2 = UH2_0(v168, v210) │
00:01:24 #3640 [Verbose] > │ v163.[int v166] <- struct (v211, v206) │
00:01:24 #3641 [Verbose] > │ let v212 : uint64 = v166 + 1UL │
00:01:24 #3642 [Verbose] > │ v164.l0 <- v212 │
00:01:24 #3643 [Verbose] > │ () │
00:01:24 #3644 [Verbose] > │ let v213 : string = "Input" │
00:01:24 #3645 [Verbose] > │ let v214 : string = "Expected" │
00:01:24 #3646 [Verbose] > │ let v215 : string = "Result" │
00:01:24 #3647 [Verbose] > │ let v216 : string = "Best" │
00:01:24 #3648 [Verbose] > │ let v217 : UH2 = UH2_1 │
00:01:24 #3649 [Verbose] > │ let v218 : UH2 = UH2_0(v216, v217) │
00:01:24 #3650 [Verbose] > │ let v219 : UH2 = UH2_0(v215, v218) │
00:01:24 #3651 [Verbose] > │ let v220 : UH2 = UH2_0(v214, v219) │
00:01:24 #3652 [Verbose] > │ let v221 : UH2 = UH2_0(v213, v220) │
00:01:24 #3653 [Verbose] > │ let v222 : US1 = US1_0 │
00:01:24 #3654 [Verbose] > │ let v223 : string = "---" │
00:01:24 #3655 [Verbose] > │ let v224 : UH2 = UH2_1 │
00:01:24 #3656 [Verbose] > │ let v225 : UH2 = UH2_0(v223, v224) │
00:01:24 #3657 [Verbose] > │ let v226 : UH2 = UH2_0(v223, v225) │
00:01:24 #3658 [Verbose] > │ let v227 : UH2 = UH2_0(v223, v226) │
00:01:24 #3659 [Verbose] > │ let v228 : UH2 = UH2_0(v223, v227) │
00:01:24 #3660 [Verbose] > │ let v229 : US1 = US1_0 │
00:01:24 #3661 [Verbose] > │ let v230 : UH4 = UH4_1 │
00:01:24 #3662 [Verbose] > │ let v231 : UH4 = UH4_0(v228, v229, v230) │
00:01:24 #3663 [Verbose] > │ let v232 : UH4 = UH4_0(v221, v222, v231) │
00:01:24 #3664 [Verbose] > │ let v233 : (struct (UH2 * US1) []) = method21(v232) │
00:01:24 #3665 [Verbose] > │ let v234 : uint64 = System.Convert.ToUInt64 v233.Length │
00:01:24 #3666 [Verbose] > │ let v235 : uint64 = System.Convert.ToUInt64 v163.Length │
00:01:24 #3667 [Verbose] > │ let v236 : uint64 = v234 + v235 │
00:01:24 #3668 [Verbose] > │ let v237 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 * │
00:01:24 #3669 [Verbose] > │ US1)> (System.Convert.ToInt32(v236)) │
00:01:24 #3670 [Verbose] > │ let v238 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3671 [Verbose] > │ while method5(v236, v238) do │
00:01:24 #3672 [Verbose] > │ let v240 : uint64 = v238.l0 │
00:01:24 #3673 [Verbose] > │ let v241 : bool = v240 < v234 │
00:01:24 #3674 [Verbose] > │ let struct (v247 : UH2, v248 : US1) = │
00:01:24 #3675 [Verbose] > │ if v241 then │
00:01:24 #3676 [Verbose] > │ let struct (v242 : UH2, v243 : US1) = v233.[int v240] │
00:01:24 #3677 [Verbose] > │ struct (v242, v243) │
00:01:24 #3678 [Verbose] > │ else │
00:01:24 #3679 [Verbose] > │ let v244 : uint64 = v240 - v234 │
00:01:24 #3680 [Verbose] > │ let struct (v245 : UH2, v246 : US1) = v163.[int v244] │
00:01:24 #3681 [Verbose] > │ struct (v245, v246) │
00:01:24 #3682 [Verbose] > │ v237.[int v240] <- struct (v247, v248) │
00:01:24 #3683 [Verbose] > │ let v249 : uint64 = v240 + 1UL │
00:01:24 #3684 [Verbose] > │ v238.l0 <- v249 │
00:01:24 #3685 [Verbose] > │ () │
00:01:24 #3686 [Verbose] > │ let v250 : uint64 = System.Convert.ToUInt64 v237.Length │
00:01:24 #3687 [Verbose] > │ let v251 : ((string []) []) = Array.zeroCreate<(string [])> │
00:01:24 #3688 [Verbose] > │ (System.Convert.ToInt32(v250)) │
00:01:24 #3689 [Verbose] > │ let v252 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3690 [Verbose] > │ while method5(v250, v252) do │
00:01:24 #3691 [Verbose] > │ let v254 : uint64 = v252.l0 │
00:01:24 #3692 [Verbose] > │ let struct (v255 : UH2, v256 : US1) = v237.[int v254] │
00:01:24 #3693 [Verbose] > │ let v257 : (string []) = method24(v255) │
00:01:24 #3694 [Verbose] > │ v251.[int v254] <- v257 │
00:01:24 #3695 [Verbose] > │ let v258 : uint64 = v254 + 1UL │
00:01:24 #3696 [Verbose] > │ v252.l0 <- v258 │
00:01:24 #3697 [Verbose] > │ () │
00:01:24 #3698 [Verbose] > │ let v259 : ((string []) []) = v251 |> Array.transpose │
00:01:24 #3699 [Verbose] > │ let v260 : uint64 = System.Convert.ToUInt64 v259.Length │
00:01:24 #3700 [Verbose] > │ let v261 : (int64 []) = Array.zeroCreate<int64> │
00:01:24 #3701 [Verbose] > │ (System.Convert.ToInt32(v260)) │
00:01:24 #3702 [Verbose] > │ let v262 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3703 [Verbose] > │ while method5(v260, v262) do │
00:01:24 #3704 [Verbose] > │ let v264 : uint64 = v262.l0 │
00:01:24 #3705 [Verbose] > │ let v265 : (string []) = v259.[int v264] │
00:01:24 #3706 [Verbose] > │ let v266 : uint64 = System.Convert.ToUInt64 v265.Length │
00:01:24 #3707 [Verbose] > │ let v267 : (int64 []) = Array.zeroCreate<int64> │
00:01:24 #3708 [Verbose] > │ (System.Convert.ToInt32(v266)) │
00:01:24 #3709 [Verbose] > │ let v268 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3710 [Verbose] > │ while method5(v266, v268) do │
00:01:24 #3711 [Verbose] > │ let v270 : uint64 = v268.l0 │
00:01:24 #3712 [Verbose] > │ let v271 : string = v265.[int v270] │
00:01:24 #3713 [Verbose] > │ let v272 : int64 = System.Convert.ToInt64 v271.Length │
00:01:24 #3714 [Verbose] > │ v267.[int v270] <- v272 │
00:01:24 #3715 [Verbose] > │ let v273 : uint64 = v270 + 1UL │
00:01:24 #3716 [Verbose] > │ v268.l0 <- v273 │
00:01:24 #3717 [Verbose] > │ () │
00:01:24 #3718 [Verbose] > │ let v274 : (int64 []) = v267 |> Array.sortDescending │
00:01:24 #3719 [Verbose] > │ let v275 : int64 option = v274 |> Array.tryItem 0 │
00:01:24 #3720 [Verbose] > │ let v276 : (int64 -> US2) = closure9() │
00:01:24 #3721 [Verbose] > │ let v277 : US2 = US2_0 │
00:01:24 #3722 [Verbose] > │ let v278 : US2 = v275 |> Option.map v276 |> Option.defaultValue v277 │
00:01:24 #3723 [Verbose] > │ let v281 : int64 = │
00:01:24 #3724 [Verbose] > │ match v278 with │
00:01:24 #3725 [Verbose] > │ | US2_0 -> (* None *) │
00:01:24 #3726 [Verbose] > │ 0L │
00:01:24 #3727 [Verbose] > │ | US2_1(v279) -> (* Some *) │
00:01:24 #3728 [Verbose] > │ v279 │
00:01:24 #3729 [Verbose] > │ v261.[int v264] <- v281 │
00:01:24 #3730 [Verbose] > │ let v282 : uint64 = v264 + 1UL │
00:01:24 #3731 [Verbose] > │ v262.l0 <- v282 │
00:01:24 #3732 [Verbose] > │ () │
00:01:24 #3733 [Verbose] > │ let v283 : uint64 = System.Convert.ToUInt64 v261.Length │
00:01:24 #3734 [Verbose] > │ let v284 : UH5 = UH5_1 │
00:01:24 #3735 [Verbose] > │ let v285 : Mut3 = {l0 = 0UL; l1 = v284; l2 = 0} : Mut3 │
00:01:24 #3736 [Verbose] > │ while method27(v283, v285) do │
00:01:24 #3737 [Verbose] > │ let v287 : uint64 = v285.l0 │
00:01:24 #3738 [Verbose] > │ let struct (v288 : UH5, v289 : int32) = v285.l1, v285.l2 │
00:01:24 #3739 [Verbose] > │ let v290 : int64 = v261.[int v287] │
00:01:24 #3740 [Verbose] > │ let v291 : int32 = v289 + 1 │
00:01:24 #3741 [Verbose] > │ let v292 : uint64 = v287 + 1UL │
00:01:24 #3742 [Verbose] > │ let v293 : UH5 = UH5_0(v289, v290, v288) │
00:01:24 #3743 [Verbose] > │ v285.l0 <- v292 │
00:01:24 #3744 [Verbose] > │ v285.l1 <- v293 │
00:01:24 #3745 [Verbose] > │ v285.l2 <- v291 │
00:01:24 #3746 [Verbose] > │ () │
00:01:24 #3747 [Verbose] > │ let struct (v294 : UH5, v295 : int32) = v285.l1, v285.l2 │
00:01:24 #3748 [Verbose] > │ let v296 : UH5 = UH5_1 │
00:01:24 #3749 [Verbose] > │ let v297 : UH5 = method28(v294, v296) │
00:01:24 #3750 [Verbose] > │ let v298 : (struct (int32 * int64) []) = method29(v297) │
00:01:24 #3751 [Verbose] > │ let v299 : Map<int32, int64> = v298 |> Array.map (fun (struct (a, b)) -> │
00:01:24 #3752 [Verbose] > │ a, b) |> Map.ofArray │
00:01:24 #3753 [Verbose] > │ let v300 : (struct ((string []) * US1) []) = Array.zeroCreate<struct │
00:01:24 #3754 [Verbose] > │ ((string []) * US1)> (System.Convert.ToInt32(v250)) │
00:01:24 #3755 [Verbose] > │ let v301 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3756 [Verbose] > │ while method5(v250, v301) do │
00:01:24 #3757 [Verbose] > │ let v303 : uint64 = v301.l0 │
00:01:24 #3758 [Verbose] > │ let struct (v304 : UH2, v305 : US1) = v237.[int v303] │
00:01:24 #3759 [Verbose] > │ let v306 : UH6 = UH6_1 │
00:01:24 #3760 [Verbose] > │ let v307 : int32 = 0 │
00:01:24 #3761 [Verbose] > │ let struct (v308 : UH6, v309 : int32) = method32(v304, v306, v307) │
00:01:24 #3762 [Verbose] > │ let v310 : UH6 = UH6_1 │
00:01:24 #3763 [Verbose] > │ let v311 : UH6 = method33(v308, v310) │
00:01:24 #3764 [Verbose] > │ let v312 : UH2 = UH2_1 │
00:01:24 #3765 [Verbose] > │ let v313 : UH2 = method34(v299, v311, v312) │
00:01:24 #3766 [Verbose] > │ let v314 : (string []) = method35(v313) │
00:01:24 #3767 [Verbose] > │ v300.[int v303] <- struct (v314, v305) │
00:01:24 #3768 [Verbose] > │ let v315 : uint64 = v303 + 1UL │
00:01:24 #3769 [Verbose] > │ v301.l0 <- v315 │
00:01:24 #3770 [Verbose] > │ () │
00:01:24 #3771 [Verbose] > │ System.Console.WriteLine v27 │
00:01:24 #3772 [Verbose] > │ let v316 : uint64 = System.Convert.ToUInt64 v300.Length │
00:01:24 #3773 [Verbose] > │ let v317 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3774 [Verbose] > │ while method5(v316, v317) do │
00:01:24 #3775 [Verbose] > │ let v319 : uint64 = v317.l0 │
00:01:24 #3776 [Verbose] > │ let struct (v320 : (string []), v321 : US1) = v300.[int v319] │
00:01:24 #3777 [Verbose] > │ match v321 with │
00:01:24 #3778 [Verbose] > │ | US1_0 -> (* None *) │
00:01:24 #3779 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:01:24 #3780 [Verbose] > │ let v325 : (unit -> unit) = closure10() │
00:01:24 #3781 [Verbose] > │ v325 () │
00:01:24 #3782 [Verbose] > │ #else │
00:01:24 #3783 [Verbose] > │ let v326 : (unit -> unit) = closure11() │
00:01:24 #3784 [Verbose] > │ v326 () │
00:01:24 #3785 [Verbose] > │ #endif │
00:01:24 #3786 [Verbose] > │ () │
00:01:24 #3787 [Verbose] > │ | US1_1(v322) -> (* Some *) │
00:01:24 #3788 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:01:24 #3789 [Verbose] > │ let v323 : (unit -> unit) = closure12() │
00:01:24 #3790 [Verbose] > │ v323 () │
00:01:24 #3791 [Verbose] > │ #else │
00:01:24 #3792 [Verbose] > │ let v324 : (unit -> unit) = closure13(v322) │
00:01:24 #3793 [Verbose] > │ v324 () │
00:01:24 #3794 [Verbose] > │ #endif │
00:01:24 #3795 [Verbose] > │ () │
00:01:24 #3796 [Verbose] > │ let v327 : string = "\t| " │
00:01:24 #3797 [Verbose] > │ let v328 : string = System.String.Join (v327, v320) │
00:01:24 #3798 [Verbose] > │ System.Console.WriteLine v328 │
00:01:24 #3799 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:01:24 #3800 [Verbose] > │ let v329 : (unit -> unit) = closure10() │
00:01:24 #3801 [Verbose] > │ v329 () │
00:01:24 #3802 [Verbose] > │ #else │
00:01:24 #3803 [Verbose] > │ let v330 : (unit -> unit) = closure11() │
00:01:24 #3804 [Verbose] > │ v330 () │
00:01:24 #3805 [Verbose] > │ #endif │
00:01:24 #3806 [Verbose] > │ let v331 : uint64 = v319 + 1UL │
00:01:24 #3807 [Verbose] > │ v317.l0 <- v331 │
00:01:24 #3808 [Verbose] > │ () │
00:01:24 #3809 [Verbose] > │ let v332 : ((float []) []) = Array.zeroCreate<(float [])> │
00:01:24 #3810 [Verbose] > │ (System.Convert.ToInt32(v162)) │
00:01:24 #3811 [Verbose] > │ let v333 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3812 [Verbose] > │ while method5(v162, v333) do │
00:01:24 #3813 [Verbose] > │ let v335 : uint64 = v333.l0 │
00:01:24 #3814 [Verbose] > │ let struct (v336 : string, v337 : string, v338 : string, v339 : │
00:01:24 #3815 [Verbose] > │ (int64 [])) = v75.[int v335] │
00:01:24 #3816 [Verbose] > │ let v340 : (int64 -> float) = float │
00:01:24 #3817 [Verbose] > │ let v341 : uint64 = System.Convert.ToUInt64 v339.Length │
00:01:24 #3818 [Verbose] > │ let v342 : (float []) = Array.zeroCreate<float> │
00:01:24 #3819 [Verbose] > │ (System.Convert.ToInt32(v341)) │
00:01:24 #3820 [Verbose] > │ let v343 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3821 [Verbose] > │ while method5(v341, v343) do │
00:01:24 #3822 [Verbose] > │ let v345 : uint64 = v343.l0 │
00:01:24 #3823 [Verbose] > │ let v346 : int64 = v339.[int v345] │
00:01:24 #3824 [Verbose] > │ let v347 : float = v340 v346 │
00:01:24 #3825 [Verbose] > │ v342.[int v345] <- v347 │
00:01:24 #3826 [Verbose] > │ let v348 : uint64 = v345 + 1UL │
00:01:24 #3827 [Verbose] > │ v343.l0 <- v348 │
00:01:24 #3828 [Verbose] > │ () │
00:01:24 #3829 [Verbose] > │ v332.[int v335] <- v342 │
00:01:24 #3830 [Verbose] > │ let v349 : uint64 = v335 + 1UL │
00:01:24 #3831 [Verbose] > │ v333.l0 <- v349 │
00:01:24 #3832 [Verbose] > │ () │
00:01:24 #3833 [Verbose] > │ let v350 : ((float []) []) = v332 |> Array.transpose │
00:01:24 #3834 [Verbose] > │ let v351 : uint64 = System.Convert.ToUInt64 v350.Length │
00:01:24 #3835 [Verbose] > │ let v352 : (float []) = Array.zeroCreate<float> │
00:01:24 #3836 [Verbose] > │ (System.Convert.ToInt32(v351)) │
00:01:24 #3837 [Verbose] > │ let v353 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3838 [Verbose] > │ while method5(v351, v353) do │
00:01:24 #3839 [Verbose] > │ let v355 : uint64 = v353.l0 │
00:01:24 #3840 [Verbose] > │ let v356 : (float []) = v350.[int v355] │
00:01:24 #3841 [Verbose] > │ let v357 : float = v356 |> Array.average │
00:01:24 #3842 [Verbose] > │ v352.[int v355] <- v357 │
00:01:24 #3843 [Verbose] > │ let v358 : uint64 = v355 + 1UL │
00:01:24 #3844 [Verbose] > │ v353.l0 <- v358 │
00:01:24 #3845 [Verbose] > │ () │
00:01:24 #3846 [Verbose] > │ let v359 : (float -> int64) = int64 │
00:01:24 #3847 [Verbose] > │ let v360 : uint64 = System.Convert.ToUInt64 v352.Length │
00:01:24 #3848 [Verbose] > │ let v361 : (int64 []) = Array.zeroCreate<int64> │
00:01:24 #3849 [Verbose] > │ (System.Convert.ToInt32(v360)) │
00:01:24 #3850 [Verbose] > │ let v362 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3851 [Verbose] > │ while method5(v360, v362) do │
00:01:24 #3852 [Verbose] > │ let v364 : uint64 = v362.l0 │
00:01:24 #3853 [Verbose] > │ let v365 : float = v352.[int v364] │
00:01:24 #3854 [Verbose] > │ let v366 : int64 = v359 v365 │
00:01:24 #3855 [Verbose] > │ v361.[int v364] <- v366 │
00:01:24 #3856 [Verbose] > │ let v367 : uint64 = v364 + 1UL │
00:01:24 #3857 [Verbose] > │ v362.l0 <- v367 │
00:01:24 #3858 [Verbose] > │ () │
00:01:24 #3859 [Verbose] > │ let v368 : uint64 = System.Convert.ToUInt64 v361.Length │
00:01:24 #3860 [Verbose] > │ let v369 : UH5 = UH5_1 │
00:01:24 #3861 [Verbose] > │ let v370 : Mut3 = {l0 = 0UL; l1 = v369; l2 = 0} : Mut3 │
00:01:24 #3862 [Verbose] > │ while method27(v368, v370) do │
00:01:24 #3863 [Verbose] > │ let v372 : uint64 = v370.l0 │
00:01:24 #3864 [Verbose] > │ let struct (v373 : UH5, v374 : int32) = v370.l1, v370.l2 │
00:01:24 #3865 [Verbose] > │ let v375 : int64 = v361.[int v372] │
00:01:24 #3866 [Verbose] > │ let v376 : int32 = v374 + 1 │
00:01:24 #3867 [Verbose] > │ let v377 : uint64 = v372 + 1UL │
00:01:24 #3868 [Verbose] > │ let v378 : UH5 = UH5_0(v374, v375, v373) │
00:01:24 #3869 [Verbose] > │ v370.l0 <- v377 │
00:01:24 #3870 [Verbose] > │ v370.l1 <- v378 │
00:01:24 #3871 [Verbose] > │ v370.l2 <- v376 │
00:01:24 #3872 [Verbose] > │ () │
00:01:24 #3873 [Verbose] > │ let struct (v379 : UH5, v380 : int32) = v370.l1, v370.l2 │
00:01:24 #3874 [Verbose] > │ let v381 : UH5 = UH5_1 │
00:01:24 #3875 [Verbose] > │ let v382 : UH5 = method28(v379, v381) │
00:01:24 #3876 [Verbose] > │ let v383 : (struct (int32 * int64) []) = method38(v382) │
00:01:24 #3877 [Verbose] > │ System.Console.WriteLine v27 │
00:01:24 #3878 [Verbose] > │ let v384 : string = "Average Ranking " │
00:01:24 #3879 [Verbose] > │ System.Console.WriteLine v384 │
00:01:24 #3880 [Verbose] > │ let v385 : (struct (int32 * int64) -> int64) = closure14() │
00:01:24 #3881 [Verbose] > │ let v386 : (struct (int32 * int64) []) = v383 |> Array.sortBy v385 │
00:01:24 #3882 [Verbose] > │ let v387 : uint64 = System.Convert.ToUInt64 v386.Length │
00:01:24 #3883 [Verbose] > │ let v388 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3884 [Verbose] > │ while method5(v387, v388) do │
00:01:24 #3885 [Verbose] > │ let v390 : uint64 = v388.l0 │
00:01:24 #3886 [Verbose] > │ let struct (v391 : int32, v392 : int64) = v386.[int v390] │
00:01:24 #3887 [Verbose] > │ let v393 : string = $"Test case %d{v391 + 1}. Average Time: %A{v392} │
00:01:24 #3888 [Verbose] > │ " │
00:01:24 #3889 [Verbose] > │ System.Console.WriteLine v393 │
00:01:24 #3890 [Verbose] > │ let v394 : uint64 = v390 + 1UL │
00:01:24 #3891 [Verbose] > │ v388.l0 <- v394 │
00:01:24 #3892 [Verbose] > │ () │
00:01:24 #3893 [Verbose] > │ () │
00:01:24 #3894 [Verbose] > │ and method0 () : unit = │
00:01:24 #3895 [Verbose] > │ let v0 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3896 [Verbose] > │ let v1 : int32 = v0.Length │
00:01:24 #3897 [Verbose] > │ let v2 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3898 [Verbose] > │ let v3 : int32 = v2.Length │
00:01:24 #3899 [Verbose] > │ let v4 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3900 [Verbose] > │ let v5 : int32 = v4.Length │
00:01:24 #3901 [Verbose] > │ let v6 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3902 [Verbose] > │ let v7 : int32 = v6.Length │
00:01:24 #3903 [Verbose] > │ let v8 : (int32 []) = Array.zeroCreate<int32> (100) │
00:01:24 #3904 [Verbose] > │ let v9 : Mut0 = {l0 = 0} : Mut0 │
00:01:24 #3905 [Verbose] > │ while method1(v9) do │
00:01:24 #3906 [Verbose] > │ let v11 : int32 = v9.l0 │
00:01:24 #3907 [Verbose] > │ let v12 : int32 = 1 + v11 │
00:01:24 #3908 [Verbose] > │ v8.[int v11] <- v12 │
00:01:24 #3909 [Verbose] > │ let v13 : int32 = v11 + 1 │
00:01:24 #3910 [Verbose] > │ v9.l0 <- v13 │
00:01:24 #3911 [Verbose] > │ () │
00:01:24 #3912 [Verbose] > │ let v14 : int32 = v8.Length │
00:01:24 #3913 [Verbose] > │ let v15 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3914 [Verbose] > │ let v16 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3915 [Verbose] > │ let v17 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3916 [Verbose] > │ let v18 : (int32 []) = [|1; 3; 4; 6; 8; 9; 11|] │
00:01:24 #3917 [Verbose] > │ let v19 : (int32 []) = Array.zeroCreate<int32> (100) │
00:01:24 #3918 [Verbose] > │ let v20 : Mut0 = {l0 = 0} : Mut0 │
00:01:24 #3919 [Verbose] > │ while method1(v20) do │
00:01:24 #3920 [Verbose] > │ let v22 : int32 = v20.l0 │
00:01:24 #3921 [Verbose] > │ let v23 : int32 = 1 + v22 │
00:01:24 #3922 [Verbose] > │ v19.[int v22] <- v23 │
00:01:24 #3923 [Verbose] > │ let v24 : int32 = v22 + 1 │
00:01:24 #3924 [Verbose] > │ v20.l0 <- v24 │
00:01:24 #3925 [Verbose] > │ () │
00:01:24 #3926 [Verbose] > │ let v25 : (unit -> unit) = closure0() │
00:01:24 #3927 [Verbose] > │ let v26 : string = nameof v25 │
00:01:24 #3928 [Verbose] > │ let v27 : string = "" │
00:01:24 #3929 [Verbose] > │ System.Console.WriteLine v27 │
00:01:24 #3930 [Verbose] > │ System.Console.WriteLine v27 │
00:01:24 #3931 [Verbose] > │ let v28 : string = $"Test: {v26}" │
00:01:24 #3932 [Verbose] > │ System.Console.WriteLine v28 │
00:01:24 #3933 [Verbose] > │ let v29 : int32 = 6 │
00:01:24 #3934 [Verbose] > │ let v30 : int32 = 3 │
00:01:24 #3935 [Verbose] > │ let v31 : US0 = US0_1(v30) │
00:01:24 #3936 [Verbose] > │ let v32 : int32 = 1 │
00:01:24 #3937 [Verbose] > │ let v33 : int32 = 0 │
00:01:24 #3938 [Verbose] > │ let v34 : US0 = US0_1(v33) │
00:01:24 #3939 [Verbose] > │ let v35 : int32 = 11 │
00:01:24 #3940 [Verbose] > │ let v36 : int32 = 6 │
00:01:24 #3941 [Verbose] > │ let v37 : US0 = US0_1(v36) │
00:01:24 #3942 [Verbose] > │ let v38 : int32 = 12 │
00:01:24 #3943 [Verbose] > │ let v39 : US0 = US0_0 │
00:01:24 #3944 [Verbose] > │ let v40 : int32 = 60 │
00:01:24 #3945 [Verbose] > │ let v41 : int32 = 59 │
00:01:24 #3946 [Verbose] > │ let v42 : US0 = US0_1(v41) │
00:01:24 #3947 [Verbose] > │ let v43 : int32 = 6 │
00:01:24 #3948 [Verbose] > │ let v44 : int32 = 7 │
00:01:24 #3949 [Verbose] > │ let v45 : int32 = 3 │
00:01:24 #3950 [Verbose] > │ let v46 : US0 = US0_1(v45) │
00:01:24 #3951 [Verbose] > │ let v47 : int32 = 1 │
00:01:24 #3952 [Verbose] > │ let v48 : int32 = 7 │
00:01:24 #3953 [Verbose] > │ let v49 : int32 = 0 │
00:01:24 #3954 [Verbose] > │ let v50 : US0 = US0_1(v49) │
00:01:24 #3955 [Verbose] > │ let v51 : int32 = 11 │
00:01:24 #3956 [Verbose] > │ let v52 : int32 = 7 │
00:01:24 #3957 [Verbose] > │ let v53 : int32 = 6 │
00:01:24 #3958 [Verbose] > │ let v54 : US0 = US0_1(v53) │
00:01:24 #3959 [Verbose] > │ let v55 : int32 = 12 │
00:01:24 #3960 [Verbose] > │ let v56 : int32 = 7 │
00:01:24 #3961 [Verbose] > │ let v57 : US0 = US0_0 │
00:01:24 #3962 [Verbose] > │ let v58 : int32 = 60 │
00:01:24 #3963 [Verbose] > │ let v59 : int32 = 100 │
00:01:24 #3964 [Verbose] > │ let v60 : int32 = 59 │
00:01:24 #3965 [Verbose] > │ let v61 : US0 = US0_1(v60) │
00:01:24 #3966 [Verbose] > │ let v62 : UH0 = UH0_1 │
00:01:24 #3967 [Verbose] > │ let v63 : UH0 = UH0_0(v19, v58, v59, v61, v62) │
00:01:24 #3968 [Verbose] > │ let v64 : UH0 = UH0_0(v18, v55, v56, v57, v63) │
00:01:24 #3969 [Verbose] > │ let v65 : UH0 = UH0_0(v17, v51, v52, v54, v64) │
00:01:24 #3970 [Verbose] > │ let v66 : UH0 = UH0_0(v16, v47, v48, v50, v65) │
00:01:24 #3971 [Verbose] > │ let v67 : UH0 = UH0_0(v15, v43, v44, v46, v66) │
00:01:24 #3972 [Verbose] > │ let v68 : UH0 = UH0_0(v8, v40, v14, v42, v67) │
00:01:24 #3973 [Verbose] > │ let v69 : UH0 = UH0_0(v6, v38, v7, v39, v68) │
00:01:24 #3974 [Verbose] > │ let v70 : UH0 = UH0_0(v4, v35, v5, v37, v69) │
00:01:24 #3975 [Verbose] > │ let v71 : UH0 = UH0_0(v2, v32, v3, v34, v70) │
00:01:24 #3976 [Verbose] > │ let v72 : UH0 = UH0_0(v0, v29, v1, v31, v71) │
00:01:24 #3977 [Verbose] > │ let v73 : (struct ((int32 []) * int32 * int32 * US0) []) = method2(v72) │
00:01:24 #3978 [Verbose] > │ let v74 : uint64 = System.Convert.ToUInt64 v73.Length │
00:01:24 #3979 [Verbose] > │ let v75 : (struct (string * string * string * (int64 [])) []) = │
00:01:24 #3980 [Verbose] > │ Array.zeroCreate<struct (string * string * string * (int64 []))> │
00:01:24 #3981 [Verbose] > │ (System.Convert.ToInt32(v74)) │
00:01:24 #3982 [Verbose] > │ let v76 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #3983 [Verbose] > │ while method5(v74, v76) do │
00:01:24 #3984 [Verbose] > │ let v78 : uint64 = v76.l0 │
00:01:24 #3985 [Verbose] > │ let struct (v79 : (int32 []), v80 : int32, v81 : int32, v82 : US0) = │
00:01:24 #3986 [Verbose] > │ v73.[int v78] │
00:01:24 #3987 [Verbose] > │ let v83 : string = $"%A{struct (v79, v80, v81)}" │
00:01:24 #3988 [Verbose] > │ System.Console.WriteLine v27 │
00:01:24 #3989 [Verbose] > │ let v84 : string = $"Solution: {v83} " │
00:01:24 #3990 [Verbose] > │ System.Console.WriteLine v84 │
00:01:24 #3991 [Verbose] > │ let v85 : int32 = 0 │
00:01:24 #3992 [Verbose] > │ let v86 : string = "semi_open_1" │
00:01:24 #3993 [Verbose] > │ let v87 : (struct ((int32 []) * int32 * int32) -> US0) = closure1() │
00:01:24 #3994 [Verbose] > │ let v88 : int32 = 1 │
00:01:24 #3995 [Verbose] > │ let v89 : string = "closed_1" │
00:01:24 #3996 [Verbose] > │ let v90 : (struct ((int32 []) * int32 * int32) -> US0) = closure2() │
00:01:24 #3997 [Verbose] > │ let v91 : int32 = 2 │
00:01:24 #3998 [Verbose] > │ let v92 : string = "semi_open_2" │
00:01:24 #3999 [Verbose] > │ let v93 : (struct ((int32 []) * int32 * int32) -> US0) = closure3() │
00:01:24 #4000 [Verbose] > │ let v94 : int32 = 3 │
00:01:24 #4001 [Verbose] > │ let v95 : string = "closed_2" │
00:01:24 #4002 [Verbose] > │ let v96 : (struct ((int32 []) * int32 * int32) -> US0) = closure4() │
00:01:24 #4003 [Verbose] > │ let v97 : UH1 = UH1_1 │
00:01:24 #4004 [Verbose] > │ let v98 : UH1 = UH1_0(v94, v95, v96, v97) │
00:01:24 #4005 [Verbose] > │ let v99 : UH1 = UH1_0(v91, v92, v93, v98) │
00:01:24 #4006 [Verbose] > │ let v100 : UH1 = UH1_0(v88, v89, v90, v99) │
00:01:24 #4007 [Verbose] > │ let v101 : UH1 = UH1_0(v85, v86, v87, v100) │
00:01:24 #4008 [Verbose] > │ let v102 : (struct (int32 * string * (struct ((int32 []) * int32 * │
00:01:24 #4009 [Verbose] > │ int32) -> US0)) []) = method10(v101) │
00:01:24 #4010 [Verbose] > │ let v103 : uint64 = System.Convert.ToUInt64 v102.Length │
00:01:24 #4011 [Verbose] > │ let v104 : (struct (US0 * int64) []) = Array.zeroCreate<struct (US0 │
00:01:24 #4012 [Verbose] > │ * int64)> (System.Convert.ToInt32(v103)) │
00:01:24 #4013 [Verbose] > │ let v105 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4014 [Verbose] > │ while method5(v103, v105) do │
00:01:24 #4015 [Verbose] > │ let v107 : uint64 = v105.l0 │
00:01:24 #4016 [Verbose] > │ let struct (v108 : int32, v109 : string, v110 : (struct ((int32 │
00:01:24 #4017 [Verbose] > │ []) * int32 * int32) -> US0)) = v102.[int v107] │
00:01:24 #4018 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:01:24 #4019 [Verbose] > │ let v111 : (unit -> unit) = closure5() │
00:01:24 #4020 [Verbose] > │ v111 () │
00:01:24 #4021 [Verbose] > │ #else │
00:01:24 #4022 [Verbose] > │ let v112 : (unit -> unit) = closure6() │
00:01:24 #4023 [Verbose] > │ v112 () │
00:01:24 #4024 [Verbose] > │ #endif │
00:01:24 #4025 [Verbose] > │ let v113 : (unit -> System.Diagnostics.Stopwatch) = │
00:01:24 #4026 [Verbose] > │ System.Diagnostics.Stopwatch │
00:01:24 #4027 [Verbose] > │ let v114 : System.Diagnostics.Stopwatch = v113 () │
00:01:24 #4028 [Verbose] > │ v114.Start () │
00:01:24 #4029 [Verbose] > │ let v115 : int64 = v114.ElapsedMilliseconds │
00:01:24 #4030 [Verbose] > │ let v116 : (int32 []) = Array.zeroCreate<int32> (8000001) │
00:01:24 #4031 [Verbose] > │ let v117 : Mut0 = {l0 = 0} : Mut0 │
00:01:24 #4032 [Verbose] > │ while method13(v117) do │
00:01:24 #4033 [Verbose] > │ let v119 : int32 = v117.l0 │
00:01:24 #4034 [Verbose] > │ v116.[int v119] <- v119 │
00:01:24 #4035 [Verbose] > │ let v120 : int32 = v119 + 1 │
00:01:24 #4036 [Verbose] > │ v117.l0 <- v120 │
00:01:24 #4037 [Verbose] > │ () │
00:01:24 #4038 [Verbose] > │ let v121 : (int32 -> US0) = closure7(v79, v80, v81, v110) │
00:01:24 #4039 [Verbose] > │ let v122 : (US0 []) = v116 |> Array.Parallel.map v121 │
00:01:24 #4040 [Verbose] > │ let v123 : int32 = v122.Length │
00:01:24 #4041 [Verbose] > │ let v124 : int32 = v123 - 1 │
00:01:24 #4042 [Verbose] > │ let v125 : US0 = v122.[int v124] │
00:01:24 #4043 [Verbose] > │ let v126 : int64 = v114.ElapsedMilliseconds │
00:01:24 #4044 [Verbose] > │ let v127 : int64 = v126 - v115 │
00:01:24 #4045 [Verbose] > │ let v128 : string = $"Test case {v108 + 1}. {v109}. Time: {v127} │
00:01:24 #4046 [Verbose] > │ " │
00:01:24 #4047 [Verbose] > │ System.Console.WriteLine v128 │
00:01:24 #4048 [Verbose] > │ v104.[int v107] <- struct (v125, v127) │
00:01:24 #4049 [Verbose] > │ let v129 : uint64 = v107 + 1UL │
00:01:24 #4050 [Verbose] > │ v105.l0 <- v129 │
00:01:24 #4051 [Verbose] > │ () │
00:01:24 #4052 [Verbose] > │ let v130 : uint64 = System.Convert.ToUInt64 v104.Length │
00:01:24 #4053 [Verbose] > │ let v131 : (US0 []) = Array.zeroCreate<US0> │
00:01:24 #4054 [Verbose] > │ (System.Convert.ToInt32(v130)) │
00:01:24 #4055 [Verbose] > │ let v132 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4056 [Verbose] > │ while method5(v130, v132) do │
00:01:24 #4057 [Verbose] > │ let v134 : uint64 = v132.l0 │
00:01:24 #4058 [Verbose] > │ let struct (v135 : US0, v136 : int64) = v104.[int v134] │
00:01:24 #4059 [Verbose] > │ v131.[int v134] <- v135 │
00:01:24 #4060 [Verbose] > │ let v137 : uint64 = v134 + 1UL │
00:01:24 #4061 [Verbose] > │ v132.l0 <- v137 │
00:01:24 #4062 [Verbose] > │ () │
00:01:24 #4063 [Verbose] > │ let v138 : uint64 = System.Convert.ToUInt64 v131.Length │
00:01:24 #4064 [Verbose] > │ let v139 : bool = v138 <= 1UL │
00:01:24 #4065 [Verbose] > │ if v139 then │
00:01:24 #4066 [Verbose] > │ () │
00:01:24 #4067 [Verbose] > │ else │
00:01:24 #4068 [Verbose] > │ let v140 : US0 = v131.[int 0UL] │
00:01:24 #4069 [Verbose] > │ let v141 : uint64 = 0UL │
00:01:24 #4070 [Verbose] > │ let v142 : bool = method14(v140, v131, v141) │
00:01:24 #4071 [Verbose] > │ if v142 then │
00:01:24 #4072 [Verbose] > │ () │
00:01:24 #4073 [Verbose] > │ else │
00:01:24 #4074 [Verbose] > │ let v143 : string = $"Challenge error: {v131}" │
00:01:24 #4075 [Verbose] > │ failwith<unit> v143 │
00:01:24 #4076 [Verbose] > │ let v144 : string = $"%A{v82}" │
00:01:24 #4077 [Verbose] > │ let v145 : (US0 []) = Array.zeroCreate<US0> │
00:01:24 #4078 [Verbose] > │ (System.Convert.ToInt32(v130)) │
00:01:24 #4079 [Verbose] > │ let v146 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4080 [Verbose] > │ while method5(v130, v146) do │
00:01:24 #4081 [Verbose] > │ let v148 : uint64 = v146.l0 │
00:01:24 #4082 [Verbose] > │ let struct (v149 : US0, v150 : int64) = v104.[int v148] │
00:01:24 #4083 [Verbose] > │ v145.[int v148] <- v149 │
00:01:24 #4084 [Verbose] > │ let v151 : uint64 = v148 + 1UL │
00:01:24 #4085 [Verbose] > │ v146.l0 <- v151 │
00:01:24 #4086 [Verbose] > │ () │
00:01:24 #4087 [Verbose] > │ let v152 : US0 = v145.[int 0UL] │
00:01:24 #4088 [Verbose] > │ let v153 : string = $"%A{v152}" │
00:01:24 #4089 [Verbose] > │ let v154 : (int64 []) = Array.zeroCreate<int64> │
00:01:24 #4090 [Verbose] > │ (System.Convert.ToInt32(v130)) │
00:01:24 #4091 [Verbose] > │ let v155 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4092 [Verbose] > │ while method5(v130, v155) do │
00:01:24 #4093 [Verbose] > │ let v157 : uint64 = v155.l0 │
00:01:24 #4094 [Verbose] > │ let struct (v158 : US0, v159 : int64) = v104.[int v157] │
00:01:24 #4095 [Verbose] > │ v154.[int v157] <- v159 │
00:01:24 #4096 [Verbose] > │ let v160 : uint64 = v157 + 1UL │
00:01:24 #4097 [Verbose] > │ v155.l0 <- v160 │
00:01:24 #4098 [Verbose] > │ () │
00:01:24 #4099 [Verbose] > │ v75.[int v78] <- struct (v144, v83, v153, v154) │
00:01:24 #4100 [Verbose] > │ let v161 : uint64 = v78 + 1UL │
00:01:24 #4101 [Verbose] > │ v76.l0 <- v161 │
00:01:24 #4102 [Verbose] > │ () │
00:01:24 #4103 [Verbose] > │ let v162 : uint64 = System.Convert.ToUInt64 v75.Length │
00:01:24 #4104 [Verbose] > │ let v163 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 * │
00:01:24 #4105 [Verbose] > │ US1)> (System.Convert.ToInt32(v162)) │
00:01:24 #4106 [Verbose] > │ let v164 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4107 [Verbose] > │ while method5(v162, v164) do │
00:01:24 #4108 [Verbose] > │ let v166 : uint64 = v164.l0 │
00:01:24 #4109 [Verbose] > │ let struct (v167 : string, v168 : string, v169 : string, v170 : │
00:01:24 #4110 [Verbose] > │ (int64 [])) = v75.[int v166] │
00:01:24 #4111 [Verbose] > │ let v171 : uint64 = System.Convert.ToUInt64 v170.Length │
00:01:24 #4112 [Verbose] > │ let v172 : UH3 = UH3_1 │
00:01:24 #4113 [Verbose] > │ let v173 : Mut2 = {l0 = 0UL; l1 = v172; l2 = 0L} : Mut2 │
00:01:24 #4114 [Verbose] > │ while method15(v171, v173) do │
00:01:24 #4115 [Verbose] > │ let v175 : uint64 = v173.l0 │
00:01:24 #4116 [Verbose] > │ let struct (v176 : UH3, v177 : int64) = v173.l1, v173.l2 │
00:01:24 #4117 [Verbose] > │ let v178 : int64 = v170.[int v175] │
00:01:24 #4118 [Verbose] > │ let v179 : int64 = v177 + 1L │
00:01:24 #4119 [Verbose] > │ let v180 : uint64 = v175 + 1UL │
00:01:24 #4120 [Verbose] > │ let v181 : UH3 = UH3_0(v177, v178, v176) │
00:01:24 #4121 [Verbose] > │ v173.l0 <- v180 │
00:01:24 #4122 [Verbose] > │ v173.l1 <- v181 │
00:01:24 #4123 [Verbose] > │ v173.l2 <- v179 │
00:01:24 #4124 [Verbose] > │ () │
00:01:24 #4125 [Verbose] > │ let struct (v182 : UH3, v183 : int64) = v173.l1, v173.l2 │
00:01:24 #4126 [Verbose] > │ let v184 : UH3 = UH3_1 │
00:01:24 #4127 [Verbose] > │ let v185 : UH3 = method16(v182, v184) │
00:01:24 #4128 [Verbose] > │ let v186 : (struct (int64 * int64) []) = method17(v185) │
00:01:24 #4129 [Verbose] > │ let v187 : int32 = v186.Length │
00:01:24 #4130 [Verbose] > │ let v188 : (struct (int64 * int64) []) = Array.zeroCreate<struct │
00:01:24 #4131 [Verbose] > │ (int64 * int64)> (v187) │
00:01:24 #4132 [Verbose] > │ let v189 : Mut0 = {l0 = 0} : Mut0 │
00:01:24 #4133 [Verbose] > │ while method20(v187, v189) do │
00:01:24 #4134 [Verbose] > │ let v191 : int32 = v189.l0 │
00:01:24 #4135 [Verbose] > │ let struct (v192 : int64, v193 : int64) = v186.[int v191] │
00:01:24 #4136 [Verbose] > │ let v194 : int64 = v192 + 1L │
00:01:24 #4137 [Verbose] > │ v188.[int v191] <- struct (v194, v193) │
00:01:24 #4138 [Verbose] > │ let v195 : int32 = v191 + 1 │
00:01:24 #4139 [Verbose] > │ v189.l0 <- v195 │
00:01:24 #4140 [Verbose] > │ () │
00:01:24 #4141 [Verbose] > │ let v196 : (struct (int64 * int64) -> int64) = closure8() │
00:01:24 #4142 [Verbose] > │ let v197 : (struct (int64 * int64) []) = v188 |> Array.sortBy v196 │
00:01:24 #4143 [Verbose] > │ let struct (v198 : int64, v199 : int64) = v197.[int 0] │
00:01:24 #4144 [Verbose] > │ let v200 : string = $"%A{struct (v198, v199)}" │
00:01:24 #4145 [Verbose] > │ let v201 : bool = v167 = v169 │
00:01:24 #4146 [Verbose] > │ let v206 : US1 = │
00:01:24 #4147 [Verbose] > │ if v201 then │
00:01:24 #4148 [Verbose] > │ let v202 : System.ConsoleColor = │
00:01:24 #4149 [Verbose] > │ System.ConsoleColor.DarkGreen │
00:01:24 #4150 [Verbose] > │ US1_1(v202) │
00:01:24 #4151 [Verbose] > │ else │
00:01:24 #4152 [Verbose] > │ let v204 : System.ConsoleColor = System.ConsoleColor.DarkRed │
00:01:24 #4153 [Verbose] > │ US1_1(v204) │
00:01:24 #4154 [Verbose] > │ let v207 : UH2 = UH2_1 │
00:01:24 #4155 [Verbose] > │ let v208 : UH2 = UH2_0(v200, v207) │
00:01:24 #4156 [Verbose] > │ let v209 : UH2 = UH2_0(v169, v208) │
00:01:24 #4157 [Verbose] > │ let v210 : UH2 = UH2_0(v167, v209) │
00:01:24 #4158 [Verbose] > │ let v211 : UH2 = UH2_0(v168, v210) │
00:01:24 #4159 [Verbose] > │ v163.[int v166] <- struct (v211, v206) │
00:01:24 #4160 [Verbose] > │ let v212 : uint64 = v166 + 1UL │
00:01:24 #4161 [Verbose] > │ v164.l0 <- v212 │
00:01:24 #4162 [Verbose] > │ () │
00:01:24 #4163 [Verbose] > │ let v213 : string = "Input" │
00:01:24 #4164 [Verbose] > │ let v214 : string = "Expected" │
00:01:24 #4165 [Verbose] > │ let v215 : string = "Result" │
00:01:24 #4166 [Verbose] > │ let v216 : string = "Best" │
00:01:24 #4167 [Verbose] > │ let v217 : UH2 = UH2_1 │
00:01:24 #4168 [Verbose] > │ let v218 : UH2 = UH2_0(v216, v217) │
00:01:24 #4169 [Verbose] > │ let v219 : UH2 = UH2_0(v215, v218) │
00:01:24 #4170 [Verbose] > │ let v220 : UH2 = UH2_0(v214, v219) │
00:01:24 #4171 [Verbose] > │ let v221 : UH2 = UH2_0(v213, v220) │
00:01:24 #4172 [Verbose] > │ let v222 : US1 = US1_0 │
00:01:24 #4173 [Verbose] > │ let v223 : string = "---" │
00:01:24 #4174 [Verbose] > │ let v224 : UH2 = UH2_1 │
00:01:24 #4175 [Verbose] > │ let v225 : UH2 = UH2_0(v223, v224) │
00:01:24 #4176 [Verbose] > │ let v226 : UH2 = UH2_0(v223, v225) │
00:01:24 #4177 [Verbose] > │ let v227 : UH2 = UH2_0(v223, v226) │
00:01:24 #4178 [Verbose] > │ let v228 : UH2 = UH2_0(v223, v227) │
00:01:24 #4179 [Verbose] > │ let v229 : US1 = US1_0 │
00:01:24 #4180 [Verbose] > │ let v230 : UH4 = UH4_1 │
00:01:24 #4181 [Verbose] > │ let v231 : UH4 = UH4_0(v228, v229, v230) │
00:01:24 #4182 [Verbose] > │ let v232 : UH4 = UH4_0(v221, v222, v231) │
00:01:24 #4183 [Verbose] > │ let v233 : (struct (UH2 * US1) []) = method21(v232) │
00:01:24 #4184 [Verbose] > │ let v234 : uint64 = System.Convert.ToUInt64 v233.Length │
00:01:24 #4185 [Verbose] > │ let v235 : uint64 = System.Convert.ToUInt64 v163.Length │
00:01:24 #4186 [Verbose] > │ let v236 : uint64 = v234 + v235 │
00:01:24 #4187 [Verbose] > │ let v237 : (struct (UH2 * US1) []) = Array.zeroCreate<struct (UH2 * │
00:01:24 #4188 [Verbose] > │ US1)> (System.Convert.ToInt32(v236)) │
00:01:24 #4189 [Verbose] > │ let v238 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4190 [Verbose] > │ while method5(v236, v238) do │
00:01:24 #4191 [Verbose] > │ let v240 : uint64 = v238.l0 │
00:01:24 #4192 [Verbose] > │ let v241 : bool = v240 < v234 │
00:01:24 #4193 [Verbose] > │ let struct (v247 : UH2, v248 : US1) = │
00:01:24 #4194 [Verbose] > │ if v241 then │
00:01:24 #4195 [Verbose] > │ let struct (v242 : UH2, v243 : US1) = v233.[int v240] │
00:01:24 #4196 [Verbose] > │ struct (v242, v243) │
00:01:24 #4197 [Verbose] > │ else │
00:01:24 #4198 [Verbose] > │ let v244 : uint64 = v240 - v234 │
00:01:24 #4199 [Verbose] > │ let struct (v245 : UH2, v246 : US1) = v163.[int v244] │
00:01:24 #4200 [Verbose] > │ struct (v245, v246) │
00:01:24 #4201 [Verbose] > │ v237.[int v240] <- struct (v247, v248) │
00:01:24 #4202 [Verbose] > │ let v249 : uint64 = v240 + 1UL │
00:01:24 #4203 [Verbose] > │ v238.l0 <- v249 │
00:01:24 #4204 [Verbose] > │ () │
00:01:24 #4205 [Verbose] > │ let v250 : uint64 = System.Convert.ToUInt64 v237.Length │
00:01:24 #4206 [Verbose] > │ let v251 : ((string []) []) = Array.zeroCreate<(string [])> │
00:01:24 #4207 [Verbose] > │ (System.Convert.ToInt32(v250)) │
00:01:24 #4208 [Verbose] > │ let v252 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4209 [Verbose] > │ while method5(v250, v252) do │
00:01:24 #4210 [Verbose] > │ let v254 : uint64 = v252.l0 │
00:01:24 #4211 [Verbose] > │ let struct (v255 : UH2, v256 : US1) = v237.[int v254] │
00:01:24 #4212 [Verbose] > │ let v257 : (string []) = method24(v255) │
00:01:24 #4213 [Verbose] > │ v251.[int v254] <- v257 │
00:01:24 #4214 [Verbose] > │ let v258 : uint64 = v254 + 1UL │
00:01:24 #4215 [Verbose] > │ v252.l0 <- v258 │
00:01:24 #4216 [Verbose] > │ () │
00:01:24 #4217 [Verbose] > │ let v259 : ((string []) []) = v251 |> Array.transpose │
00:01:24 #4218 [Verbose] > │ let v260 : uint64 = System.Convert.ToUInt64 v259.Length │
00:01:24 #4219 [Verbose] > │ let v261 : (int64 []) = Array.zeroCreate<int64> │
00:01:24 #4220 [Verbose] > │ (System.Convert.ToInt32(v260)) │
00:01:24 #4221 [Verbose] > │ let v262 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4222 [Verbose] > │ while method5(v260, v262) do │
00:01:24 #4223 [Verbose] > │ let v264 : uint64 = v262.l0 │
00:01:24 #4224 [Verbose] > │ let v265 : (string []) = v259.[int v264] │
00:01:24 #4225 [Verbose] > │ let v266 : uint64 = System.Convert.ToUInt64 v265.Length │
00:01:24 #4226 [Verbose] > │ let v267 : (int64 []) = Array.zeroCreate<int64> │
00:01:24 #4227 [Verbose] > │ (System.Convert.ToInt32(v266)) │
00:01:24 #4228 [Verbose] > │ let v268 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4229 [Verbose] > │ while method5(v266, v268) do │
00:01:24 #4230 [Verbose] > │ let v270 : uint64 = v268.l0 │
00:01:24 #4231 [Verbose] > │ let v271 : string = v265.[int v270] │
00:01:24 #4232 [Verbose] > │ let v272 : int64 = System.Convert.ToInt64 v271.Length │
00:01:24 #4233 [Verbose] > │ v267.[int v270] <- v272 │
00:01:24 #4234 [Verbose] > │ let v273 : uint64 = v270 + 1UL │
00:01:24 #4235 [Verbose] > │ v268.l0 <- v273 │
00:01:24 #4236 [Verbose] > │ () │
00:01:24 #4237 [Verbose] > │ let v274 : (int64 []) = v267 |> Array.sortDescending │
00:01:24 #4238 [Verbose] > │ let v275 : int64 option = v274 |> Array.tryItem 0 │
00:01:24 #4239 [Verbose] > │ let v276 : (int64 -> US2) = closure9() │
00:01:24 #4240 [Verbose] > │ let v277 : US2 = US2_0 │
00:01:24 #4241 [Verbose] > │ let v278 : US2 = v275 |> Option.map v276 |> Option.defaultValue v277 │
00:01:24 #4242 [Verbose] > │ let v281 : int64 = │
00:01:24 #4243 [Verbose] > │ match v278 with │
00:01:24 #4244 [Verbose] > │ | US2_0 -> (* None *) │
00:01:24 #4245 [Verbose] > │ 0L │
00:01:24 #4246 [Verbose] > │ | US2_1(v279) -> (* Some *) │
00:01:24 #4247 [Verbose] > │ v279 │
00:01:24 #4248 [Verbose] > │ v261.[int v264] <- v281 │
00:01:24 #4249 [Verbose] > │ let v282 : uint64 = v264 + 1UL │
00:01:24 #4250 [Verbose] > │ v262.l0 <- v282 │
00:01:24 #4251 [Verbose] > │ () │
00:01:24 #4252 [Verbose] > │ let v283 : uint64 = System.Convert.ToUInt64 v261.Length │
00:01:24 #4253 [Verbose] > │ let v284 : UH5 = UH5_1 │
00:01:24 #4254 [Verbose] > │ let v285 : Mut3 = {l0 = 0UL; l1 = v284; l2 = 0} : Mut3 │
00:01:24 #4255 [Verbose] > │ while method27(v283, v285) do │
00:01:24 #4256 [Verbose] > │ let v287 : uint64 = v285.l0 │
00:01:24 #4257 [Verbose] > │ let struct (v288 : UH5, v289 : int32) = v285.l1, v285.l2 │
00:01:24 #4258 [Verbose] > │ let v290 : int64 = v261.[int v287] │
00:01:24 #4259 [Verbose] > │ let v291 : int32 = v289 + 1 │
00:01:24 #4260 [Verbose] > │ let v292 : uint64 = v287 + 1UL │
00:01:24 #4261 [Verbose] > │ let v293 : UH5 = UH5_0(v289, v290, v288) │
00:01:24 #4262 [Verbose] > │ v285.l0 <- v292 │
00:01:24 #4263 [Verbose] > │ v285.l1 <- v293 │
00:01:24 #4264 [Verbose] > │ v285.l2 <- v291 │
00:01:24 #4265 [Verbose] > │ () │
00:01:24 #4266 [Verbose] > │ let struct (v294 : UH5, v295 : int32) = v285.l1, v285.l2 │
00:01:24 #4267 [Verbose] > │ let v296 : UH5 = UH5_1 │
00:01:24 #4268 [Verbose] > │ let v297 : UH5 = method28(v294, v296) │
00:01:24 #4269 [Verbose] > │ let v298 : (struct (int32 * int64) []) = method29(v297) │
00:01:24 #4270 [Verbose] > │ let v299 : Map<int32, int64> = v298 |> Array.map (fun (struct (a, b)) -> │
00:01:24 #4271 [Verbose] > │ a, b) |> Map.ofArray │
00:01:24 #4272 [Verbose] > │ let v300 : (struct ((string []) * US1) []) = Array.zeroCreate<struct │
00:01:24 #4273 [Verbose] > │ ((string []) * US1)> (System.Convert.ToInt32(v250)) │
00:01:24 #4274 [Verbose] > │ let v301 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4275 [Verbose] > │ while method5(v250, v301) do │
00:01:24 #4276 [Verbose] > │ let v303 : uint64 = v301.l0 │
00:01:24 #4277 [Verbose] > │ let struct (v304 : UH2, v305 : US1) = v237.[int v303] │
00:01:24 #4278 [Verbose] > │ let v306 : UH6 = UH6_1 │
00:01:24 #4279 [Verbose] > │ let v307 : int32 = 0 │
00:01:24 #4280 [Verbose] > │ let struct (v308 : UH6, v309 : int32) = method32(v304, v306, v307) │
00:01:24 #4281 [Verbose] > │ let v310 : UH6 = UH6_1 │
00:01:24 #4282 [Verbose] > │ let v311 : UH6 = method33(v308, v310) │
00:01:24 #4283 [Verbose] > │ let v312 : UH2 = UH2_1 │
00:01:24 #4284 [Verbose] > │ let v313 : UH2 = method34(v299, v311, v312) │
00:01:24 #4285 [Verbose] > │ let v314 : (string []) = method35(v313) │
00:01:24 #4286 [Verbose] > │ v300.[int v303] <- struct (v314, v305) │
00:01:24 #4287 [Verbose] > │ let v315 : uint64 = v303 + 1UL │
00:01:24 #4288 [Verbose] > │ v301.l0 <- v315 │
00:01:24 #4289 [Verbose] > │ () │
00:01:24 #4290 [Verbose] > │ System.Console.WriteLine v27 │
00:01:24 #4291 [Verbose] > │ let v316 : uint64 = System.Convert.ToUInt64 v300.Length │
00:01:24 #4292 [Verbose] > │ let v317 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4293 [Verbose] > │ while method5(v316, v317) do │
00:01:24 #4294 [Verbose] > │ let v319 : uint64 = v317.l0 │
00:01:24 #4295 [Verbose] > │ let struct (v320 : (string []), v321 : US1) = v300.[int v319] │
00:01:24 #4296 [Verbose] > │ match v321 with │
00:01:24 #4297 [Verbose] > │ | US1_0 -> (* None *) │
00:01:24 #4298 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:01:24 #4299 [Verbose] > │ let v325 : (unit -> unit) = closure10() │
00:01:24 #4300 [Verbose] > │ v325 () │
00:01:24 #4301 [Verbose] > │ #else │
00:01:24 #4302 [Verbose] > │ let v326 : (unit -> unit) = closure11() │
00:01:24 #4303 [Verbose] > │ v326 () │
00:01:24 #4304 [Verbose] > │ #endif │
00:01:24 #4305 [Verbose] > │ () │
00:01:24 #4306 [Verbose] > │ | US1_1(v322) -> (* Some *) │
00:01:24 #4307 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:01:24 #4308 [Verbose] > │ let v323 : (unit -> unit) = closure12() │
00:01:24 #4309 [Verbose] > │ v323 () │
00:01:24 #4310 [Verbose] > │ #else │
00:01:24 #4311 [Verbose] > │ let v324 : (unit -> unit) = closure13(v322) │
00:01:24 #4312 [Verbose] > │ v324 () │
00:01:24 #4313 [Verbose] > │ #endif │
00:01:24 #4314 [Verbose] > │ () │
00:01:24 #4315 [Verbose] > │ let v327 : string = "\t| " │
00:01:24 #4316 [Verbose] > │ let v328 : string = System.String.Join (v327, v320) │
00:01:24 #4317 [Verbose] > │ System.Console.WriteLine v328 │
00:01:24 #4318 [Verbose] > │ #if FABLE_COMPILER_RUST │
00:01:24 #4319 [Verbose] > │ let v329 : (unit -> unit) = closure10() │
00:01:24 #4320 [Verbose] > │ v329 () │
00:01:24 #4321 [Verbose] > │ #else │
00:01:24 #4322 [Verbose] > │ let v330 : (unit -> unit) = closure11() │
00:01:24 #4323 [Verbose] > │ v330 () │
00:01:24 #4324 [Verbose] > │ #endif │
00:01:24 #4325 [Verbose] > │ let v331 : uint64 = v319 + 1UL │
00:01:24 #4326 [Verbose] > │ v317.l0 <- v331 │
00:01:24 #4327 [Verbose] > │ () │
00:01:24 #4328 [Verbose] > │ let v332 : ((float []) []) = Array.zeroCreate<(float [])> │
00:01:24 #4329 [Verbose] > │ (System.Convert.ToInt32(v162)) │
00:01:24 #4330 [Verbose] > │ let v333 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4331 [Verbose] > │ while method5(v162, v333) do │
00:01:24 #4332 [Verbose] > │ let v335 : uint64 = v333.l0 │
00:01:24 #4333 [Verbose] > │ let struct (v336 : string, v337 : string, v338 : string, v339 : │
00:01:24 #4334 [Verbose] > │ (int64 [])) = v75.[int v335] │
00:01:24 #4335 [Verbose] > │ let v340 : (int64 -> float) = float │
00:01:24 #4336 [Verbose] > │ let v341 : uint64 = System.Convert.ToUInt64 v339.Length │
00:01:24 #4337 [Verbose] > │ let v342 : (float []) = Array.zeroCreate<float> │
00:01:24 #4338 [Verbose] > │ (System.Convert.ToInt32(v341)) │
00:01:24 #4339 [Verbose] > │ let v343 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4340 [Verbose] > │ while method5(v341, v343) do │
00:01:24 #4341 [Verbose] > │ let v345 : uint64 = v343.l0 │
00:01:24 #4342 [Verbose] > │ let v346 : int64 = v339.[int v345] │
00:01:24 #4343 [Verbose] > │ let v347 : float = v340 v346 │
00:01:24 #4344 [Verbose] > │ v342.[int v345] <- v347 │
00:01:24 #4345 [Verbose] > │ let v348 : uint64 = v345 + 1UL │
00:01:24 #4346 [Verbose] > │ v343.l0 <- v348 │
00:01:24 #4347 [Verbose] > │ () │
00:01:24 #4348 [Verbose] > │ v332.[int v335] <- v342 │
00:01:24 #4349 [Verbose] > │ let v349 : uint64 = v335 + 1UL │
00:01:24 #4350 [Verbose] > │ v333.l0 <- v349 │
00:01:24 #4351 [Verbose] > │ () │
00:01:24 #4352 [Verbose] > │ let v350 : ((float []) []) = v332 |> Array.transpose │
00:01:24 #4353 [Verbose] > │ let v351 : uint64 = System.Convert.ToUInt64 v350.Length │
00:01:24 #4354 [Verbose] > │ let v352 : (float []) = Array.zeroCreate<float> │
00:01:24 #4355 [Verbose] > │ (System.Convert.ToInt32(v351)) │
00:01:24 #4356 [Verbose] > │ let v353 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:24 #4357 [Verbose] > │ while method5(v351, v353) do │
00:01:24 #4358 [Verbose] > │ let v355 : uint64 = v353.l0 │
00:01:24 #4359 [Verbose] > │ let v356 : (float []) = v350.[int v355] │
00:01:24 #4360 [Verbose] > │ let v357 : float = v356 |> Array.average │
00:01:24 #4361 [Verbose] > │ v352.[int v355] <- v357 │
00:01:24 #4362 [Verbose] > │ let v358 : uint64 = v355 + 1UL │
00:01:24 #4363 [Verbose] > │ v353.l0 <- v358 │
00:01:24 #4364 [Verbose] > │ () │
00:01:24 #4365 [Verbose] > │ let v359 : (float -> int64) = int64 │
00:01:24 #4366 [Verbose] > │ let v360 : uint64 = System.Convert.ToUInt64 v352.Length │
00:01:25 #4367 [Verbose] > │ let v361 : (int64 []) = Array.zeroCreate<int64> │
00:01:25 #4368 [Verbose] > │ (System.Convert.ToInt32(v360)) │
00:01:25 #4369 [Verbose] > │ let v362 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:25 #4370 [Verbose] > │ while method5(v360, v362) do │
00:01:25 #4371 [Verbose] > │ let v364 : uint64 = v362.l0 │
00:01:25 #4372 [Verbose] > │ let v365 : float = v352.[int v364] │
00:01:25 #4373 [Verbose] > │ let v366 : int64 = v359 v365 │
00:01:25 #4374 [Verbose] > │ v361.[int v364] <- v366 │
00:01:25 #4375 [Verbose] > │ let v367 : uint64 = v364 + 1UL │
00:01:25 #4376 [Verbose] > │ v362.l0 <- v367 │
00:01:25 #4377 [Verbose] > │ () │
00:01:25 #4378 [Verbose] > │ let v368 : uint64 = System.Convert.ToUInt64 v361.Length │
00:01:25 #4379 [Verbose] > │ let v369 : UH5 = UH5_1 │
00:01:25 #4380 [Verbose] > │ let v370 : Mut3 = {l0 = 0UL; l1 = v369; l2 = 0} : Mut3 │
00:01:25 #4381 [Verbose] > │ while method27(v368, v370) do │
00:01:25 #4382 [Verbose] > │ let v372 : uint64 = v370.l0 │
00:01:25 #4383 [Verbose] > │ let struct (v373 : UH5, v374 : int32) = v370.l1, v370.l2 │
00:01:25 #4384 [Verbose] > │ let v375 : int64 = v361.[int v372] │
00:01:25 #4385 [Verbose] > │ let v376 : int32 = v374 + 1 │
00:01:25 #4386 [Verbose] > │ let v377 : uint64 = v372 + 1UL │
00:01:25 #4387 [Verbose] > │ let v378 : UH5 = UH5_0(v374, v375, v373) │
00:01:25 #4388 [Verbose] > │ v370.l0 <- v377 │
00:01:25 #4389 [Verbose] > │ v370.l1 <- v378 │
00:01:25 #4390 [Verbose] > │ v370.l2 <- v376 │
00:01:25 #4391 [Verbose] > │ () │
00:01:25 #4392 [Verbose] > │ let struct (v379 : UH5, v380 : int32) = v370.l1, v370.l2 │
00:01:25 #4393 [Verbose] > │ let v381 : UH5 = UH5_1 │
00:01:25 #4394 [Verbose] > │ let v382 : UH5 = method28(v379, v381) │
00:01:25 #4395 [Verbose] > │ let v383 : (struct (int32 * int64) []) = method38(v382) │
00:01:25 #4396 [Verbose] > │ System.Console.WriteLine v27 │
00:01:25 #4397 [Verbose] > │ let v384 : string = "Average Ranking " │
00:01:25 #4398 [Verbose] > │ System.Console.WriteLine v384 │
00:01:25 #4399 [Verbose] > │ let v385 : (struct (int32 * int64) -> int64) = closure14() │
00:01:25 #4400 [Verbose] > │ let v386 : (struct (int32 * int64) []) = v383 |> Array.sortBy v385 │
00:01:25 #4401 [Verbose] > │ let v387 : uint64 = System.Convert.ToUInt64 v386.Length │
00:01:25 #4402 [Verbose] > │ let v388 : Mut1 = {l0 = 0UL} : Mut1 │
00:01:25 #4403 [Verbose] > │ while method5(v387, v388) do │
00:01:25 #4404 [Verbose] > │ let v390 : uint64 = v388.l0 │
00:01:25 #4405 [Verbose] > │ let struct (v391 : int32, v392 : int64) = v386.[int v390] │
00:01:25 #4406 [Verbose] > │ let v393 : string = $"Test case %d{v391 + 1}. Average Time: %A{v392} │
00:01:25 #4407 [Verbose] > │ " │
00:01:25 #4408 [Verbose] > │ System.Console.WriteLine v393 │
00:01:25 #4409 [Verbose] > │ let v394 : uint64 = v390 + 1UL │
00:01:25 #4410 [Verbose] > │ v388.l0 <- v394 │
00:01:25 #4411 [Verbose] > │ () │
00:01:25 #4412 [Verbose] > │ () │
00:01:25 #4413 [Verbose] > │ method0() │
00:01:25 #4414 [Verbose] > │ │
00:01:25 #4415 [Verbose] > │ │
00:01:25 #4416 [Verbose] > │ │
00:01:25 #4417 [Verbose] > │ Test: v25 │
00:01:25 #4418 [Verbose] > │ │
00:01:25 #4419 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 6, 7) │
00:01:25 #4420 [Verbose] > │ Test case 1. semi_open_1. Time: 580 │
00:01:25 #4421 [Verbose] > │ Test case 2. closed_1. Time: 551 │
00:01:25 #4422 [Verbose] > │ Test case 3. semi_open_2. Time: 560 │
00:01:25 #4423 [Verbose] > │ Test case 4. closed_2. Time: 609 │
00:01:25 #4424 [Verbose] > │ │
00:01:25 #4425 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 1, 7) │
00:01:25 #4426 [Verbose] > │ Test case 1. semi_open_1. Time: 605 │
00:01:25 #4427 [Verbose] > │ Test case 2. closed_1. Time: 498 │
00:01:25 #4428 [Verbose] > │ Test case 3. semi_open_2. Time: 477 │
00:01:25 #4429 [Verbose] > │ Test case 4. closed_2. Time: 451 │
00:01:25 #4430 [Verbose] > │ │
00:01:25 #4431 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 11, 7) │
00:01:25 #4432 [Verbose] > │ Test case 1. semi_open_1. Time: 468 │
00:01:25 #4433 [Verbose] > │ Test case 2. closed_1. Time: 480 │
00:01:25 #4434 [Verbose] > │ Test case 3. semi_open_2. Time: 468 │
00:01:25 #4435 [Verbose] > │ Test case 4. closed_2. Time: 462 │
00:01:25 #4436 [Verbose] > │ │
00:01:25 #4437 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 12, 7) │
00:01:25 #4438 [Verbose] > │ Test case 1. semi_open_1. Time: 461 │
00:01:25 #4439 [Verbose] > │ Test case 2. closed_1. Time: 471 │
00:01:25 #4440 [Verbose] > │ Test case 3. semi_open_2. Time: 490 │
00:01:25 #4441 [Verbose] > │ Test case 4. closed_2. Time: 469 │
00:01:25 #4442 [Verbose] > │ │
00:01:25 #4443 [Verbose] > │ Solution: struct ([|1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; │
00:01:25 #4444 [Verbose] > │ 17; 18; 19; 20; │
00:01:25 #4445 [Verbose] > │ 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; │
00:01:25 #4446 [Verbose] > │ 37; 38; │
00:01:25 #4447 [Verbose] > │ 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; │
00:01:25 #4448 [Verbose] > │ 55; 56; │
00:01:25 #4449 [Verbose] > │ 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; │
00:01:25 #4450 [Verbose] > │ 73; 74; │
00:01:25 #4451 [Verbose] > │ 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; │
00:01:25 #4452 [Verbose] > │ 91; 92; │
00:01:25 #4453 [Verbose] > │ 93; 94; 95; 96; 97; 98; 99; 100|], 60, 100) │
00:01:25 #4454 [Verbose] > │ Test case 1. semi_open_1. Time: 494 │
00:01:25 #4455 [Verbose] > │ Test case 2. closed_1. Time: 485 │
00:01:25 #4456 [Verbose] > │ Test case 3. semi_open_2. Time: 488 │
00:01:25 #4457 [Verbose] > │ Test case 4. closed_2. Time: 483 │
00:01:25 #4458 [Verbose] > │ │
00:01:25 #4459 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 6, 7) │
00:01:25 #4460 [Verbose] > │ Test case 1. semi_open_1. Time: 444 │
00:01:25 #4461 [Verbose] > │ Test case 2. closed_1. Time: 463 │
00:01:25 #4462 [Verbose] > │ Test case 3. semi_open_2. Time: 455 │
00:01:25 #4463 [Verbose] > │ Test case 4. closed_2. Time: 449 │
00:01:25 #4464 [Verbose] > │ │
00:01:25 #4465 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 1, 7) │
00:01:25 #4466 [Verbose] > │ Test case 1. semi_open_1. Time: 474 │
00:01:25 #4467 [Verbose] > │ Test case 2. closed_1. Time: 500 │
00:01:25 #4468 [Verbose] > │ Test case 3. semi_open_2. Time: 511 │
00:01:25 #4469 [Verbose] > │ Test case 4. closed_2. Time: 524 │
00:01:25 #4470 [Verbose] > │ │
00:01:25 #4471 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 11, 7) │
00:01:25 #4472 [Verbose] > │ Test case 1. semi_open_1. Time: 589 │
00:01:25 #4473 [Verbose] > │ Test case 2. closed_1. Time: 544 │
00:01:25 #4474 [Verbose] > │ Test case 3. semi_open_2. Time: 500 │
00:01:25 #4475 [Verbose] > │ Test case 4. closed_2. Time: 476 │
00:01:25 #4476 [Verbose] > │ │
00:01:25 #4477 [Verbose] > │ Solution: struct ([|1; 3; 4; 6; 8; 9; 11|], 12, 7) │
00:01:25 #4478 [Verbose] > │ Test case 1. semi_open_1. Time: 478 │
00:01:25 #4479 [Verbose] > │ Test case 2. closed_1. Time: 493 │
00:01:25 #4480 [Verbose] > │ Test case 3. semi_open_2. Time: 474 │
00:01:25 #4481 [Verbose] > │ Test case 4. closed_2. Time: 487 │
00:01:25 #4482 [Verbose] > │ │
00:01:25 #4483 [Verbose] > │ Solution: struct ([|1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; │
00:01:25 #4484 [Verbose] > │ 17; 18; 19; 20; │
00:01:25 #4485 [Verbose] > │ 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; │
00:01:25 #4486 [Verbose] > │ 37; 38; │
00:01:25 #4487 [Verbose] > │ 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; │
00:01:25 #4488 [Verbose] > │ 55; 56; │
00:01:25 #4489 [Verbose] > │ 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; │
00:01:25 #4490 [Verbose] > │ 73; 74; │
00:01:25 #4491 [Verbose] > │ 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; │
00:01:25 #4492 [Verbose] > │ 91; 92; │
00:01:25 #4493 [Verbose] > │ 93; 94; 95; 96; 97; 98; 99; 100|], 60, 100) │
00:01:25 #4494 [Verbose] > │ Test case 1. semi_open_1. Time: 491 │
00:01:25 #4495 [Verbose] > │ Test case 2. closed_1. Time: 491 │
00:01:25 #4496 [Verbose] > │ Test case 3. semi_open_2. Time: 495 │
00:01:25 #4497 [Verbose] > │ Test case 4. closed_2. Time: 511 │
00:01:25 #4498 [Verbose] > │ │
00:01:25 #4499 [Verbose] > │ Input │
00:01:25 #4500 [Verbose] > │ │
00:01:25 #4501 [Verbose] > │ │
00:01:25 #4502 [Verbose] > │ │
00:01:25 #4503 [Verbose] > │ | Expected | Result | Best │
00:01:25 #4504 [Verbose] > │ --- │
00:01:25 #4505 [Verbose] > │ │
00:01:25 #4506 [Verbose] > │ │
00:01:25 #4507 [Verbose] > │ │
00:01:25 #4508 [Verbose] > │ | --- | --- | --- │
00:01:25 #4509 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 6, 7) │
00:01:25 #4510 [Verbose] > │ │
00:01:25 #4511 [Verbose] > │ │
00:01:25 #4512 [Verbose] > │ │
00:01:25 #4513 [Verbose] > │ | US0_1 3 | US0_1 3 | struct (2L, 551L) │
00:01:25 #4514 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 1, 7) │
00:01:25 #4515 [Verbose] > │ │
00:01:25 #4516 [Verbose] > │ │
00:01:25 #4517 [Verbose] > │ │
00:01:25 #4518 [Verbose] > │ | US0_1 0 | US0_1 0 | struct (4L, 451L) │
00:01:25 #4519 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 11, 7) │
00:01:25 #4520 [Verbose] > │ │
00:01:25 #4521 [Verbose] > │ │
00:01:25 #4522 [Verbose] > │ │
00:01:25 #4523 [Verbose] > │ | US0_1 6 | US0_1 6 | struct (4L, 462L) │
00:01:25 #4524 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 12, 7) │
00:01:25 #4525 [Verbose] > │ │
00:01:25 #4526 [Verbose] > │ │
00:01:25 #4527 [Verbose] > │ │
00:01:25 #4528 [Verbose] > │ | US0_0 | US0_0 | struct (1L, 461L) │
00:01:25 #4529 [Verbose] > │ struct ([|1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; 17; 18; 19; │
00:01:25 #4530 [Verbose] > │ 20; │
00:01:25 #4531 [Verbose] > │ 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; │
00:01:25 #4532 [Verbose] > │ 37; 38; │
00:01:25 #4533 [Verbose] > │ 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; │
00:01:25 #4534 [Verbose] > │ 55; 56; │
00:01:25 #4535 [Verbose] > │ 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; │
00:01:25 #4536 [Verbose] > │ 73; 74; │
00:01:25 #4537 [Verbose] > │ 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; │
00:01:25 #4538 [Verbose] > │ 91; 92; │
00:01:25 #4539 [Verbose] > │ 93; 94; 95; 96; 97; 98; 99; 100|], 60, 100) | US0_1 59 | US0_1 59 | │
00:01:25 #4540 [Verbose] > │ struct (4L, 483L) │
00:01:25 #4541 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 6, 7) │
00:01:25 #4542 [Verbose] > │ │
00:01:25 #4543 [Verbose] > │ │
00:01:25 #4544 [Verbose] > │ │
00:01:25 #4545 [Verbose] > │ | US0_1 3 | US0_1 3 | struct (1L, 444L) │
00:01:25 #4546 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 1, 7) │
00:01:25 #4547 [Verbose] > │ │
00:01:25 #4548 [Verbose] > │ │
00:01:25 #4549 [Verbose] > │ │
00:01:25 #4550 [Verbose] > │ | US0_1 0 | US0_1 0 | struct (1L, 474L) │
00:01:25 #4551 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 11, 7) │
00:01:25 #4552 [Verbose] > │ │
00:01:25 #4553 [Verbose] > │ │
00:01:25 #4554 [Verbose] > │ │
00:01:25 #4555 [Verbose] > │ | US0_1 6 | US0_1 6 | struct (4L, 476L) │
00:01:25 #4556 [Verbose] > │ struct ([|1; 3; 4; 6; 8; 9; 11|], 12, 7) │
00:01:25 #4557 [Verbose] > │ │
00:01:25 #4558 [Verbose] > │ │
00:01:25 #4559 [Verbose] > │ │
00:01:25 #4560 [Verbose] > │ | US0_0 | US0_0 | struct (3L, 474L) │
00:01:25 #4561 [Verbose] > │ struct ([|1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; 17; 18; 19; │
00:01:25 #4562 [Verbose] > │ 20; │
00:01:25 #4563 [Verbose] > │ 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; │
00:01:25 #4564 [Verbose] > │ 37; 38; │
00:01:25 #4565 [Verbose] > │ 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; │
00:01:25 #4566 [Verbose] > │ 55; 56; │
00:01:25 #4567 [Verbose] > │ 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; │
00:01:25 #4568 [Verbose] > │ 73; 74; │
00:01:25 #4569 [Verbose] > │ 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; │
00:01:25 #4570 [Verbose] > │ 91; 92; │
00:01:25 #4571 [Verbose] > │ 93; 94; 95; 96; 97; 98; 99; 100|], 60, 100) | US0_1 59 | US0_1 59 | │
00:01:25 #4572 [Verbose] > │ struct (1L, 491L) │
00:01:25 #4573 [Verbose] > │ │
00:01:25 #4574 [Verbose] > │ Average Ranking │
00:01:25 #4575 [Verbose] > │ Test case 3. Average Time: 491L │
00:01:25 #4576 [Verbose] > │ Test case 4. Average Time: 492L │
00:01:25 #4577 [Verbose] > │ Test case 2. Average Time: 497L │
00:01:25 #4578 [Verbose] > │ Test case 1. Average Time: 508L │
00:01:25 #4579 [Verbose] > │ │
00:01:25 #4580 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:25 #4581 [Verbose] >
00:01:25 #4582 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:01:25 #4583 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:25 #4584 [Verbose] > │ ## returnLettersWithOddCountTests │
00:01:25 #4585 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:25 #4586 [Verbose] >
00:01:25 #4587 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:01:25 #4588 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:25 #4589 [Verbose] > │ Test: ReturnLettersWithOddCount │
00:01:25 #4590 [Verbose] > │ │
00:01:25 #4591 [Verbose] > │ Solution: 1 │
00:01:25 #4592 [Verbose] > │ Test case 1. A. Time: 645L │
00:01:25 #4593 [Verbose] > │ │
00:01:25 #4594 [Verbose] > │ Solution: 2 │
00:01:25 #4595 [Verbose] > │ Test case 1. A. Time: 663L │
00:01:25 #4596 [Verbose] > │ │
00:01:25 #4597 [Verbose] > │ Solution: 3 │
00:01:25 #4598 [Verbose] > │ Test case 1. A. Time: 680L │
00:01:25 #4599 [Verbose] > │ │
00:01:25 #4600 [Verbose] > │ Solution: 9 │
00:01:25 #4601 [Verbose] > │ Test case 1. A. Time: 730L │
00:01:25 #4602 [Verbose] > │ │
00:01:25 #4603 [Verbose] > │ Solution: 10 │
00:01:25 #4604 [Verbose] > │ Test case 1. A. Time: 815L │
00:01:25 #4605 [Verbose] > │ │
00:01:25 #4606 [Verbose] > │ Input | Expected | Result | Best │
00:01:25 #4607 [Verbose] > │ --- | --- | --- | --- │
00:01:25 #4608 [Verbose] > │ 1 | a | a | (1, 645) │
00:01:25 #4609 [Verbose] > │ 2 | ba | ba | (1, 663) │
00:01:25 #4610 [Verbose] > │ 3 | aaa | aaa | (1, 680) │
00:01:25 #4611 [Verbose] > │ 9 | aaaaaaaaa | aaaaaaaaa | (1, 730) │
00:01:25 #4612 [Verbose] > │ 10 | baaaaaaaaa | baaaaaaaaa | (1, 815) │
00:01:25 #4613 [Verbose] > │ │
00:01:25 #4614 [Verbose] > │ Averages │
00:01:25 #4615 [Verbose] > │ Test case 1. Average Time: 706L │
00:01:25 #4616 [Verbose] > │ │
00:01:25 #4617 [Verbose] > │ Ranking │
00:01:25 #4618 [Verbose] > │ Test case 1. Average Time: 706L │
00:01:25 #4619 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:25 #4620 [Verbose] >
00:01:25 #4621 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:25 #4622 [Verbose] > //// test
00:01:25 #4623 [Verbose] >
00:01:25 #4624 [Verbose] > let solutions = [[
00:01:25 #4625 [Verbose] > "A",
00:01:25 #4626 [Verbose] > fun n ->
00:01:25 #4627 [Verbose] > let mutable _builder = StringBuilder (new string('a', n))
00:01:25 #4628 [Verbose] > if n % 2 = 0 then
00:01:25 #4629 [Verbose] > _builder.[[0]] <- 'b'
00:01:25 #4630 [Verbose] >
00:01:25 #4631 [Verbose] > _builder.ToString ()
00:01:25 #4632 [Verbose] > ]]
00:01:25 #4633 [Verbose] > let testCases = seq {
00:01:25 #4634 [Verbose] > 1, "a"
00:01:25 #4635 [Verbose] > 2, "ba"
00:01:25 #4636 [Verbose] > 3, "aaa"
00:01:25 #4637 [Verbose] > 9, "aaaaaaaaa"
00:01:25 #4638 [Verbose] > 10, "baaaaaaaaa"
00:01:25 #4639 [Verbose] > }
00:01:25 #4640 [Verbose] > let rec returnLettersWithOddCountTests =
00:01:25 #4641 [Verbose] > runAll (nameof returnLettersWithOddCountTests) _count solutions testCases
00:01:25 #4642 [Verbose] > returnLettersWithOddCountTests
00:01:25 #4643 [Verbose] > |> sortResultList
00:01:25 #4644 [Verbose] >
00:01:25 #4645 [Verbose] > ╭─[ 740.82ms - stdout ]────────────────────────────────────────────────────────╮
00:01:25 #4646 [Verbose] > │ │
00:01:25 #4647 [Verbose] > │ │
00:01:25 #4648 [Verbose] > │ Test: returnLettersWithOddCountTests │
00:01:25 #4649 [Verbose] > │ │
00:01:25 #4650 [Verbose] > │ Solution: 1 │
00:01:25 #4651 [Verbose] > │ Test case 1. A. Time: 0L │
00:01:25 #4652 [Verbose] > │ │
00:01:25 #4653 [Verbose] > │ Solution: 2 │
00:01:25 #4654 [Verbose] > │ Test case 1. A. Time: 0L │
00:01:25 #4655 [Verbose] > │ │
00:01:25 #4656 [Verbose] > │ Solution: 3 │
00:01:25 #4657 [Verbose] > │ Test case 1. A. Time: 0L │
00:01:25 #4658 [Verbose] > │ │
00:01:25 #4659 [Verbose] > │ Solution: 9 │
00:01:25 #4660 [Verbose] > │ Test case 1. A. Time: 0L │
00:01:25 #4661 [Verbose] > │ │
00:01:25 #4662 [Verbose] > │ Solution: 10 │
00:01:25 #4663 [Verbose] > │ Test case 1. A. Time: 2L │
00:01:25 #4664 [Verbose] > │ │
00:01:25 #4665 [Verbose] > │ Input | Expected | Result | Best │
00:01:25 #4666 [Verbose] > │ --- | --- | --- | --- │
00:01:25 #4667 [Verbose] > │ 1 | a | a | (1, 0) │
00:01:25 #4668 [Verbose] > │ 2 | ba | ba | (1, 0) │
00:01:25 #4669 [Verbose] > │ 3 | aaa | aaa | (1, 0) │
00:01:25 #4670 [Verbose] > │ 9 | aaaaaaaaa | aaaaaaaaa | (1, 0) │
00:01:25 #4671 [Verbose] > │ 10 | baaaaaaaaa | baaaaaaaaa | (1, 2) │
00:01:25 #4672 [Verbose] > │ │
00:01:25 #4673 [Verbose] > │ Average Ranking │
00:01:25 #4674 [Verbose] > │ Test case 1. Average Time: 0L │
00:01:25 #4675 [Verbose] > │ │
00:01:25 #4676 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:25 #4677 [Verbose] >
00:01:25 #4678 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:01:25 #4679 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:25 #4680 [Verbose] > │ ## hasAnyPairCloseToEachotherTests │
00:01:25 #4681 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:25 #4682 [Verbose] >
00:01:25 #4683 [Verbose] > ── markdown ────────────────────────────────────────────────────────────────────
00:01:25 #4684 [Verbose] > ╭──────────────────────────────────────────────────────────────────────────────╮
00:01:25 #4685 [Verbose] > │ Test: HasAnyPairCloseToEachother │
00:01:25 #4686 [Verbose] > │ │
00:01:25 #4687 [Verbose] > │ Solution: 0 │
00:01:25 #4688 [Verbose] > │ Test case 1. A. Time: 137L │
00:01:25 #4689 [Verbose] > │ │
00:01:25 #4690 [Verbose] > │ Solution: 1,2 │
00:01:25 #4691 [Verbose] > │ Test case 1. A. Time: 186L │
00:01:25 #4692 [Verbose] > │ │
00:01:25 #4693 [Verbose] > │ Solution: 3,5 │
00:01:25 #4694 [Verbose] > │ Test case 1. A. Time: 206L │
00:01:25 #4695 [Verbose] > │ │
00:01:25 #4696 [Verbose] > │ Solution: 3,4,6 │
00:01:25 #4697 [Verbose] > │ Test case 1. A. Time: 149L │
00:01:25 #4698 [Verbose] > │ │
00:01:25 #4699 [Verbose] > │ Solution: 2,4,6 │
00:01:25 #4700 [Verbose] > │ Test case 1. A. Time: 150L │
00:01:25 #4701 [Verbose] > │ │
00:01:25 #4702 [Verbose] > │ Input | Expected | Result | Best │
00:01:25 #4703 [Verbose] > │ --- | --- | --- | --- │
00:01:25 #4704 [Verbose] > │ 0 | False | False | (1, 137) │
00:01:25 #4705 [Verbose] > │ 1,2 | True | True | (1, 186) │
00:01:25 #4706 [Verbose] > │ 3,5 | False | False | (1, 206) │
00:01:25 #4707 [Verbose] > │ 3,4,6 | True | True | (1, 149) │
00:01:25 #4708 [Verbose] > │ 2,4,6 | False | False | (1, 150) │
00:01:25 #4709 [Verbose] > │ │
00:01:25 #4710 [Verbose] > │ Averages │
00:01:25 #4711 [Verbose] > │ Test case 1. Average Time: 165L │
00:01:25 #4712 [Verbose] > │ │
00:01:25 #4713 [Verbose] > │ Ranking │
00:01:25 #4714 [Verbose] > │ Test case 1. Average Time: 165L │
00:01:25 #4715 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:25 #4716 [Verbose] >
00:01:25 #4717 [Verbose] > ── fsharp ──────────────────────────────────────────────────────────────────────
00:01:25 #4718 [Verbose] > //// test
00:01:25 #4719 [Verbose] >
00:01:25 #4720 [Verbose] > let solutions = [[
00:01:25 #4721 [Verbose] > "A",
00:01:25 #4722 [Verbose] > fun (a: int[[]]) ->
00:01:25 #4723 [Verbose] > let indices = System.Linq.Enumerable.Range(0, a.Length) |>
00:01:25 #4724 [Verbose] > System.Linq.Enumerable.ToArray
00:01:25 #4725 [Verbose] > System.Array.Sort (a, indices)
00:01:25 #4726 [Verbose] >
00:01:25 #4727 [Verbose] > indices
00:01:25 #4728 [Verbose] > |> Array.take (a.Length - 1)
00:01:25 #4729 [Verbose] > |> Array.exists (fun i -> a.[[i + 1]] - a.[[i]] = 1)
00:01:25 #4730 [Verbose] > ]]
00:01:25 #4731 [Verbose] > let testCases = seq {
00:01:25 #4732 [Verbose] > [[| 0 |]], false
00:01:25 #4733 [Verbose] > [[| 1; 2 |]], true
00:01:25 #4734 [Verbose] > [[| 3; 5 |]], false
00:01:25 #4735 [Verbose] > [[| 3; 4; 6 |]], true
00:01:25 #4736 [Verbose] > [[| 2; 4; 6 |]], false
00:01:25 #4737 [Verbose] > }
00:01:25 #4738 [Verbose] > let rec hasAnyPairCloseToEachotherTests =
00:01:25 #4739 [Verbose] > runAll (nameof hasAnyPairCloseToEachotherTests) _count solutions testCases
00:01:25 #4740 [Verbose] > hasAnyPairCloseToEachotherTests
00:01:25 #4741 [Verbose] > |> sortResultList
00:01:26 #4742 [Verbose] >
00:01:26 #4743 [Verbose] > ╭─[ 692.12ms - stdout ]────────────────────────────────────────────────────────╮
00:01:26 #4744 [Verbose] > │ │
00:01:26 #4745 [Verbose] > │ │
00:01:26 #4746 [Verbose] > │ Test: hasAnyPairCloseToEachotherTests │
00:01:26 #4747 [Verbose] > │ │
00:01:26 #4748 [Verbose] > │ Solution: 0 │
00:01:26 #4749 [Verbose] > │ Test case 1. A. Time: 2L │
00:01:26 #4750 [Verbose] > │ │
00:01:26 #4751 [Verbose] > │ Solution: 1,2 │
00:01:26 #4752 [Verbose] > │ Test case 1. A. Time: 0L │
00:01:26 #4753 [Verbose] > │ │
00:01:26 #4754 [Verbose] > │ Solution: 3,5 │
00:01:26 #4755 [Verbose] > │ Test case 1. A. Time: 0L │
00:01:26 #4756 [Verbose] > │ │
00:01:26 #4757 [Verbose] > │ Solution: 3,4,6 │
00:01:26 #4758 [Verbose] > │ Test case 1. A. Time: 0L │
00:01:26 #4759 [Verbose] > │ │
00:01:26 #4760 [Verbose] > │ Solution: 2,4,6 │
00:01:26 #4761 [Verbose] > │ Test case 1. A. Time: 0L │
00:01:26 #4762 [Verbose] > │ │
00:01:26 #4763 [Verbose] > │ Input | Expected | Result | Best │
00:01:26 #4764 [Verbose] > │ --- | --- | --- | --- │
00:01:26 #4765 [Verbose] > │ 0 | False | False | (1, 2) │
00:01:26 #4766 [Verbose] > │ 1,2 | True | True | (1, 0) │
00:01:26 #4767 [Verbose] > │ 3,5 | False | False | (1, 0) │
00:01:26 #4768 [Verbose] > │ 3,4,6 | True | True | (1, 0) │
00:01:26 #4769 [Verbose] > │ 2,4,6 | False | False | (1, 0) │
00:01:26 #4770 [Verbose] > │ │
00:01:26 #4771 [Verbose] > │ Average Ranking │
00:01:26 #4772 [Verbose] > │ Test case 1. Average Time: 0L │
00:01:26 #4773 [Verbose] > │ │
00:01:26 #4774 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:26 #4775 [Verbose] >
00:01:26 #4776 [Verbose] > ── spiral ──────────────────────────────────────────────────────────────────────
00:01:26 #4777 [Verbose] > // // test
00:01:26 #4778 [Verbose] >
00:01:26 #4779 [Verbose] > ()
00:01:26 #4780 [Verbose] > Building C:\Users\i574n\AppData\Local\Temp\!dotnet-repl\20231025-1553-0969-6937-6f37914599c3\main.spi
00:01:26 #4781 [Verbose] >
00:01:26 #4782 [Verbose] > ╭─[ 166.56ms - stdout ]────────────────────────────────────────────────────────╮
00:01:26 #4783 [Verbose] > │ let rec method0 () : unit = │
00:01:26 #4784 [Verbose] > │ () │
00:01:26 #4785 [Verbose] > │ method0() │
00:01:26 #4786 [Verbose] > │ │
00:01:26 #4787 [Verbose] > │ │
00:01:26 #4788 [Verbose] > ╰──────────────────────────────────────────────────────────────────────────────╯
00:01:28 #4789 [Verbose] > [NbConvertApp] Converting notebook Perf.dib.ipynb to html
00:01:28 #4790 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbformat\__init__.py:93: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
00:01:28 #4791 [Verbose] > validate(nb)
00:01:29 #4792 [Verbose] > C:\Users\i574n\scoop\apps\python\current\Lib\site-packages\nbconvert\filters\highlight.py:72: UserWarning: IPython3 lexer unavailable, falling back on Python 3
00:01:29 #4793 [Verbose] > return _pygments_highlight(
00:01:30 #4794 [Verbose] > [NbConvertApp] Writing 553120 bytes to Perf.dib.html
00:01:31 #4795 [Debug] executeAsync / exitCode: 0 / output.Length: 337620
00:01:31 #4796 [Debug] main / executeCommand / exitCode: 0
00:00:00 #1 [Debug] writeDibCode / output: Fs / path: Perf.dib
00:00:00 #2 [Debug] parseDibCode / output: Fs / file: Perf.dib
In [ ]:
{ . "$ScriptDir/../apps/ipfs/build.ps1" } | Invoke-Block
Lockfile is up to date, resolution step is skipped Already up to date Done in 1.6s
In [ ]:
{ . "$ScriptDir/outdated.ps1" } | Invoke-Block
Paket version 8.0.0-alpha002+6339fce88f07b4d959d03b78330fdb5a6d936483
Resolving dependency graph...
Outdated packages found:
Group: Main
* Expecto.FsCheck 10.1.0-fscheck3 -> 10.1.0
* FsCheck 3.0.0-rc1 -> 2.16.6
* Microsoft.AspNetCore.Connections.Abstractions 7.0 -> 8.0.0-rc.2.23480.2
* Microsoft.AspNetCore.Http.Connections.Client 7.0 -> 8.0.0-rc.2.23480.2
* Microsoft.AspNetCore.Http.Connections.Common 7.0 -> 8.0.0-rc.2.23480.2
* Microsoft.AspNetCore.SignalR.Client 7.0 -> 8.0.0-rc.2.23480.2
* Microsoft.AspNetCore.SignalR.Client.Core 7.0 -> 8.0.0-rc.2.23480.2
* Microsoft.AspNetCore.SignalR.Common 7.0 -> 8.0.0-rc.2.23480.2
* Microsoft.AspNetCore.SignalR.Protocols.Json 7.0 -> 8.0.0-rc.2.23480.2
* Microsoft.Extensions.DependencyInjection 7.0 -> 8.0.0-rc.2.23479.6
* Microsoft.Extensions.DependencyInjection.Abstractions 7.0 -> 8.0.0-rc.2.23479.6
* Microsoft.Extensions.Features 7.0 -> 8.0.0-rc.2.23480.2
* Microsoft.Extensions.Logging 7.0 -> 8.0.0-rc.2.23479.6
* Microsoft.Extensions.Logging.Abstractions 7.0.1 -> 8.0.0-rc.2.23479.6
* Microsoft.Extensions.Options 7.0.1 -> 8.0.0-rc.2.23479.6
* Microsoft.Extensions.Primitives 7.0 -> 8.0.0-rc.2.23479.6
* System.IO.Pipelines 7.0 -> 8.0.0-rc.2.23479.6
* System.Threading.Channels 7.0 -> 8.0.0-rc.2.23479.6
Total time taken: 51 seconds
All dependencies are up to date, yay!
C:\home\git\polyglot\apps\chat\contract\Cargo.toml
All dependencies are up to date, yay!
C:\home\git\polyglot\apps\chat\tests\Cargo.toml
chat
================
Name Project Compat Latest Kind Platform
---- ------- ------ ------ ---- --------
equivalent 1.0.1 Removed Removed Normal ---
hashbrown 0.14.1 0.12.3 0.12.3 Normal ---
indexmap 2.0.2 1.9.3 1.9.3 Normal ---
C:\home\git\polyglot\apps\chat\ui\Cargo.toml
All dependencies are up to date, yay!
C:\home\git\polyglot\apps\dice\Cargo.toml
All dependencies are up to date, yay!
C:\home\git\polyglot\apps\dice\contract\Cargo.toml
All dependencies are up to date, yay!
C:\home\git\polyglot\apps\dice\tests\Cargo.toml
dice
================
Name Project Compat Latest Kind Platform
---- ------- ------ ------ ---- --------
equivalent 1.0.1 Removed Removed Normal ---
hashbrown 0.14.1 0.12.3 0.12.3 Normal ---
indexmap 2.0.2 1.9.3 1.9.3 Normal ---
C:\home\git\polyglot\apps\plot\Cargo.toml
Updating git repository `https://github.com/plotters-rs/plotters.git`
Updating git repository `https://github.com/plotters-rs/plotters.git`
All dependencies are up to date, yay!
C:\home\git\polyglot\spiral\extension
> polyglot@ outdated-pre C:\home\git\polyglot\spiral\extension
> npm-check-updates --target greatest
Using pnpm
Checking C:\home\git\polyglot\spiral\extension\package.json
@playwright/test 1.38.0-beta-1691778350000 → 1.40.0-alpha-oct-25-2023
@types/chrome ~0.0.246 → ~0.0.248
Run ncu --target greatest -u to upgrade package.json
C:\home\git\polyglot\apps\ipfs
> ipfs@ outdated-pre C:\home\git\polyglot\apps\ipfs
> npm-check-updates --target greatest
Using pnpm
Checking C:\home\git\polyglot\apps\ipfs\package.json
All dependencies match the greatest package versions :)
C:\home\git\polyglot
> polyglot@ outdated-pre C:\home\git\polyglot
> npm-check-updates --target greatest
Using pnpm
Checking C:\home\git\polyglot\package.json
All dependencies match the greatest package versions :)